/* ============================================================
   Wealth Wise — Private Wealth Counsel
   Main Stylesheet
   ============================================================ */

/* ────────────────────────────────────────────
   Design Tokens
   ──────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy: #0f172a;
  --gold: #c9a962;
  --ivory: #faf9f6;
  --sand: #e8e4df;
  --slate: #64748b;
  --ink: #111827;

  /* Derived Colors */
  --line: rgba(15, 23, 42, 0.12);
  --line-dark: rgba(250, 249, 246, 0.14);
  --surface: #ffffff;
  --surface-alt: #f6f3ee;
  --gold-hover: #b8963f;

  /* Layout */
  --max: 1200px;
  --r-sm: 12px;
  --r-lg: 24px;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 60px rgba(0, 0, 0, 0.22);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

/* ────────────────────────────────────────────
   Skip Link (Accessibility)
   ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-6);
  z-index: 100;
  padding: var(--space-3) var(--space-6);
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ────────────────────────────────────────────
   Container
   ──────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ────────────────────────────────────────────
   Header
   ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.site-header .container {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-text {
  min-width: 0;
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  line-height: 0.9;
  color: var(--navy);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #243042;
  font-size: 14px;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--navy);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ────────────────────────────────────────────
   CTA Buttons
   ──────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.cta.primary {
  background: var(--gold);
  color: var(--navy);
}

.cta.primary:hover,
.cta.primary:focus-visible {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.3);
}

.cta.secondary {
  border: 1px solid rgba(250, 249, 246, 0.24);
  color: var(--ivory);
  background: transparent;
}

.cta.secondary:hover,
.cta.secondary:focus-visible {
  border-color: rgba(250, 249, 246, 0.5);
  background: rgba(250, 249, 246, 0.08);
}

.cta.ghost {
  border: 1px solid var(--line);
  color: var(--navy);
  background: transparent;
}

.cta.ghost:hover,
.cta.ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 98, 0.06);
}

.cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ────────────────────────────────────────────
   Hamburger Menu
   ──────────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 32;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(340px, 85vw);
  background: var(--ivory);
  padding: 96px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-inner {
  transform: translateX(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.mobile-menu-nav a {
  font-size: 18px;
  color: var(--navy);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}

.mobile-menu-nav a:hover {
  color: var(--gold);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-menu-actions .cta {
  width: 100%;
}

.mobile-menu-actions .cta.ghost {
  border-color: var(--navy);
}

/* ────────────────────────────────────────────
   Hero
   ──────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 56px 0 104px;
  position: relative;
  overflow: hidden;
}

/* Abstract SVG texture: radial glow + diamond grid */
.hero::before {
  content: '';
  position: absolute;
  inset: auto -10% -20% 45%;
  height: 480px;
  background: radial-gradient(circle at center, rgba(201, 169, 98, 0.16), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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%3Crect x='25' y='10' width='10' height='10' transform='rotate(45 30 15)' fill='none' stroke='%23C9A962' stroke-width='0.5'/%3E%3Crect x='25' y='40' width='10' height='10' transform='rotate(45 30 45)' fill='none' stroke='%23C9A962' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
  min-height: 620px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d7c7a1;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(3.5rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 10ch;
  margin-bottom: 24px;
}

.hero-copy p {
  font-size: 20px;
  max-width: 34ch;
  color: rgba(250, 249, 246, 0.82);
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.cred-line {
  font-size: 14px;
  color: #d2d8e2;
}

/* Hero Panel */
.hero-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  min-height: 520px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Subtle texture on panel */
.hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='40' x2='40' y2='0' stroke='%23C9A962' stroke-width='0.3'/%3E%3C/svg%3E");
  pointer-events: none;
}

.panel-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
}

.diamond {
  width: 92px;
  height: 92px;
  position: relative;
}

.diamond::before,
.diamond::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: rotate(45deg);
}

.diamond::before {
  border: 2px solid var(--gold);
}

.diamond::after {
  inset: 22px;
  background: rgba(201, 169, 98, 0.28);
}

.panel-wordmark {
  text-align: center;
}

.panel-wordmark .name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 58px;
  line-height: 0.95;
}

