/* ═══════════════════════════════════════════════════════════════════════════
   DARSHAN P JHAVERI & ASSOCIATES — Design System
   Aesthetic: Refined luxury — think private banking meets Indian heritage
   Fonts: Cormorant Garamond (headings, editorial) + DM Sans (body, UI)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Brand colours */
  --navy:      #12284a;
  --navy-2:    #0d1f3a;
  --navy-3:    #091529;
  --ink:       #1a2438;
  --muted:     #64748b;
  --gold:      #c9a84c;
  --gold-2:    #e8c96a;
  --gold-dark: #a07828;
  --gold-pale: rgba(201,168,76,.12);
  --paper:     #f9f7f2;
  --white:     #ffffff;
  --line:      #e8e4da;
  --line-dark: rgba(255,255,255,.10);
  --green:     #22c55e;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(17,31,55,.07);
  --shadow:    0 12px 40px rgba(17,31,55,.10);
  --shadow-lg: 0 24px 64px rgba(17,31,55,.14);

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "DM Sans", system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad: 96px 40px;
  --section-pad-sm: 64px 24px;

  /* Motion */
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ─── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}
p { margin: 0; }
address { font-style: normal; }

/* ─── Accessibility ──────────────────────────────────────────────────────── */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 16px; background: var(--gold); color: var(--navy);
  font-weight: 700; transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb {
  margin-bottom: 20px;
}
.breadcrumb ol {
  display: flex; gap: 8px; list-style: none; padding: 0; margin: 0;
  font-size: 13px; font-family: var(--font-body);
  color: rgba(255,255,255,.55);
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--gold);
}
.breadcrumb a { color: rgba(255,255,255,.7); transition: color .2s; }
.breadcrumb a:hover { color: var(--gold); }

/* ─── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 40px;
  color: var(--navy);
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(17,31,55,.06);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  padding: 8px 40px;
  box-shadow: 0 4px 20px rgba(17,31,55,.09);
}

/* Brand */
.brand, .footer-brand {
  display: flex; align-items: center; gap: 14px; min-width: 220px;
}
.brand-copy, .footer-brand div {
  display: grid; line-height: 1.2;
}
.brand strong, .footer-brand strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  max-width: 200px;
  letter-spacing: 0.01em;
}
.brand strong { color: var(--navy); }
.brand small {
  color: var(--gold-dark);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.ca-logo { display: block; width: 64px; height: auto; flex-shrink: 0; }
.ca-logo.small { width: 52px; }

/* Nav */
.main-nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px; font-size: 14px; font-weight: 600;
}
.main-nav a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 6px 10px;
  color: var(--navy);
  letter-spacing: 0.01em;
  transition: color .2s;
}
.main-nav a.active, .main-nav a:hover { color: var(--gold-dark); }
.main-nav a.active::after {
  content: ""; position: absolute; bottom: 3px; left: 10px; right: 10px;
  height: 1.5px; background: var(--gold);
}
.main-nav .nav-cta {
  margin-left: 10px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.main-nav .nav-cta:hover {
  background: var(--gold-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.main-nav .nav-cta::after { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block; width: 20px; height: 1.5px;
  margin: 5px auto; background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(ellipse at 72% 8%, rgba(201,168,76,.10) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(201,168,76,.06) 0%, transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  overflow: hidden;
}
/* Fine grid overlay */
.hero::before, .page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Gold accent line at bottom */
.hero::after, .page-hero::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero > *, .page-hero > * { position: relative; z-index: 1; }

.hero {
  min-height: 100vh;
  display: grid; align-items: center;
  padding: 160px 17vw 100px;
}
.hero-content { max-width: 740px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.eyebrow::before {
  content: ""; flex-shrink: 0;
  width: 36px; height: 1px; background: var(--gold);
}

h1 { margin-top: 24px; font-size: clamp(52px, 6.5vw, 88px); font-weight: 600; }
h2 { font-size: clamp(36px, 3.8vw, 54px); }
h1 span, .gold { color: var(--gold); }

.hero p {
  max-width: 600px; margin: 28px 0 40px;
  color: rgba(255,255,255,.75);
  font-size: 18px; line-height: 1.75;
}

.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .22s, border-color .22s, color .22s, transform .22s, box-shadow .22s;
}
.btn.primary {
  background: var(--gold); color: var(--navy);
}
.btn.primary:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,168,76,.32);
}
.btn.secondary {
  border-color: rgba(255,255,255,.28); color: var(--white);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(4px);
}
.btn.secondary:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(201,168,76,.07);
}
.btn.light {
  border-color: var(--line); background: var(--white); color: var(--navy);
}
.btn.light:hover {
  border-color: var(--gold); color: var(--gold-dark);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}

/* ─── Stats bar ──────────────────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 auto; max-width: 1120px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--gold);
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  transition: background .2s;
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--paper); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px; font-weight: 600;
  color: var(--navy); line-height: 1;
}
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: var(--section-pad); }
.section.alt { background: var(--white); }
.section.dark { color: var(--white); background: var(--navy-3); }

.container { width: min(1120px, 100%); margin: 0 auto; }

.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 12px; color: var(--navy); }
.dark .section-head h2 { color: var(--white); }
.section-head p, .lead { color: var(--muted); font-size: 17px; line-height: 1.75; margin-top: 14px; }
.dark .section-head p, .dark .lead { color: rgba(255,255,255,.68); }

/* ─── Split layout ───────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(300px,.95fr);
  gap: 60px; align-items: center;
}

/* ─── Lists ──────────────────────────────────────────────────────────────── */
.check-list, .mission-list {
  display: grid; gap: 14px; padding: 0; margin: 28px 0 0; list-style: none;
}
.check-list li, .mission-list li {
  position: relative; padding-left: 28px;
  color: #334155; font-weight: 500; font-size: 15px;
}
.check-list li::before, .mission-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px;
  border: 1.5px solid var(--gold);
  background: var(--gold-pale);
}

