/* =========================================================
   Rahul & Associates — Chartered Accountants
   Design system + responsive styles
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1b3a6b;
  --accent: #12b886;      /* emerald */
  --accent-dark: #0ca678;
  --gold: #f6b73c;
  --ink: #1a2333;
  --body: #47536b;
  --muted: #7a869a;
  --line: #e6eaf1;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-navy-tint: #eef3fb;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .16);
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Sora", var(--font);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
/* Lock background scroll while the mobile menu is open (both elements, since
   mobile browsers may scroll either <html> or <body>). */
html.nav-open, body.nav-open { overflow: hidden; height: 100%; }
body.nav-open .wa-float { display: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.15rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--muted); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin: 0 0 .6rem; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: .72rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #04241a; box-shadow: 0 8px 20px rgba(18,184,134,.28); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(18,184,134,.36); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { box-shadow: var(--shadow); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header: top bar ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar { background: var(--navy); color: #cdd8ec; font-size: .85rem; }
.topbar-inner, .header-inner { max-width: 1320px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 1rem; flex-wrap: wrap; }
.topbar-hot { font-weight: 500; }
.topbar-cta { background: var(--gold); color: #3a2c05; font-weight: 700; padding: .28rem .95rem; border-radius: 999px; font-size: .82rem; }
.topbar-cta:hover { filter: brightness(1.05); }

/* ---------- Header: main bar ---------- */
.mainbar { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.mainbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; font-family: var(--display); font-weight: 800; font-size: .9rem; letter-spacing: -.02em; }
.brand-logo { display: block; }
.brand-text { display: flex; flex-direction: column; font-family: var(--display); font-weight: 800; color: var(--ink); line-height: 1.05; font-size: 1.1rem; white-space: nowrap; }
.brand-text .bn { letter-spacing: -.01em; }
.brand-text .bn-a { color: var(--navy); }
.brand-text .bn-b { color: var(--accent-dark); }
.brand-text small { font-family: var(--font); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Navigation ---------- */
.nav { display: flex; align-items: center; gap: .05rem; }
.nav-link { display: inline-flex; align-items: center; gap: .2rem; font-family: var(--font); font-weight: 600; color: var(--navy-2); font-size: .88rem; padding: .5rem .5rem; border-radius: 8px; background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap; }
.nav-link:hover { color: var(--accent-dark); }
.nav-link.active { color: var(--accent-dark); }
.nav-link.active::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
.caret { font-size: .65rem; transition: transform .2s ease; }
/* Desktop: the top-bar "Book a Call" is the CTA, so hide the nav pill here.
   It reappears inside the mobile off-canvas menu (see media query). */
.nav-cta { display: none; color: #04241a; }

/* Mega menu (desktop) */
.nav-item { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 55; }
.nav-item.has-mega:hover > .mega,
.nav-item.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.has-mega:hover .caret { transform: rotate(180deg); }
.mega-inner { padding: 1.6rem 20px 1.9rem; }
.mega-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mega-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-navy-tint); display: grid; place-items: center; font-size: 1.4rem; }
.mega-head strong { display: block; font-family: var(--display); color: var(--navy); font-size: 1.15rem; }
.mega-head span { color: var(--muted); font-size: .9rem; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem 1.5rem; }
.mega-grid a { color: var(--body); font-size: .92rem; padding: .45rem .55rem; border-radius: 8px; font-weight: 500; transition: background .15s ease, color .15s ease; }
.mega-grid a:hover { background: var(--bg-alt); color: var(--accent-dark); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(18,184,134,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: #e9eef7; padding: clamp(1.8rem, 3.5vw, 2.8rem) 0 clamp(2rem, 3.5vw, 2.8rem); overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .9fr; gap: 3rem; align-items: center; }
.hero-copy h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .55rem; }
.hero-copy .eyebrow { color: var(--gold); margin-bottom: .5rem; }
.hero-copy .lead { color: #c8d4e8; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.3rem 0 1.1rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; padding: 0; margin: 0; color: #aebfd8; font-size: .92rem; font-weight: 500; }

.hero-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #dbe4f3; font-weight: 500; }
.hc-row:last-of-type { border-bottom: 0; }
.hc-row .ok { color: #6ee7b7; font-weight: 600; font-size: .9rem; }
.hc-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.16); margin-top: 1rem; overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #6ee7b7); border-radius: 999px; }
.hc-note { margin: .6rem 0 0; color: #9fb2d0; font-size: .85rem; }

/* ---------- Stats strip ---------- */
.stats { background: var(--white); margin-top: -2.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.6rem 1rem; position: relative; z-index: 2; }
.stats-grid > div { text-align: center; }
.stats-grid strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--navy); }
.stats-grid span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-sub { color: var(--body); font-size: 1.08rem; }

/* ---------- Core expertise (home highlight) ---------- */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.core-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .2s ease; }
.core-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.core-badge { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--bg-navy-tint); color: var(--accent-dark); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .28rem .6rem; border-radius: 999px; }
.core-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--bg-navy-tint); font-size: 1.7rem; margin-bottom: 1rem; }
.core-card h3 { color: var(--navy); font-size: 1.3rem; margin-bottom: .5rem; }
.core-card > p { font-size: .96rem; margin-bottom: 1.1rem; }
.core-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .4rem; }
.core-list a { color: var(--navy-2); font-weight: 500; font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; }
.core-list a::before { content: "›"; color: var(--accent-dark); font-weight: 800; }
.core-list a:hover { color: var(--accent-dark); }
.core-link { font-weight: 700; color: var(--accent-dark); font-size: .95rem; }
.core-link:hover { color: var(--navy); }
.svc-card { scroll-margin-top: 120px; }
@media (max-width: 960px) { .core-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---------- Home services showcase ---------- */
.services-showcase { display: grid; gap: 1.4rem; }
.svc-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm); }
.svc-block-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.1rem; }
.svc-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-navy-tint); display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.svc-block-head h3 { color: var(--navy); margin: 0; font-size: 1.2rem; }
.svc-block-head p { margin: .1rem 0 0; color: var(--muted); font-size: .92rem; }
.svc-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-chip { display: inline-flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--line); color: var(--navy-2); font-size: .88rem; font-weight: 500; padding: .5rem .85rem; border-radius: 999px; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease; }
.svc-chip:hover { background: var(--accent); border-color: var(--accent); color: #04241a; transform: translateY(-2px); }

/* ---------- Full services page ---------- */
.services-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.svc-card-head { display: flex; align-items: center; gap: .8rem; }
.svc-card-head h3 { margin: 0; color: var(--navy); }
.svc-card-blurb { color: var(--muted); font-size: .95rem; margin: .7rem 0 1.1rem; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.svc-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem .7rem; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: .95rem; transition: background .15s ease; }
.svc-list a:hover { background: var(--bg-alt); }
.svc-list em { color: var(--accent-dark); font-style: normal; font-weight: 700; font-size: .85rem; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; white-space: nowrap; }
.svc-list a:hover em { opacity: 1; transform: translateX(0); }

/* ---------- Cards (generic) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5deeb; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-navy-tint); margin-bottom: 1rem; }
.card h3 { color: var(--navy); }
.card p { margin-bottom: 0; font-size: .96rem; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.split-copy h2 { color: var(--navy); }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 500; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; background: var(--accent); color: #04241a; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feature-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); text-align: center; }
.feature-tile strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--navy); margin-bottom: .2rem; }
.feature-tile span { color: var(--muted); font-size: .88rem; }

/* ---------- Team (About page) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); text-align: center; transition: transform .18s ease, box-shadow .2s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--navy-3)); letter-spacing: -.01em; }
.team-card:nth-child(even) .avatar { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #04241a; }
.team-card h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 .2rem; }
.team-card .creds { color: var(--accent-dark); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .7rem; }
.team-card p { font-size: .93rem; margin: 0; }
.team-note { text-align: center; color: var(--body); max-width: 760px; margin: 2rem auto 0; font-size: 1rem; }

/* Mission / Vision duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.duo-card { padding: 2rem; }
.duo-card h3 { font-size: 1.3rem; }

@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 800; margin-bottom: .9rem; }
.step h3 { color: var(--navy); }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.7rem; margin: 0; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote footer { color: var(--muted); font-weight: 600; font-style: normal; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { color: #c8d4e8; margin: 0; max-width: 48ch; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(900px 380px at 85% -20%, rgba(18,184,134,.16), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); color: #e9eef7; padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c8d4e8; }
.page-hero .eyebrow { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-wrap h2 { color: var(--navy); font-size: 1.5rem; }
.wa-form, .enquiry-form { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--font); font-size: 1rem; color: var(--ink); padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18,184,134,.15); }
.field textarea { resize: vertical; }
.form-hint { font-size: .88rem; color: var(--accent-dark); min-height: 1.2em; margin: .2rem 0 0; text-align: center; }
.form-hint.ok { color: var(--accent-dark); font-weight: 600; }
.form-hint.err { color: #d6336c; }

.contact-info { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; }
.contact-info h2 { color: var(--navy); font-size: 1.4rem; }
.info-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.info-list strong { display: block; color: var(--ink); font-size: .95rem; }
.info-list a { color: var(--accent-dark); font-weight: 600; }
.info-list span { color: var(--body); font-size: .95rem; }
.info-note { display: block; margin-top: .35rem; color: var(--muted, #6b7a90); font-size: .82rem; font-style: italic; line-height: 1.4; }

/* ---------- Service info page ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .85rem; color: #aebfd8; margin-bottom: 1rem; }
.breadcrumb a { color: #c8d4e8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb em { color: var(--gold); font-style: normal; font-weight: 600; }

/* Compact single-column service hero (enquiry card lives in the sidebar) */
.service-hero { padding: 1.5rem 0 1.8rem; }
.service-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: .3rem 0 .5rem; }
.service-hero .lead { font-size: 1.05rem; }
.service-hero .hero-actions { margin-top: 1.2rem; }
.enquire-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.enquire-card .muted { font-size: .9rem; margin-bottom: .2rem; }
.enquire-card .enquiry-form { gap: .7rem; margin-top: .9rem; }
.enquire-card .field label { font-size: .85rem; }
.enquire-card .field input, .enquire-card .field textarea { padding: .6rem .75rem; font-size: .95rem; }

