:root {
  --ink: #0d141c;
  --ink-2: #16212c;
  --ink-3: #22303d;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --line: #e0e3db;
  --muted: #5b6570;
  --accent: #ffc61a;
  --accent-deep: #e0a800;
  --accent-ink: #17180f;
  --blue: #2c7fd0;
  --radius: 14px;
  --f-display: "Wix Madefor Display", "Arial Black", system-ui, sans-serif;
  --f-text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(13, 20, 28, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- topbar ---------- */

.topbar {
  background: var(--ink);
  color: #cfd6db;
  font-size: 13.5px;
  letter-spacing: .01em;
}
.topbar__in {
  display: flex; align-items: center; gap: 26px;
  min-height: 42px; flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 9px; }
.topbar__addr { color: #97a2ac; }
.topbar__phone { margin-left: auto; color: #fff; text-decoration: none; font-weight: 600; }
.topbar__phone:hover { color: var(--accent); }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 198, 26, .18);
}

/* ---------- header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex; align-items: center; gap: 28px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
}
.brand__mark svg { width: 24px; height: 24px; }
.brand__text {
  font-family: var(--f-display);
  font-weight: 800; font-size: 21px; letter-spacing: .02em;
  line-height: 1; display: flex; flex-direction: column; gap: 5px;
}
.brand__text small {
  font-family: var(--f-text); font-weight: 500; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.nav { display: flex; gap: 26px; font-size: 15px; margin-left: 8px; }
.nav a {
  text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .25s ease;
}
.nav a:hover::after { right: 0; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header__phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.header.is-scrolled { box-shadow: 0 12px 30px rgba(13, 20, 28, .08); }
section[id] { scroll-margin-top: 96px; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-text); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 10px; text-decoration: none;
  border: 2px solid var(--accent);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); transform: translateY(-1px); }
.btn--sm { padding: 11px 18px; font-size: 14.5px; }
.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.28);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost-dark {
  background: transparent; color: var(--ink); border-color: rgba(13,20,28,.22);
}
.btn--ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- hero ---------- */

.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(44,127,208,.22), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 96px 100%;
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: 56px; align-items: center;
  padding-bottom: 78px;
}
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); letter-spacing: -.03em; }
.hero h1 em {
  font-style: normal; color: var(--accent);
}
.hero__lead {
  margin-top: 24px; color: #c3ccd3; font-size: 18px; max-width: 52ch;
}
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__facts {
  display: flex; gap: 40px; margin: 44px 0 0; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__facts div { display: flex; flex-direction: column; gap: 2px; }
.hero__facts dt {
  font-family: var(--f-display); font-size: 30px; font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero__facts dd { margin: 0; font-size: 13.5px; color: #93a0aa; }
.hero__facts .cur { font-size: .8em; color: #fff; }

.hero__media { position: relative; }
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3.35; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hero__media::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 2px solid var(--accent); border-radius: 18px; z-index: 0;
}
.hero__badge {
  position: absolute; z-index: 2; left: -26px; bottom: 26px;
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 20px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 1px;
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}
.hero__badge span { font-size: 12px; font-weight: 500; opacity: .8; }
.hero__badge strong {
  font-family: var(--f-display); font-size: 34px; line-height: 1.05; font-variant-numeric: tabular-nums;
}

.strip {
  position: relative; background: var(--accent); color: var(--accent-ink);
  overflow: hidden; border-top: 1px solid rgba(0,0,0,.08);
}
.strip__track {
  display: flex; gap: 26px; align-items: center; white-space: nowrap;
  padding: 13px 0; font-weight: 600; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase;
  animation: marquee 38s linear infinite;
  width: max-content;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section--tint { background: #eceee6; }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
.section__lead { margin-top: 18px; color: var(--muted); font-size: 17.5px; max-width: 62ch; }
.section__head--light .eyebrow { color: var(--accent); }
.section__head--light .section__lead { color: #aab4bd; }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.card__num {
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: .1em;
}
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card--plain {
  grid-column: span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: transparent; border: 0; padding: 0;
}
.card--plain .card__body {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  margin-right: 22px; padding: 28px;
}
.card--plain .card__body:last-child { margin-right: 0; }

/* ---------- prices ---------- */

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.price--hot { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.price__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; min-height: 2.5em; }
.price__value {
  font-family: var(--f-display); font-size: 40px; font-weight: 700; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .cur { font-family: var(--f-text); font-size: .45em; font-weight: 500; color: var(--muted); }
.price ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.price li { font-size: 14.5px; color: var(--muted); padding-left: 18px; position: relative; }
.price li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px;
  background: var(--accent); border-radius: 2px;
}
.price__cta {
  margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px;
  text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--accent);
  align-self: flex-start;
}
.price__cta:hover { color: var(--blue); border-color: var(--blue); }
.price--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 34px; }
.price--wide > div { min-width: 220px; }
.price__note { color: var(--muted); font-size: 15px; max-width: 52ch; }
.price--wide .price__cta { margin: 0 0 0 auto; padding-top: 0; }

/* ---------- included ---------- */

.included { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: start; }
.included__copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.included__copy p { margin-top: 18px; color: var(--muted); }
.included__copy .btn { margin-top: 28px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16.5px;
}
.checks li::before {
  content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317180f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ---------- steps ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  counter-reset: step;
}
.steps li {
  border-top: 2px solid rgba(255,255,255,.16); padding-top: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.steps__num {
  font-family: var(--f-display); font-size: 15px; font-weight: 700;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
}
.steps h3 { font-size: 22px; }
.steps p { color: #a7b2bb; font-size: 15.5px; }
.how__cta {
  margin-top: 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  color: #93a0aa; font-size: 14.5px;
}

/* ---------- shelter ---------- */

.shelter { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.shelter__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius);
}
.shelter__copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.shelter__copy p { margin-top: 16px; color: var(--muted); }
.shelter__copy .btn { margin-top: 26px; }

/* ---------- faq ---------- */

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__list { display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid #d6d9d0; }
.faq summary {
  cursor: pointer; padding: 20px 30px 20px 0; font-weight: 600; font-size: 17px;
  position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--blue);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; }

/* ---------- contacts ---------- */

.contacts { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; }
.contacts__info h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.contacts__lead { margin-top: 18px; color: #a7b2bb; }
.contacts__list { list-style: none; margin: 38px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contacts__list span {
  display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #7f8b95; margin-bottom: 4px;
}
.contacts__list a {
  display: block; font-family: var(--f-display); font-size: 24px; font-weight: 600;
  text-decoration: none; color: #fff; line-height: 1.35;
}
.contacts__list a:hover { color: var(--accent); }
.contacts__list p { margin: 0; color: #cdd5db; }

.form {
  background: var(--surface); color: var(--ink);
  border-radius: 16px; padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  display: flex; flex-direction: column; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13.5px; font-weight: 600; }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 9px;
  padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, background .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa2ab; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
}
.field textarea { resize: vertical; min-height: 88px; }
.hp { position: absolute; left: -9999px; }
.turnstile-wrap { margin: 2px 0 4px; }
.turnstile-wrap iframe { max-width: 100%; }
.form__note { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- footer ---------- */

.footer { background: #0a1017; color: #9aa5ae; padding: 64px 0 24px; font-size: 15px; }
.footer__in { display: flex; gap: 60px; justify-content: space-between; flex-wrap: wrap; }
.footer__brand { max-width: 340px; }
.footer__brand .brand__text { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: 14.5px; }
.footer__cols { display: flex; gap: 70px; }
.footer__cols h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer__cols a, .footer__cols p { display: block; color: #9aa5ae; text-decoration: none; margin-bottom: 8px; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap;
}
.footer__bottom a { color: #8b969f; }

/* ---------- callbar ---------- */

.callbar { display: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 720px; }
  .hero__badge { left: 18px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--plain { grid-column: span 2; grid-template-columns: 1fr; }
  .card--plain .card__body { margin-right: 0; margin-bottom: 22px; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .included, .shelter, .faq, .contacts { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
  .burger { display: block; }
  .header__phone { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid #eef0ea; font-size: 17px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .wrap { width: calc(100% - 36px); }
  .topbar__addr { display: none; }
  .topbar__in { min-height: 38px; font-size: 12.5px; }
  .header__in { min-height: 66px; }
  .brand__text { font-size: 18px; }
  .brand__text small { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero { padding-top: 46px; }
  .hero__in { padding-bottom: 54px; }
  .hero__lead { font-size: 16.5px; }
  .hero__facts { gap: 26px; flex-wrap: wrap; }
  .hero__facts dt { font-size: 25px; }
  .hero__media img { aspect-ratio: 4 / 3; }
  .hero__media::after { inset: 10px -10px -10px 10px; }
  .hero__badge { padding: 12px 15px; bottom: 14px; }
  .hero__badge strong { font-size: 27px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 30px; }
  .cards, .price-grid, .steps { grid-template-columns: 1fr; }
  .card--plain { grid-column: auto; }
  .price--wide { flex-direction: column; align-items: flex-start; gap: 16px; }
  .price--wide .price__cta { margin: 0; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .footer { padding-bottom: 90px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13,20,28,.96); backdrop-filter: blur(8px);
  }
  .callbar a {
    text-align: center; padding: 13px 10px; border-radius: 9px;
    text-decoration: none; font-weight: 600; font-size: 15px;
  }
  .callbar__call { border: 1px solid rgba(255,255,255,.3); color: #fff; }
  .callbar__order { background: var(--accent); color: var(--accent-ink); }
}
