:root {
  --navy: #062b50;
  --navy-deep: #031d35;
  --aqua: #08abc0;
  --aqua-bright: #35d1de;
  --steel: #d9e1e5;
  --ink: #142632;
  --muted: #5d6c75;
  --line: #dfe7ea;
  --soft: #f2f7f8;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 43, 80, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247,249,250,.96);
  border-bottom: 1px solid rgba(223,231,234,.9);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img {
  width: clamp(235px, 21vw, 285px);
  height: auto;
  border: 1px solid rgba(72, 88, 99, .22);
  border-radius: 7px;
  box-shadow: 0 7px 22px rgba(3, 29, 53, .13);
}
.nav { display: flex; align-items: center; gap: 26px; font-size: .93rem; font-weight: 650; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--aqua); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,43,80,.2); }
.button.aqua { border-color: var(--aqua); background: var(--aqua); color: var(--navy-deep); }
.button.ghost { color: var(--navy); background: transparent; }
.button.compact { min-height: 42px; padding: 9px 16px; font-size: .9rem; }

.hero {
  padding: 64px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 5%, rgba(53,209,222,.16), transparent 27%),
    linear-gradient(135deg, #f9fcfd 0%, #fff 58%);
}
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 54px; }
.eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(8,171,192,.12);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--navy-deep); line-height: 1.12; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(2.55rem, 5.5vw, 4.9rem); letter-spacing: -.052em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.2vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.lead { max-width: 650px; margin: 0 0 28px; color: #41545f; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.proofs { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 0; padding: 0; list-style: none; color: #344c59; font-size: .94rem; font-weight: 650; }
.proofs li::before { content: "✓"; margin-right: 8px; color: var(--aqua); font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 9% -7% -9% 13%;
  z-index: 0;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(8,171,192,.26), rgba(6,43,80,.08));
  transform: rotate(3deg);
}
.hero-visual figure { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 18px; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: 13px; bottom: 12px; padding: 6px 10px; border-radius: 5px; color: #fff; background: rgba(3,29,53,.72); font-size: .75rem; }

.heritage {
  border-top: 1px solid rgba(105, 119, 128, .25);
  border-bottom: 1px solid rgba(105, 119, 128, .25);
  background: linear-gradient(115deg, #f4f6f7 0%, #d9dde0 48%, #eef1f2 100%);
}
.heritage-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.heritage p { max-width: 790px; margin: 0; color: #41515b; }
.heritage strong { color: var(--navy-deep); }
.heritage-link {
  flex: 0 0 auto;
  color: var(--navy);
  font-weight: 800;
  text-underline-offset: 4px;
}
.heritage-link:hover, .heritage-link:focus-visible { color: #057f91; }

.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.dark { color: #fff; background: var(--navy-deep); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.dark .section-heading p { color: #c1d0d8; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  min-height: 230px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 9px 30px rgba(6,43,80,.06);
}
.benefit-number { display: block; margin-bottom: 26px; color: var(--aqua); font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.benefit p { margin: 0; color: var(--muted); }

.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.calculator-copy p { max-width: 580px; color: var(--muted); }
.calculator {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 23px; }
.field-row { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; font-weight: 700; }
.field output { color: var(--aqua); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; accent-color: var(--aqua); }
.result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  align-items: center;
  margin-top: 30px;
  padding: 22px;
  border-radius: 12px;
  background: var(--navy-deep);
  color: #fff;
}
.result strong { grid-row: 1 / span 2; color: var(--aqua-bright); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.result span { font-weight: 750; }
.result small { color: #c5d2d9; }
.result.over strong { color: #ffb47b; }
.calculator-note { margin: 18px 2px 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.calculator-note strong { color: var(--navy-deep); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.24); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 34px; color: var(--aqua-bright); font-size: .86rem; font-weight: 850; letter-spacing: .12em; }
.step p { margin: 0; color: #c1d0d8; }

.split { display: grid; grid-template-columns: 1fr .82fr; gap: 54px; align-items: start; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.spec { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.spec strong { display: block; color: var(--navy); }
.spec span { color: var(--muted); font-size: .9rem; }
.legal-note { padding: 28px; border-left: 4px solid var(--aqua); background: var(--soft); }
.legal-note h3 { margin-bottom: 10px; }
.legal-note p { margin: 0; color: var(--muted); }
.legal-note a { display: inline-block; margin-top: 16px; color: var(--navy); font-weight: 800; text-underline-offset: 4px; }

.regulation { color: #fff; background: linear-gradient(145deg, #02192e, #073861); }
.regulation h2, .regulation h3 { color: #fff; }
.regulation .section-heading p { color: #c4d3dc; }
.regulation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.regulation-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.065);
}
.regulation-tag { display: inline-block; margin-bottom: 20px; color: var(--aqua-bright); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.regulation-card p { margin: 0 0 18px; color: #c7d5dd; }
.regulation-card a { color: var(--aqua-bright); font-weight: 760; text-underline-offset: 4px; }
.dimensions-panel { margin-top: 28px; padding: 36px; border-radius: 18px; color: var(--ink); background: #fff; }
.dimensions-panel h2, .dimensions-panel h3 { color: var(--navy-deep); }
.dimensions-intro { max-width: 780px; }
.dimensions-intro > p:not(.eyebrow) { color: var(--muted); }
.dimensions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.dimensions-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.dimensions-grid article > span { display: block; margin-bottom: 18px; color: var(--aqua); font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.dimensions-grid article p { margin: 0; color: var(--muted); font-size: .95rem; }
.regulation-warning { margin: 22px 0 0; padding: 20px 22px; border-left: 4px solid var(--aqua); color: #41515b; background: #edf7f8; }
.regulation-warning strong { color: var(--navy-deep); }
.official-sources { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 24px; color: #c6d4dc; font-size: .9rem; }
.official-sources strong { color: #fff; }
.official-sources a { color: var(--aqua-bright); text-underline-offset: 3px; }

.faq { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 11px; background: #fff; }
summary { padding: 19px 22px; color: var(--navy-deep); font-weight: 760; cursor: pointer; }
details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.cta { padding: 78px 0; color: #fff; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 720px; margin-bottom: 14px; color: #fff; }
.cta p { max-width: 700px; margin: 0; color: #c5d4dc; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; flex: 0 0 auto; }
.phone-link { color: #fff; text-align: center; font-weight: 700; text-decoration: none; }

.footer { padding: 34px 0; color: #53646e; background: #fff; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-inner div { display: grid; gap: 3px; }
.footer-inner strong { color: var(--ink); font-weight: 700; }
.footer-inner span { color: var(--muted); }
.footer a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (max-width: 960px) {
  .nav a:not(.button) { display: none; }
  .hero-grid, .calculator-grid, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .hero-visual { max-width: 760px; }
  .heritage-inner { padding-block: 24px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .dimensions-grid { grid-template-columns: 1fr; }
  .benefits, .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-actions { width: min(100%, 330px); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 88px; }
  .brand img { width: 195px; }
  .nav .button { display: none; }
  .hero { padding: 36px 0 55px; }
  h1 { font-size: clamp(2.3rem, 13vw, 3.3rem); }
  .hero-actions .button { width: 100%; }
  .section { padding: 70px 0; }
  .benefits, .steps, .spec-list, .regulation-grid { grid-template-columns: 1fr; }
  .benefit { min-height: auto; }
  .calculator { padding: 24px 20px; }
  .dimensions-panel { padding: 26px 20px; }
  .result { grid-template-columns: 1fr; }
  .result strong { grid-row: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
