:root {
  --navy: #0d2860;
  --navy-dark: #071a40;
  --gold: #c79a3b;
  --gold-light: #f4e7c9;
  --ink: #172033;
  --muted: #5e687b;
  --paper: #fffdf8;
  --line: #e4e7ec;
  --white: #fff;
  --shadow: 0 18px 48px rgba(7, 26, 64, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 17px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; padding: 10px 14px; background: white; }

.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: var(--navy); }
.brand img { width: 128px; height: 49px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px; border-radius: 10px; text-decoration: none; font-weight: 800; border: 2px solid var(--navy); background: var(--navy); color: white; }
.button:hover, .button:focus-visible { background: var(--navy-dark); }
.button.secondary { background: transparent; color: var(--navy); }

.hero { padding: 72px 0 52px; background: linear-gradient(135deg, #fff 0 58%, #f1eadc 58%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { color: #805f18; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; font-size: .79rem; }
h1, h2, h3 { color: var(--navy-dark); line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 5vw, 4.7rem); margin: 12px 0 20px; letter-spacing: -.04em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); margin: 0 0 16px; letter-spacing: -.025em; }
h3 { font-size: 1.22rem; margin: 0 0 10px; }
.lead { font-size: 1.18rem; color: #3f4a5d; max-width: 650px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px 6px 28px 6px; box-shadow: var(--shadow); }
.hero-note { position: absolute; left: -22px; bottom: -22px; max-width: 290px; background: var(--navy); color: white; padding: 16px 18px; border-radius: 12px; font-weight: 750; box-shadow: var(--shadow); }

.proof { padding: 30px 0; border-block: 1px solid var(--line); background: white; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-item { padding: 16px; border-left: 4px solid var(--gold); }
.proof-item strong { display: block; color: var(--navy); font-size: 1.08rem; }
.proof-item span { color: var(--muted); }

.section { padding: 76px 0; }
.section.alt { background: #f5f6f8; }
.section-head { max-width: 760px; margin-bottom: 34px; }
.kicker { color: var(--gold); font-weight: 900; }
.grid { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 8px 24px rgba(7,26,64,.05); }
.card p { margin: 0; color: var(--muted); }
.price { font-size: 1.7rem; color: var(--navy); font-weight: 900; margin: 8px 0 4px; }
.price small { font-size: .86rem; font-weight: 700; color: var(--muted); }
.badge { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--gold-light); color: #6d4d09; font-size: .78rem; font-weight: 850; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: white; }
tr:last-child td { border-bottom: 0; }
.fine { color: var(--muted); font-size: .9rem; margin-top: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; max-height: 520px; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 24px 0; }
.checklist li { margin: 12px 0; padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #1f7a45; font-weight: 900; }

.steps { counter-reset: steps; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-dark); font-weight: 900; }
details { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 17px 20px; }
details + details { margin-top: 12px; }
summary { cursor: pointer; color: var(--navy); font-weight: 850; }
details p { margin-bottom: 0; color: var(--muted); }

.order-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 30px; }
.field { display: grid; gap: 7px; font-weight: 800; color: var(--navy-dark); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #b9c1ce;
  border-radius: 9px; background: white; color: var(--ink); font: inherit;
}
.field input:focus, .field select:focus { outline: 3px solid rgba(199,154,59,.28); border-color: var(--gold); }
.qty { width: 82px; min-height: 42px; padding: 7px 9px; border: 1px solid #aeb7c5; border-radius: 8px; font: inherit; }
.order-summary { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; margin-top: 24px; border-radius: 14px; background: var(--navy-dark); color: white; box-shadow: var(--shadow); }
.order-summary strong { display: block; font-size: 1.45rem; }
.order-summary .button { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.order-message { min-height: 24px; margin-top: 10px; color: #a13e20; font-weight: 750; }
.calculator { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.calculator .order-fields { margin-top: 0; }
.calculation-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.calculation-note { padding: 18px 20px; margin-top: 18px; border-left: 4px solid var(--gold); background: #fff8e8; border-radius: 8px; }

.cta { background: var(--navy-dark); color: white; }
.cta h2, .cta h3 { color: white; }
.cta .lead { color: #dce4f7; }
.cta .button { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.site-footer { background: #050e22; color: #dbe3f3; padding: 32px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: start; gap: 24px; }
.site-footer a { color: white; }

@media (max-width: 820px) {
  .nav-links > a:not(.button) { display: none; }
  .hero { padding-top: 48px; background: linear-gradient(180deg, white 0 70%, #f1eadc 70%); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-note { left: 14px; right: 14px; max-width: none; }
  .proof-grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .order-fields { grid-template-columns: 1fr; }
  .order-summary { position: static; align-items: stretch; flex-direction: column; }
  .calculation-actions .button { width: 100%; }
  .hero-figure { margin-bottom: 26px; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 26px, 1120px); }
  .brand small { display: none; }
  .brand img { width: 100px; }
  .button { width: 100%; }
  .nav .button { width: auto; font-size: .88rem; padding-inline: 12px; }
  .section { padding: 58px 0; }
}
