/* ==========================================================================
   Taqlio — Marketing site design system
   Clean, institution-grade. White surfaces, saffron accent,
   deep-blue support, quiet teal for comparison.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --sand:   #ffffff;
  --cream:  #f6f8fb;
  --card:   #ffffff;
  --tan:    #eef2f7;

  /* Ink */
  --ink:    #16202e;
  --body:   #47536a;
  --muted:  #8b95a6;
  --hair:   #e7ebf1;
  --hair-2: #dde2ec;

  /* Accent — saffron */
  --ochre:    #ff9933;
  --ochre-d:  #c2680f;
  --ochre-60: #ffb366;
  --ochre-30: #ffd4a8;
  --ochre-12: #fff1e0;

  /* Support — deep blue */
  --espresso-1: #14233f;
  --espresso-2: #20365c;
  --teal:    #2f7e80;
  --green:   #3a9c63;
  --green-d: #2f7d54;
  --red:     #c0492f;

  /* Type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --urdu:  "Noto Nastaliq Urdu", serif;

  /* Shape */
  --r-sm: 9px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15,29,51,.06);
  --sh-2: 0 6px 24px rgba(15,29,51,.08);
  --sh-3: 0 18px 50px rgba(15,29,51,.14);
  --sh-espresso: 0 18px 50px rgba(20,35,63,.30);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ochre-30); color: var(--ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.display {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--body); line-height: 1.6; }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 500; }
