/* ============================================================
   KaimurTech Solutions — CSS  v2.2
   Fixes: fake phone, social links, copyright, pricing range,
          FAQ section, WhatsApp float, installment note
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─ LAYOUT / FONT CONSTANTS ─ */
:root {
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', 'Segoe UI', sans-serif;
  --nav-h:        72px;
  --bar-h:        36px;
  --section-pad:  7rem 0;
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    14px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
}

/* ══════════════════════════════════════════════
   DARK THEME
══════════════════════════════════════════════ */
[data-theme="dark"] {
  --bg:          #05070f;
  --bg2:         #080c1a;
  --surface:     #0e1222;
  --surface2:    #131828;
  --border:      rgba(255,255,255,0.08);
  --border-hi:   rgba(255,255,255,0.14);
  --gold:        #e8c97a;
  --gold2:       #f5dc8e;
  --gold-dim:    rgba(232,201,122,0.13);
  --cyan:        #00d4ff;
  --blue:        #4a90e2;
  --green:       #4ade80;
  --red:         #f87171;
  --text:        #eef0f8;
  --text2:       #b0b8d8;
  --text3:       #6a7090;
  --nav-bg:      rgba(5,7,15,0.95);
  --grid-line:   rgba(255,255,255,0.025);
  --svc-num:     rgba(255,255,255,0.04);
  --modal-dim:   rgba(0,0,0,0.85);
  --card-shadow: 0 4px 20px rgba(0,0,0,0.35);
  --hover-lift:  0 20px 60px rgba(0,0,0,0.55);
}

/* ══════════════════════════════════════════════
   LIGHT THEME
══════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:          #f5f6fa;
  --bg2:         #eaecf5;
  --surface:     #ffffff;
  --surface2:    #f0f1f9;
  --border:      rgba(0,0,0,0.09);
  --border-hi:   rgba(0,0,0,0.16);
  --gold:        #a86100;
  --gold2:       #c97a00;
  --gold-dim:    rgba(168,97,0,0.10);
  --cyan:        #0369a1;
  --blue:        #1d4ed8;
  --green:       #15803d;
  --red:         #b91c1c;
  --text:        #0d0f1c;
  --text2:       #3d4265;
  --text3:       #7a80a0;
  --nav-bg:      rgba(245,246,250,0.95);
  --grid-line:   rgba(0,0,0,0.04);
  --svc-num:     rgba(0,0,0,0.04);
  --modal-dim:   rgba(0,0,0,0.55);
  --card-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --hover-lift:  0 16px 48px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
  cursor: none;
  transition: background 0.3s ease, color 0.3s ease;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::selection { background: rgba(232,201,122,0.25); color: var(--text); }

/* ── CURSOR ── */
.cur-dot {
  position: fixed; width: 7px; height: 7px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 10px var(--gold);
  transition: transform 0.1s var(--ease);
}
.cur-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1.5px solid rgba(232,201,122,0.4); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cur-ring.hov { width: 58px; height: 58px; border-color: var(--gold); }

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: var(--section-pad); }
.section--alt { background: var(--bg2); }
.section--surface { background: var(--surface); }

.sec-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.sec-tag::before {
  content: ''; display: inline-block; width: 22px; height: 1px;
  background: var(--gold);
}
.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.8px;
}
.sec-sub { color: var(--text2); font-size: 1rem; line-height: 1.75; margin-top: 1rem; max-width: 560px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.3px; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: all 0.25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; padding: 0.85rem 2rem; font-weight: 700; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(232,201,122,0.35); background: linear-gradient(135deg, var(--gold2), var(--gold)); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hi); padding: 0.85rem 2rem; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.8rem; }

/* Reveal */
.rev, .rev-l, .rev-r { opacity: 0; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rev      { transform: translateY(32px); }
.rev-l    { transform: translateX(-32px); }
.rev-r    { transform: translateX(32px); }
.rev.in, .rev-l.in, .rev-r.in { opacity: 1; transform: none; }

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  background: linear-gradient(90deg, rgba(232,201,122,0.10), rgba(232,201,122,0.06));
  border-bottom: 1px solid rgba(232,201,122,0.15);
  padding: 0.52rem 3rem 0.52rem 1rem;
  text-align: center; font-size: 0.76rem; color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap; line-height: 1.4;
  min-height: var(--bar-h);
}
.announce-bar span { color: var(--gold); font-weight: 600; }
.announce-bar a { color: var(--gold); text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(232,201,122,0.35); white-space: nowrap; }
.announce-bar .close-bar {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text3); cursor: pointer;
  font-size: 1rem; line-height: 1; padding: 0.25rem 0.4rem;
  border-radius: 3px; transition: color 0.2s;
}
.announce-bar .close-bar:hover { color: var(--text); }

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: var(--bar-h); left: 0; right: 0; z-index: 500;
  height: var(--nav-h); display: flex; align-items: center;
  transition: top 0.3s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.bar-hidden { top: 0; }
