/* ═══════════════════════════════════════════════════════════
   Vishal Agarwal & Co — shared design system
   Used by: index.html, ai-automation.html, coaching.html
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────── RESET ─────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─────────────────── DESIGN TOKENS ─────────────────── */
:root {
  --navy-900: #0a1f3d;
  --navy-800: #0e2649;
  --navy-700: #1a3358;
  --navy-50:  #f4f6fa;

  --gold:     #c5a572;
  --gold-dk:  #a98856;
  --gold-lt:  #e8dbc0;

  --ink:      #0f1a2e;
  --slate:    #475569;
  --muted:    #64748b;
  --line:     #e6e9ef;
  --bg:       #fafaf7;
  --white:    #ffffff;

  --serif:    'Jost', 'Futura', 'Century Gothic', sans-serif;
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15,26,46,0.04), 0 1px 3px rgba(15,26,46,0.05);
  --shadow-md: 0 4px 16px rgba(15,26,46,0.06), 0 2px 6px rgba(15,26,46,0.04);
  --shadow-lg: 0 24px 60px rgba(15,26,46,0.10), 0 8px 24px rgba(15,26,46,0.06);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
}

/* ─────────────────── BASE ─────────────────── */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { padding: clamp(4.5rem, 9vw, 7rem) 0; }

/* Headings */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--navy-900); }
h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; font-family: var(--sans); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--slate);
  max-width: 640px;
  line-height: 1.7;
}

/* ─────────────────── BUTTONS ─────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  transition: all .25s ease;
  letter-spacing: 0.005em;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
}
.btn-ghost:hover { background: var(--navy-900); color: var(--white); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  color: var(--navy-900);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn svg { width: 14px; height: 14px; }

/* ─────────────────── HEADER ─────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.site-header.scrolled {
  padding: 0.7rem 0;
  background: rgba(250, 250, 247, 0.92);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  color: var(--navy-900);
}
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--navy-900);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text span { font-size: 0.68rem; font-family: var(--sans); color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; margin-top: 2px; }

nav.primary ul { display: flex; gap: 2.2rem; list-style: none; align-items: center; }
nav.primary a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  transition: color .2s;
  position: relative;
}
nav.primary a:hover, nav.primary a.active { color: var(--navy-900); }
nav.primary a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
nav.primary a:hover::after, nav.primary a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy-900);
  place-items: center;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,31,61,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 1.6rem var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-top .brand strong { color: var(--white); }
.mobile-nav-top .brand span { color: rgba(255,255,255,0.55); }
.mobile-nav .close {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  display: grid; place-items: center;
}
.mobile-nav .close svg { width: 20px; height: 20px; }
.mobile-nav ul { list-style: none; margin-top: 3rem; display: grid; gap: 0.4rem; }
.mobile-nav ul a {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--white);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav ul a:hover { color: var(--gold); }
.mobile-nav .mobile-cta { margin-top: auto; }

@media (max-width: 860px) {
  nav.primary { display: none; }
  .nav-actions .btn { display: none; }
  .menu-toggle { display: grid; }
}

/* ─────────────────── PAGE HERO (subpages) ─────────────────── */
.page-hero {
  position: relative;
  padding: clamp(8rem, 15vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 80% 0%, rgba(197,165,114,0.12), transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 100%, rgba(10,31,61,0.05), transparent 60%),
    var(--bg);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,31,61,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,31,61,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 20%, black 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero h1 .accent { font-style: italic; color: var(--gold-dk); font-weight: 800; }
.page-hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.page-hero .hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2.4rem; }

.breadcrumb {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted);
  letter-spacing: 0.04em; margin-bottom: 1.6rem;
}
.breadcrumb a:hover { color: var(--gold-dk); }
.breadcrumb span { color: var(--gold); }

