/* ==========================================================================
   eInvoice.pk — main stylesheet
   Glims Technologies
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0B1B3A;          /* navy: headings, dark sections */
  --ink-2: #13284F;
  --blue: #0F4C9C;         /* primary brand blue */
  --blue-600: #1760C4;
  --blue-50: #EEF4FC;
  --blue-100: #DCE8F8;
  --green: #0B8F63;        /* "accepted / compliant" signal */
  --green-50: #E6F6EF;
  --wa: #178A4C;           /* WhatsApp button (AA contrast with white) */
  --wa-bright: #25D366;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --line: #E2E8F1;
  --text: #1B2436;
  --muted: #56637A;

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11, 27, 58, .06), 0 4px 14px rgba(11, 27, 58, .05);
  --shadow-2: 0 2px 6px rgba(11, 27, 58, .06), 0 18px 40px rgba(11, 27, 58, .10);

  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon-sm { width: 16px; height: 16px; }
[data-phone-text] { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 600 .98rem/1.2 var(--font-body);
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(15, 76, 156, .22); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9D4E4; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-100); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-50); color: var(--ink); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #0A7B55; color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #127540; color: #fff; }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0; margin-top: auto;
  background: none; border: 0; cursor: pointer;
  font: 600 .95rem var(--font-body); color: var(--blue);
  text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.link-btn:hover { text-decoration-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px);
  background: transparent;
  transition: background-color .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(11, 27, 58, .05);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-word { font: 700 1.3rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.brand-tld { color: var(--green); }
.brand--light .brand-word { color: #fff; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: block; padding: 8px 11px; border-radius: 8px;
  font-weight: 500; font-size: .96rem; color: var(--text); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--blue); background: var(--blue-50); }
.nav-link.is-active { color: var(--blue); }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(23, 96, 196, .10), transparent 65%),
    linear-gradient(180deg, #F3F7FD 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before { /* faint ledger grid, echoing ruled invoice paper */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 76, 156, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 76, 156, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; margin-bottom: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.hero h1 { max-width: 13ch; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-expert {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); text-decoration: none; font-size: .98rem;
}
.hero-expert .icon { color: var(--wa); width: 26px; height: 26px; }
.hero-expert strong { color: var(--ink); }
.hero-expert:hover strong { color: var(--wa); text-decoration: underline; text-underline-offset: 3px; }

/* Invoice illustration */
.hero-visual { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 470px; }
.invoice-sheet {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 20px;
  box-shadow: var(--shadow-2);
  font-size: .9rem; font-variant-numeric: tabular-nums;
}
.invoice-sheet::after { /* torn/perforated bottom edge */
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.inv-type { margin: 0; font: 600 1.02rem var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.inv-no { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.inv-status { position: relative; display: inline-grid; }
.inv-status .st {
  grid-area: 1 / 1; justify-self: end;
  padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
  opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s;
}
.st-0 { background: #EEF1F5; color: #4B5870; }
.st-1 { background: var(--blue-50); color: var(--blue); }
.st-2 { background: #FFF4E0; color: #8A5300; }
.st-3 { background: var(--green-50); color: var(--green); }
.invoice-sheet[data-stage="0"] .st-0,
.invoice-sheet[data-stage="1"] .st-1,
.invoice-sheet[data-stage="2"] .st-2,
.invoice-sheet[data-stage="3"] .st-3 { opacity: 1; transform: none; }

.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.inv-parties dt { font-size: .75rem; color: var(--muted); }
.inv-parties dd { font-weight: 600; color: var(--ink); }
.inv-lines { width: 100%; border-collapse: collapse; margin: 10px 0 14px; }
.inv-lines th { text-align: left; font-size: .75rem; font-weight: 600; color: var(--muted); padding: 6px 0; }
.inv-lines td { padding: 7px 0; border-top: 1px dashed var(--line); }
.inv-lines th:nth-child(n+2), .inv-lines td:nth-child(n+2) { text-align: right; }
.inv-lines td:first-child { color: var(--ink); }
.inv-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.inv-qr {
  width: 84px; height: 84px; padding: 8px; border-radius: 10px; flex: none;
  background: #fff; border: 1.5px dashed var(--line); color: var(--ink);
  transition: border-color .4s;
}
.inv-qr svg { width: 100%; height: 100%; fill: currentColor; opacity: 0; transform: scale(.85); transition: opacity .5s, transform .5s; }
.invoice-sheet[data-stage="3"] .inv-qr { border-color: var(--green); border-style: solid; }
.invoice-sheet[data-stage="3"] .inv-qr svg { opacity: 1; transform: none; }
.inv-totals { flex: 1; max-width: 220px; }
.inv-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.inv-totals dt { color: var(--muted); }
.inv-totals .grand { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--ink); }
.inv-totals .grand dt, .inv-totals .grand dd { color: var(--ink); font-weight: 700; }
.inv-fbr {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin: 16px 0 0; padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--green-50); color: var(--green); font-size: .82rem;
  opacity: 0; transform: translateY(6px); transition: opacity .45s .15s, transform .45s .15s;
}
.inv-fbr strong { font-weight: 700; letter-spacing: .02em; }
.invoice-sheet[data-stage="3"] .inv-fbr { opacity: 1; transform: none; }

.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-1); font-size: .85rem; font-weight: 600; color: var(--ink);
}
.hero-chip .icon { width: 18px; height: 18px; color: var(--blue); }
.chip-cloud { top: -18px; left: -28px; }
.chip-report { bottom: -22px; right: -26px; }
.mini-bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 26px; }
.mini-bars i { display: block; width: 7px; height: var(--h); border-radius: 2px; background: var(--blue-100); }
.mini-bars i:last-child { background: var(--green); }