.nav.scrolled {
  background: var(--nav-bg); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px); box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav-logo {
  font-family: var(--font-display); text-decoration: none;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  flex-shrink: 0; line-height: 1; gap: 0;
}
.logo-wordmark { display: flex; align-items: baseline; }
.logo-kaimur { font-size: 1.55rem; font-weight: 900; color: var(--text); letter-spacing: -0.5px; transition: color 0.3s; }
.logo-tech   { font-size: 1.55rem; font-weight: 900; color: var(--gold); letter-spacing: -0.5px; transition: color 0.3s; }
.logo-solutions { font-family: var(--font-body); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text3); margin-top: 3px; padding-left: 2px; transition: color 0.3s; }

.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; flex: 1; justify-content: center; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 0.25rem;
  color: var(--text2); text-decoration: none; font-size: 0.875rem;
  font-weight: 500; padding: 0.4rem 0.85rem; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--text); background: var(--surface2); }
.nav-links > li > a.active { color: var(--text); }
.nav-links .arrow { font-size: 0.6rem; transition: transform 0.25s; }
.nav-links > li:hover .arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: fixed; top: 0; left: 0; transform: translateY(0px);
  background: var(--surface2); border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg); padding: 1.5rem;
  width: min(580px, calc(100vw - 24px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6); z-index: 490;
}
.nav-links > li:hover .nav-dropdown { opacity: 1; pointer-events: all; }
/* Transparent bridge fills gap between nav link and dropdown so hover isn't lost */
.nav-links > li::after {
  content: '';
  position: fixed;
  height: 20px;
  width: min(580px, calc(100vw - 24px));
  left: 0; top: 0;
  display: none;
  z-index: 489;
}
.nav-links > li:hover::after { display: block; }
.dd-item { display: flex; align-items: flex-start; gap: 0.9rem; padding: 0.85rem; border-radius: var(--radius-md); text-decoration: none; transition: background 0.2s; }
.dd-item:hover { background: var(--bg2); }
.dd-icon { width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: var(--gold-dim); border: 1px solid rgba(232,201,122,0.15); }
.dd-text-title { font-weight: 600; font-size: 0.875rem; color: var(--text); margin-bottom: 0.2rem; }
.dd-text-sub { font-size: 0.75rem; color: var(--text3); line-height: 1.5; }
.dd-divider { grid-column: 1/-1; border: none; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.dd-label { grid-column: 1/-1; font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); padding: 0 0.85rem; margin-bottom: 0.25rem; }

.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.nav-phone { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text3); white-space: nowrap; }
.nav-phone a { color: var(--text2); text-decoration: none; transition: color 0.2s; }
.nav-phone a:hover { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  position: fixed; top: calc(var(--bar-h) + var(--nav-h)); left: 0; right: 0; bottom: 0;
  background: var(--bg); backdrop-filter: blur(24px);
  z-index: 490; overflow-y: auto; padding: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transform: translateX(100%); transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mob-link { display: flex; align-items: center; justify-content: space-between; color: var(--text); text-decoration: none; font-size: 1.05rem; font-weight: 500; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.mob-link:last-of-type { border-bottom: none; }
.mob-cta { margin-top: 1.5rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: calc(var(--bar-h) + var(--nav-h) + 4rem) 0 5rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 72% 42%, rgba(74,144,226,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 15% 75%, rgba(232,201,122,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 88% 12%, rgba(0,212,255,0.04) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}
.hero-inner {
  width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr clamp(260px, 28vw, 420px);
  gap: clamp(1.5rem, 3vw, 4rem); align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(232,201,122,0.08); border: 1px solid rgba(232,201,122,0.2);
  padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.8rem; animation: slideUp 0.5s ease both;
}
.eyebrow-pulse { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: pulse 2.5s infinite; }
.hero-h1 { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 5.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -2px; animation: slideUp 0.6s 0.08s ease both; }
.hero-h1 em { font-style: normal; background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 60%, #f0b93a 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-h1 .dim { color: var(--text3); font-weight: 300; font-style: italic; }
.hero-sub { font-size: 1.05rem; font-weight: 300; line-height: 1.8; color: var(--text2); max-width: 540px; margin-top: 1.6rem; animation: slideUp 0.6s 0.16s ease both; }
.hero-actions { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.6rem; flex-wrap: wrap; animation: slideUp 0.6s 0.24s ease both; }
.hero-trust { margin-top: 3.5rem; animation: slideUp 0.6s 0.32s ease both; }
.trust-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 1rem; }
.trust-logos { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.trust-logo { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3); padding: 0.38rem 0.9rem; border: 1px solid var(--border); border-radius: 3px; transition: all 0.2s; }
.trust-logo:hover { border-color: rgba(232,201,122,0.25); color: var(--text2); }

.hero-panel { display: flex; flex-direction: column; gap: 1rem; animation: slideRight 0.7s 0.2s ease both; min-width: 0; }
.hpanel-card { background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(20px); border-radius: var(--radius-lg); padding: clamp(1rem, 2vw, 1.4rem) clamp(1rem, 2vw, 1.7rem); transition: border-color 0.25s, transform 0.25s; }
.hpanel-card:hover { border-color: rgba(232,201,122,0.2); transform: translateX(-4px); }
.hpanel-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3); margin-bottom: 0.4rem; }
.hpanel-val { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 900; color: var(--gold); line-height: 1; }
.hpanel-sub { font-size: 0.76rem; color: var(--text3); margin-top: 0.3rem; }
.hpanel-trend { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.7rem; color: var(--green); background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.15); padding: 0.2rem 0.6rem; border-radius: 100px; margin-top: 0.55rem; }

/* ── TICKER ── */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0.85rem 0; overflow: hidden; background: rgba(255,255,255,0.01); }
.ticker-track { display: flex; gap: 5rem; width: max-content; animation: tick 38s linear infinite; }
.ticker-item { font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text3); white-space: nowrap; display: flex; align-items: center; gap: 2rem; }
.ticker-item::after { content: '◆'; color: var(--gold); font-size: 0.45rem; }