em { font-family: var(--serif); font-style: italic; color: inherit; }
.tabular { font-variant-numeric: tabular-nums; }
.urdu { font-family: var(--urdu); direction: rtl; }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow.muted { color: var(--muted); }
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--ochre-60);
}
.eyebrow.no-rule::before { display: none; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-sm { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.measure { max-width: 720px; }
.measure-sm { max-width: 560px; }
.center.measure, .center.measure-sm { margin-inline: auto; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }

.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-tan { background: var(--tan); }
.bg-espresso { background: linear-gradient(155deg, var(--espresso-1), var(--espresso-2)); color: #e9eef6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 600;
  padding: 13px 22px; border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ochre); color: #15233c; box-shadow: 0 2px 10px rgba(255,153,51,.40); }
.btn-primary:hover { background: #ffa84d; box-shadow: 0 10px 26px rgba(255,153,51,.45); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: #d4dbe6; box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--ochre-30); background: #fff; transform: translateY(-1px); }
.btn-soft { background: var(--ochre-12); color: var(--ochre-d); }
.btn-soft:hover { background: var(--ochre-30); }
.btn-on-dark { background: var(--cream); color: var(--ink); }
.btn-on-dark:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255,255,255,.06); color: #e9eef6; border-color: rgba(226,235,247,.25); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.textlink { color: var(--ochre-d); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; border-bottom: 1.5px solid var(--ochre-30); padding-bottom: 1px; transition: border-color .2s, gap .2s; }
.textlink:hover { border-color: var(--ochre); gap: 11px; }
.textlink .arrow { transition: transform .2s; }
.textlink:hover .arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.topbar {
  background: var(--espresso-1);
  color: #cbd5e3;
  font-size: .8rem;
  letter-spacing: .01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: #e9eef6; }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
.topbar .tb-tag { color: var(--ochre-60); font-weight: 600; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--hair-2);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 15px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.brand .name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: .005em; }
.brand .name b { color: var(--ochre-d); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: .94rem; font-weight: 500; color: var(--body);
  padding: 8px 14px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--ochre-12); }
.nav-links a.active { color: var(--ochre-d); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--hair-2); background: var(--card); border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(255,153,51,.20), transparent 60%),
    radial-gradient(700px 500px at -6% 18%, rgba(47,126,128,.08), transparent 55%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .lede { margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-assure { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; }
.hero-assure .item { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--body); font-weight: 500; }
.hero-assure .tick { width: 19px; height: 19px; flex: none; color: var(--green-d); }

/* ---------- Pills / badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 30px; line-height: 1; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.no-dot::before { display: none; }
.pill-paid    { background: #e7f1ea; color: var(--green-d); }
.pill-overdue { background: #f7e9e4; color: var(--red); }
.pill-pending { background: var(--ochre-12); color: var(--ochre-d); }
.pill-verified{ background: #eaf1f1; color: var(--teal); }
.pill-ochre   { background: var(--ochre-12); color: var(--ochre-d); }
.pill-tan     { background: var(--tan); color: var(--ochre-d); }

.kbadge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  font-family: var(--serif); font-weight: 600; font-size: .9rem;
  background: var(--ochre-12); color: var(--ochre-d);
}

/* ---------- Cards & grids ---------- */
.card { background: var(--card); border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--sh-1); }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative; overflow: hidden;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--ochre-30); }
.feature .ic {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--ochre-12); color: var(--ochre-d); margin-bottom: 18px;
}
.feature .ic svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--body); }
.feature .tag { position: absolute; top: 18px; right: 18px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- Stats ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--cream); padding: 30px 26px; }
.stat .n { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.stat .n em { color: var(--ochre-d); }
.stat .l { font-size: .85rem; color: var(--body); margin-top: 6px; }

/* ---------- Split / module rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.module-list { display: flex; flex-direction: column; gap: 16px; }
.module-item { display: flex; gap: 14px; align-items: flex-start; }
.module-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre-60); margin-top: 9px; flex: none; }
.module-item h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.module-item p { font-size: .92rem; color: var(--body); }

/* ==========================================================================
   Product mockups (pure CSS/SVG, theme-matched)
   ========================================================================== */
.mock {
  background: var(--cream); border: 1px solid var(--hair-2); border-radius: var(--r-lg);
  box-shadow: var(--sh-3); overflow: hidden; position: relative;
}
.mock-tilt { transform: perspective(1600px) rotateY(-7deg) rotateX(2.5deg); transition: transform .5s ease; }
.mock-tilt:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--hair); }
.mock-bar .dots { display: flex; gap: 6px; }
.mock-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hair-2); display: block; }
.mock-bar .addr { margin-left: 10px; font-size: .76rem; color: var(--muted); background: var(--sand); padding: 4px 12px; border-radius: 20px; flex: 1; }
.mock-bar .save { font-size: .72rem; color: var(--green-d); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.mock-bar .save::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mock-body { padding: 18px; display: grid; gap: 14px; }

.mc-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mc-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.mc-sub { font-size: .76rem; color: var(--muted); }

.mk-grid { display: grid; gap: 12px; }
.mk-2 { grid-template-columns: 1fr 1fr; }
.mk-3 { grid-template-columns: repeat(3, 1fr); }
.mk-kpi { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 15px 16px; }
.mk-kpi .lbl { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mk-kpi .val { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; margin-top: 6px; }
.mk-kpi .delta { font-size: .72rem; font-weight: 600; margin-top: 3px; }
.mk-kpi .delta.up { color: var(--green-d); }
.mk-kpi .delta.bad { color: var(--red); }
.mk-kpi.red .val { color: var(--red); }
.mk-kpi.espresso { background: linear-gradient(150deg, var(--espresso-1), var(--espresso-2)); color: #e9eef6; border: none; box-shadow: var(--sh-espresso); }
.mk-kpi.espresso .lbl { color: #9fb1c9; }
.mk-kpi.espresso .val { color: #fff; }

.mk-panel { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 16px; }
.mk-panel .ph { font-family: var(--serif); font-size: 1rem; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.mk-panel .ph .mc-sub { font-family: var(--sans); }

.mk-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f1f4f9; font-size: .82rem; }
.mk-row:last-child { border-bottom: 0; }
.mk-row .who { color: var(--body); }
.mk-row .amt { font-weight: 600; }
.mk-row .amt.red { color: var(--red); }

/* bar chart (CSS) */
.bars { display: flex; align-items: flex-end; gap: 14px; height: 120px; padding-top: 8px; }
.bars .bar { flex: 1; background: linear-gradient(180deg, var(--ochre-60), var(--ochre)); border-radius: 6px 6px 0 0; position: relative; min-height: 6px; }
.bars .bar span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .66rem; font-weight: 700; color: var(--ochre-d); white-space: nowrap; }
.bars .bar small { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .62rem; color: var(--muted); }

/* timetable grid */
.tt { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tt .cell { border-radius: 7px; padding: 9px 8px; font-size: .68rem; font-weight: 600; line-height: 1.25; }
.tt .c-och { background: var(--ochre-12); color: var(--ochre-d); }
.tt .c-teal{ background: #eaf1f1; color: var(--teal); }
.tt .c-green{ background: #e7f1ea; color: var(--green-d); }
.tt .c-sand { background: var(--sand); color: var(--body); }
.tt .c-break{ background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 5px, #eaeef4 5px, #eaeef4 10px); color: var(--muted); }
.tt .cell small { display: block; font-weight: 500; opacity: .7; font-size: .92em; }

/* challan / document mock */
.challan { background: var(--card); border: 1px solid var(--hair); border-radius: 12px; padding: 18px; position: relative; }
.challan .ch-head { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1.5px dashed var(--hair-2); padding-bottom: 12px; margin-bottom: 12px; }
.challan .qr { width: 56px; height: 56px; border-radius: 8px; background:
  conic-gradient(from 0deg, var(--ink) 0 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0);
  background-size: 14px 14px; border: 3px solid var(--ink); flex: none; }
.challan .ch-rows .r { display: flex; justify-content: space-between; font-size: .8rem; padding: 5px 0; color: var(--body); }
.challan .ch-rows .r.total { border-top: 1px solid var(--hair); margin-top: 5px; padding-top: 9px; font-weight: 700; color: var(--ink); }
.challan-copies { position: absolute; inset: 0; z-index: -1; }

/* attendance OMR sheet */
.omr { display: grid; gap: 7px; }
.omr .orow { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 6px; align-items: center; font-size: .72rem; }
.omr .orow.head { color: var(--muted); font-weight: 700; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.omr .nm { color: var(--body); font-weight: 500; }
.omr .bub { width: 16px; height: 16px; border-radius: 50%; border: 1.6px solid var(--ochre-30); margin: 0 auto; }
.omr .bub.fill { background: var(--ochre); border-color: var(--ochre); }
.omr .bub.green { background: var(--green); border-color: var(--green); }

/* floating chips on mockups */
.float-chip {
  position: absolute; background: var(--card); border: 1px solid var(--hair);
  border-radius: 12px; box-shadow: var(--sh-2); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
}
.float-chip .fi { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.float-chip .ft { font-size: .72rem; color: var(--muted); }
.float-chip .fv { font-size: .95rem; font-weight: 700; color: var(--ink); }

/* ---------- Logos / proof strip ---------- */
.proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.proof .logo-txt { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); font-weight: 600; opacity: .85; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 18px; }
.step .num { font-family: var(--serif); font-size: 1.5rem; color: var(--ochre); font-weight: 600; }
.step h4 { font-size: 1.1rem; margin: 10px 0 6px; }
.step p { font-size: .92rem; color: var(--body); }
.step .line { position: absolute; top: 30px; left: 42px; right: -10px; height: 1.5px; background: linear-gradient(90deg, var(--ochre-30), transparent); }
.step:last-child .line { display: none; }

/* ---------- Quote ---------- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.32; font-weight: 500; letter-spacing: -.01em; }
.quote .mark { font-family: var(--serif); font-size: 3.6rem; color: var(--ochre-30); line-height: .4; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .04em; }
.quote cite b { color: var(--ink); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); }
.cta-band::after {
  content: ""; position: absolute; right: -8%; top: -40%; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,51,.30), transparent 62%); pointer-events: none;
}
.cta-band .wrap-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe2ed; margin-top: 16px; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--cream); border: 1px solid #d4dbe6; border-radius: var(--r-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px var(--ochre-12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-card { background: linear-gradient(155deg, var(--espresso-1), var(--espresso-2)); color: #e9eef6; border-radius: var(--r-lg); padding: 34px; }
.contact-card h3 { color: #fff; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(226,235,247,.12); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ci { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,153,51,.18); color: var(--ochre-60); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-line .ct { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #9fb1c9; }
.contact-line .cv { font-size: 1.02rem; font-weight: 600; color: #fff; margin-top: 3px; }
.contact-line a.cv:hover { color: var(--ochre-60); }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--hair-2); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; color: var(--ochre); transition: transform .25s; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--body); font-size: .98rem; max-width: 660px; }

/* ---------- Footer ---------- */
footer.site { background: linear-gradient(180deg, var(--espresso-1), #0d1830); color: #aab8cc; padding-top: 64px; }
footer.site .f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
footer.site .brand .name { color: #eef3fa; }
footer.site .brand .name b { color: var(--ochre-60); }
footer.site .f-about { font-size: .92rem; color: #9fb0c6; margin-top: 16px; max-width: 320px; line-height: 1.6; }
footer.site .f-col h5 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7e8ca0; margin-bottom: 16px; font-family: var(--sans); font-weight: 700; }
footer.site .f-col a, footer.site .f-col p { display: block; font-size: .92rem; color: #aab8cc; padding: 5px 0; transition: color .2s; }
footer.site .f-col a:hover { color: var(--ochre-60); }
footer.site .f-bottom { border-top: 1px solid rgba(226,235,247,.1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: #7e8ca0; }
footer.site .f-bottom a:hover { color: var(--ochre-60); }
.f-urdu { font-family: var(--urdu); direction: rtl; color: var(--ochre-60); font-size: 1.05rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .mock-tilt { transform: none; } html { scroll-behavior: auto; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 92px) clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 360px at 84% -20%, rgba(255,153,51,.16), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--hair-2); border: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.note { font-size: .82rem; color: var(--muted); }
.hide-mobile { display: initial; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 20px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .line { display: none; }
  footer.site .f-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .mock-tilt { transform: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--hair-2); padding: 14px var(--gutter) 22px;
    box-shadow: var(--sh-2);
  }
  body.nav-open .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .topbar .tb-group .tb-hide { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .g-2, .mk-2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .g-3, .g-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hide-mobile { display: none; }
  .display { font-size: 2.5rem; }
}
