:root {
  --navy: #0f2a44;
  --navy-2: #163a5c;
  --yellow: #ffc233;
  --ink: #111820;
  --grey: #f1f3f5;
  --line: #dde2e7;
  --muted: #5b6672;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.6 'Barlow', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Archivo', 'Arial Narrow', sans-serif; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(42px, 5.6vw, 76px); text-transform: uppercase; }
h1 span { color: var(--navy-2); box-shadow: inset 0 -.28em 0 var(--yellow); }
h2 { font-size: clamp(30px, 3.4vw, 46px); }
h3 { font-size: 22px; font-weight: 700; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--navy { background: var(--navy); color: #fff; }
.section--grey { background: var(--grey); }
.light { color: rgba(255,255,255,.78); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 40px; flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 16em; }
.head p { margin: 0; max-width: 30em; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border: 2px solid transparent; border-radius: 4px; font: 700 15px 'Archivo', sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffcf5c; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); }
.btn--line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--line:hover { background: var(--navy); color: #fff; }
.wide { width: 100%; }

.alert { background: var(--yellow); font-size: 15px; }
.alert__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.alert p { margin: 0; }
.alert a { font-weight: 700; white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 26px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin: 0; }
.logo svg { width: 36px; height: 36px; }
.logo span { font: 800 22px/1 'Archivo', sans-serif; letter-spacing: .04em; }
.logo small { display: block; font: 600 11px 'Barlow', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: #2b3540; }
.nav a:hover { color: var(--navy-2); box-shadow: inset 0 -2px 0 var(--yellow); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero { padding: 64px 0 72px; background: linear-gradient(90deg, #fff 55%, var(--grey) 55%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.tag { display: inline-block; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 18px; padding-left: 14px; border-left: 4px solid var(--yellow); }
.lead { font-size: 19px; color: #36414c; max-width: 32em; }
.zip { margin-top: 28px; max-width: 480px; }
.zip label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.zip__row { display: flex; gap: 8px; }
.zip input { flex: 1; font: 500 17px 'Barlow', sans-serif; padding: 12px 14px; border: 2px solid var(--line); border-radius: 4px; text-transform: uppercase; }
.zip input:focus { outline: none; border-color: var(--navy); }
.zip__out { min-height: 1.5em; margin: 10px 0 0; font-weight: 500; }
.zip__out.ok { color: #1b7a3f; }
.zip__out.no { color: #b3401f; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 6px; }
.badge { position: absolute; left: -24px; bottom: 28px; background: var(--navy); color: #fff; padding: 16px 18px; border-radius: 4px; max-width: 220px; font-size: 15px; line-height: 1.35; border-left: 6px solid var(--yellow); }
.badge b { display: block; font: 800 22px 'Archivo', sans-serif; }

.strip { background: var(--navy); color: #fff; }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip p { margin: 0; padding: 22px 18px; border-left: 1px solid rgba(255,255,255,.14); font-size: 15px; color: rgba(255,255,255,.8); }
.strip p:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font: 800 20px 'Archivo', sans-serif; color: var(--yellow); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.services article { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.services img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.services div { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.services p { color: var(--muted); font-size: 16px; margin: 0 0 16px; flex: 1; }
.services a { font-weight: 700; color: var(--navy-2); text-decoration: none; }
.services a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

.est { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.est__form { margin-top: 28px; display: grid; gap: 24px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 14px 8px; border: 2px solid rgba(255,255,255,.2); border-radius: 4px; font-weight: 600; font-size: 15px; transition: border-color .15s, background .15s; }
.seg input:checked + span { border-color: var(--yellow); background: rgba(255,194,51,.12); }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.slider { display: flex; flex-wrap: wrap; justify-content: space-between; font-weight: 700; font-size: 15px; }
.slider output { font: 800 18px 'Archivo', sans-serif; color: var(--yellow); }
.slider input { width: 100%; margin-top: 12px; accent-color: var(--yellow); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.est label, .card label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
select, input, textarea { font: 500 16px 'Barlow', sans-serif; padding: 11px 12px; border: 2px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--yellow); }
input[aria-invalid="true"] { border-color: #d0492a; }
.est__result { background: #fff; color: var(--ink); border-radius: 6px; padding: 32px; border-top: 8px solid var(--yellow); }
.k { margin: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.range { font: 800 clamp(30px, 3.4vw, 42px)/1.1 'Archivo', sans-serif; margin: 6px 0 18px; color: var(--navy); }
.monthly { margin: 4px 0 4px; font-size: 18px; }
.monthly b { font: 800 30px 'Archivo', sans-serif; }
.fine { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.incl { list-style: none; padding: 16px 0 0; margin: 0 0 22px; border-top: 1px solid var(--line); font-size: 15px; }
.incl li { padding: 4px 0 4px 24px; position: relative; }
.incl li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 11px; height: 6px; border-left: 3px solid #1b7a3f; border-bottom: 3px solid #1b7a3f; transform: rotate(-45deg); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 16px; }
.compare thead th { background: var(--grey); font: 700 15px 'Archivo', sans-serif; }
.compare thead th:last-child { background: var(--yellow); }
.compare tbody th { font-weight: 700; width: 20%; color: #2b3540; }
.compare td:last-child { background: #fffaf0; font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan--pick { border: 3px solid var(--navy); }
.pick { position: absolute; top: -14px; left: 26px; margin: 0; background: var(--navy); color: #fff; font: 700 12px 'Archivo', sans-serif; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 3px; }
.price { font: 800 48px/1 'Archivo', sans-serif; margin: 0 0 18px; color: var(--navy); }
.price span { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; }

.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work figure { margin: 0; }
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.work figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.work b { display: block; color: var(--ink); font-size: 16px; }

.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.book img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-top: 28px; }
.card { background: #fff; color: var(--ink); border-radius: 6px; padding: 32px; display: grid; gap: 16px; }
.lbl { margin: 0; font-weight: 600; font-size: 14px; }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.win { border: 2px solid var(--line); background: #fff; border-radius: 4px; padding: 10px 8px; text-align: left; cursor: pointer; font: 500 14px 'Barlow', sans-serif; line-height: 1.3; }
.win b { display: block; font: 700 15px 'Archivo', sans-serif; }
.win[aria-pressed="true"] { border-color: var(--navy); background: #eaf1f8; }
.win:disabled { opacity: .4; cursor: not-allowed; }
.opt { color: var(--muted); font-weight: 400; }
.msg { margin: 0; min-height: 1.4em; font-weight: 600; font-size: 15px; }
.msg.ok { color: #1b7a3f; }
.msg.err { color: #b3401f; }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
details { border-bottom: 2px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; list-style: none; font: 700 18px 'Archivo', sans-serif; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 12px; height: 12px; margin-top: 4px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
details p { margin: 10px 0 0; color: var(--muted); }

.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 0 0; font-size: 15px; }
.footer a { color: #fff; }
.footer b { color: #fff; }
.footer__grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; }
.logo--foot span { color: #fff; }
.logo--foot small { color: rgba(255,255,255,.6); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 22px; font-size: 13px; }
.footer p { margin: 0 0 6px; }

.callbar { display: none; }

@media (max-width: 1040px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 28px 18px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .header .btn--yellow { margin-left: auto; }
  .hero { background: #fff; }
  .hero__grid, .est, .book, .faq { grid-template-columns: 1fr; gap: 36px; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .badge { left: 12px; }
  .services, .plans { grid-template-columns: 1fr 1fr; }
  .work { grid-template-columns: 1fr 1fr; }
  .strip__row { grid-template-columns: 1fr 1fr; }
  .strip p:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 56px; }
  .wrap { padding: 0 18px; }
  .alert p b + * { display: none; }
  .alert__row { font-size: 14px; }
  .header__row { height: 66px; gap: 10px; }
  .nav { top: 66px; }
  .logo span { font-size: 18px; }
  .logo small { font-size: 9px; }
  .header .btn--yellow { padding: 9px 12px; font-size: 13px; }
  .hero { padding: 36px 0 48px; }
  .section { padding: 64px 0; }
  .services, .plans, .work, .two, .strip__row { grid-template-columns: 1fr; }
  .strip p { border-left: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .seg { grid-template-columns: 1fr 1fr; }
  .windows { grid-template-columns: 1fr 1fr; }
  .est__result, .card { padding: 22px 18px; }
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--yellow); color: var(--ink); text-align: center; font: 800 17px/56px 'Archivo', sans-serif; text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
