:root {
  --navy: #071833;
  --navy-mid: #12284a;
  --ink: #172033;
  --muted: #5c6b80;
  --line: #e6e1d6;
  --paper: #f4f1ea;
  --white: #fffcf7;
  --card: #ffffff;
  --teal: #0c7c86;
  --teal-deep: #085e66;
  --teal-soft: #e6f4f5;
  --gold: #8d6824;
  --gold-line: #c4a15a;
  --gold-soft: #f8f1de;
  --shadow: 0 18px 50px rgba(7, 24, 51, 0.08);
  --header: 86px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --radius: 22px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 110% -8%, rgba(12, 124, 134, 0.09), transparent 60%),
    radial-gradient(680px 360px at -12% 8%, rgba(166, 124, 45, 0.1), transparent 58%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a { color: var(--teal-deep); text-underline-offset: 0.18em; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
}

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.7rem 1rem;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 252, 247, 0.97);
  border-bottom: 1px solid rgba(7, 24, 51, 0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand { display: flex; align-items: center; margin-right: auto; }

.brand img { height: 64px; width: auto; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-link,
.drop > button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--navy);
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}

.nav-link:hover,
.drop > button:hover,
.nav-link.active {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.drop { position: relative; }

.drop-panel {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  display: none;
}

.drop.open .drop-panel,
.drop:focus-within .drop-panel { display: block; }

.drop-panel a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.95rem;
}

.drop-panel a:hover,
.drop-panel a.active { background: var(--teal-soft); color: var(--teal-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font: 600 0.98rem/1 var(--sans);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-mid); color: white; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(7, 24, 51, 0.2); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-gold { background: var(--gold-soft); color: var(--navy); border-color: var(--gold-line); }
.btn-gold:hover { background: #f3e6c4; color: var(--navy); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-deep); color: white; }
.btn[disabled], .btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.header-cta { margin-left: 0.4rem; padding: 0.7rem 0.95rem; }

.hero { padding: 2.2rem 0 1rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "text photo"
    "offer photo";
  gap: 1.25rem 2.5rem;
  align-items: center;
}

.hero-text { grid-area: text; }
.hero-photo { grid-area: photo; margin: 0; }
.offer { grid-area: offer; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
}

h1 { font-size: clamp(2.35rem, 4.6vw, 4.15rem); margin: 0 0 1rem; }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 38rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 0.4rem; }

.hero-photo img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 28px 28px 96px 28px;
  box-shadow: var(--shadow);
}

.hero-photo figcaption,
.caption {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.55rem;
}

.offer {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold-line);
  padding: 1.1rem 1.15rem 1.15rem;
  box-shadow: var(--shadow);
}

.offer strong.price {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.offer .label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1.6rem auto 0.4rem;
}

.trust article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  color: var(--navy);
}

.section { padding: 3.4rem 0; }

.section h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 0.2rem 0 0.7rem; }

.section-head { max-width: 42rem; margin-bottom: 1.5rem; }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 1rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 24, 51, 0.04);
}

.card-body, .panel { padding: 1.15rem 1.2rem 1.25rem; }

.card h3, .panel h3 { margin: 0.2rem 0 0.45rem; font-size: 1.35rem; }

.card p, .panel p { color: var(--muted); }

.card-media {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
}

.card a.more {
  font-weight: 650;
  text-decoration: none;
}

.icon-card { padding: 1.15rem 1.1rem 1.2rem; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }

.steps li {
  list-style: none;
  background: white;
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--line);
}

.steps { padding: 0; margin: 0; }

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.steps strong { display: block; color: var(--navy); margin-bottom: 0.25rem; }
.steps span { color: var(--muted); font-size: 0.95rem; }

.band {
  background: var(--navy);
  color: #e7eef8;
  border-radius: 28px;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
}