/* ── SERVICES ── */
.services-header { text-align: center; margin-bottom: 3.5rem; }
.services-header .sec-tag { justify-content: center; }
.services-header .sec-sub { margin: 1rem auto 0; text-align: center; max-width: 560px; }
.services-header-right { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin-top: 1.5rem; }
.svs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.svc-card { background: var(--bg2); padding: 2.5rem; position: relative; overflow: hidden; transition: background 0.3s var(--ease); }
.svc-card:hover { background: var(--surface); }
.svc-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-num { font-family: var(--font-display); font-size: 3.5rem; font-weight: 900; color: var(--svc-num); position: absolute; top: 1.5rem; right: 1.8rem; line-height: 1; pointer-events: none; user-select: none; }
.svc-icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.6rem; background: var(--surface); border: 1px solid var(--border); transition: background 0.3s, border-color 0.3s; }
.svc-card:hover .svc-icon { background: var(--gold-dim); border-color: rgba(232,201,122,0.2); }
.svc-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.7rem; }
.svc-card p { color: var(--text2); font-size: 0.875rem; line-height: 1.75; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.2rem; }
.svc-tag { font-size: 0.67rem; font-weight: 600; letter-spacing: 0.5px; padding: 0.22rem 0.6rem; border-radius: 100px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text3); transition: all 0.2s; }
.svc-card:hover .svc-tag { border-color: rgba(232,201,122,0.15); color: var(--text2); }

/* ── STATS BAND ── */
.stats-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3.5rem 0; }
.stats-inner { max-width: 1320px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 0 2rem; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--gold), var(--gold2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-lbl { font-size: 0.82rem; color: var(--text3); margin-top: 0.5rem; }
.stat-desc { font-size: 0.7rem; color: var(--text3); margin-top: 0.2rem; opacity: 0.6; }

/* ── PROCESS ── */
.process-header { text-align: center; margin-bottom: 5rem; }
.process-header .sec-tag { justify-content: center; }
.process-header .sec-sub { margin: 1rem auto 0; }
.process-track { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; position: relative; }
.process-connector { position: absolute; top: 2.4rem; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), var(--gold), transparent); opacity: 0.18; z-index: 0; }
.proc-step { padding: 0 1.2rem; text-align: center; position: relative; z-index: 1; }
.proc-num { width: 50px; height: 50px; border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1rem; font-weight: 900; color: var(--gold); background: var(--surface); border: 1px solid rgba(232,201,122,0.22); transition: all 0.3s; }
.proc-step:hover .proc-num { background: var(--gold-dim); border-color: var(--gold); box-shadow: 0 0 22px rgba(232,201,122,0.2); }
.proc-step h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; }
.proc-step p { color: var(--text2); font-size: 0.8rem; line-height: 1.65; }

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s var(--ease); cursor: pointer; }
.portfolio-card:hover { border-color: rgba(232,201,122,0.25); transform: translateY(-6px); box-shadow: var(--hover-lift); }
.portfolio-thumb { height: 200px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.portfolio-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 30%, var(--surface) 100%); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; }
.portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }
.portfolio-thumb-btn { background: var(--gold); color: #fff; padding: 0.6rem 1.4rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.8rem; transform: translateY(10px); transition: transform 0.3s var(--ease); }
.portfolio-card:hover .portfolio-thumb-btn { transform: translateY(0); }
.portfolio-body { padding: 1.5rem; }
.portfolio-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.portfolio-body h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.portfolio-body p { color: var(--text2); font-size: 0.82rem; line-height: 1.65; margin-bottom: 1rem; }
.portfolio-stats { display: flex; gap: 1.5rem; }
.p-stat-val { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; color: var(--gold); }
.p-stat-lbl { font-size: 0.65rem; color: var(--text3); }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; }
.portfolio-tag { font-size: 0.65rem; font-weight: 600; padding: 0.2rem 0.55rem; border-radius: 100px; background: var(--surface2); border: 1px solid var(--border); color: var(--text3); }

