:root {
  --navy: #102A43;
  --navy-dark: #0B1D2E;
  --slate: #486581;
  --gold: #D9A441;
  --gold-dark: #B8872F;
  --gold-soft: #F3E2B9;
  --cream: #F7F4EF;
  --stone: #ECE7DF;
  --charcoal: #1F2933;
  --muted: #617287;
  --white: #FFFFFF;
  --max: 1180px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(16, 42, 67, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 {
  color: var(--navy);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 { font-size: clamp(44px, 7vw, 82px); margin-bottom: 24px; }
h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 12px; }
p { color: var(--slate); }

.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.narrow { width: min(100% - 40px, 920px); margin: 0 auto; }
.section { padding: 88px 0; }
.section-tight { padding: 58px 0; }
.section-header { max-width: 760px; margin-bottom: 42px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid rgba(217, 164, 65, 0.38);
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.12);
  color: #8A671F;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lead { font-size: 20px; line-height: 1.7; color: var(--slate); }
.small { font-size: 14px; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(16, 42, 67, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-icon {
  width: 42px; height: 42px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), #F6D58B);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-title { font-size: 14px; font-weight: 900; letter-spacing: 0.03em; }
.brand-subtitle { margin-top: 2px; font-size: 12px; color: rgba(255,255,255,0.68); }
.nav-links { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--white); color: var(--navy) !important; font-weight: 900; }
.nav-toggle { display: none; border: 0; background: transparent; color: var(--white); font-size: 28px; cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(217,164,65,0.28), transparent 34%),
    radial-gradient(circle at 10% 70%, rgba(72,101,129,0.32), transparent 38%),
    var(--navy);
  color: var(--white);
}
.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  padding: 92px 0;
}
.hero h1, .hero h2, .hero h3 { color: var(--white); }
.hero p { color: rgba(255,255,255,0.78); }
.hero .lead { max-width: 680px; color: rgba(255,255,255,0.82); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.proof-item {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
.proof-item strong { display: block; color: var(--white); margin-bottom: 4px; }

.profile-card {
  position: relative;
  padding: 18px;
  border-radius: 38px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.profile-frame {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #E9DFD0, #FFFFFF);
  min-height: 520px;
  display: grid;
  place-items: center;
}
.profile-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}
.profile-fallback {
  display: none;
  padding: 40px;
  text-align: center;
  color: var(--navy);
}
.profile-fallback .initials {
  width: 118px;
  height: 118px;
  margin: 0 auto 18px;
  border-radius: 40px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
}
.image-missing img { display: none; }
.image-missing .profile-fallback { display: block; }
.profile-caption {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 38px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(11,29,46,0.86);
  color: var(--white);
  backdrop-filter: blur(16px);
}
.profile-caption strong { display: block; font-size: 18px; }
.profile-caption span { color: rgba(255,255,255,0.72); font-size: 14px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); color: var(--navy); box-shadow: 0 16px 34px rgba(217,164,65,0.22); }
.button-primary:hover { background: #F1C66E; }
.button-secondary { border-color: rgba(16,42,67,0.18); background: var(--white); color: var(--navy); }
.hero .button-secondary { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.10); color: var(--white); }
.button-ghost { border-color: rgba(16,42,67,0.2); color: var(--navy); background: transparent; }
.button-full { width: 100%; }

.strip {
  margin-top: -34px;
  position: relative;
  z-index: 5;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.strip-item { padding: 24px; border-right: 1px solid rgba(16,42,67,0.08); }
.strip-item:last-child { border-right: 0; }
.strip-item strong { display: block; color: var(--navy); margin-bottom: 6px; }
.strip-item span { color: var(--muted); font-size: 14px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  padding: 30px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.08);
  box-shadow: 0 16px 38px rgba(16,42,67,0.08);
}
.card.featured { background: var(--navy); color: var(--white); }
.card.featured h3, .card.featured p { color: var(--white); }
.card.featured p { color: rgba(255,255,255,0.76); }
.card .number {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(217,164,65,0.14);
  color: #8A671F;
  font-weight: 900;
  margin-bottom: 16px;
}
.list-clean { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.list-clean li { color: var(--slate); padding-left: 24px; position: relative; }
.list-clean li::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--gold); position: absolute; left: 0; top: 9px; }
.card.featured .list-clean li { color: rgba(255,255,255,0.78); }

.page-hero { background: var(--navy); color: var(--white); padding: 78px 0; }
.page-hero h1 { color: var(--white); max-width: 900px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 760px; }
.page-hero .kicker { color: #F6D58B; border-color: rgba(246,213,139,0.36); background: rgba(246,213,139,0.1); }

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}
.panel {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.08);
  box-shadow: var(--shadow);
}
.gold-panel { background: #FCF6E9; border-color: rgba(217,164,65,0.2); }

.form-card {
  padding: 34px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.08);
  box-shadow: var(--shadow);
}
.fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.legend, label.question-label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 900;
}
.input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16,42,67,0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: #FFFFFF;
  color: var(--charcoal);
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(16,42,67,0.12);
  border-radius: 14px;
  background: #FBFAF7;
  color: var(--charcoal);
}
.option input { margin-top: 4px; }
.question-group { display: none; }
.question-group.active { display: block; }
.result-panel { display: none; margin-top: 28px; }
.result-panel.active { display: block; }
.recommendation-box {
  padding: 22px;
  border-radius: 20px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 18px;
}
.recommendation-box h3, .recommendation-box p { color: var(--white); }
.recommendation-box p { color: rgba(255,255,255,0.76); margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 26px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.08);
}
.contact-item span { color: var(--muted); }
.calendar-box {
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid rgba(16,42,67,0.1);
  box-shadow: var(--shadow);
}
.calendar-placeholder {
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(217,164,65,0.14), transparent 32%),
    #FFFFFF;
}
.code-pill {
  display: inline-flex;
  margin: 12px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,42,67,0.08);
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.footer {
  padding: 46px 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer h2, .footer h3 { color: var(--white); }
.footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px 28px;
    background: var(--navy-dark);
  }
  .nav-links.open { display: flex; }
  .hero-grid, .split-panel, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 70px 0 96px; }
  .hero-proof, .strip-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .strip { margin-top: 0; }
  .strip-item { border-right: 0; border-bottom: 1px solid rgba(16,42,67,0.08); }
  .strip-item:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .section { padding: 64px 0; }
  .profile-frame, .profile-frame img { min-height: 390px; }
  .profile-caption { position: static; margin-top: 12px; }
  .button { width: 100%; }
  .form-card, .panel, .card { padding: 24px; }
}