/* ─── Feature panel ──────────────────────────────────────────────────────── */
.feature-panel {
  padding: 36px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.feature-panel::before {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  border: 24px solid var(--gold-pale);
  border-radius: 50%;
  pointer-events: none;
}
.feature-panel h3 { margin-bottom: 18px; color: var(--navy); font-size: 22px; }

/* ─── Card grid ──────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.card {
  min-height: 100%;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover { border-color: var(--gold-pale); box-shadow: var(--shadow); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

.card h2, .card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px; font-weight: 700; line-height: 1.35;
}
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Icon */
.icon {
  position: relative; display: block;
  width: 44px; height: 44px; margin-bottom: 20px;
  background: var(--gold-pale);
}
.icon::before {
  content: ""; position: absolute; inset: 10px;
  border: 1.5px solid var(--gold);
}
.icon::after {
  content: ""; position: absolute;
  width: 16px; height: 2px;
  right: 8px; bottom: 11px;
  background: var(--navy);
}

/* ─── Service tabs ───────────────────────────────────────────────────────── */
.service-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.service-tab {
  min-height: 42px; padding: 9px 16px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit; font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
  transition: background .18s, border-color .18s, color .18s;
}
.service-tab:hover, .service-tab.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.service-detail {
  padding: 40px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.service-detail::before {
  content: "";
  position: absolute; right: -50px; top: -50px;
  width: 180px; height: 180px;
  border: 32px solid var(--gold-pale);
  border-radius: 50%; pointer-events: none;
}
.service-detail h2 { margin-bottom: 14px; color: var(--navy); font-size: clamp(28px, 3.5vw, 44px); }
.service-detail p { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 800px; }
.service-detail ul {
  display: grid; gap: 10px; margin: 24px 0 28px;
  padding-left: 22px; color: #334155; font-weight: 600; font-size: 15px;
}

/* ─── Page hero ──────────────────────────────────────────────────────────── */
.page-hero { padding: 170px 40px 90px; }
.page-hero .container { max-width: 960px; }
.page-hero h1 { max-width: 800px; font-size: clamp(44px, 5.5vw, 76px); }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.75; margin-top: 20px; }

/* ─── Tax Calendar ───────────────────────────────────────────────────────── */
.timeline { display: grid; gap: 14px; }
.deadline {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 20px; padding: 22px 24px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.deadline:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.deadline time { color: var(--gold-dark); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.deadline h3 { margin-bottom: 4px; color: var(--navy); font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.deadline p { color: var(--muted); font-size: 13.5px; }

/* ─── Team ───────────────────────────────────────────────────────────────── */
.team-profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.portrait {
  display: grid; min-height: 480px; place-items: center;
  color: var(--gold);
  background: linear-gradient(145deg, var(--navy), #1a3a65);
  font-family: var(--font-display);
  font-size: 88px; font-weight: 600;
  border-bottom: 3px solid var(--gold);
  position: relative; overflow: hidden;
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}
.portrait::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ─── Contact ────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; }
.contact-methods { display: grid; gap: 16px; }
.contact-method {
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact-method strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-method p, .contact-method a { color: var(--muted); font-size: 15px; }
.contact-method a:hover { color: var(--gold-dark); }

/* ─── Form ───────────────────────────────────────────────────────────────── */
form {
  display: grid; gap: 18px; padding: 36px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
label {
  display: grid; gap: 7px;
  color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
input, textarea, select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit; font-family: var(--font-body); font-size: 15px;
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
  outline: none; background: var(--white);
}
textarea { min-height: 130px; resize: vertical; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 72px 40px 32px;
  color: rgba(255,255,255,.70);
  background: var(--navy-3);
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-2) 70%, transparent 100%);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr .75fr 1fr 1fr;
  gap: 48px; max-width: 1120px; margin: 0 auto;
}
.site-footer h3 {
  margin: 0 0 20px; color: var(--white);
  font-family: var(--font-body); font-size: 12px;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.site-footer ul { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.site-footer li a { font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-size: 14px; line-height: 1.8; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  display: grid; width: 36px; height: 36px; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px; font-weight: 700;
  transition: border-color .2s, color .2s, background .2s;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  max-width: 1120px; margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
.footer-bottom div { display: flex; gap: 20px; }
.disclaimer {
  max-width: 1120px; margin: 16px auto 0;
  color: rgba(255,255,255,.38); font-size: 12px; line-height: 1.7;
}

/* ─── WhatsApp Widget ────────────────────────────────────────────────────── */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px;
  background: #25D366; border: none; border-radius: 999px;
  box-shadow: 0 6px 28px rgba(37,211,102,.40);
  color: white; cursor: pointer;
  font: inherit; font-family: var(--font-body);
  font-weight: 700; font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-fab:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37,211,102,.52);
}
.wa-fab-icon { flex-shrink: 0; }
.wa-fab-badge {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ff3b3b; border-radius: 50%; color: white;
  font-size: 11px; font-weight: 900;
  display: grid; place-items: center;
  border: 2px solid var(--paper);
  animation: wa-pulse 2s ease-in-out infinite;
}
.wa-fab-badge.hidden { display: none; }
@keyframes wa-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.wa-popup {
  position: fixed; right: 24px; bottom: 94px; z-index: 49;
  width: 340px;
  background: #f0f2f5; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  overflow: hidden;
  display: none; flex-direction: column;
  transform: translateY(12px) scale(.97); opacity: 0;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.wa-popup.open {
  display: flex; transform: translateY(0) scale(1); opacity: 1;
}
.wa-popup-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #075E54; color: white;
}
.wa-popup-avatar { position: relative; flex-shrink: 0; }
.wa-popup-status {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px;
  background: #25D366; border-radius: 50%; border: 2px solid #075E54;
}
.wa-popup-info { flex: 1; display: grid; gap: 2px; overflow: hidden; }
.wa-popup-info strong { font-size: 15px; }
.wa-popup-info span { font-size: 12px; color: rgba(255,255,255,.72); }
.wa-popup-close {
  background: none; border: none; color: rgba(255,255,255,.75);
  font-size: 24px; cursor: pointer; padding: 0 4px; line-height: 1;
}
.wa-popup-close:hover { color: white; }
.wa-popup-body {
  padding: 16px 14px 12px;
  background: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8bfb6' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  max-height: 280px; overflow-y: auto;
}
.wa-bubble {
  display: inline-block; max-width: 88%;
  padding: 10px 14px;
  background: white; border-radius: 0 12px 12px 12px;
  font-size: 14px; line-height: 1.55; color: #111;
  margin: 0 0 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  position: relative;
}
.wa-bubble::before {
  content: ""; position: absolute; top: 0; left: -7px;
  border: 7px solid transparent;
  border-right-color: white; border-top-color: white;
}
.wa-quick-btns { display: flex; flex-direction: column; gap: 8px; }
.wa-quick-btn {
  padding: 10px 14px;
  background: white; border: 1.5px solid #25D366; border-radius: 24px;
  color: #075E54; font: inherit; font-size: 13.5px; font-weight: 700;
  cursor: pointer; text-align: left;
  transition: background .15s, color .15s, transform .15s;
}
.wa-quick-btn:hover { background: #25D366; color: white; transform: translateX(3px); }
.wa-popup-footer {
  padding: 10px 12px; background: #f0f2f5;
  border-top: 1px solid rgba(0,0,0,.06);
}
.wa-input-row { display: flex; gap: 8px; align-items: center; }
.wa-input {
  flex: 1; min-height: 42px; padding: 10px 14px;
  border: none; border-radius: 999px;
  background: white; font: inherit; font-size: 14px; color: #111;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.wa-input:focus { outline: none; box-shadow: 0 0 0 2px rgba(37,211,102,.4); }
.wa-send-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: #25D366; border: none; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.wa-send-btn:hover { background: #20ba5a; transform: scale(1.08); }

/* ─── Responsive 980px ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  :root { --section-pad: 72px 28px; }

  .site-header {
    padding: 10px 20px;
    background: var(--white);
    box-shadow: 0 2px 16px rgba(17,31,55,.08);
  }
  .site-header.scrolled { padding: 8px 20px; }

  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    display: none; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px;
    background: rgba(9,21,43,.98);
    border-top: 1px solid rgba(255,255,255,.06);
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { min-height: 40px; }
  .main-nav .nav-cta { justify-content: center; margin: 8px 0 0; }

  .hero { padding: 140px 24px 80px; }
  .stats, .grid, .split, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats { transform: none; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .team-profile { grid-template-columns: 1fr; }
  .service-tabs { gap: 6px; }
}

/* ─── Responsive 640px ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --section-pad: 56px 20px; }

  .brand { min-width: 0; }
  .brand strong { font-size: 15px; max-width: 148px; }
  .brand small { font-size: 9px; letter-spacing: 2px; }
  .ca-logo { width: 48px; }

  h1 { font-size: clamp(40px, 10vw, 64px); }

  .hero { padding: 120px 20px 64px; }
  .hero p { font-size: 16px; }
  .page-hero { padding: 130px 20px 64px; }
  .page-hero p { font-size: 16px; }

  .section { padding: var(--section-pad); }

  .deadline { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }

  .wa-popup {
    right: 10px; bottom: 84px;
    width: calc(100vw - 20px); max-width: 340px;
  }
  .wa-fab {
    right: 16px; bottom: 16px;
    padding: 13px; border-radius: 50%;
  }
  .wa-fab-label { display: none; }

  form { padding: 24px 20px; }
  .feature-panel, .service-detail { padding: 24px 20px; }
}

/* ── Polish & premium additions ─────────────────────────────────────────────── */

/* Custom text selection */
::selection { background: var(--gold); color: var(--navy); }

/* Subtle custom scrollbar (webkit) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* Gradient gold text utility */
.gold-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Page transition fade */
#app {
  animation: pageFade .32s var(--ease);
}
@keyframes pageFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal base — JS adds .revealed */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Animated stat counters */
.stat strong {
  transition: color .3s ease;
}
.stat.counting strong { color: var(--gold); }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.testimonial-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.testimonial-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 15px;
  color: #344054;
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-author-info strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.testimonial-author-info span {
  color: var(--muted);
  font-size: 12px;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 48px;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: background .2s ease, transform .2s ease;
}
.process-step:hover .process-num {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}
.process-step h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 16px;
}
.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Certifications / trust badges strip */
.credentials-bar {
  background: var(--white);
}

.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 20px 40px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: 13px;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,.15);
  border: 1.5px solid rgba(201,168,76,.35);
  display: grid;
  place-items: center;
  font-size: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Hero enhancements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.4); }
}

/* Floating decorative shape in hero */
.hero-decor {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) { .hero-decor { display: block; } }

.hero-decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.18);
}
.hero-decor-ring:nth-child(1) { inset: 0; animation: spin 32s linear infinite; }
.hero-decor-ring:nth-child(2) { inset: 30px; animation: spin 24s linear infinite reverse; border-color: rgba(201,168,76,.10); }
.hero-decor-ring:nth-child(3) { inset: 70px; border-color: rgba(255,255,255,.06); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Map embed */
.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}