/* ── PORTFOLIO MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: var(--modal-dim); backdrop-filter: blur(12px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--surface2); border: 1px solid var(--border-hi); border-radius: var(--radius-lg); width: 100%; max-width: 760px; max-height: 85vh; overflow-y: auto; transform: scale(0.95) translateY(16px); transition: transform 0.3s var(--ease); }
.modal-overlay.open .modal-box { transform: none; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 2rem 2rem 1.5rem; border-bottom: 1px solid var(--border); gap: 1rem; }
.modal-close { background: none; border: none; color: var(--text3); font-size: 1.5rem; cursor: pointer; line-height: 1; flex-shrink: 0; transition: color 0.2s; }
.modal-close:hover { color: var(--text); }

/* ── INDUSTRIES / WHY US ── */
.ind-header { text-align: center; margin-bottom: 3.5rem; }
.ind-header .sec-tag { justify-content: center; }
.ind-header .sec-sub { margin: 1rem auto 0; text-align: center; }
.ind-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.ind-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: all 0.3s var(--ease); cursor: default; }
.ind-card::before { content: ''; position: absolute; inset: 0; opacity: 0; background: linear-gradient(135deg, rgba(232,201,122,0.04), transparent 60%); transition: opacity 0.3s; }
.ind-card:hover { border-color: rgba(232,201,122,0.22); transform: translateY(-5px); box-shadow: var(--hover-lift); }
.ind-card:hover::before { opacity: 1; }
.ind-icon { width: 50px; height: 50px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 1.3rem; border: 1px solid transparent; }
.ind-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.55rem; }
.ind-card p { color: var(--text2); font-size: 0.8rem; line-height: 1.65; margin-bottom: 0.8rem; }
.ind-link { font-size: 0.72rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 0.3rem; opacity: 0; transition: opacity 0.3s; }
.ind-card:hover .ind-link { opacity: 1; }

/* ── TESTIMONIALS ── */
.testi-header { text-align: center; margin-bottom: 3.5rem; }
.testi-header .sec-tag { justify-content: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.2rem; display: flex; flex-direction: column; transition: all 0.3s var(--ease); }
.testi-card:hover { border-color: rgba(232,201,122,0.2); transform: translateY(-4px); box-shadow: var(--hover-lift); }
.testi-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.3rem; }
.testi-logo-name { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; }
.testi-stars { color: var(--gold); font-size: 0.88rem; letter-spacing: 2px; }
.testi-quote { font-size: 0.88rem; color: var(--text2); line-height: 1.78; font-style: italic; flex: 1; margin-bottom: 1.5rem; padding-left: 1rem; border-left: 2px solid rgba(232,201,122,0.3); }
.testi-author { display: flex; align-items: center; gap: 0.85rem; }
.testi-av { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; background: linear-gradient(135deg, var(--surface2), var(--surface)); border: 1px solid rgba(232,201,122,0.15); flex-shrink: 0; }
.testi-name { font-weight: 600; font-size: 0.875rem; }
.testi-role { font-size: 0.72rem; color: var(--text3); margin-top: 0.1rem; }

/* ── TECH STACK ── */
.tech-header { text-align: center; margin-bottom: 3.5rem; }
.tech-header .sec-tag { justify-content: center; }
.tech-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.tech-cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; transition: border-color 0.25s; }
.tech-cat:hover { border-color: rgba(232,201,122,0.18); }
.tech-cat-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 1.1rem; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tech-pill { font-size: 0.74rem; font-weight: 600; padding: 0.28rem 0.7rem; border-radius: var(--radius-sm); background: var(--surface2); border: 1px solid var(--border); color: var(--text2); transition: all 0.2s; cursor: default; }
.tech-pill:hover { border-color: rgba(232,201,122,0.22); color: var(--gold); background: var(--gold-dim); }

/* ── PRICING ── */
.pricing-header { text-align: center; margin-bottom: 3.5rem; }
.pricing-header .sec-tag { justify-content: center; }
.pricing-header .sec-sub { margin: 1rem auto 0; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; position: relative; transition: all 0.3s var(--ease); }
.price-card:hover { transform: translateY(-4px); }
.price-card.featured { background: linear-gradient(160deg, var(--surface2), var(--surface)); border-color: rgba(232,201,122,0.3); box-shadow: 0 0 0 1px rgba(232,201,122,0.08), 0 30px 80px rgba(0,0,0,0.5); }
.price-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--gold); color: #fff; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 100px; }
.price-tier { font-size: 0.68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text3); margin-bottom: 0.8rem; }
.price-tier.gold { color: var(--gold); }
.price-val { font-family: var(--font-display); font-size: 2.8rem; font-weight: 900; color: var(--gold); line-height: 1; display: flex; align-items: flex-start; gap: 0.2rem; }
.price-val sup { font-size: 1.1rem; margin-top: 0.5rem; font-family: var(--font-body); }
.price-val span { font-family: var(--font-body); font-size: 1rem; color: var(--text3); align-self: flex-end; margin-bottom: 0.25rem; }
.price-desc { font-size: 0.84rem; color: var(--text3); margin: 0.8rem 0 1.5rem; line-height: 1.55; }
.price-divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.price-features li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.84rem; color: var(--text2); }
.pf-check { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.58rem; flex-shrink: 0; }
.pf-yes { background: rgba(74,222,128,0.1); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.pf-no  { background: var(--surface2); color: var(--text3); border: 1px solid var(--border); }
.price-btn { width: 100%; margin-top: 2rem; padding: 0.88rem; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all 0.25s var(--ease); border: none; }
.price-btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hi); }
.price-btn-outline:hover { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }
.price-btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; font-weight: 700; }
.price-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 25px rgba(232,201,122,0.3); }

