/* ==========================================================================
   CA Pranay Oswal — Chartered Accountant · Company Secretary
   Design System & Global Styles
   Palette: Deep Navy / Antique Gold / Warm Cream
   Type:    Fraunces (display serif) + Inter (text sans)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink-950: #060F1D;
  --ink-900: #0A1A2F;
  --ink-800: #0F2440;
  --ink-700: #17334F;
  --ink-600: #23456A;

  --gold-300: #EBDCB2;
  --gold-400: #DCC084;
  --gold-500: #C6A25B;
  --gold-600: #A9843F;
  --gold-700: #8A6A2F;

  --cream:   #FAF7F1;
  --cream-2: #F3EEE3;
  --paper:   #FFFFFF;
  --line:    #E8E1D2;
  --line-dark: rgba(255, 255, 255, 0.12);

  --text-900: #12213A;
  --text-700: #3C4A5E;
  --text-500: #66748A;
  --text-inv: #EAF0F7;
  --text-inv-dim: #A2B2C6;

  --wa: #25D366;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --shadow-sm: 0 1px 3px rgba(10, 26, 47, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 26, 47, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 26, 47, 0.18);
  --shadow-gold: 0 8px 24px rgba(198, 162, 91, 0.28);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
strong { color: var(--text-900); font-weight: 600; }

::selection { background: var(--gold-400); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.18;
  color: var(--text-900);
  letter-spacing: -0.01em;
}

.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { box-shadow: 0 12px 30px rgba(198, 162, 91, 0.4); }

.btn--dark {
  background: var(--ink-900);
  color: var(--gold-300);
}
.btn--dark:hover { background: var(--ink-800); }

.btn--outline {
  border-color: var(--ink-900);
  color: var(--ink-900);
}
.btn--outline:hover { background: var(--ink-900); color: var(--gold-300); }

.btn--light-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--light-outline:hover { border-color: var(--gold-400); color: var(--gold-300); background: rgba(255,255,255,0.05); }

.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.88rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink-950);
  color: var(--text-inv-dim);
  font-size: 0.82rem;
  padding: 0.5rem 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar__group { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { width: 14px; height: 14px; color: var(--gold-500); }
.topbar__item a:hover { color: var(--gold-300); }
.topbar__note { color: var(--gold-400); font-weight: 500; letter-spacing: 0.02em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 0;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  border-radius: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-400);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.1;
}
.brand__tag {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-700);
  transition: color 0.2s, background 0.2s;
}
.nav__link svg { width: 14px; height: 14px; transition: transform 0.25s; }
.nav__link:hover { color: var(--ink-900); background: var(--cream); }
.nav__link.active { color: var(--ink-900); font-weight: 600; }
.nav__link.active::after {
  content: '';
  display: block;
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover > .nav__link svg,
.has-dropdown:focus-within > .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-700);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--cream); color: var(--ink-900); }
.dropdown a.active { color: var(--gold-600); font-weight: 600; }
.dropdown__rule { height: 1px; background: var(--line); margin: 0.4rem 0.6rem; }

.nav__cta { flex: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink-900); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(198, 162, 91, 0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-950), var(--ink-900) 55%, var(--ink-800));
  color: var(--text-inv);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-inv-dim);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb .sep { color: var(--gold-600); }
.breadcrumb .current { color: var(--gold-400); font-weight: 600; }
.page-hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  max-width: 18ch;
}
.page-hero__title em { font-style: italic; color: var(--gold-400); }
.page-hero__lede {
  margin-top: 1.1rem;
  max-width: 62ch;
  font-size: 1.06rem;
  color: var(--text-inv-dim);
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.8rem, 8vw, 6.2rem) 0; }
.section--cream { background: var(--cream); }
.section--dark {
  background:
    radial-gradient(800px 400px at 15% 110%, rgba(198, 162, 91, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink-950), var(--ink-900));
  color: var(--text-inv-dim);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}
.section--dark .eyebrow { color: var(--gold-400); }

.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .eyebrow::after { display: none; }

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
}
.section-title em { font-style: italic; color: var(--gold-600); }
.section--dark .section-title em { color: var(--gold-400); }
.section-lede {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--text-500);
}
.section--dark .section-lede { color: var(--text-inv-dim); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-400);
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}

.card__icon {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}
.card__icon svg { width: 26px; height: 26px; }

.card__title { font-size: 1.22rem; }
.card__title a { transition: color 0.2s; }
.card__title a:hover { color: var(--gold-600); }
.card__text { font-size: 0.94rem; color: var(--text-500); }

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-600);
  transition: gap 0.25s var(--ease);
}
.card__link svg { width: 16px; height: 16px; }
.card__link:hover { gap: 0.75rem; color: var(--ink-900); }

/* full-card click target when card has a stretched link */
.card--clickable .card__title a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.check-list { display: grid; gap: 0.55rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
}
.check-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.22rem;
  color: var(--gold-600);
}
.section--dark .check-list svg { color: var(--gold-400); }