/* Article read time and breadcrumb */
.breadcrumb { margin-bottom: 16px; }
.breadcrumb ol {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

/* Divider ornament */
.divider-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 36px;
  max-width: 200px;
  color: var(--gold);
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: .4;
}

/* Professional card variant — bordered with accent top */
.card-pro {
  border-top: 3px solid var(--gold);
  padding-top: 26px;
}

/* Section label pill */
.section-pill {
  display: inline-block;
  padding: 5px 16px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border-radius: 2px;
}
.dark .section-pill {
  background: rgba(201,168,76,.15);
  color: var(--gold-2);
  border-color: rgba(201,168,76,.2);
}

@media (max-width: 980px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .hero-decor { display: none; }
  .trust-strip { gap: 20px; padding: 20px; }
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .trust-strip { flex-direction: column; align-items: flex-start; padding: 20px 16px; }
}


/* ── Tax Calendar ────────────────────────────────────────────────────────────── */

/* Section block */
.cal-section {
  margin-bottom: 52px;
}

.cal-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}
.cal-section-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.cal-section-title {
  margin: 0 0 3px;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
}
.cal-section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Quarter label */
.cal-q-label {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 10px 14px 8px;
  background: rgba(201,168,76,.08);
  border-left: 3px solid var(--gold);
  margin-top: 18px;
  margin-bottom: 2px;
}