/* FIX: Pricing installment note */
.pricing-note {
  text-align: center; margin-top: 2rem;
  font-size: 0.84rem; color: var(--text3); line-height: 1.6;
  padding: 1rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.pricing-note strong { color: var(--text2); }

/* ── FAQ (NEW) ── */
.faq-header { text-align: center; margin-bottom: 3.5rem; }
.faq-header .sec-tag { justify-content: center; }
.faq-header .sec-sub { margin: 1rem auto 0; text-align: center; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; max-width: 980px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.25s; }
.faq-item:hover { border-color: rgba(232,201,122,0.25); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; background: var(--surface); border: none; color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s; line-height: 1.4;
}
.faq-q:hover { background: var(--surface2); color: var(--gold); }
.faq-q[aria-expanded="true"] { color: var(--gold); background: var(--gold-dim); }
.faq-icon { font-size: 1.3rem; line-height: 1; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; font-weight: 300; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
  background: var(--bg2);
}
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 1rem 1.3rem 1.2rem; font-size: 0.875rem; color: var(--text2); line-height: 1.75; }
.faq-a a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(232,201,122,0.3); }
.faq-a a:hover { color: var(--gold2); }

/* ── CONTACT ── */
.cta-inner {
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 5rem);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 4vw, 5rem); align-items: start;
  position: relative; overflow: hidden;
}
.cta-glow { position: absolute; top: -40%; right: -8%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(232,201,122,0.04) 0%, transparent 65%); pointer-events: none; }
.cta-info { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cta-info-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.875rem; color: var(--text2); }
.cta-info-icon { width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--gold-dim); border: 1px solid rgba(232,201,122,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.72rem; font-weight: 600; color: var(--text3); letter-spacing: 0.5px; }
.form-input, .form-select, .form-textarea { background: var(--surface2); border: 1px solid var(--border); color: var(--text); font-family: var(--font-body); font-size: 0.875rem; padding: 0.78rem 1rem; border-radius: var(--radius-sm); outline: none; transition: border-color 0.2s; width: 100%; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(232,201,122,0.4); }
.form-select { cursor: pointer; }
.form-select option { background: var(--surface2); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-submit { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #fff; border: none; padding: 0.95rem 2rem; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; transition: all 0.25s var(--ease); width: 100%; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,201,122,0.3); }
.form-submit.sent { background: linear-gradient(135deg, var(--green), #22c55e); color: #05070f; }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 5rem 0 0; }
.footer-inner { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 4rem); margin-bottom: 4rem; align-items: start; }
.foot-logo { font-family: var(--font-display); text-decoration: none; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 0; margin-bottom: 1rem; }
.foot-logo .logo-wordmark { display: flex; align-items: baseline; }
.foot-logo .logo-kaimur { font-size: 1.5rem; font-weight: 900; color: var(--text); letter-spacing: -0.5px; }
.foot-logo .logo-tech   { font-size: 1.5rem; font-weight: 900; color: var(--gold); letter-spacing: -0.5px; }
.foot-logo .logo-solutions { font-family: var(--font-body); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text3); margin-top: 3px; padding-left: 2px; }
.foot-desc {
  color: var(--text2);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 280px;
}

.foot-col {
  transition: transform 0.25s ease;
}

.foot-col:hover {
  transform: translateY(-4px);
}

.foot-social { display: flex; gap: 0.5rem; }
.foot-soc {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text2);
  transition: all 0.25s ease;
}

.foot-soc:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 20px rgba(232,201,122,0.2);
}

/* Default icon style */
.foot-soc svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Brand colors */
.foot-soc.linkedin svg { color: #0077b5; }
.foot-soc.whatsapp svg { color: #25D366; }
.foot-soc.email svg { color: #EA4335; }

/* Hover effect (premium feel) */
.foot-soc:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.foot-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.foot-col a {
  color: var(--text2);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  position: relative;
}

.foot-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; border-top: 1px solid var(--border); gap: 1rem; flex-wrap: wrap; }
.footer-bottom p {
  color: var(--text2);
  font-size: 0.8rem;
}
.foot-certs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cert-badge { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.8px; padding: 0.22rem 0.65rem; border-radius: 3px; background: var(--surface); border: 1px solid var(--border); color: var(--text3); }

/* ── REVIEW / MODAL ── */
.review-card { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1rem; }
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.75rem; }
.review-text { color: var(--text2); font-size: 0.875rem; line-height: 1.7; font-style: italic; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: 0.75rem; }
.review-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; background: var(--surface); border: 1px solid var(--border); }
.review-submit-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.star-rating { display: flex; gap: 0.4rem; }
.star-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text3); transition: color 0.15s; }
.star-btn.active, .star-btn:hover { color: var(--gold); }

