/* ============================================================================
   EbizIndia v2 — Unified Design System
   Vanilla CSS3. No frameworks. Navy (#0f1f3d) + Orange (#f4621f).
   Loaded once, cached across every page → structural consistency.
   ========================================================================== */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  --navy:      #0f1f3d;
  --navy-mid:  #1a3460;
  --blue:      #2256a8;
  --blue-lt:   #3270cc;
  --orange:    #f4621f;
  --orange-lt: #ff7a38;
  --cream:     #faf8f5;
  --white:     #ffffff;
  --g50:       #fafbfc;
  --g100:      #f4f5f7;
  --g200:      #e8eaed;
  --g300:      #d6dae0;
  --g400:      #9ca3af;
  --g600:      #6b7280;
  --g700:      #4b5563;
  --g800:      #1f2937;
  --text:      #111827;
  --teal:      #0d9488;
  --green:     #16a34a;
  --amber:     #f59e0b;

  --ff-head: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --r:    10px;
  --r-lg: 18px;
  --r-pill: 100px;

  --sh-sm: 0 2px 8px rgba(0,0,0,.06);
  --sh-md: 0 8px 32px rgba(0,0,0,.09);
  --sh-lg: 0 20px 60px rgba(0,0,0,.13);

  --maxw: 1160px;
  --nav-h: 70px;
  --safe-top: env(safe-area-inset-top, 0px);
  --nav-total: calc(var(--nav-h) + var(--safe-top));
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-total) + 16px); }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg, video { max-width: 100%; display: block; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 2px; border-radius: 3px; }
::selection { background: rgba(244,98,31,.18); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--g300); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--g400); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Layout helpers ──────────────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }
section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.alt-bg { background: var(--cream); }
.mid-bg { background: var(--g100); }
.dark-bg { background: var(--navy); color: #fff; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
.eyebrow.blue { color: var(--blue-lt); }
.eyebrow.light { color: var(--orange-lt); }

h1.h1, .h1 { font-family: var(--ff-head); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
h2.section-h, .section-h { font-family: var(--ff-head); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.18; color: var(--text); }
.section-h.light { color: #fff; }
h3.h3, .h3 { font-family: var(--ff-head); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.lead { font-size: 1.06rem; color: var(--g600); line-height: 1.75; max-width: 620px; }
.lead.light { color: rgba(255,255,255,.66); }
.section-p { font-size: 1rem; color: var(--g600); line-height: 1.8; }
.section-p.light { color: rgba(255,255,255,.64); }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue-lt); }
.muted { color: var(--g600); }
.prose p { margin-bottom: 1.1em; color: var(--g700); }
.prose h2 { font-family: var(--ff-head); font-weight: 400; font-size: 1.7rem; margin: 1.6em 0 .6em; }
.prose h3 { font-family: var(--ff-head); font-weight: 400; font-size: 1.3rem; margin: 1.4em 0 .5em; }
.prose ul { margin: 0 0 1.1em 1.2em; list-style: disc; }
.prose ul li { margin-bottom: .4em; color: var(--g700); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: .95rem; padding: 13px 26px; border-radius: var(--r); border: none; cursor: pointer; transition: all .22s var(--ease); white-space: nowrap; line-height: 1.2; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(244,98,31,.28); }
.btn-primary:hover { background: var(--orange-lt); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(244,98,31,.4); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--g300); font-weight: 600; }
.btn-outline:hover { border-color: var(--navy); background: var(--g100); }
.btn-outline.light { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.28); }
.btn-outline.light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
/* Guard: keep a button's label colour regardless of any page-level descendant
   link-colour rule (e.g. ".wrapper a {color}"). Two-class selectors (0,2,0) outrank
   such rules (0,1,1) even though page <style> loads after this file. */