.panel-rule {
  width: 160px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto 0;
}

.panel-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bdc7d6;
  margin-top: 16px;
}

.panel-notes {
  display: grid;
  gap: 12px;
}

.panel-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 249, 246, 0.08);
  font-size: 14px;
  color: #dce3ef;
}

.panel-note span:last-child {
  color: #fff;
  text-align: right;
}

/* ────────────────────────────────────────────
   Trust Band
   ──────────────────────────────────────────── */
.trust-band {
  background: #f4efe7;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.trust-item:not(:last-child) {
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

/* ────────────────────────────────────────────
   Sections (General)
   ──────────────────────────────────────────── */
section {
  padding: 96px 0;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}

.lede {
  font-size: 18px;
  color: #445066;
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ────────────────────────────────────────────
   Family Office Section
   ──────────────────────────────────────────── */
.family-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  align-items: start;
}

.family-grid h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  margin-bottom: 20px;
  max-width: 10ch;
  color: var(--navy);
}

.family-grid p {
  max-width: 56ch;
  color: #3a4558;
  margin: 0 0 18px;
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.summary-card h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 18px;
}

.summary-list {
  display: grid;
  gap: 16px;
}

.summary-item {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.summary-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-item strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.summary-item span {
  font-size: 14px;
  color: #556176;
}

/* ────────────────────────────────────────────
   Stewardship Section
   ──────────────────────────────────────────── */
.split-intro {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 32px;
}

.split-intro h2 {
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  color: var(--navy);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

/* Abstract geometric line accent on cards */
.card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='80' y2='80' stroke='%23C9A962' stroke-width='0.5'/%3E%3Cline x1='20' y1='0' x2='80' y2='60' stroke='%23C9A962' stroke-width='0.5'/%3E%3Cline x1='40' y1='0' x2='80' y2='40' stroke='%23C9A962' stroke-width='0.5'/%3E%3Cline x1='60' y1='0' x2='80' y2='20' stroke='%23C9A962' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.card .kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.card h3 {
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  margin: 0 0 18px;
  color: #526075;
  font-size: 15px;
}

.product-list {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.product-list div {
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 14px;
  color: var(--navy);
}

/* ────────────────────────────────────────────
   Who We Serve
   ──────────────────────────────────────────── */
.serve-wrap {
  background: var(--surface-alt);
}

.serve-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
}

.serve-intro h2 {
  font-size: clamp(2.25rem, 3vw, 3.4rem);
  margin-bottom: 16px;
  color: var(--navy);
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.serve-card {
  padding: 32px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.3s ease;
}

.serve-card:hover {
  background: rgba(255, 255, 255, 0.75);
}

.serve-card strong {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 14px;
}

.serve-card div {
  color: #3a4558;
  font-size: 15px;
  line-height: 1.6;
}

/* ────────────────────────────────────────────
   Relationships
   ──────────────────────────────────────────── */
.relationships {
  background: var(--surface);
}

.relationships-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}

.relationships-intro h2 {
  font-size: clamp(2.25rem, 3vw, 3.4rem);
  margin-bottom: 16px;
  color: var(--navy);
}

.relationships-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}

.map-wrap {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.india-map {
  width: 100%;
  height: auto;
  display: block;
}

.india-map .city-dots circle {
  fill: var(--gold);
  opacity: 0.85;
}

.map-cities {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.8;
  text-align: center;
}

.profile-list {
  display: grid;
  gap: 0;
}

.profile-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.profile-item:last-child {
  border-bottom: 1px solid var(--line);
}

.profile-item strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: 'Inter', sans-serif;
}

.profile-item div {
  color: #3a4558;
  font-size: 15px;
  line-height: 1.6;
}

.nri-line {
  text-align: center;
  font-size: 14px;
  color: var(--slate);
  margin-top: 32px;
  font-style: italic;
}

/* ────────────────────────────────────────────
   Process
   ──────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  padding: 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  position: relative;
}

.step-no {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  color: #566278;
  font-size: 15px;
}

/* ────────────────────────────────────────────
   Why Independent
   ──────────────────────────────────────────── */
.independent {
  background: var(--navy);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

/* Abstract SVG texture: diamond lattice */
.independent::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='35' y='15' width='10' height='10' transform='rotate(45 40 20)' fill='none' stroke='%23FAF9F6' stroke-width='0.5'/%3E%3Crect x='35' y='55' width='10' height='10' transform='rotate(45 40 60)' fill='none' stroke='%23FAF9F6' stroke-width='0.5'/%3E%3Crect x='15' y='35' width='10' height='10' transform='rotate(45 20 40)' fill='none' stroke='%23FAF9F6' stroke-width='0.5'/%3E%3Crect x='55' y='35' width='10' height='10' transform='rotate(45 60 40)' fill='none' stroke='%23FAF9F6' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.independent-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.independent h2 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  max-width: 8ch;
}

.independent p {
  color: #d8deea;
  font-size: 18px;
  max-width: 44ch;
  margin: 0 0 24px;
}

.proof-list {
  display: grid;
  gap: 16px;
}

.proof {
  padding-top: 16px;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

/* ────────────────────────────────────────────
   Contact
   ──────────────────────────────────────────── */
#contact {
  position: relative;
  overflow: hidden;
}

/* Subtle concentric diamond ripples */
#contact::before {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='175' y='175' width='50' height='50' transform='rotate(45 200 200)' fill='none' stroke='%23C9A962' stroke-width='1'/%3E%3Crect x='150' y='150' width='100' height='100' transform='rotate(45 200 200)' fill='none' stroke='%23C9A962' stroke-width='0.8'/%3E%3Crect x='125' y='125' width='150' height='150' transform='rotate(45 200 200)' fill='none' stroke='%23C9A962' stroke-width='0.6'/%3E%3Crect x='100' y='100' width='200' height='200' transform='rotate(45 200 200)' fill='none' stroke='%23C9A962' stroke-width='0.4'/%3E%3C/svg%3E");
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  margin-bottom: 16px;
  color: var(--navy);
}