/* Table layout */
.cal-table {
  border: 1px solid var(--line);
  overflow: hidden;
}

.cal-thead {
  display: grid;
  grid-template-columns: 130px 1fr 1.4fr;
  gap: 0;
  background: var(--navy);
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.cal-thead span {
  padding: 10px 14px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.cal-thead span:last-child { border-right: none; }

.cal-row {
  display: grid;
  grid-template-columns: 130px 1fr 1.4fr;
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--white);
  transition: background .15s;
}
.cal-row:hover { background: rgba(201,168,76,.04); }

.cal-date,
.cal-label,
.cal-detail {
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.5;
  border-right: 1px solid var(--line);
}
.cal-date:last-child,
.cal-label:last-child,
.cal-detail:last-child { border-right: none; }

.cal-date {
  font-weight: 900;
  color: var(--gold-dark);
  font-size: 12px;
  white-space: nowrap;
}
.cal-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
}
.cal-detail {
  color: var(--muted);
  font-size: 13px;
  border-right: none;
}

/* Tag pill */
.tag-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}

/* Note box */
.cal-note {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fffbeb;
  border-left: 4px solid var(--gold);
  color: #92600a;
  font-size: 13px;
  line-height: 1.6;
}

/* Hidden utility */
.hidden { display: none !important; }

