:root {
  --ink: #16202e;
  --ink-soft: #52627a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --navy: #052E55;        /* logo navy — headings, ink */
  --navy-dark: #03203D;   /* footer */
  --blue: #14558F;        /* buttons: the logo navy read as near-black at button size */
  --blue-dark: #0D4272;
  --gold: #BC994C;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 1em; }
a { color: var(--navy); }
img { max-width: 100%; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: .6em; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; font-weight: 700; }
.brand .logo { height: 58px; width: auto; display: block; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: .95rem; letter-spacing: .02em;
}
.brand small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
nav.site { margin-left: auto; display: flex; align-items: center; gap: 26px; }
nav.site a { color: var(--ink-soft); text-decoration: none; font-size: .94rem; font-weight: 550; }
nav.site a:hover { color: var(--blue); }
/* the CTA in the nav is a .btn — `nav.site a` would otherwise out-specify .btn
   and paint its label the muted nav-link grey instead of white */
nav.site a.btn { color: #fff; font-size: .95rem; font-weight: 600; }
nav.site a.btn:hover { color: #fff; }
nav.site a.btn.ghost, nav.site a.btn.ghost:hover { color: var(--blue); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 46px; font-size: 1.25rem; line-height: 1; cursor: pointer; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background .15s, transform .05s;
}
.btn:hover { background: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: #fff; color: var(--blue); border-color: #cbd5e1; }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.gold { background: var(--gold); }
.btn.gold:hover { background: #A3813C; }
.btn.block { width: 100%; }

/* hero */
.hero { padding: 84px 0 72px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--navy); }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 26px; }
.hero-card h3 { font-size: 1.05rem; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; color: var(--ink-soft); font-size: .92rem; }
.trust span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }

/* cards */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.card .icon { font-size: 1.3rem; }
.card ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
/* flex, not float: a floated price drops onto the next row as soon as the
   service name wraps, which it always does at phone width */
.card li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 0 9px 22px; position: relative; color: var(--ink-soft); font-size: .94rem;
  border-top: 1px solid var(--line);
}
.card li:first-child { border-top: 0; }
.card li::before { content: "›"; position: absolute; left: 4px; top: 9px; color: var(--gold); font-weight: 700; }
.card li .fee { flex: none; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 24px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}

/* forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  font: inherit; font-size: .95rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(5, 46, 85, .25); outline-offset: 1px; border-color: var(--navy); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }

/* checkboxes render ~13px by default — too small to hit with a thumb */
input[type="checkbox"] { width: 22px; height: 22px; flex: none; accent-color: var(--blue); }

.notice {
  border-left: 3px solid var(--gold); background: #fffaf2; padding: 14px 18px;
  border-radius: 6px; color: #6b4d18; font-size: .92rem;
}
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .93rem; }
.alert.ok { background: #ecfdf3; color: #14532d; border: 1px solid #a7f3d0; }
.alert.bad { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }

footer.site { background: var(--navy-dark); color: #c7d2e0; padding: 52px 0 28px; font-size: .92rem; }
footer.site h4 { color: #fff; font-size: .95rem; }
footer.site a { color: #c7d2e0; text-decoration: none; display: block; padding: 10px 0; }
footer.site a:hover { color: #fff; }
footer.site .bar { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 32px; padding-top: 20px; font-size: .84rem; color: #94a5bb; }

@media (max-width: 900px) {
  .hero-grid, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .grid.c2 { grid-template-columns: 1fr; }
  nav.site { display: none; position: absolute; top: 86px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  nav.site.open { display: flex; }
  nav.site a { padding: 11px 0; border-top: 1px solid var(--line); }
  nav.site .btn { margin-top: 12px; }
  .menu-btn { display: block; }
  .row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  /* iOS Safari zooms the whole page when a focused field is under 16px */
  input, select, textarea { font-size: 16px; }
  .btn { padding: 13px 20px; }
}

/* ── About: portrait + credentials ─────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 56px; align-items: start; }
.about-photo { position: relative; isolation: isolate; }
.about-photo img {
  position: relative; z-index: 2;
  width: 100%; display: block; border-radius: 14px; box-shadow: var(--shadow);
  aspect-ratio: 424 / 586; object-fit: cover; object-position: 50% 18%;
}
/* gold rule offset behind the photo — a frame that does not box it in */
.about-photo::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold); border-radius: 14px; z-index: 1;
}
.about-caption { margin-top: 18px; }
.about-caption strong { display: block; font-size: 1.15rem; }
.about-caption span { color: var(--ink-soft); font-size: .9rem; }

.stats { display: flex; gap: 38px; flex-wrap: wrap; margin: 30px 0 26px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 2.2rem; line-height: 1; color: var(--blue); letter-spacing: -.03em; }
.stats span { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: 6px; font-weight: 600; }

.cardp { color: var(--ink-soft); font-size: .93rem; margin: 0; }

.office-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 46px;
  padding: 26px 30px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
}
.office-strip .k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.office-strip strong { font-weight: 600; font-size: .95rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { max-width: 340px; }
  .about-photo::before { inset: 14px -14px -14px 14px; }
  .office-strip { grid-template-columns: 1fr 1fr; }
  /* 40 / 4 / 2 are short — an even three-across beats a ragged 2 + 1 wrap */
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stats strong { font-size: 1.9rem; }
  .stats span { font-size: .7rem; letter-spacing: .05em; }
}
@media (max-width: 520px) { .office-strip { grid-template-columns: 1fr; } }