/* ── KEYFRAMES ── */
@keyframes slideUp    { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes slideRight { from { opacity:0; transform:translateX(24px); } to { opacity:1; transform:none; } }
@keyframes tick       { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes pulse      { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:.3;transform:scale(.65);} }
@keyframes fadeIn     { from { opacity:0; } to { opacity:1; } }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE  —  Mobile-first, fully tested breakpoints
   1280 → 1080 → 900 → 720 → 480 → 360
══════════════════════════════════════════════════════════ */

/* ── 1280px: tighten padding, hide phone in nav ── */
@media (max-width: 1280px) {
  :root { --section-pad: 6rem 0; }
  .nav-phone { display: none; }
  .container { padding: 0 1.5rem; }
}

/* ── 1080px: 2-col services, compress some grids ── */
@media (max-width: 1080px) {
  /* services-header already centered — no override needed */
  .svs-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

/* ── 900px: hamburger menu, collapse hero panel ── */
@media (max-width: 900px) {
  :root { --section-pad: 5.5rem 0; }

  /* Nav */
  .nav-links, .nav-phone, .theme-toggle .theme-label { display: none; }
  .hamburger { display: flex; }
  .nav-right { gap: 0.5rem; }
  .btn-sm { padding: 0.48rem 0.9rem; font-size: 0.75rem; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero-left { text-align: left; }
  .hero-h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); letter-spacing: -1.5px; }
  .hero-sub { font-size: 0.97rem; }
  .hero-eyebrow { font-size: 0.65rem; }

  /* Grids */
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }

  /* Process */
  .process-track { grid-template-columns: 1fr 1fr; gap: 2.5rem 2rem; }
  .process-connector { display: none; }
  .process-header { margin-bottom: 3rem; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .stat-val { font-size: 2.2rem; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .foot-desc { max-width: 100%; }
}

/* ── 720px: proper mobile — single column everything ── */
@media (max-width: 720px) {
  :root {
    --section-pad: 4rem 0;
    --nav-h: 60px;
    --bar-h: 38px;
  }

  /* Container */
  .container { padding: 0 1.1rem; }

  /* Announce bar */
  .announce-bar { font-size: 0.7rem; padding: 0.45rem 2.8rem 0.45rem 0.8rem; }

  /* Nav */
  .nav-inner { padding: 0 1.1rem; }
  .logo-kaimur, .logo-tech { font-size: 1.3rem; }
  .logo-solutions { font-size: 0.5rem; }
  .btn.btn-gold.btn-sm { display: none; } /* hide CTA in nav on mobile — save space */

  /* Mobile menu */
  .mobile-menu { padding: 1.5rem 1.1rem; top: calc(var(--bar-h) + var(--nav-h)); }
  .mob-link { font-size: 1rem; padding: 0.85rem 0; }

  /* Hero */
  .hero { padding-top: calc(var(--bar-h) + var(--nav-h) + 2.5rem); padding-bottom: 3.5rem; min-height: auto; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -1px; line-height: 1.1; }
  .hero-sub { font-size: 0.92rem; margin-top: 1.2rem; }
  .hero-eyebrow { font-size: 0.62rem; padding: 0.3rem 0.8rem; margin-bottom: 1.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 2rem; }
  .hero-actions .btn { justify-content: center; width: 100%; padding: 0.9rem 1.5rem; font-size: 0.88rem; }
  .hero-trust { margin-top: 2.5rem; }
  .trust-logos { gap: 0.5rem; }
  .trust-logo { font-size: 0.65rem; padding: 0.3rem 0.7rem; }

  /* Services — center card content on mobile */
  .svs-grid { grid-template-columns: 1fr; border-radius: var(--radius-md); }
  .svc-card { padding: 1.8rem 1.4rem; text-align: center; }
  .svc-icon { margin-left: auto; margin-right: auto; }
  .svc-tags { justify-content: center; }
  .svc-num { font-size: 2.5rem; top: 1rem; right: 1.2rem; }

  /* Stats band */
  .stats-band { padding: 2.5rem 0; }
  .stats-inner { grid-template-columns: 1fr 1fr; padding: 0 1.1rem; }
  .stat-item { padding: 1rem 0.75rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(1) { border-right: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
  .stat-val { font-size: 2rem; }
  .stat-lbl { font-size: 0.75rem; }

  /* Process — centered on mobile */
  .process-track { grid-template-columns: 1fr; gap: 2rem; }
  .proc-step { padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .proc-step .proc-num { margin: 0 auto 1rem auto; }
  .proc-step p { font-size: 0.85rem; max-width: 320px; }
  .process-header { margin-bottom: 2.5rem; }
  .process-header .sec-sub { max-width: 100%; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-thumb { height: 170px; }

  /* Why Us — center on mobile */
  .ind-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .ind-card { padding: 1.4rem; text-align: center; }
  .ind-icon { margin-left: auto; margin-right: auto; width: 44px; height: 44px; font-size: 1.2rem; margin-bottom: 1rem; }
  .ind-card h3 { font-size: 0.95rem; }
  .ind-link { justify-content: center; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testi-card { padding: 1.5rem; }
  .testi-quote { font-size: 0.84rem; }

  /* Tech stack */
  .tech-grid { grid-template-columns: 1fr; gap: 0.9rem; }
  .tech-cat { padding: 1.4rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 100%; }
  .price-card { padding: 1.6rem 1.3rem; }
  .price-card.featured { order: -1; } /* show Popular first on mobile */
  .price-val { font-size: 2.2rem; }
  .pricing-note { font-size: 0.8rem; padding: 0.85rem 1rem; margin-top: 1.5rem; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .faq-q { font-size: 0.85rem; padding: 1rem 1rem; }
  .faq-a p { font-size: 0.83rem; padding: 0.85rem 1rem 1rem; }

  /* Contact */
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem 1.2rem; border-radius: var(--radius-md); }
  .cta-info { margin-top: 1.5rem; gap: 0.75rem; }
  .cta-info-item { font-size: 0.82rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-input, .form-select, .form-textarea { font-size: 1rem; /* prevent iOS zoom */ padding: 0.85rem 0.9rem; }
  .form-submit { font-size: 0.95rem; padding: 1rem; }

  /* Section headers */
  .sec-h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .sec-sub { font-size: 0.9rem; }
  .sec-tag { font-size: 0.65rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem;}
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  footer { padding-top: 3.5rem; }
  .foot-desc { max-width: 100%; }

  /* Floating buttons — move slightly so they don't overlap each other */
  #backToTop { bottom: 6rem; right: 1.1rem; width: 40px; height: 40px; font-size: 1rem; }
  #whatsappFloat { bottom: 1.2rem; right: 1.1rem; width: 48px; height: 48px; font-size: 1.3rem; }

  /* Modal */
  .modal-overlay { padding: 0.75rem; align-items: flex-end; }
  .modal-box { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-header { padding: 1.4rem 1.2rem 1rem; }
}

/* ── 480px: small phones (iPhone SE, Galaxy A series) ── */
@media (max-width: 480px) {
  :root { --bar-h: 48px; --section-pad: 3.5rem 0; }
  .container { padding: 0 1rem; }

  /* Announce bar might wrap — give it more height */
  .announce-bar { font-size: 0.65rem; line-height: 1.5; padding: 0.4rem 2.5rem 0.4rem 0.7rem; text-align: center; }

  /* Hero */
  .hero-h1 { font-size: clamp(1.9rem, 10vw, 2.4rem); }
  .hero-eyebrow { font-size: 0.58rem; letter-spacing: 1px; }
  .hero-sub { font-size: 0.88rem; line-height: 1.7; }
  .trust-logo { font-size: 0.6rem; padding: 0.25rem 0.55rem; }

  /* Section titles */
  .sec-h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  /* Nav logo */
  .logo-kaimur, .logo-tech { font-size: 1.2rem; }

  /* Svc cards */
  .svc-card { padding: 1.5rem 1.1rem; }
  .svc-icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: 1.2rem; }
  .svc-card h3 { font-size: 1.05rem; }

  /* Process steps */
  .proc-step h3 { font-size: 0.9rem; }

  /* Stats */
  .stat-val { font-size: 1.75rem; }

  /* Pricing */
  .price-card { padding: 1.4rem 1.1rem; }
  .price-val { font-size: 2rem; }
  .price-btn { font-size: 0.83rem; padding: 0.78rem; }

  /* FAQ */
  .faq-q { font-size: 0.82rem; padding: 0.9rem 0.9rem; }

  /* Contact form */
  .cta-inner { padding: 1.3rem 1rem; }
  .form-input, .form-select, .form-textarea { padding: 0.8rem; }

  /* Footer */
  footer { padding-top: 3rem; }
  .foot-col h4 { font-size: 0.62rem; }

  /* Pricing note */
  .pricing-note { font-size: 0.76rem; }
}

/* ── 360px: very small phones (budget Android) ── */
@media (max-width: 360px) {
  .container { padding: 0 0.85rem; }
  .hero-h1 { font-size: 1.75rem; letter-spacing: -0.5px; }
  .hero-eyebrow { display: none; } /* hide on tiny screens to save space */
  .sec-h2 { font-size: 1.55rem; }
  .hero-actions .btn { font-size: 0.84rem; padding: 0.85rem 1rem; }
  .price-val { font-size: 1.8rem; }
  .stats-inner { padding: 0 0.85rem; }
  .stat-val { font-size: 1.6rem; }
  .announce-bar .close-bar { right: 0.4rem; }
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.42rem 0.9rem; border-radius: 100px;
  border: 1.5px solid var(--border-hi); background: var(--surface);
  cursor: pointer; font-size: 0.78rem; font-weight: 600; color: var(--text2);
  font-family: var(--font-body); transition: all 0.25s var(--ease);
  flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.08); white-space: nowrap;
}
.theme-toggle .theme-icon { font-size: 0.9rem; line-height: 1; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); box-shadow: 0 2px 10px rgba(232,201,122,0.2); }
.theme-toggle .theme-label { font-size: 0.72rem; letter-spacing: 0.02em; }

/* ── GLOBAL SMOOTH TRANSITIONS ── */
body, .nav, .nav-dropdown, .announce-bar,
.svc-card, .svc-icon, .svc-tag,
.hpanel-card, .stats-band,
.proc-num, .portfolio-card,
.ind-card, .testi-card, .tech-cat, .tech-pill,
.price-card, .price-btn-outline,
.cta-inner, .form-input, .form-select, .form-textarea,
.modal-box, .review-card,
.trust-logo, .cert-badge, .foot-soc,
footer, .mobile-menu, .nav-logo,
.logo-kaimur, .logo-tech, .logo-solutions,
.sec-tag, .sec-h2, .sec-sub,
.faq-item, .faq-q, .faq-a, .pricing-note {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] .announce-bar { background: linear-gradient(90deg, rgba(168,97,0,0.07), rgba(168,97,0,0.04)); border-bottom: 1px solid rgba(168,97,0,0.15); }
[data-theme="light"] .nav.scrolled { box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.06); }
[data-theme="light"] .nav-dropdown { background: var(--surface); box-shadow: 0 12px 40px rgba(0,0,0,0.11), 0 0 0 1px var(--border); }
[data-theme="light"] .hero-bg { background: radial-gradient(ellipse 60% 70% at 72% 42%, rgba(29,78,216,0.07) 0%, transparent 65%), radial-gradient(ellipse 45% 55% at 15% 75%, rgba(168,97,0,0.07) 0%, transparent 55%), radial-gradient(ellipse 35% 40% at 88% 12%, rgba(3,105,161,0.05) 0%, transparent 50%); }
[data-theme="light"] .hero-eyebrow { background: rgba(168,97,0,0.07); border-color: rgba(168,97,0,0.2); }
[data-theme="light"] .hero-h1 em { background: linear-gradient(135deg, #a86100 0%, #c97a00 60%, #a86100 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
[data-theme="light"] .svs-grid { box-shadow: var(--card-shadow); }
[data-theme="light"] .svc-card { background: var(--surface); }
[data-theme="light"] .svc-card:hover { background: var(--bg2); }
[data-theme="light"] .hpanel-card { box-shadow: var(--card-shadow); }
[data-theme="light"] .hpanel-card:hover { border-color: rgba(168,97,0,0.28); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
[data-theme="light"] .hpanel-trend { background: rgba(21,128,61,0.08); border-color: rgba(21,128,61,0.2); color: var(--green); }
[data-theme="light"] .stats-band { background: var(--surface); }
[data-theme="light"] .proc-num { background: var(--surface); box-shadow: var(--card-shadow); }
[data-theme="light"] .proc-step:hover .proc-num { background: var(--gold-dim); box-shadow: 0 0 16px rgba(168,97,0,0.15); }
[data-theme="light"] .portfolio-card { box-shadow: var(--card-shadow); }
[data-theme="light"] .portfolio-card:hover { border-color: rgba(168,97,0,0.22); }
[data-theme="light"] .ind-card { box-shadow: var(--card-shadow); }
[data-theme="light"] .ind-card::before { background: linear-gradient(135deg, rgba(168,97,0,0.05), transparent 60%); }
[data-theme="light"] .ind-card:hover { border-color: rgba(168,97,0,0.2); }
[data-theme="light"] .testi-card { box-shadow: var(--card-shadow); }
[data-theme="light"] .testi-quote { border-left-color: rgba(168,97,0,0.3); }
[data-theme="light"] .tech-cat { box-shadow: var(--card-shadow); }
[data-theme="light"] .tech-pill:hover { background: var(--gold-dim); border-color: rgba(168,97,0,0.25); color: var(--gold); }
[data-theme="light"] .price-card { box-shadow: var(--card-shadow); }
[data-theme="light"] .price-card.featured { background: linear-gradient(160deg, #eceef8, var(--surface)); border-color: rgba(168,97,0,0.28); box-shadow: 0 0 0 1px rgba(168,97,0,0.08), 0 8px 32px rgba(0,0,0,0.1); }
[data-theme="light"] .cta-inner { background: linear-gradient(135deg, var(--surface2), var(--surface)); box-shadow: var(--card-shadow); }
[data-theme="light"] .form-input, [data-theme="light"] .form-select, [data-theme="light"] .form-textarea { background: var(--surface); border-color: var(--border-hi); }
[data-theme="light"] .form-input:focus, [data-theme="light"] .form-select:focus, [data-theme="light"] .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,97,0,0.1); }
[data-theme="light"] .form-select option { background: #fff; color: var(--text); }
[data-theme="light"] .mobile-menu { border-top: 1px solid var(--border); }
[data-theme="light"] .modal-box { background: var(--surface); box-shadow: 0 24px 80px rgba(0,0,0,0.18); }
[data-theme="light"] .review-card { background: var(--bg2); }
[data-theme="light"] footer { background: var(--bg2); }
[data-theme="light"] ::-webkit-scrollbar-track { background: var(--bg2); }
[data-theme="light"] ::selection { background: rgba(168,97,0,0.18); color: var(--text); }
[data-theme="light"] .trust-logo { background: var(--surface); box-shadow: var(--card-shadow); }
[data-theme="light"] .trust-logo:hover { border-color: rgba(168,97,0,0.25); color: var(--gold); }
[data-theme="light"] .ticker { background: var(--bg2); }
[data-theme="light"] .section--alt { background: var(--bg2); }
[data-theme="light"] .cur-dot { box-shadow: 0 0 8px rgba(168,97,0,0.5); }
[data-theme="light"] .faq-q { background: var(--surface); }
[data-theme="light"] .faq-q:hover { background: var(--surface2); }
[data-theme="light"] .faq-q[aria-expanded="true"] { background: rgba(168,97,0,0.08); }
[data-theme="light"] .faq-a { background: var(--bg2); }
[data-theme="light"] .pricing-note { background: var(--surface); }