/* Mobile — stack columns */
@media (max-width: 820px) {
  .cal-thead { display: none; }
  .cal-row {
    grid-template-columns: 1fr;
    padding: 12px 14px;
    gap: 4px;
  }
  .cal-date,
  .cal-label,
  .cal-detail {
    padding: 0;
    border-right: none;
    border-top: none;
  }
  .cal-date { font-size: 11px; margin-bottom: 2px; }
  .cal-label { font-size: 14px; }
  .cal-detail { font-size: 13px; color: var(--muted); }
  .cal-row { border-top: 1px solid var(--line); }
}

/* ── Print stylesheet (Tax Calendar) ───────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .whatsapp, #waFab, #waPopup,
  .page-hero .eyebrow, #calPrintBtn, .btn, .cta-section,
  nav, .breadcrumb { display: none !important; }

  body { background: #fff; color: #000; font-size: 11px; }

  .page-hero {
    padding: 20px 0 10px !important;
    background: none !important;
    color: #000 !important;
    min-height: 0 !important;
  }
  .page-hero h1 { font-size: 22px !important; color: #12284a !important; }
  .page-hero p  { color: #444 !important; font-size: 12px !important; }

  .section { padding: 12px 0 !important; }
  .container { max-width: 100% !important; padding: 0 !important; }

  .cal-section { margin-bottom: 20px !important; page-break-inside: avoid; }
  .cal-section-title { font-size: 14px !important; }
  .cal-table { border: 1px solid #ccc !important; }
  .cal-thead { background: #12284a !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cal-row { border-top: 1px solid #ddd !important; }
  .cal-row:hover { background: #fff !important; }
  .cal-q-label { background: #f5f0e0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cal-note { display: none !important; }

  .tag-pill { border: 1px solid #ccc !important; background: #f5f5f5 !important; color: #333 !important; }

  @page {
    margin: 15mm;
    size: A4;
  }
}

/* ── Tax Calculator ──────────────────────────────────────────────────────────── */
.calc-disclaimer {
  padding: 12px 18px;
  background: #fffbeb;
  border-left: 4px solid var(--gold);
  color: #92600a;
  font-size: 13px;
  margin-bottom: 32px;
}
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc-inputs {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.calc-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.calc-icon { font-size: 20px; line-height: 1; }
.calc-title {
  margin: 0;
  font-size: 17px;
  color: var(--navy);
  font-family: var(--font-display);
}
.calc-label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 14px;
}
.calc-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.calc-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.14);
  outline: none;
}