/* ---------- Split (two-column feature) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split__panel {
  position: relative;
  background:
    radial-gradient(500px 300px at 80% 0%, rgba(198, 162, 91, 0.2), transparent 60%),
    linear-gradient(155deg, var(--ink-900), var(--ink-800));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--text-inv);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.split__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.split__panel > * { position: relative; }
.split__quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.45;
  color: #fff;
}
.split__quote em { color: var(--gold-400); }
.split__attrib {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
}

.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature + .feature { margin-top: 1.6rem; }
.feature__icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--gold-700);
  border: 1px solid var(--line);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.93rem; color: var(--text-500); }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--gold-400);
  line-height: 1.05;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-inv-dim);
  font-weight: 500;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-500);
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.91rem; color: var(--text-500); }

/* ---------- Pills ---------- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-700);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pill:hover { border-color: var(--gold-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pill svg { width: 15px; height: 15px; color: var(--gold-600); }
.section--dark .pill { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: var(--text-inv); }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-300);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.quote-card__text {
  font-size: 1rem;
  color: var(--text-700);
  font-style: italic;
  line-height: 1.7;
}
.quote-card__who { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.quote-card__avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-900);
  color: var(--gold-400);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
}
.quote-card__name { font-weight: 600; color: var(--text-900); font-size: 0.95rem; }
.quote-card__role { font-size: 0.82rem; color: var(--text-500); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; }
.accordion__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.accordion__item.open { border-color: var(--gold-400); box-shadow: var(--shadow-sm); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-900);
}
.accordion__btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-600);
  transition: transform 0.3s var(--ease);
}
.accordion__item.open .accordion__btn svg { transform: rotate(45deg); }
.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion__panel-inner {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.94rem;
  color: var(--text-500);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 350px at 85% 20%, rgba(198, 162, 91, 0.22), transparent 60%),
    linear-gradient(150deg, var(--ink-950), var(--ink-900) 60%, var(--ink-800));
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 22ch;
}
.cta-band h2 em { font-style: italic; color: var(--gold-400); }
.cta-band p { color: var(--text-inv-dim); margin-top: 0.6rem; max-width: 50ch; }
.cta-band__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}
.table th {
  background: var(--ink-900);
  color: var(--gold-300);
  text-align: left;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.table td {
  padding: 0.85rem 1.2rem;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.table tbody tr:nth-child(even) { background: var(--cream); }
.table tbody tr:hover { background: var(--cream-2); }
.table .date-chip {
  display: inline-block;
  background: var(--ink-900);
  color: var(--gold-300);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-500);
  transition: all 0.25s var(--ease);
}
.tab-btn:hover { border-color: var(--gold-400); color: var(--text-900); }
.tab-btn.active {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--gold-300);
  box-shadow: var(--shadow-md);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__field { display: grid; gap: 0.4rem; }
.form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-900);
}
.form__field label .req { color: var(--gold-600); }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__field textarea { resize: vertical; min-height: 130px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(198, 162, 91, 0.18);
}
.form__note { font-size: 0.82rem; color: var(--text-500); }
.form-success {
  display: none;
  background: #EDF7EE;
  border: 1px solid #BBDCBE;
  color: #23662A;
  padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
}
.form-success.show { display: flex; align-items: center; gap: 0.6rem; }
.form-success svg { width: 20px; height: 20px; flex: none; }

/* ---------- Contact cards ---------- */
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.contact-card p, .contact-card a { font-size: 0.93rem; color: var(--text-500); }
.contact-card a:hover { color: var(--gold-600); }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
  padding-left: 2.2rem;
  max-width: 760px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}
