:root {
  --navy-950: #041326;
  --navy-900: #071a33;
  --navy-800: #0c284b;
  --navy-700: #123b68;
  --gold-500: #c79a45;
  --gold-400: #dfbd70;
  --gold-200: #f3e4bd;
  --ink: #102039;
  --muted: #5d6879;
  --line: #dce2e9;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --green: #168f54;
  --shadow: 0 20px 60px rgba(4, 19, 38, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: white;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(7, 26, 51, .08);
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold-400);
  border-radius: 50%;
  color: var(--gold-400);
  background: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-copy { display: grid; gap: 5px; }
.brand-copy strong {
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .03em;
}
.brand-copy small {
  color: #916a25;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: #263950;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--navy-700); }
.main-nav .nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  color: white;
  background: var(--navy-900);
}
.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(7, 26, 51, .98) 0%, rgba(12, 40, 75, .98) 58%, #123b68 100%);
  color: white;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(120deg, transparent 47%, rgba(255,255,255,.18) 47.3%, transparent 47.6%);
  background-size: 42px 42px;
}
.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  right: -230px;
  top: -300px;
  background: radial-gradient(circle, rgba(223, 189, 112, .24), rgba(223, 189, 112, 0) 68%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: center;
  gap: 70px;
  min-height: 680px;
  padding-block: 72px;
}
.eyebrow {
  margin: 0 0 18px;
  color: #a27124;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--gold-400); }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; }
h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -.035em;
}
h1 em { color: var(--gold-400); font-style: normal; }
.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #d9e2ed;
  font-size: clamp(18px, 2vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 42px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f0d89a, var(--gold-500));
  box-shadow: 0 10px 26px rgba(199, 154, 69, .26);
}
.button-secondary { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.trust-row div { padding-left: 14px; border-left: 1px solid rgba(223, 189, 112, .45); }
.trust-row dt { color: #aebdd0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trust-row dd { margin: 4px 0 0; color: white; font-size: 14px; font-weight: 700; }
.hero-portrait { position: relative; justify-self: end; width: min(100%, 470px); }
.portrait-ring {
  padding: 9px;
  border: 1px solid rgba(223, 189, 112, .6);
  border-radius: 50%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}
.portrait-ring img { width: 100%; border-radius: 50%; }
.portrait-caption {
  position: absolute;
  right: -8px;
  bottom: 26px;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 15px 18px;
  border: 1px solid rgba(223, 189, 112, .4);
  border-radius: 14px;
  background: rgba(4, 19, 38, .9);
  box-shadow: var(--shadow);
}
.portrait-caption span { color: white; font-family: Georgia, serif; font-size: 19px; }
.portrait-caption small { color: var(--gold-400); font-size: 12px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}
.section-heading.compact { grid-template-columns: 1fr; }
.section-heading h2, .advisor-copy h2, .carriers h2, .contact h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--navy-900);
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 500;
  letter-spacing: -.025em;
}
.section-heading > p { margin: 0; color: var(--muted); font-size: 18px; }
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
  overflow: hidden;
  border: 1px solid #e2e7ed;
  border-radius: var(--radius-md);
  background: white;
  box-shadow: 0 12px 30px rgba(7, 26, 51, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.service-card > div { padding: 22px; }
.service-card h3 { margin-bottom: 9px; color: var(--navy-900); font-size: 20px; }
.service-card p { min-height: 78px; margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.service-card a, .text-link { color: #8a641f; font-size: 14px; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.advisor { position: relative; overflow: hidden; color: white; background: var(--navy-950); }
.advisor-grid { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 90px; }
.advisor-art {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(223, 189, 112, .3);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #173e68 0, var(--navy-950) 68%);
}
.advisor-art::before, .advisor-art::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(223, 189, 112, .23);
  border-radius: 50%;
}
.advisor-art::after { inset: 20%; }
.advisor-monogram { color: var(--gold-400); font-family: Georgia, serif; font-size: clamp(72px, 12vw, 150px); font-style: italic; letter-spacing: -.12em; padding-right: .12em; }
.advisor-line { position: absolute; width: 55%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); transform: rotate(-32deg); }
.advisor-copy .eyebrow { color: var(--gold-400); }
.advisor-copy h2 { color: white; }
.advisor-copy > p:not(.eyebrow) { max-width: 720px; color: #cdd8e5; font-size: 18px; }
.advisor-copy .text-link { display: inline-block; margin-top: 10px; color: var(--gold-400); }

.process { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.process-grid li { position: relative; padding: 32px; border-top: 1px solid var(--gold-500); background: linear-gradient(180deg, rgba(243, 228, 189, .24), transparent 70%); }
.process-grid span { display: block; margin-bottom: 22px; color: var(--gold-500); font-family: Georgia, serif; font-size: 42px; }
.process-grid h3 { margin-bottom: 10px; color: var(--navy-900); font-size: 21px; }
.process-grid p { margin: 0; color: var(--muted); }

.carriers { background: #f8f9fb; }
.carrier-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: 70px; }
.carriers h2 { margin-bottom: 22px; }
.carriers p { color: var(--muted); font-size: 18px; }
.carriers .fine-print { font-size: 13px; }
.carrier-art { overflow: hidden; border: 1px solid #e4e7eb; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.carrier-art img { width: 100%; }

.contact { color: white; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr); align-items: start; gap: 80px; }
.contact .eyebrow { color: var(--gold-400); }
.contact h2 { color: white; }
.contact-copy > p:not(.eyebrow) { color: #d8e1ec; font-size: 18px; }
.contact-card { display: grid; gap: 5px; margin-top: 32px; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); background: rgba(255,255,255,.06); }
.contact-card strong { margin-bottom: 4px; color: var(--gold-400); }
.contact-card span { color: #d5dfeb; }
.contact-card a { margin-top: 12px; color: white; font-family: Georgia, serif; font-size: 25px; font-weight: 600; text-decoration: none; }
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: white;
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
}
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfd7e1;
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(199,154,69,.23); border-color: var(--gold-500); }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-700); }
.consent button, .footer-links button { border: 0; padding: 0; color: #795617; background: transparent; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.quote-form .button { width: 100%; border: 0; }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.site-footer { padding: 52px 0 26px; color: #d2dce8; background: #020d1b; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr auto; align-items: center; gap: 50px; }
.footer-brand .brand-copy strong { color: white; }
.footer-grid p { margin: 0; font-size: 14px; }
.footer-links { display: grid; justify-items: end; gap: 8px; }
.footer-links a, .footer-links button { color: #d2dce8; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #8191a5; font-size: 12px; }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  padding: 13px 18px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(9, 82, 46, .35);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.privacy-dialog { width: min(680px, calc(100% - 32px)); max-height: 84vh; padding: 0; border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.privacy-dialog::backdrop { background: rgba(2, 13, 27, .72); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; color: var(--navy-900); font-size: 28px; }
.dialog-head button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; font-size: 27px; }
.dialog-body { max-height: 52vh; overflow: auto; padding: 24px 28px; }
.dialog-body p { margin-top: 0; color: var(--muted); }
.dialog-body .fine-print { font-size: 13px; }
.dialog-close { margin: 0 28px 28px; border: 0; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 36px; min-height: 620px; }
  .portrait-caption { right: 0; bottom: -15px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card p { min-height: 0; }
  .advisor-grid, .carrier-grid { gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-form { max-width: 760px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 640px); }
  .section { padding: 76px 0; }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: inline-flex; align-items: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; font-weight: 750; }
  .main-nav {
    position: absolute;
    inset: 72px 0 auto;
    display: none;
    align-items: stretch;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 18px 32px rgba(7,26,51,.09);
  }
  .main-nav.open { display: grid; gap: 18px; }
  .main-nav .nav-cta { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-block: 68px 82px; }
  .hero-portrait { width: min(90%, 430px); justify-self: center; }
  h1 { font-size: clamp(42px, 14vw, 60px); }
  .trust-row { grid-template-columns: 1fr; gap: 16px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-card > div { padding: 18px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { font-size: 14px; }
  .advisor-grid, .carrier-grid { grid-template-columns: 1fr; }
  .advisor-art { width: min(86%, 410px); justify-self: center; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 42px; }
  .quote-form { grid-template-columns: 1fr; padding: 24px; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-items: start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-copy strong { font-size: 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions { display: grid; }
  .portrait-caption { position: relative; right: auto; bottom: auto; width: calc(100% - 28px); margin: -30px auto 0; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