/* Results panel */
.calc-results {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}
.calc-results.hidden { display: none !important; }

.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.calc-result-card {
  padding: 18px 16px;
  border: 2px solid var(--line);
  text-align: center;
  transition: border-color .2s, background .2s;
}
.calc-result-card.calc-winner {
  border-color: var(--gold);
  background: rgba(201,168,76,.06);
}
.calc-result-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.calc-result-tax {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  margin-bottom: 6px;
}
.calc-result-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* Verdict */
.calc-verdict {
  padding: 14px 18px;
  font-size: 15px;
  margin: 12px 0;
  border-left: 4px solid var(--line);
}
.verdict-new { border-left-color: #16a34a; background: #f0fdf4; color: #15803d; }
.verdict-old { border-left-color: #2563eb; background: #eff6ff; color: #1d4ed8; }

/* Breakdown table */
.calc-breakdown {
  margin-top: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.calc-breakdown-row:last-child { border-bottom: none; }
.calc-breakdown-total {
  background: var(--paper);
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 820px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .calc-result-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .calc-result-grid { grid-template-columns: 1fr; }
  .calc-inputs, .calc-results { padding: 20px 16px; }
}

/* ── NRI Services page ───────────────────────────────────────────────────────── */
.nri-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.nri-card {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.nri-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.nri-card-icon { font-size: 28px; margin-bottom: 14px; }
.nri-card h3 { margin: 0 0 10px; font-size: 16px; color: var(--navy); font-family: var(--font-body); }
.nri-card p  { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.nri-card-list {
  margin: 0; padding-left: 18px;
  color: #344054; font-size: 13px; font-weight: 600; line-height: 1.8;
}

/* ── Accounts Outsourcing — Pricing cards ────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
  align-items: start;
}
.pricing-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-card.pricing-featured {
  border-color: var(--gold);
  border-width: 2px;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.pricing-tier {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-display);
}
.pricing-for {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  min-height: 36px;
}
.pricing-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: grid; gap: 9px;
}
.pricing-list li {
  font-size: 14px;
  color: #344054;
  font-weight: 600;
  padding-left: 22px;
  position: relative;
}
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 900;
}
.pricing-card .btn { text-align: center; justify-content: center; margin-top: auto; }

@media (max-width: 980px) {
  .nri-services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.pricing-featured { transform: none; border-width: 2px; }
}
@media (max-width: 640px) {
  .nri-services-grid { grid-template-columns: 1fr; }
}

/* ── Back to top button ──────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ── Mobile call button ──────────────────────────────────────────────────────── */
.mobile-call-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: rgba(201,168,76,.12);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s ease;
}
.mobile-call-btn:hover { background: rgba(201,168,76,.22); }

@media (max-width: 980px) {
  .mobile-call-btn { display: flex; }
  .back-to-top { right: 16px; bottom: 86px; width: 40px; height: 40px; }
}

/* ── Cookie consent banner ───────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1120px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-text {
  margin: 0;
  font-size: 13px;
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}
.cookie-link { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  padding: 8px 20px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s;
}
.cookie-accept:hover { background: var(--gold-2); }
.cookie-decline {
  padding: 8px 16px;
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.2);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,.5); color: var(--white); }

@media (max-width: 640px) {
  .cookie-banner { padding: 14px 16px; }
  .cookie-inner { gap: 12px; }
  .cookie-text { font-size: 12px; }
}

/* ── Map wrapper & directions button ────────────────────────────────────────── */
.map-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-directions-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background .2s ease, transform .2s ease;
}
.map-directions-btn:hover {
  background: var(--gold-dark);
  transform: translateX(-50%) translateY(-2px);
  color: var(--white);
}

/* ── Advance Tax Cards ───────────────────────────────────────────────────────── */
.at-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.at-card {
  padding: 22px 18px;
  border-radius: 4px;
  border-top: 4px solid transparent;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.at-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.at-1 { border-top-color: #63b3ed; }
.at-2 { border-top-color: #68d391; }
.at-3 { border-top-color: #f6ad55; }
.at-4 { border-top-color: #fc8181; }
.at-instalment { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.at-date { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.at-pct { font-size: 32px; font-weight: 800; color: var(--navy); font-family: var(--font-display); line-height: 1; margin-bottom: 10px; }
.at-bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.at-1 .at-fill { background: #63b3ed; border-radius: 99px; height: 100%; }
.at-2 .at-fill { background: #68d391; border-radius: 99px; height: 100%; }
.at-3 .at-fill { background: #f6ad55; border-radius: 99px; height: 100%; }
.at-4 .at-fill { background: #fc8181; border-radius: 99px; height: 100%; }
.at-note { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ── TDS Quarterly Cards ─────────────────────────────────────────────────────── */
.tds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tds-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.tds-quarter {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}
.q1 { background: #4299e1; }
.q2 { background: #48bb78; }
.q3 { background: #ed8936; }
.q4 { background: #9f7aea; }
.tds-period { padding: 8px 16px 10px; font-size: 13px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
.tds-rows { padding: 10px 16px; display: grid; gap: 8px; }
.tds-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.tds-form { font-size: 12px; color: var(--muted); font-weight: 600; }
.tds-due { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 2px; }
.tcs-due { background: #ebf8ff; color: #2b6cb0; }
.tds-due-date { background: #f0fff4; color: #276749; }

/* ── Monthly Timeline ────────────────────────────────────────────────────────── */
.monthly-timeline { display: grid; gap: 2px; }
.mt-item {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow .15s;
}
.mt-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.mt-day {
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  border-right: 3px solid;
  border-radius: 0;
}
.mt-connector { width: 24px; background: var(--white); }
.mt-content { padding: 12px 16px; }
.mt-label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.mt-detail { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── Annual List ─────────────────────────────────────────────────────────────── */
.annual-list { display: grid; gap: 2px; }
.annual-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .15s, box-shadow .15s;
}
.annual-item:hover { border-color: rgba(201,168,76,.4); box-shadow: 0 3px 12px rgba(17,31,55,.06); }
.annual-date {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 900;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.annual-body { padding: 12px 16px; }
.annual-label { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.annual-detail { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .at-grid, .tds-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .at-grid { grid-template-columns: 1fr; }
  .tds-grid { grid-template-columns: 1fr; }
  .mt-item { grid-template-columns: 70px 16px 1fr; }
  .mt-day { padding: 12px 8px; font-size: 12px; }
  .annual-item { grid-template-columns: 1fr; }
  .annual-date { border-right: none; border-bottom: 1px solid var(--line); padding: 10px 16px 8px; }
}