.contact-copy p {
  color: #4e5b71;
  margin: 0 0 22px;
  max-width: 42ch;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.whatsapp-link:hover {
  color: #25D366;
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  fill: #25D366;
}

.contact-trust {
  font-size: 14px;
  color: var(--slate);
}

/* Form */
.form-shell {
  background: linear-gradient(180deg, #fff, #fbfaf8);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin-bottom: 22px;
}

.form-head strong {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fbfaf8;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.12);
}

.form-field textarea {
  height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

.form-submit {
  height: 52px;
  width: 100%;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.form-submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.form-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.embed-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 16px;
  background: #f7f3ea;
  font-size: 14px;
  color: #526075;
}

/* ────────────────────────────────────────────
   AMC Affiliations Marquee
   ──────────────────────────────────────────── */
.amc-section {
  background: var(--surface-alt);
  padding: 48px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.amc-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 28px;
}

.amc-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.amc-track:hover {
  animation-play-state: paused;
}

.amc-set {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}

.amc-logo {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  white-space: nowrap;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.3s ease;
  user-select: none;
}

.amc-logo:hover {
  opacity: 0.9;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ────────────────────────────────────────────
   Registration Modal
   ──────────────────────────────────────────── */
.reg-trigger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #263247;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
}

.reg-trigger:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.reg-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.reg-overlay.open {
  opacity: 1;
  visibility: visible;
}

.reg-modal {
  background: var(--ivory);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(12px);
  transition: transform 0.3s ease;
}

.reg-overlay.open .reg-modal {
  transform: translateY(0);
}

.reg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease;
}

.reg-modal-close:hover {
  border-color: var(--navy);
}

.reg-modal-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--navy);
}

.reg-modal h3 {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}

.reg-modal .reg-sub {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 28px;
}

.reg-list {
  display: grid;
  gap: 16px;
}

.reg-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.reg-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.reg-item dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}

.reg-item dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