.timeline__item { position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.2rem;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.timeline__year {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.timeline__item h3 { font-size: 1.15rem; margin: 0.25rem 0 0.35rem; }
.timeline__item p { font-size: 0.93rem; color: var(--text-500); }

/* ---------- Profile ---------- */
.profile-card {
  background:
    radial-gradient(400px 260px at 85% 0%, rgba(198, 162, 91, 0.18), transparent 60%),
    linear-gradient(155deg, var(--ink-900), var(--ink-800));
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-inv);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1.3rem;
  justify-items: start;
}
.profile-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--ink-900);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.profile-card h3 { color: #fff; font-size: 1.5rem; }
.profile-card .creds { color: var(--gold-400); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; }
.profile-card p { font-size: 0.94rem; color: var(--text-inv-dim); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(198, 162, 91, 0.14);
  border: 1px solid rgba(198, 162, 91, 0.35);
  color: var(--gold-300);
}
.badge svg { width: 14px; height: 14px; }
.badge--light {
  background: var(--cream-2);
  border-color: var(--line);
  color: var(--gold-700);
}

/* ---------- Note / callout ---------- */
.note {
  background: var(--cream);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.92rem;
  color: var(--text-700);
}

/* ---------- Prose (long-form content on service pages) ---------- */
.prose { max-width: 72ch; }
.prose p + p { margin-top: 1rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 0.7rem; }
.prose ul { display: grid; gap: 0.5rem; margin: 1rem 0; }
.prose ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.96rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  color: var(--text-inv-dim);
  padding: 4.5rem 0 0;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand .brand__mark { background: var(--ink-800); }
.footer__brand p { margin-top: 1.1rem; max-width: 34ch; font-size: 0.9rem; }
.footer__col h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer__col h4::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  margin-top: 0.5rem;
  border-radius: 2px;
}
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { transition: color 0.2s, padding-left 0.2s; }
.footer__links a:hover { color: var(--gold-300); padding-left: 4px; }
.footer__contact { display: grid; gap: 0.85rem; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 0.25rem; color: var(--gold-500); }
.footer__contact a:hover { color: var(--gold-300); }

.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer__disclaimer {
  border-top: 1px solid var(--line-dark);
  padding: 1.2rem 0;
  font-size: 0.76rem;
  color: rgba(162, 178, 198, 0.65);
  line-height: 1.6;
}

/* ---------- Floating actions ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

.to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 5.6rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink-900);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
.js .reveal[data-delay="4"] { transition-delay: 0.4s; }

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

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }
.gold { color: var(--gold-600); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav__cta { display: none; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem 1.5rem;
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
  }
  .nav-open .nav__links { display: flex; }

  .nav__link { padding: 0.8rem 0.6rem; border-radius: 8px; font-size: 1rem; justify-content: space-between; }
  .nav__link.active::after { display: none; }
  .nav__link.active { background: var(--cream); }

  /* dropdowns render expanded inside the mobile panel */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--gold-300);
    border-radius: 0;
    margin: 0.2rem 0 0.4rem 0.9rem;
    padding: 0 0 0 0.4rem;
    min-width: 0;
  }
  .nav__link svg { display: none; }

  .split { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .topbar__note { display: none; }
  .brand__tag { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .table { min-width: 480px; }
}