/* ─────────────────── SECTION HEAD ─────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; margin-bottom: 2.8rem; } }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; margin-bottom: 3.5rem; }
.section-head.center .lede { margin: 0 auto; }

/* ─────────────────── CARD GRID (services / features) ─────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(197,165,114,0.04) 100%);
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--navy-50);
  color: var(--navy-900);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 1.4rem;
  transition: all .3s;
}
.feature-card:hover .feature-icon {
  background: var(--navy-900);
  color: var(--gold);
}
.feature-icon svg { width: 22px; height: 22px; stroke-width: 1.6; }

.feature-card h3 { color: var(--navy-900); margin-bottom: 0.6rem; position: relative; z-index: 1; }
.feature-card p { font-size: 0.94rem; color: var(--slate); line-height: 1.65; position: relative; z-index: 1; }

/* ─────────────────── PROCESS STEPS ─────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 1.8rem 1.6rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
  transition: all .3s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold-lt); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.step h3 { color: var(--navy-900); margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--slate); line-height: 1.6; }

/* ─────────────────── CHECK LIST ─────────────────── */
.check-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.check-list li { list-style: none; display: flex; gap: 0.9rem; align-items: start; color: var(--slate); font-size: 1rem; line-height: 1.6; }
.check-list li .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--navy-50);
  color: var(--gold-dk);
  display: grid; place-items: center;
  margin-top: 1px;
}
.check-list li .tick svg { width: 14px; height: 14px; stroke-width: 3; }
.check-list li strong { color: var(--navy-900); font-weight: 600; }

/* ─────────────────── SPLIT (text + panel) ─────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.8rem; } }

.panel-dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 2.6rem;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.panel-dark::after {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(197,165,114,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.panel-dark h3, .panel-dark h2 { color: var(--white); position: relative; z-index: 1; }
.panel-dark p { color: rgba(255,255,255,0.78); position: relative; z-index: 1; line-height: 1.7; }
.panel-stat { display: grid; gap: 1.2rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.panel-stat div { display: flex; justify-content: space-between; font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.panel-stat div strong { color: var(--white); font-weight: 500; }

/* ─────────────────── CTA BAND ─────────────────── */
.cta-band {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(197,165,114,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 680px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-inner p { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 2.2rem; }
.cta-inner .hero-ctas { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ─────────────────── TEASER (home -> subpage) ─────────────────── */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 820px) { .teaser-grid { grid-template-columns: 1fr; } }

.teaser {
  position: relative;
  border-radius: var(--r-lg);
  padding: 2.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.teaser .teaser-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-dk); margin-bottom: 1rem;
}
.teaser h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--navy-900); margin-bottom: 0.8rem; }
.teaser p { color: var(--slate); font-size: 0.98rem; line-height: 1.7; margin-bottom: 1.6rem; }
.teaser .teaser-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.92rem; color: var(--navy-900);
}
.teaser .teaser-link svg { width: 16px; height: 16px; transition: transform .25s; }
.teaser:hover .teaser-link svg { transform: translateX(4px); }
.teaser.dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.teaser.dark .teaser-tag { color: var(--gold); }
.teaser.dark h3 { color: var(--white); }
.teaser.dark p { color: rgba(255,255,255,0.72); }
.teaser.dark .teaser-link { color: var(--gold-lt); }

/* ─────────────────── CONTACT ─────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info { display: grid; gap: 1.8rem; margin-top: 2.5rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: start; }
.contact-item .icon {
  width: 42px; height: 42px;
  background: var(--navy-50);
  color: var(--navy-900);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-item .icon svg { width: 18px; height: 18px; stroke-width: 1.7; }
.contact-item h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.contact-item p, .contact-item a { font-size: 1rem; color: var(--ink); line-height: 1.55; }
.contact-item a:hover { color: var(--gold-dk); }

.map-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--r-lg);
  padding: 3rem 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.map-card::before {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(197,165,114,0.2), transparent 70%);
}
.map-card-eyebrow { color: var(--gold-lt); font-size: 0.7rem; letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase; margin-bottom: 0.8rem; }
.map-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--white); margin-bottom: 1.5rem; line-height: 1.3; }
.map-card address { font-style: normal; color: rgba(255,255,255,0.8); font-size: 0.98rem; line-height: 1.8; position: relative; z-index: 1; }
.map-card .hours { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.map-card .hours div { display: flex; justify-content: space-between; font-size: 0.9rem; color: rgba(255,255,255,0.75); padding: 0.35rem 0; }
.map-card .hours div strong { color: var(--white); font-weight: 500; }

/* ─────────────────── FOOTER ─────────────────── */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand { font-family: var(--serif); color: var(--white); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.8rem; }
.footer-brand-sub { color: rgba(255,255,255,0.5); font-size: 0.85rem; max-width: 320px; line-height: 1.6; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col a { display: block; padding: 0.35rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }
.footer-credential { color: rgba(255,255,255,0.4); }

/* ─────────────────── REVEAL ANIMATIONS ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .mobile-nav { transition: none; }
}
