:root {
  --navy: #0f2a47;
  --navy-2: #173a60;
  --ink: #1a2230;
  --muted: #5a6575;
  --line: #e2e6ec;
  --bg: #ffffff;
  --tint: #f4f6f9;
  --accent: #b5562b;      /* warm terracotta for CTAs */
  --accent-dark: #974621;
  --ok: #1f7a4d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 42, 71, .06), 0 6px 20px rgba(15, 42, 71, .06);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid #f0a46e; outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em; border-radius: 8px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #e9eef5; }
.btn--sm { padding: .55em 1em; font-size: .93rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Top bar */
.topbar { background: var(--navy); color: #d6deea; font-size: .84rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; letter-spacing: .02em; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__contact { display: flex; gap: 10px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4cd38a; margin-right: 4px; vertical-align: 1px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  background: var(--navy); color: #fff; font: 700 1.05rem/1 var(--serif); letter-spacing: .03em;
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font: 700 1.15rem/1.2 var(--serif); color: var(--navy); }
.brand__tag { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); background: #fbeee6; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: #3c4655; max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Photos */
.photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: #dfe5ee; box-shadow: var(--shadow); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo--hero { aspect-ratio: 5 / 6; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 32px; color: #5c6b80; font-size: .92rem; font-style: italic;
  background: repeating-linear-gradient(135deg, #e4e9f0 0 14px, #dbe2eb 14px 28px);
}

/* Proof strip */
.proof { border-block: 1px solid var(--line); background: #fff; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof__item { padding: 26px 22px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__item strong { color: var(--navy); font-size: 1.05rem; }
.proof__item span { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #d6deea; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 640px; margin-bottom: 40px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section__head p { color: #b9c6d8; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: #c5cfdc; box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card__icon { width: 34px; height: 34px; margin-bottom: 14px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--alt { background: #fbf4ef; border-color: #f0dccf; }
.card__link { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--accent-dark); text-decoration: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 24px; border-top: 4px solid var(--navy); box-shadow: var(--shadow); }
.step__num { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__copy p { color: #3c4655; font-size: 1.06rem; }
.about__copy .btn { margin-top: 8px; }

/* Contracting data */
.data { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; margin: 0 0 32px; }
.data__item { background: var(--navy-2); padding: 24px; }
.data dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb1c9; margin-bottom: 6px; }
.data dd { margin: 0; font-size: 1.2rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* Quote */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.quote__info p { color: var(--muted); font-size: 1.06rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

.form { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 32px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #cdd5e0; border-radius: 8px; padding: 11px 12px; width: 100%;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(23, 58, 96, .15); }
.form .invalid { border-color: #c0392b; }
.form__status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form__status.ok { color: var(--ok); font-weight: 600; }
.form__status.err { color: #b3261e; }

/* Footer */
.footer { background: #0b1f36; color: #a9b7ca; padding: 56px 0 24px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer__name { font: 700 1.2rem/1.2 var(--serif); color: #fff; margin-bottom: 8px; }
.footer__nav { display: grid; gap: 8px; align-content: start; }
.footer a { color: #d6deea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.footer__legal p { margin: 0; }

/* Responsive */
@media (max-width: 1020px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .data { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 48px 0; }
  .hero__grid, .about, .quote { grid-template-columns: 1fr; gap: 36px; }
  .photo--hero { aspect-ratio: 4 / 3; }
  .photo--portrait { aspect-ratio: 4 / 3; max-width: 520px; }
  .section { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .brand__tag { display: none; }
  .cards, .steps, .data, .proof__grid, .form__row { grid-template-columns: 1fr; }
  .proof__item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .proof__item:first-child { border-top: 0; }
  .form { padding: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