.service-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.service-main h2 { color: var(--navy); font-size: 1.4rem; margin: 2rem 0 .8rem; }
.service-main h2:first-child { margin-top: 0; }
.service-main > p { font-size: 1.03rem; }

.ticklist { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.ticklist li { position: relative; padding-left: 1.7rem; color: var(--ink); font-weight: 500; font-size: .96rem; }
.ticklist li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 1.25rem; height: 1.25rem; background: var(--accent); color: #04241a; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.doclist li::before { content: "📄"; background: var(--bg-navy-tint); }

.steps-compact { grid-template-columns: repeat(3, 1fr); }
.steps-compact .step { padding: 1.3rem; }

.faqs { display: grid; gap: .7rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.1rem; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--accent-dark); font-weight: 400; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 1rem; color: var(--body); font-size: .96rem; }

.service-side { position: sticky; top: 130px; display: grid; gap: 1.2rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
.side-card h3 { color: var(--navy); font-size: 1.15rem; }
.side-facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; font-size: .92rem; color: var(--ink); font-weight: 500; }
.side-facts li { display: flex; gap: .5rem; align-items: center; }
.side-facts span { color: var(--accent-dark); font-weight: 800; }
.related-links { display: grid; gap: .1rem; margin-top: .6rem; }
.related-links a { padding: .5rem .1rem; color: var(--body); font-weight: 500; font-size: .93rem; border-bottom: 1px solid var(--line); }
.related-links a:last-child { border-bottom: 0; }
.related-links a:hover { color: var(--accent-dark); }

