/* =========================================================
   G Gagan and Company — Chartered Accountants
   ========================================================= */
:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #13305a;
  --navy-600: #1d4278;
  --gold-500: #d4a94a;
  --gold-400: #e2c072;
  --gold-100: #f7eed8;
  --cream: #f8f6f1;
  --paper: #ffffff;
  --ink: #142033;
  --ink-soft: #4a5568;
  --line: #e6e1d6;
  --success: #1f9d61;
  --wa: #25d366;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, .06);
  --shadow: 0 12px 32px rgba(11, 31, 58, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .18);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
/* Scroll lock goes on <html>: overflow on <body> would break the sticky header */
html.no-scroll { overflow: hidden; }
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--navy-800); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--ink-soft); }
.section__head--left { text-align: left; margin: 0; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-400); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--dark { color: #a67c25; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); box-shadow: 0 8px 24px rgba(212,169,74,.35); }
.btn--gold:hover { box-shadow: 0 12px 30px rgba(212,169,74,.5); }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.16); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--ghost-dark { background: transparent; color: var(--navy-800); border-color: var(--line); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px;
  background: rgba(7, 21, 40, .72); backdrop-filter: blur(6px);
  animation: fade .3s ease;
}
.disclaimer[hidden] { display: none; }
.disclaimer__box {
  background: var(--paper); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px);
  max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500); animation: pop .35s cubic-bezier(.2,.9,.3,1.2);
}
.disclaimer__box p, .disclaimer__box li { color: var(--ink-soft); font-size: .95rem; }
.disclaimer__box ul { padding-left: 20px; margin: 0 0 22px; }
.disclaimer__box li { margin-bottom: 8px; }
.disclaimer__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.8); font-size: .84rem; }
.topbar__inner { display: flex; gap: 24px; align-items: center; justify-content: flex-end; min-height: 40px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; gap: 8px; align-items: center; }
.topbar__item svg { width: 14px; height: 14px; fill: var(--gold-400); }
a.topbar__item:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would trap the
   fixed-position mobile menu inside the header box. */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
}
.header.menu-open::before { background: #fff; }
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(226,192,114,.35);
}
/* CA India logo: the PNG has white padding, so crop it slightly with object-fit */
.brand__logo {
  flex: none; width: 64px; height: 48px; object-fit: cover; object-position: center;
  background: #fff; border-radius: 8px;
}
.brand--light .brand__logo { padding: 3px 4px; width: 70px; height: 52px; border-radius: 10px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__text strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy-800); font-weight: 600; white-space: nowrap; }
.brand__text small { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #a67c25; font-weight: 600; }
.brand--light .brand__text strong { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 12px; font-weight: 500; font-size: .93rem; color: var(--ink-soft); border-radius: 8px;
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--navy-800); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; padding: 10px 20px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #1d4278 0%, transparent 60%), linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  padding: clamp(56px, 8vw, 100px) 0 0;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: float 14s ease-in-out infinite; }
.orb--1 { width: 420px; height: 420px; background: #d4a94a; top: -140px; left: -120px; opacity: .22; }
.orb--2 { width: 360px; height: 360px; background: #2f6bc2; bottom: -80px; right: 10%; animation-delay: -6s; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(30px, 24px); } }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; padding-bottom: 72px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-400); font-weight: 500; }
.hero__lead { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 600px; }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 28px; }
.hero__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.hero__chips li {
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
}

.hero__card {
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 26px;
  backdrop-filter: blur(16px); box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero__card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero__card-head strong { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.hero__card-head small { color: rgba(255,255,255,.65); }
.avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; overflow: hidden; box-shadow: 0 0 0 3px rgba(226,192,114,.55);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.next-due { margin: 18px 0; padding: 16px 18px; border-radius: var(--radius); background: rgba(7,21,40,.45); border: 1px dashed rgba(226,192,114,.45); }
.next-due__label { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-400); font-weight: 700; }
.next-due__title { display: block; font-size: 1.02rem; margin: 6px 0 2px; }
.next-due__date { display: block; color: rgba(255,255,255,.7); font-size: .9rem; }
.next-due__count { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold-500); color: var(--navy-900); }
.hero__card-row { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.hero__card-row:hover { background: rgba(255,255,255,.08); }
.hero__card-row small { display: block; font-size: .75rem; color: rgba(255,255,255,.6); }
.hero__card-row .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(226,192,114,.15); }
.hero__card-row .ic svg { width: 18px; height: 18px; fill: var(--gold-400); }

/* Ticker */
.ticker { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(7,21,40,.55); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: .9rem; color: rgba(255,255,255,.82); white-space: nowrap; }
.ticker__item b { color: var(--gold-400); font-weight: 600; }
.ticker__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__visual { position: relative; }
.about__frame {
  aspect-ratio: 4/4.4; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about__frame::before {
  content: ""; position: absolute; inset: 18px; border-radius: 18px; border: 1px solid rgba(226,192,114,.35);
}
.about__frame::after {
  content: ""; position: absolute; width: 140%; height: 140%;
  background: conic-gradient(from 180deg, transparent, rgba(226,192,114,.18), transparent 40%);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about__monogram { position: relative; z-index: 1; text-align: center; width: 100%; padding-top: 12%; }
.about__logo {
  display: block; width: min(52%, 230px); aspect-ratio: 1; margin: 0 auto;
  border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 6px rgba(226,192,114,.25);
}
.about__logo img { width: 100%; height: 100%; object-fit: contain; }
.about__monogram small { display: block; margin-top: 22px; color: rgba(255,255,255,.75); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }
.about__badge {
  position: absolute; right: -18px; bottom: 36px; background: var(--paper); border-radius: var(--radius);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--navy-800); }
.about__badge span { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; }
.about__badge--since {
  right: auto; left: -18px; bottom: auto; top: 28px;
  flex-direction: column; align-items: flex-start; gap: 0;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}
.about__badge--since span { color: var(--navy-800); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about__badge--since strong { font-size: 1.45rem; line-height: 1.2; }
.hero__since {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: .92rem; font-weight: 600; color: var(--gold-400);
}
.hero__since span { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 0 4px rgba(212,169,74,.22); }
.about__copy > p { color: var(--ink-soft); }
.about__copy > p strong { color: var(--ink); }
.values { display: grid; gap: 14px; margin-top: 28px; }
.value { display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: border-color .2s, transform .2s; }
.value:hover { border-color: var(--gold-400); transform: translateX(4px); }
.value__ic { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); font-weight: 700; font-size: .9rem; }
.value h3 { font-size: 1.05rem; margin-bottom: 2px; }
.value p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.svc::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-600)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-100); margin-bottom: 20px; transition: background .3s; }
.svc__ic svg { width: 28px; height: 28px; fill: var(--navy-800); transition: fill .3s; }
.svc:hover .svc__ic { background: var(--navy-800); }
.svc:hover .svc__ic svg { fill: var(--gold-400); }
.svc__num { position: absolute; top: 22px; right: 28px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--line); line-height: 1; }
.svc > p { color: var(--ink-soft); }
.svc__list {
  list-style: none; padding: 0; margin: 0; display: grid; gap: 8px;
  max-height: 0; overflow: hidden; transition: max-height .45s ease, margin .3s;
}
.svc.is-open .svc__list { max-height: 420px; margin: 6px 0 18px; }
.svc__list li { position: relative; padding-left: 26px; font-size: .94rem; }
.svc__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a67c25' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/11px no-repeat;
}
.svc__more {
  display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0;
  color: var(--navy-800); font-weight: 600; font-size: .93rem;
}
.svc__more span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-size: 1rem; transition: transform .3s, background .3s; }
.svc.is-open .svc__more span { transform: rotate(45deg); background: var(--gold-500); color: var(--navy-900); }