.band h2, .band h3 { color: white; }
.band p { color: #c9d5e8; }

.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.price-card .amount {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0;
}

.price-card .amount span { font-size: 1rem; color: var(--muted); font-family: var(--sans); }

.checklist { padding: 0; margin: 0 0 1rem; }
.checklist li { list-style: none; padding-left: 1.4rem; position: relative; margin: 0.35rem 0; }
.checklist li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}

.faq summary { cursor: pointer; font-weight: 650; color: var(--navy); }
.faq details p { margin: 0.7rem 0 0.2rem; color: var(--muted); }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.office {
  background: white;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
}
.office h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.office + .office { margin-top: 0.75rem; }

.page-hero { padding: 2.4rem 0 0.4rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); }

.prose { width: min(760px, 100%); }
.prose h2 { margin-top: 2rem; }
.prose ul, .prose ol { color: var(--ink); }
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 3rem;
}
.side {
  position: sticky;
  top: calc(var(--header) + 1rem);
}

.callout {
  background: var(--gold-soft);
  border: 1px solid #ead7a4;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  color: var(--navy);
}

.note {
  background: var(--teal-soft);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--navy);
}

.draft-banner {
  background: #fff6e8;
  border-bottom: 1px solid #efd7a8;
  color: #5c4312;
  font-size: 0.92rem;
}

.draft-banner .wrap { padding: 0.55rem 0; }

.topics { display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0 0 1rem; }
.topics li {
  list-style: none;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.92rem;
}

table { width: 100%; border-collapse: collapse; background: white; border-radius: 16px; overflow: hidden; }
th, td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: white; font-weight: 600; }

form { display: grid; gap: 0.8rem; }
label { font-weight: 600; color: var(--navy); display: grid; gap: 0.35rem; }
input, select, textarea {
  font: 1rem/1.4 var(--sans);
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #d5d0c6;
  background: white;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
.checks { font-weight: 450; color: var(--ink); display: flex; gap: 0.6rem; align-items: flex-start; }
.checks input { width: auto; margin-top: 0.25rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.result, .confirm {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.sample {
  outline: 2px dashed var(--gold-line);
  position: relative;
}
.ribbon {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.app-panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: white;
  border-radius: 24px;
  padding: 1.1rem;
  border: 1px solid var(--line);
}
.app-panel img { width: 96px; height: 96px; border-radius: 22px; }

.site-footer {
  background: var(--navy);
  color: #d5dfec;
  padding: 2.4rem 0 1.4rem;
  margin-top: 1rem;
}
.site-footer a { color: #f3e6c4; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.2rem;
}
.site-footer h2 { color: white; font-size: 1rem; font-family: var(--sans); letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-logo { height: 58px; width: auto; background: transparent; }
.fine { font-size: 0.85rem; color: #a9b8cc; margin-top: 1.4rem; }

.wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  background: #128c7e;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 0.95rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(7, 24, 51, 0.2);
}
.wa:hover { color: white; background: #0e7468; }

.cookie {
  position: relative;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.cookie p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; min-width: 0; }
.cookie .cta-row { margin: 0; }

.summary-box {
  background: var(--paper);
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .nav-panel {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    overflow: auto;
    gap: 0.2rem;
  }
  .nav-panel.open { display: flex; z-index: 45; background: var(--white); }
  .drop-panel {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.4rem 0.6rem;
    min-width: 0;
  }
  .drop.open .drop-panel { display: block; }
  .hero-grid, .trust, .grid-3, .grid-4, .steps, .band, .price-row, .offices, .layout, .footer-grid, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-areas: "text" "offer" "photo";
  }
  h1 { font-size: 2.2rem; }
  .hero-photo img { height: 420px; border-radius: 24px; object-position: center top; }
  .wa { padding: 0.6rem 0.8rem; font-size: 0.9rem; }
  .side { position: static; }
  .steps { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
}

@media (min-width: 700px) and (max-width: 980px) {
  .grid-3, .trust, .offices, .price-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