@media (max-width: 900px) {
  .service-layout { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .steps-compact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ticklist { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6dd; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand-col .btn { margin-top: 1rem; }
.brand-footer .brand-mark { background: rgba(255,255,255,.12); }
.brand-footer .brand-text, .brand-footer .brand-text small { color: #fff; }
.brand-footer .brand-text .bn-a { color: #fff; }
.brand-footer .brand-text .bn-b { color: var(--accent); }
.footer-about { margin-top: 1rem; font-size: .92rem; color: #93a4c2; max-width: 34ch; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-grid a:not(.btn) { display: block; color: #b9c6dd; padding: .28rem 0; font-size: .92rem; }
.footer-grid a:not(.btn):hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; color: #8496b6; }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .18s ease, box-shadow .2s ease; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(37,211,102,.55); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-card { max-width: 420px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .services-full { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile / tablet nav breakpoint (matches JS matchMedia 1200px) */
@media (max-width: 1200px) {
  .nav-toggle { display: flex; }
  /* IMPORTANT: backdrop-filter on an ancestor would trap position:fixed inside
     it. Disable it on mobile so the slide-in menu is viewport-relative. */
  .mainbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; top: 110px; left: 0; right: 0; bottom: 0; /* JS sets exact top */
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: .5rem 20px 3rem; overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    transform: translateX(100%); transition: transform .28s ease; z-index: 55;
    box-shadow: var(--shadow); height: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav > .nav-link { padding: .95rem .2rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav > .nav-link.active::after { display: none; }
  .nav-cta { display: inline-flex; justify-content: center; margin: 1rem 0 0; }

  /* Accordion mega on mobile */
  .nav-item.has-mega { border-bottom: 1px solid var(--line); }
  .nav-mega-toggle { width: 100%; justify-content: space-between; padding: .95rem .2rem; font-size: 1rem; }
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; max-height: 0; overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-item.has-mega.open > .mega { max-height: 1400px; }
  .nav-item.has-mega.open .caret { transform: rotate(180deg); }
  .mega-inner { padding: 0 0 1rem; }
  .mega-head { display: none; }
  .mega-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .mega-grid a { padding: .55rem .4rem; font-size: .88rem; }
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .cards { grid-template-columns: 1fr; }
  .split-media { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; }
  .hero-badges { gap: .5rem 1.2rem; }
  .topbar-inner { justify-content: center; text-align: center; min-height: 0; padding: .35rem 0; }
}

@media (max-width: 420px) {
  .brand-text { font-size: .95rem; }
  .split-media { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