/* ────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 44px 0 52px;
  background: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-grid .brand-name {
  font-size: 42px;
}

.footer-line {
  color: #4c576d;
  max-width: 26ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
}

.footer-col a,
.footer-col div {
  display: block;
  color: #263247;
  margin-bottom: 10px;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

/* Footer Social Icons */
.footer-col .footer-social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.footer-col .footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 0;
  transition: border-color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #64748b;
  transition: fill 0.2s ease;
}

.footer-social a:hover svg {
  fill: var(--gold);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--slate);
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--slate);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--navy);
}

/* ────────────────────────────────────────────
   Mobile WhatsApp Bar
   ──────────────────────────────────────────── */
.mobile-whatsapp {
  display: none;
}

/* ────────────────────────────────────────────
   Cookie Consent Banner
   ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  color: rgba(250, 249, 246, 0.82);
  flex: 1;
  min-width: 200px;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-accept:hover {
  background: var(--gold-hover);
}

.cookie-decline {
  padding: 10px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--ivory);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(250, 249, 246, 0.24);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cookie-decline:hover {
  border-color: rgba(250, 249, 246, 0.5);
}

/* ────────────────────────────────────────────
   Legal Pages
   ──────────────────────────────────────────── */
.legal-page {
  padding: 64px 0 96px;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 8px;
  max-width: none;
}

.legal-page .last-updated {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 40px 0 16px;
}

.legal-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 24px 0 12px;
}

.legal-content p {
  color: #3a4558;
  margin: 0 0 16px;
  max-width: 72ch;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  color: #3a4558;
  margin: 0 0 16px;
  padding-left: 24px;
  max-width: 72ch;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ────────────────────────────────────────────
   Responsive — Tablet (≤ 1024px)
   ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .family-grid,
  .split-intro,
  .independent-grid,
  .contact-grid,
  .relationships-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .serve-grid,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel {
    min-height: 420px;
  }

  .map-wrap {
    max-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ────────────────────────────────────────────
   Responsive — Mobile (≤ 720px)
   ──────────────────────────────────────────── */
@media (max-width: 720px) {
  .container {
    padding: 0 20px;
  }

  .site-header .container {
    height: 72px;
  }

  .brand-name {
    font-size: 28px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .login-cta {
    display: none;
  }

  .hero {
    padding: 24px 0 64px;
  }

  .hero-grid {
    gap: 28px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3rem);
    margin-bottom: 20px;
  }

  .hero-copy p {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }

  .cta-row .cta {
    width: 100%;
  }

  .hero-panel {
    padding: 28px;
    min-height: 260px;
    border-radius: 22px;
  }

  .panel-wordmark .name {
    font-size: 42px;
  }

  .panel-note {
    font-size: 13px;
  }

  .trust-grid,
  .cards,
  .serve-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    padding: 18px 14px;
    text-align: left;
  }

  .trust-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  section {
    padding: 56px 0;
  }

  .family-grid h2,
  .split-intro h2,
  .serve-intro h2,
  .independent h2,
  .contact-copy h2 {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .card,
  .summary-card,
  .serve-card,
  .process-step,
  .form-shell {
    padding: 24px;
  }

  .process-step {
    border-left: 1px solid rgba(15, 23, 42, 0.12);
    border-top: none;
    padding-left: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    padding-bottom: 96px;
  }

  .mobile-whatsapp {
    display: flex;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 56px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--ivory);
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
    z-index: 30;
    transition: background 0.2s ease;
  }

  .mobile-whatsapp:hover {
    background: #1a2744;
  }

  .mobile-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: var(--ivory);
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }

  .amc-set {
    gap: 36px;
    padding-right: 36px;
  }

  .amc-logo {
    font-size: 13px;
  }

  .amc-section {
    padding: 32px 0;
  }

  .reg-modal {
    padding: 28px;
  }

  .reg-modal h3 {
    font-size: 22px;
  }
}

/* ────────────────────────────────────────────
   Print Styles
   ──────────────────────────────────────────── */
@media print {
  .site-header,
  .mobile-whatsapp,
  .cookie-banner,
  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
  }

  .hero {
    background: #fff;
    color: #000;
  }

  .independent {
    background: #fff;
    color: #000;
  }

  section {
    padding: 24px 0;
    page-break-inside: avoid;
  }
}