/* ---------- Trust bar ---------- */
.trust { padding: 28px 0 8px; }
.trust .container { display: flex; align-items: center; gap: 28px; }
.trust-title { flex: none; margin: 0; font: 600 1rem var(--font-body); color: var(--muted); letter-spacing: 0; max-width: 12ch; }
.trust-list { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trust-list li {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  background: var(--bg); border-radius: var(--r-md);
  font-weight: 600; font-size: .94rem; color: var(--ink); line-height: 1.3;
}
.trust-list .icon { color: var(--blue); }

/* ---------- Sections (shared) ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: #B8C4DA; }

.icon-tile {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 12px; background: var(--blue-50); color: var(--blue);
}
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile--light { background: rgba(255, 255, 255, .12); color: #fff; }

.tick-list li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8F63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Story ---------- */
.story { background: var(--surface); }
.story-track {
  position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  counter-reset: none;
}
.story-track::before { /* the line the invoice travels along */
  content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px;
  background: var(--line);
}
.story-track::after {
  content: ""; position: absolute; top: 23px; left: 24px; height: 2px;
  width: calc((100% - 48px) * var(--progress, 0));
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width .2s linear;
}
.story-step { position: relative; z-index: 1; }
.story-step .step-no {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; background: #fff; border: 2px solid var(--line);
  font: 700 .95rem var(--font-display); color: var(--muted);
  transition: border-color .4s, color .4s, background-color .4s;
}
.story-step.is-reached .step-no { border-color: var(--blue); color: var(--blue); }
.story-step:last-child.is-reached .step-no { border-color: var(--green); color: #fff; background: var(--green); }
.story-step .icon { color: var(--blue); margin-bottom: 10px; }
.story-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.story-step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Value proposition ---------- */
.platform { background: var(--bg); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px;
}
.value-card h3 { margin-top: 18px; }
.value-card p { color: var(--muted); margin: 0; }
.value-card--lead { background: var(--ink); border-color: var(--ink); }
.value-card--lead h3 { color: #fff; }
.value-card--lead p { color: #C3CEE2; }
.value-card--lead .icon-tile { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.service-card h3 { margin: 16px 0 6px; font-size: 1.05rem; }
.service-card > p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.service-card--help { background: var(--blue); border-color: var(--blue); }
.service-card--help h3 { color: #fff; }
.service-card--help > p { color: #D5E2F6; }
.service-card--help .link-btn { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.service-card--help .link-btn:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Products ---------- */
.products { background: var(--bg); }
.product-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.product-feature {
  position: relative; overflow: hidden;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--blue) 0%, var(--ink) 75%);
  color: #DCE5F4;
}
.product-feature::after { /* large faint document outline */
  content: ""; position: absolute; right: -60px; bottom: -70px; width: 240px; height: 300px;
  border: 2px solid rgba(255, 255, 255, .08); border-radius: 18px; transform: rotate(-12deg);
}
.product-feature h3 { color: #fff; font-size: 1.9rem; margin: 20px 0 10px; }
.product-feature p { font-size: 1.05rem; max-width: 40ch; }
.product-feature .tick-list { margin: 22px 0 28px; color: #fff; }
.product-feature .tick-list li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237BE2B8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
}
.product-card > div { display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: .96rem; margin-bottom: 10px; }
.product-card .product-tags { font-size: .86rem; color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.industry {
  display: flex; flex-direction: column; gap: 14px; justify-content: space-between;
  min-height: 130px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  font-weight: 600; color: var(--ink); line-height: 1.3;
  transition: background-color .2s, border-color .2s;
}
.industry span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.industry .icon { width: 28px; height: 28px; color: var(--blue); }
.industry:hover { background: var(--blue-50); border-color: var(--blue-100); }

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.how-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.how-step {
  position: relative; padding: 26px 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
}
.how-no {
  display: block; margin-bottom: 18px;
  font: 700 2.4rem/1 var(--font-display); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue);
}
.how-step:last-child { background: var(--green); border-color: var(--green); }
.how-step:last-child .how-no { -webkit-text-stroke-color: #fff; }
.how-step:last-child h3, .how-step:last-child p { color: #fff; }
.how-step h3 { font-size: 1.05rem; }
.how-step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Features (dark) ---------- */
.features { background: var(--ink); color: #C3CEE2; }
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.feature {
  display: flex; gap: 16px; padding: 24px 20px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.feature .icon { color: #7FB0F0; margin-top: 2px; }
.feature h3 { color: #fff; font-size: 1.02rem; margin-bottom: 4px; }
.feature p { margin: 0; font-size: .95rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price-for { color: var(--muted); font-size: .95rem; min-height: 2.9em; }
.price { margin: 4px 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.price span { font: 600 1.35rem var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.price-card .tick-list { flex: 1; margin-bottom: 24px; font-size: .96rem; }
.price-card--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-2); }
.price-badge {
  position: absolute; top: -13px; left: 24px; margin: 0;
  padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff;
  font-size: .8rem; font-weight: 600;
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-intro p { color: var(--muted); font-size: 1.12rem; margin-bottom: 26px; max-width: 42ch; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.why-list li { display: flex; gap: 14px; }
.why-list .icon { color: var(--green); width: 26px; height: 26px; margin-top: 2px; }
.why-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-list p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- About / Glims ---------- */
.about { background: var(--ink); color: #C3CEE2; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about h2 { color: #fff; }
.about-lead { font-size: 1.2rem; color: #fff; line-height: 1.55; }
.about-copy p { max-width: 58ch; }
.about-copy .btn { margin-top: 12px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--r-lg); overflow: hidden; }
.stat { display: flex; flex-direction: column; padding: 26px; background: var(--ink-2); }
.stat dt { order: 2; color: #fff; font-weight: 600; }
.stat dd { order: 1; font: 700 3rem/1 var(--font-display); color: #fff; letter-spacing: -0.04em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat p { order: 3; margin: 2px 0 0; font-size: .9rem; color: #9FB0CD; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  position: relative; display: block; list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0;
  font: 600 1.08rem/1.4 var(--font-display); color: var(--ink); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F4C9C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s, background-color .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--blue-100); }
.faq-item summary:hover { color: var(--blue); }
.faq-body { padding: 0 44px 22px 0; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.cta-band {
  display: grid; grid-template-columns: 1.2fr auto; align-items: center; gap: 28px;
  padding: clamp(30px, 5vw, 52px); margin-bottom: clamp(40px, 6vw, 64px);
  border-radius: var(--r-lg); color: #C9D5EA;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(11, 143, 99, .35), transparent 70%),
    var(--ink);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 52ch; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact-info, .inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 36px); }
.contact-info h3, .inquiry-form h3 { font-size: 1.4rem; }
.contact-info > p { color: var(--muted); }
.contact-lines { margin: 22px 0 26px; }
.contact-lines > div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-lines > div:last-child { border-bottom: 1px solid var(--line); }
.contact-lines dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.contact-lines dt .icon { width: 18px; height: 18px; color: var(--blue); }
.contact-lines dd a { font: 700 1.35rem var(--font-display); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.contact-lines dd a:hover { color: var(--blue); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.form-note { color: var(--muted); font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .94rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid #CFD8E6; border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356637A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 96, 196, .15);
}
.field [aria-invalid="true"] { border-color: #C0362C; }
.field-error { margin: 6px 0 0; color: #B3261E; font-size: .88rem; }
.form-status { margin: 12px 0 0; font-size: .95rem; color: var(--green); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: #081530; color: #A9B6CE; padding: clamp(56px, 7vw, 80px) 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 30ch; }
.footer-col h2 { font: 600 .98rem var(--font-body); color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.site-footer a { color: #A9B6CE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact dt { font-size: .85rem; color: #7F8FAD; }
.footer-contact dd { margin-bottom: 12px; }
.footer-contact dd a { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 28px rgba(11, 27, 58, .18);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 12px 32px rgba(11, 27, 58, .22); }
.wa-float-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--wa-bright); color: #fff;
}
.wa-float-icon .icon { width: 26px; height: 26px; stroke-width: 2; }

/* ---------- Service modal ---------- */
.service-modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100% - 48px);
  padding: 0; border: 0; border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(11, 27, 58, .35); color: var(--text);
}
.service-modal::backdrop { background: rgba(8, 21, 48, .55); }
.modal-inner { position: relative; padding: 34px 30px 28px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--ink); cursor: pointer;
}
.modal-close:hover { background: var(--blue-50); }
.service-modal h2 { font-size: 1.55rem; padding-right: 44px; }
.modal-body { color: var(--muted); }
.modal-body ul { margin: 14px 0 0; }
.modal-body li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--text); }
.modal-body li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B8F63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
body.modal-open { overflow: hidden; }