a.btn { text-decoration: none; }
.btn.btn-primary, .btn.btn-dark { color: #fff; }
.btn.btn-outline { color: var(--navy); }
.btn.btn-outline.light { color: rgba(255,255,255,.9); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-total); padding: var(--safe-top) 40px 0; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, hsl(209, 41%, 46%), hsl(198, 74%, 52%)); box-shadow: 0 2px 10px rgba(0,0,0,.1); transition: box-shadow .3s var(--ease); }
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.22); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { display: block; height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 5px; padding: 9px 13px; font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.82); border-radius: 8px; transition: all .18s; white-space: nowrap; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-caret { font-size: .6rem; opacity: .8; transition: transform .2s; }
.nav-dropdown { position: absolute; top: calc(100% + 4px); left: 0; min-width: 290px; max-height: min(72vh, 560px); overflow-y: auto; background: #fff; border: 1px solid var(--g200); border-radius: var(--r); padding: 6px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); z-index: 20; }
.nav-links > li:hover .nav-dropdown, .nav-links > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a { display: block; padding: 9px 13px; font-size: .85rem; color: var(--g800); border-radius: 7px; transition: background .15s; }
.nav-dropdown li a:hover { background: var(--g100); color: var(--blue); }
.nav-cta { background: var(--orange) !important; color: #fff !important; font-weight: 700 !important; padding: 9px 18px !important; margin-left: 12px; }
.nav-cta:hover { background: var(--orange-lt) !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(244,98,31,.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page hero (interior pages) ──────────────────────────────────────────── */
.page-hero { background: var(--navy); color: #fff; padding: calc(var(--nav-total) + 56px) 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 60px 60px; }
.ph-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.ph-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(34,86,168,.28), transparent 70%); top: -140px; right: -100px; }
.ph-orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(244,98,31,.14), transparent 70%); bottom: -80px; left: 8%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--ff-head); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.16; margin-bottom: 18px; max-width: 18ch; }
.page-hero h1 span { color: var(--orange); }
.page-hero p.lead { color: rgba(255,255,255,.68); margin-bottom: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 22px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,.3); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-pill { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); padding: 6px 15px; border-radius: var(--r-pill); font-size: .8rem; font-weight: 500; }

/* ── Homepage hero ───────────────────────────────────────────────────────── */
.home-hero { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: #fff; padding: calc(var(--nav-total) + 64px) 0 72px; position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 64px 64px; }
.home-hero .container { position: relative; z-index: 1; }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.home-hero h1 { font-family: var(--ff-head); font-weight: 400; font-size: clamp(2.1rem, 4.3vw, 3.2rem); line-height: 1.1; margin-bottom: 20px; }
.home-hero h1 span { color: var(--orange); }
.home-hero .lead { color: rgba(255,255,255,.7); margin-bottom: 32px; }

/* ── Badges / pills ──────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 600; }
.badge-soft { background: rgba(244,98,31,.1); color: var(--orange); }
.badge-green { background: rgba(22,163,74,.1); color: var(--green); }
.badge-navy { background: rgba(15,31,61,.07); color: var(--navy); }

/* ── Card grids ──────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1.5px solid var(--g200); border-radius: var(--r-lg); padding: 28px 26px; transition: all .25s var(--ease); position: relative; overflow: hidden; }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.card.dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: #fff; }
.card-icon { width: 52px; height: 52px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 18px; background: rgba(244,98,31,.1); }
.card-icon.blue { background: rgba(34,86,168,.1); }
.card-icon.teal { background: rgba(13,148,136,.1); }
.card h3 { font-family: var(--ff-body); font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.card p { font-size: .92rem; color: var(--g600); line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .85rem; font-weight: 700; color: var(--orange); }
.card-link:hover { gap: 10px; }

/* ── Split (two-column feature rows) ─────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-visual { order: -1; }
.split-content h2 { margin-bottom: 18px; }
.split-content > p { margin-bottom: 22px; color: var(--g600); line-height: 1.8; }

/* ── Check lists ─────────────────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 26px; }
.check-list li { position: relative; padding-left: 33px; font-size: .95rem; color: var(--g800); line-height: 1.6; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; background: var(--orange); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; }
.check-list:last-child { margin-bottom: 0; }
.check-list.blue li::before { background: var(--blue); }
.check-list.teal li::before { background: var(--teal); }
.check-list.light li { color: rgba(255,255,255,.82); }

/* ── Visual panel (dark info card) ───────────────────────────────────────── */
.visual-panel { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 34px; position: relative; overflow: hidden; }
.visual-panel::before { content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(244,98,31,.16), transparent 70%); border-radius: 50%; }
.vp-head { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 20px; position: relative; }
.vp-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; }
.vp-row:last-child { border-bottom: none; padding-bottom: 0; }
.vp-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.vp-label { font-size: .82rem; color: rgba(255,255,255,.62); }
.vp-val { font-size: .95rem; font-weight: 600; }

/* ── Stats strip ─────────────────────────────────────────────────────────── */
.stats-strip { background: var(--navy); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--ff-head); font-size: 2.2rem; line-height: 1; margin-bottom: 8px; }
.stat-num span { color: var(--orange); }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.55); }