.process { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden; }
.process__step { padding: 28px 24px; color: rgba(255,255,255,.72); position: relative; }
.process__step + .process__step { border-left: 1px solid rgba(255,255,255,.1); }
.process__step span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-500); color: var(--navy-900); font-weight: 700; margin-bottom: 12px; }
.process__step h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.process__step p { margin: 0; font-size: .9rem; }

/* ---------- Checklist ---------- */
.checklist { background: var(--paper); }
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  border: 1px solid var(--line); background: var(--cream); color: var(--ink-soft);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; transition: all .2s;
}
.tab:hover { color: var(--navy-800); border-color: var(--gold-400); }
.tab.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.tabpanels { max-width: 900px; margin: 0 auto; }
.tabpanel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); animation: fade .35s ease; }
.check { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.check li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check li::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 6px; margin-top: 2px;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2c072' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Calendar ---------- */
.calendar { background: linear-gradient(170deg, var(--navy-800), var(--navy-900)); color: #fff; position: relative; overflow: hidden; }
.calendar::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(212,169,74,.14), transparent 70%); top: -250px; right: -200px; }
.cal-filter { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; position: relative; }
.chip { border: 1px solid rgba(255,255,255,.22); background: transparent; color: rgba(255,255,255,.8); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .88rem; transition: all .2s; }
.chip:hover { border-color: var(--gold-400); color: #fff; }
.chip.is-active { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.cal-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cal {
  display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); transition: transform .25s, background .25s, border-color .25s; animation: fade .4s ease;
}
.cal:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); border-color: rgba(226,192,114,.4); }
.cal__date { flex: none; width: 62px; border-radius: 12px; background: #fff; color: var(--navy-800); text-align: center; overflow: hidden; align-self: flex-start; }
.cal__date small { display: block; background: var(--gold-500); color: var(--navy-900); font-size: .7rem; font-weight: 700; letter-spacing: .08em; padding: 3px 0; text-transform: uppercase; }
.cal__date strong { display: block; font-family: var(--font-head); font-size: 1.6rem; line-height: 1.4; }
.cal__body h4 { color: #fff; font-family: var(--font-body); font-size: .98rem; font-weight: 600; margin: 4px 0; }
.cal__body p { margin: 0; color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.5; }
.cal__tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; }
.cal__tag--IncomeTax { background: rgba(96,165,250,.18); color: #93c5fd; }
.cal__tag--GST { background: rgba(52,211,153,.16); color: #6ee7b7; }
.cal__tag--ROC { background: rgba(244,114,182,.16); color: #f9a8d4; }
.cal__soon { margin-left: 6px; font-size: .68rem; font-weight: 700; color: var(--gold-400); }

/* ---------- Tools ---------- */
.tools__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tool { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 34px); box-shadow: var(--shadow-sm); }
.tool__sub { color: var(--ink-soft); font-size: .9rem; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-weight: 500; font-size: 16px; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 4px rgba(212,169,74,.18); }
.field--check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.field--check input { width: 18px; height: 18px; accent-color: var(--navy-800); }
.field .err { display: none; color: #c0392b; font-style: normal; font-weight: 500; font-size: .8rem; }
.field.has-error input { border-color: #e57373; }
.field.has-error .err { display: block; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; }
.seg button { flex: 1 1 auto; border: 0; background: transparent; padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); transition: all .2s; }
.seg button.is-active { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-sm); }

.tax-result { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; animation: fade .4s ease; }
.tax-result[hidden] { display: none; }
.tax-col { padding: 16px; border-radius: var(--radius); background: var(--cream); border: 1.5px solid var(--line); transition: border-color .3s, background .3s; }
.tax-col.is-better { border-color: var(--success); background: #effaf4; }
.tax-col .tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.tax-col .amt { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-800); margin: 4px 0; }
.tax-col .meta { color: var(--ink-soft); font-size: .8rem; line-height: 1.5; display: block; }
.tax-verdict { grid-column: 1 / -1; margin: 4px 0 0; font-weight: 600; color: var(--success); font-size: .95rem; }

.gst-out { margin: 22px 0 0; display: grid; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); }
.gst-out > div { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gst-out > div[hidden] { display: none; }
.gst-out dt { color: var(--ink-soft); font-size: .92rem; }
.gst-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.gst-out .total { background: var(--navy-800); border: 0; }
.gst-out .total dt { color: rgba(255,255,255,.75); }
.gst-out .total dd { color: var(--gold-400); font-size: 1.15rem; }

.links { margin-top: 56px; }
.links h3 { text-align: center; margin-bottom: 22px; }
.links__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.link-card {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); transition: all .25s; position: relative;
}
.link-card::after { content: "↗"; position: absolute; top: 14px; right: 16px; color: var(--gold-500); font-weight: 700; transition: transform .25s; }
.link-card strong { color: var(--navy-800); font-size: .98rem; }
.link-card span { color: var(--ink-soft); font-size: .82rem; overflow-wrap: anywhere; }
.link-card:hover { border-color: var(--gold-400); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.link-card:hover::after { transform: translate(3px, -3px); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section__head a { color: #a67c25; font-weight: 600; }
.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: border-color .2s, background .2s; }
.accordion details[open] { background: #fff; border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy-800); position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-size: 1.1rem; transition: transform .3s, background .3s;
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold-500); color: var(--navy-900); }
.accordion details p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(170deg, var(--navy-800), var(--navy-900)); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info h2 { color: #fff; }
.contact__info > p { color: rgba(255,255,255,.72); }
.info-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(226,192,114,.14); border: 1px solid rgba(226,192,114,.3); }
.info-list .ic svg { width: 20px; height: 20px; fill: var(--gold-400); }
.info-list small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.info-list strong { font-weight: 600; }
.info-list a:hover strong { color: var(--gold-400); }
.contact__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.contact__form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.contact__form h3 { margin: 0; font-size: 1.5rem; }
.form__note { margin: -8px 0 4px; font-size: .86rem; color: var(--ink-soft); }

.map { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.map iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.15) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 64px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-400); }
.footer__about { margin-top: 18px; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer__bottom p { margin: 0; }
.footer__disc { max-width: 560px; color: rgba(255,255,255,.45); }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: transform .25s;
}
.fab svg { width: 28px; height: 28px; fill: #fff; }
.fab:hover { transform: scale(1.08); }
.fab--wa { bottom: 20px; background: var(--wa); }
.fab--wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.2s ease-out infinite; }
.fab--call { bottom: 88px; background: var(--navy-700); display: none; }
.fab--call svg { width: 24px; height: 24px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.totop {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--gold-500); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.totop svg { width: 24px; height: 24px; fill: var(--navy-900); }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* Mobile bottom action bar (shown on phones/tablets instead of floating buttons) */
.mbar { display: none; }
@media (max-width: 960px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(11,31,58,.10);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  }
  .mbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    min-height: 52px; border-radius: 12px; font-size: .74rem; font-weight: 600; color: var(--navy-800);
  }
  .mbar a:active { background: var(--cream); }
  .mbar svg { width: 22px; height: 22px; fill: currentColor; }
  .mbar__wa { color: #128c4a !important; }
  .mbar__call { background: var(--navy-800); color: #fff !important; }
  .mbar__call:active { background: var(--navy-700) !important; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .fab { display: none !important; }
  .totop { left: auto; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 42px; height: 42px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link { padding: 8px 9px; font-size: .9rem; }
  .links__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .topbar__hours { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 6px; font-size: 1.08rem; color: var(--navy-800); border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav__link::before { content: "›"; order: 2; color: var(--gold-500); font-size: 1.4rem; line-height: 1; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: #a67c25; }
  .nav__cta { margin: 22px 0 0; padding: 15px; font-size: 1rem; }
  .burger { position: relative; z-index: 2; }

  .hero__card { padding: 22px; }
  .ticker__item { padding: 12px 20px; font-size: .85rem; }

  .hero__inner, .about__grid, .contact__grid, .faq__grid, .tools__grid { grid-template-columns: 1fr; }
  .hero__inner { gap: 40px; }
  .about__visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .about__badge { right: 10px; }
  .about__badge--since { right: auto; left: 10px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(3) { border-left: 0; }
  .process__step:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .container { padding: 0 16px; }
  .topbar__inner { justify-content: space-between; gap: 10px; }
  .topbar__addr, .topbar__email { display: none; }
  .brand__logo { width: 54px; height: 42px; }
  .brand__text strong { font-size: 1rem; }
  .brand__text small { font-size: .64rem; }
  .services__grid, .check { grid-template-columns: 1fr; }
  .svc { padding: 24px; }
  .svc__num { font-size: 2.4rem; right: 20px; }
  .process { grid-template-columns: 1fr; }
  .process__step + .process__step { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .tax-result { grid-template-columns: 1fr; }
  .links__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .map iframe { height: 300px; }
  .about__badge { right: 8px; bottom: 16px; padding: 12px 16px; }
  .about__badge--since { right: auto; left: 8px; bottom: auto; top: 16px; }
  .about__badge--since strong { font-size: 1.2rem; }

  /* Tighter vertical rhythm on phones */
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 32px; }
  h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  h2 { font-size: clamp(1.55rem, 6.6vw, 2rem); }
  .hero { padding-top: 40px; }
  .hero__inner { padding-bottom: 48px; gap: 32px; }
  .hero__lead { font-size: 1rem; }
  .hero__actions { margin: 24px 0 22px; gap: 10px; }
  .hero__chips { gap: 8px; }
  .hero__chips li { font-size: .8rem; padding: 5px 12px; }
  .eyebrow { font-size: .72rem; letter-spacing: .12em; }

  /* Tabs & filters become a swipeable row instead of wrapping */
  .tabs, .cal-filter {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin-left: -16px; margin-right: -16px; padding: 2px 16px 6px; scroll-snap-type: x proximity;
  }
  .tabs::-webkit-scrollbar, .cal-filter::-webkit-scrollbar { display: none; }
  .tab, .chip { flex: none; scroll-snap-align: start; }

  .about__grid { gap: 40px; }
  .value { padding: 14px; }
  .value:hover { transform: none; }
  .svc:hover { transform: none; }
  .process { margin-top: 36px; }
  .tool { padding: 20px; }
  .seg button { padding: 10px 8px; font-size: .86rem; }
  .tax-col .amt { font-size: 1.4rem; }
  .links { margin-top: 40px; }
  .links__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .link-card { padding: 14px; }
  .link-card::after { top: 10px; right: 12px; }
  .link-card strong { font-size: .9rem; padding-right: 14px; }
  .link-card span { font-size: .74rem; }
  .accordion summary { padding: 16px 52px 16px 16px; font-size: .96rem; }
  .accordion details p { padding: 0 16px 16px; font-size: .94rem; }
  .contact__btns .btn { flex: 1 1 auto; }
  .map { margin-top: 32px; }
  .footer { padding-top: 48px; }
  .footer__bottom { padding: 18px 16px; }
  .disclaimer__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 380px) {
  .brand__text strong { font-size: .92rem; }
  .brand__text small { font-size: .58rem; letter-spacing: .12em; }
  .brand { gap: 9px; }
  .links__grid { grid-template-columns: 1fr; }
  .cal { padding: 14px; gap: 12px; }
  .cal__date { width: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