/* ── Process / numbered steps ────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px); height: 1px; background: var(--g200); }
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-num { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--ff-head); font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.process-step h4 { font-size: .98rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: .86rem; color: var(--g600); line-height: 1.65; }

/* ── FAQ accordion ───────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--g200); border-radius: var(--r-lg); overflow: hidden; max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-family: var(--ff-body); font-size: .98rem; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .18s; }
.faq-q:hover { background: var(--g100); }
.faq-arrow { font-size: .8rem; color: var(--g400); transition: transform .25s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; font-size: .94rem; color: var(--g600); line-height: 1.75; }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testi { background: var(--g100); border-radius: var(--r-lg); padding: 28px; }
.testi-stars { color: var(--amber); font-size: .9rem; margin-bottom: 12px; letter-spacing: .08em; }
.testi p { font-size: .95rem; color: var(--g800); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testi-author b { font-size: .88rem; font-weight: 700; }
.testi-author span { font-size: .8rem; color: var(--g600); display: block; }

/* ── Logo marquee ────────────────────────────────────────────────────────── */
.logo-strip { padding: 40px 0; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); overflow: hidden; }
.logo-strip-label { text-align: center; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g400); margin-bottom: 26px; }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.logo-track img { height: 38px; width: auto; opacity: .62; filter: grayscale(1); transition: all .25s; }
.logo-track img:hover { opacity: 1; filter: none; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── CTA band ────────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -120px; right: -120px; width: 400px; height: 400px; border-radius: 50%; background: rgba(244,98,31,.08); }
.cta-band::after { content: ''; position: absolute; bottom: -80px; left: 10%; width: 260px; height: 260px; border-radius: 50%; background: rgba(34,86,168,.14); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--ff-head); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 12px; line-height: 1.25; }
.cta-inner p { color: rgba(255,255,255,.66); line-height: 1.75; max-width: 520px; }
.cta-checks { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.cta-check { display: flex; align-items: center; gap: 7px; font-size: .85rem; color: rgba(255,255,255,.8); }
.cta-check::before { content: '✓'; width: 18px; height: 18px; background: rgba(255,255,255,.14); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 800; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ── Tabs (vanilla JS) ───────────────────────────────────────────────────── */
.tab-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-pill); font-family: var(--ff-body); font-weight: 700; font-size: .9rem; color: var(--g700); background: var(--g100); border: 1.5px solid var(--g200); cursor: pointer; transition: all .18s var(--ease); }
.tab-btn:hover { border-color: var(--g300); color: var(--text); }
.tab-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tab-fade .25s var(--ease); }
@keyframes tab-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--g200); border-radius: var(--r-lg); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--g200); }
table.data thead th { background: var(--g100); font-weight: 700; color: var(--g800); }
table.data tbody tr:last-child td { border-bottom: none; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 7px; color: var(--g800); }
.field .req { color: var(--orange); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 15px; border: 1.5px solid var(--g300); border-radius: var(--r); background: var(--g50); transition: all .18s; font-size: .95rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(34,86,168,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #dc2626; font-size: .8rem; margin-top: 6px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--g600); margin-top: 14px; }
.alert { padding: 16px 20px; border-radius: var(--r); margin-bottom: 22px; font-size: .92rem; }
.alert-success { background: rgba(22,163,74,.1); color: #15803d; border: 1px solid rgba(22,163,74,.25); }
.alert-error { background: rgba(220,38,38,.08); color: #b91c1c; border: 1px solid rgba(220,38,38,.22); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { background: var(--navy); color: #fff; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 48px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.46); line-height: 1.75; margin-bottom: 18px; }
.footer-contacts { display: flex; flex-direction: column; gap: 9px; }
.footer-contacts a { font-size: .85rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.footer-contacts a:hover { color: #fff; }
.footer-col h5 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.34); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.52); }
.footer-links a:hover { color: #fff; }
.footer-cta { background: rgba(244,98,31,.1); border: 1px solid rgba(244,98,31,.24); border-radius: var(--r); padding: 22px; }
.footer-cta h5 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-cta p { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 14px; line-height: 1.6; }
.footer-cta a.btn { width: 100%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.34); }
.footer-bottom-nav { display: flex; gap: 18px; }
.footer-bottom-nav a { font-size: .8rem; color: rgba(255,255,255,.34); }
.footer-bottom-nav a:hover { color: rgba(255,255,255,.8); }

/* ── Floating WhatsApp + mobile action bar ───────────────────────────────── */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 890; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 6px 20px rgba(37,211,102,.42); transition: transform .22s; }
.wa-float:hover { transform: scale(1.1); }
.mobile-bar { display: none; position: fixed; inset: auto 0 0 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.12); padding: 10px 16px; gap: 10px; z-index: 888; }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px; border-radius: var(--r); font-weight: 700; font-size: .88rem; }
.mb-call { background: var(--orange); color: #fff; }
.mb-wa { background: #25d366; color: #fff; }

/* ── Scroll reveal ───────────────────────────────────────────────────────── */
.sr { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.sr.in { opacity: 1; transform: none; }
.sr-d1 { transition-delay: .08s; } .sr-d2 { transition-delay: .16s; } .sr-d3 { transition-delay: .24s; } .sr-d4 { transition-delay: .32s; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .home-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-visual { order: 0; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 20px; }
  :root { --nav-h: 76px; }   /* taller bar on mobile so the logo clears in-app browser top UI */
  .navbar { padding: var(--safe-top) 20px 0; }
  .nav-logo img { height: 40px; }
  .hamburger { display: flex; }
  .nav-links { position: fixed; inset: var(--nav-total) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--navy); padding: 16px 20px 24px; max-height: calc(100dvh - var(--nav-total)); overflow-y: auto; transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
  .nav-links.open { transform: translateY(0); }
  .nav-links > li > a { width: 100%; padding: 13px 14px; color: rgba(255,255,255,.85); }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; max-height: none; overflow: visible; background: rgba(255,255,255,.04); border: none; box-shadow: none; padding: 4px 4px 4px 16px; margin: 4px 0; min-width: 0; }
  .nav-links > li.open .nav-dropdown { display: block; }
  .nav-dropdown li a { color: rgba(255,255,255,.72); }
  .nav-dropdown li a:hover { background: rgba(255,255,255,.06); color: #fff; }
  .nav-links > li.has-children > a .nav-caret { margin-left: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-top: 1px solid rgba(255,255,255,.1); }
  .stat:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 56px 0; }
  .cta-actions { flex-direction: column; }
  .wa-float { bottom: 76px; right: 16px; }
  .mobile-bar { display: flex; }
  .split { gap: 36px; }
}
@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .form-card { padding: 24px 20px; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sr { opacity: 1; transform: none; }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  .navbar, .footer, .wa-float, .mobile-bar, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}

/* ============================================================================
   COMPAT LAYER — legacy "Pattern A" class-name aliases.
   Lets pages migrated from the old _layout.php keep their markup yet render
   identically through this single stylesheet. New pages should prefer the
   primary class names above; both are supported.
   ========================================================================== */
.page-hero-inner { position: relative; z-index: 1; }
.ph-orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(34,86,168,.28), transparent 70%); top: -140px; right: -100px; }
.ph-orb2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(244,98,31,.14), transparent 70%); bottom: -80px; left: 8%; }
.ph-orb1, .ph-orb2 { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

/* Standalone buttons (old markup used .btn-primary without a .btn base) */
.btn-primary:not(.btn), .btn-outline:not(.btn) { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: .95rem; padding: 13px 26px; border-radius: var(--r); border: none; cursor: pointer; transition: all .22s var(--ease); white-space: nowrap; line-height: 1.2; }
.btn-outline:not(.btn) { font-weight: 600; background: transparent; color: var(--navy); border: 1.5px solid var(--g300); }
/* keep the .light variant readable on dark backgrounds (higher specificity than the
   base standalone rule above, so it isn't clobbered by source order) */
.btn-outline:not(.btn).light { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.28); background: transparent; }
.btn-outline:not(.btn).light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Card grids → grid */
.card-grid-2 { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.service-card { background: #fff; border: 1.5px solid var(--g200); border-radius: var(--r-lg); padding: 28px 26px; transition: all .25s var(--ease); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.service-card h3 { font-family: var(--ff-body); font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.service-card p { font-size: .92rem; color: var(--g600); line-height: 1.7; }

/* Visual-panel + stats + process + testimonial legacy names */
.visual-panel-head { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.42); margin-bottom: 20px; position: relative; }
.stats-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.ss-item { text-align: center; padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.1); }
.ss-item:last-child { border-right: none; }
.ss-num { font-family: var(--ff-head); font-size: 2.2rem; line-height: 1; margin-bottom: 8px; color: #fff; }
.ss-num span { color: var(--orange); }
.ss-label { font-size: .8rem; color: rgba(255,255,255,.55); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 28px; left: calc(12.5% + 20px); right: calc(12.5% + 20px); height: 1px; background: var(--g200); }
.testi-mini { background: var(--g100); border-radius: var(--r-lg); padding: 24px; }
.testi-mini-stars { color: var(--amber); font-size: .85rem; margin-bottom: 12px; letter-spacing: .05em; }
.testi-mini p { font-size: .9rem; color: var(--g800); line-height: 1.75; font-style: italic; margin-bottom: 14px; }
.testi-mini-author { font-size: .8rem; font-weight: 700; color: var(--g600); }

@media (max-width: 1024px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}
@media (max-width: 768px) {
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .stats-strip-inner, .process-grid { grid-template-columns: 1fr; }
  .ss-item { border-right: none; border-top: 1px solid rgba(255,255,255,.1); }
  .ss-item:first-child { border-top: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary:not(.btn), .hero-actions .btn-outline:not(.btn) { width: 100%; }
}
