/* Montserrat – локальні шрифти (об’єднано з styles.css: один render-blocking CSS замість двох) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-canvas: #ffffff;
  --c-warm-concrete: #f7f6f2;
  --c-light-zinc: #ececec;
  --c-steel: #9a9a9a;
  --c-iron: #2f2f2f;
  --c-graphite: #171717;
  --c-red: #e30613;
  --c-red-deep: #b8050f;
  --c-red-soft: #fdecec;
  --c-success-green: #27a35a;
  --font-primary: "Montserrat", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-micro: 13px;
  --fs-caption: 15px;
  --fs-body: 17px;
  --fs-body-lg: 18px;
  --fs-card-title: 20px;
  --fs-section: 25px;
  --fs-h1: 30px;
  --fs-display: 34px;
  --gap-8: 8px;
  --gap-12: 12px;
  --gap-16: 16px;
  --gap-20: 20px;
  --gap-24: 24px;
  --gap-32: 32px;
  --gap-40: 40px;
  --gap-48: 48px;
  --gap-64: 64px;
  --r-sm: 8px;
  --r-button: 10px;
  --r-card: 16px;
  --r-card-lg: 22px;
  --r-image: 16px;
  --r-pill: 9999px;
  --sh-soft: 0 8px 24px rgba(0,0,0,.08);
  --sh-lift: 0 16px 40px rgba(0,0,0,.12);
  --sh-outline: 0 0 0 1px rgba(0,0,0,.08);
  --container-max: 1180px;
  --header-h: 68px;
  --touch: 58px;
  --sticky-cta-pad-y: 12px;
}

@media (min-width: 768px) {
  :root {
    --fs-micro: 13px;
    --fs-caption: 14px;
    --fs-body: 16px;
    --fs-body-lg: 17px;
    --fs-section: 34px;
    --fs-h1: 48px;
    --fs-display: 54px;
    --header-h: 76px;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-graphite);
  background: var(--c-warm-concrete);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.is-modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--c-red); color: var(--c-canvas); }
[hidden] { display: none !important; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.site-header {
  position: relative;
  z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-light-zinc);
}

.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: var(--sticky-cta-pad-y) 0 calc(var(--sticky-cta-pad-y) + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--c-light-zinc);
  box-shadow: 0 -10px 28px rgba(0,0,0,.07);
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .24s ease, visibility .24s;
}
.sticky-cta-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
body.has-sticky-cta {
  padding-bottom: calc(var(--sticky-cta-pad-y) + var(--touch) + var(--sticky-cta-pad-y) + env(safe-area-inset-bottom, 0px));
}
body.is-modal-open.has-sticky-cta {
  padding-bottom: 0;
}
body.is-modal-open .sticky-cta-bar {
  transform: translateY(110%);
  visibility: hidden;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .sticky-cta-bar { transition: none; }
}

@media (min-width: 900px) {
  .sticky-cta-bar .container {
    display: flex;
    justify-content: center;
  }
  .sticky-cta-bar .btn.btn--full {
    width: auto;
    max-width: min(24rem, calc(100vw - 48px));
    padding-inline: 32px;
  }
}

.site-header__row {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  line-height: 0;
  border-radius: var(--r-button);
  background: var(--c-graphite);
  text-decoration: none;
}
.logo:hover {
  background: #0a0a0a;
}
.logo img {
  display: block;
  height: 36px;
  width: auto;
}
.desktop-nav { display: none; }
.desktop-nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.desktop-nav a:hover { border-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-graphite);
  text-decoration: none;
  font-size: var(--fs-caption);
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.phone svg { width: 21px; height: 21px; fill: var(--c-red); }
.header-actions .btn { display: none; min-height: 44px; padding: 10px 16px; font-size: 14px; }

@media (min-width: 900px) {
  .desktop-nav { display: flex; gap: 22px; align-items: center; }
  .header-actions .btn { display: inline-flex; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  padding: 14px 24px;
  border-radius: var(--r-button);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: var(--fs-body-lg);
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .08s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, summary:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid rgba(227,6,19,.45);
  outline-offset: 3px;
}
.btn--primary {
  color: var(--c-canvas);
  background: var(--c-red);
  border-color: var(--c-red);
  box-shadow: 0 3px 0 rgba(0,0,0,.22);
}
.btn--primary:hover { background: var(--c-red-deep); border-color: var(--c-red-deep); }
.btn--ghost {
  color: var(--c-graphite);
  background: transparent;
  border-color: var(--c-graphite);
}
.btn--ghost:hover { color: var(--c-canvas); background: var(--c-graphite); }
.btn--light {
  color: var(--c-canvas);
  background: transparent;
  border-color: rgba(255,255,255,.9);
}
.btn--light:hover { color: var(--c-graphite); background: var(--c-canvas); }
.btn--full { width: 100%; }

.section {
  padding-block: 42px;
  background: var(--c-canvas);
}
.section--muted { background: var(--c-warm-concrete); }
.section--dark { background: var(--c-graphite); color: var(--c-canvas); }
.section__head { margin-bottom: 26px; }
.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-red);
  font-size: var(--fs-caption);
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: var(--r-pill);
}
.section-title {
  margin: 0;
  font-size: var(--fs-section);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 800;
  text-transform: uppercase;
}
.section-subtitle {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--c-iron);
  font-size: var(--fs-body-lg);
  font-weight: 500;
}
.section--dark .section-subtitle { color: rgba(255,255,255,.74); }

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 40px 48px;
  color: var(--c-canvas);
  background:
    radial-gradient(circle at 85% 10%, rgba(227,6,19,.2), transparent 24rem),
    linear-gradient(135deg, #111 0%, #222 52%, #0d0d0d 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(90deg, transparent 0, transparent 23px, rgba(255,255,255,.3) 24px), linear-gradient(0deg, transparent 0, transparent 23px, rgba(255,255,255,.25) 24px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero__prehead {
  margin: 0 0 12px;
  color: rgba(255,255,255,.72);
  font-size: var(--fs-caption);
  /* font-weight: 700; */
  letter-spacing: .05em;
  /* text-transform: uppercase; */
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: var(--fs-h1);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 800;
  text-transform: uppercase;
}
.hero__lead {
  margin: 18px 0 0;
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-size: var(--fs-body-lg);
  font-weight: 500;
}
.proofbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 24px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
}
.proofbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  background: rgba(255,255,255,.08);
  font-size: var(--fs-caption);
  font-weight: 800;
  text-align: center;
}
.proofbar__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--c-red);
  background: var(--c-canvas);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.proofbar__icon svg {
  width: 22px;
  height: 22px;
}
.proofbar__text {
  line-height: 1.35;
  max-width: 16rem;
}
.hero__actions { margin-top: 24px; display: grid; gap: 12px; max-width: 520px; }
.fineprint {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: var(--fs-caption);
  line-height: 1.45;
  text-align: center;
}
.hero .placeholder { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.hero .placeholder__hint { color: #fff; background: rgba(0,0,0,.68); }
.hero .content-figure .placeholder__hint { color: #fff; background: rgba(0,0,0,.68); }

/* Логотипи виробників: мобільний нескінченний ряд, ПК – один ряд */
.hero-brands {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-block: 18px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-brands__viewport {
  overflow: hidden;
  padding-block: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-brands__track {
  display: flex;
  flex-direction: row;
  width: max-content;
  animation: hero-brands-marquee 55s linear infinite;
  will-change: transform;
}
.hero-brands__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(28px, 8vw, 48px);
  list-style: none;
  margin: 0;
  padding: 6px 20px;
  flex-shrink: 0;
}
.hero-brands__list img {
  display: block;
  height: 34px;
  width: auto;
  max-width: min(132px, 28vw);
  object-fit: contain;
  object-position: center;
}
@keyframes hero-brands-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 900px) {
  .hero-brands {
    margin-top: 36px;
    padding-block: 22px 12px;
  }
  .hero-brands__viewport {
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 32px;
  }
  .hero-brands__track {
    animation: none;
    transform: none;
    width: 100%;
    justify-content: space-between;
  }
  .hero-brands__list--dup {
    display: none !important;
  }
  .hero-brands__list {
    width: 100%;
    padding: 0;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .hero-brands__list li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-brands__list img {
    height: 40px;
    max-width: 100%;
    max-height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brands__track {
    animation: none;
    transform: none;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    justify-content: center;
  }
  .hero-brands__list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding-inline: 16px;
  }
  .hero-brands__list--dup {
    display: none !important;
  }
  .hero-brands__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.content-figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-image);
  overflow: hidden;
  box-shadow: var(--sh-soft), var(--sh-outline);
  background: var(--c-light-zinc);
}
.content-figure picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.content-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-figure--16x9 { aspect-ratio: 16 / 9; }
.content-figure--4x3 { aspect-ratio: 4 / 3; }

@media (min-width: 768px) {
  .proofbar { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .hero {
    padding-block: 76px;
    min-height: min(88vh, 52rem);
    background-color: #111;
    background-image:
      linear-gradient(
        90deg,
        #111 0%,
        rgba(17, 17, 17, 0.94) 20%,
        rgba(17, 17, 17, 0.7) 38%,
        rgba(17, 17, 17, 0.38) 55%,
        rgba(17, 17, 17, 0.12) 70%,
        transparent 88%
      ),
      radial-gradient(circle at 82% 10%, rgba(227, 6, 19, 0.22), transparent 22rem),
      url("https://agramant.ua/gadsland1/images/img_1-lg.webp");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero .hero__media {
    display: none !important;
  }
  .hero__copy {
    position: relative;
    z-index: 1;
    max-width: min(52rem, 92%);
  }
  .hero h1 {
    max-width: none;
  }
  .hero__lead {
    max-width: min(44rem, 100%);
  }
  .hero__actions {
    grid-template-columns: auto;
    max-width: min(28rem, 100%);
  }
  .proofbar {
    max-width: min(44rem, 100%);
  }
  .proofbar__text {
    max-width: none;
  }
}

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--r-image);
  border: 1.5px dashed #c9c7bf;
  background: linear-gradient(135deg, #eeeeea, #faf9f5);
  box-shadow: var(--sh-outline);
}
.placeholder--16x9 { aspect-ratio: 16 / 9; }
.placeholder--4x3 { aspect-ratio: 4 / 3; }
.placeholder--doc { min-height: 180px; aspect-ratio: 3 / 4; }
.placeholder__inner {
  width: min(72%, 360px);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 16px;
  color: var(--c-iron);
}
.placeholder__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--c-red);
  background: var(--c-canvas);
  box-shadow: var(--sh-soft);
}
.placeholder__icon svg { width: 32px; height: 32px; fill: currentColor; }
.placeholder__title {
  margin: 0;
  font-size: var(--fs-caption);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.placeholder__hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.94);
  color: var(--c-iron);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}
.placeholder::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: calc(var(--r-image) - 6px);
  pointer-events: none;
}

.pain-grid, .cards-grid, .reviews-grid, .docs-grid, .footer-grid {
  display: grid;
  gap: 14px;
}
.info-card {
  padding: 24px 20px;
  border-radius: var(--r-card);
  background: var(--c-canvas);
  box-shadow: var(--sh-soft), var(--sh-outline);
}
.section--muted .info-card { background: var(--c-canvas); }
.info-card--flat { background: var(--c-warm-concrete); box-shadow: var(--sh-outline); }

.diff-card { display: grid; gap: 12px; align-content: start; }
.diff-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.diff-card__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--c-red);
  background: var(--c-red-soft);
}
.diff-card__icon svg {
  width: 26px;
  height: 26px;
}
.diff-card__icon--emoji-arm svg {
  width: 28px;
  height: 28px;
}
.diff-card__head h3 {
  margin: 0;
  font-size: var(--fs-card-title);
  line-height: 1.2;
  text-transform: uppercase;
}
.diff-card .muted { margin: 0; }
.pain-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  background: var(--c-warm-concrete);
  box-shadow: var(--sh-outline);
}
.pain-card__emoji { font-size: 26px; line-height: 1; }
.pain-card p { margin: 0; font-weight: 600; }
.bridge {
  margin: 24px 0 0;
  padding: 18px 18px;
  border-left: 4px solid var(--c-red);
  border-radius: 0 var(--r-card) var(--r-card) 0;
  background: var(--c-red-soft);
  font-weight: 800;
  font-size: var(--fs-body-lg);
  line-height: 1.48;
}

.vp {
  display: grid;
  gap: 24px;
  align-items: center;
}
.vp__body p { margin: 0 0 14px; color: var(--c-iron); }
.vp__body p:last-child { margin-bottom: 0; }
.proof-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--c-red);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--c-canvas);
  font-weight: 800;
  line-height: 1.45;
}
.section:not(.section--muted) .proof-note { background: var(--c-warm-concrete); }
@media (min-width: 900px) {
  .vp { grid-template-columns: 1fr 1fr; gap: 44px; }
  .vp--reverse .vp__media { order: -1; }
}

.review-card { display: grid; gap: 16px; align-content: start; }
.review-card__media { margin: 0; }

/* Vertical Vimeo (9:16); max dimensions respect short viewports */
.vimeo-vertical {
  position: relative;
  width: 100%;
  max-width: min(400px, calc((100svh - 100px) * 9 / 16));
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-image);
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: var(--sh-soft), var(--sh-outline);
}
.vimeo-vertical--case {
  max-width: min(460px, calc((100svh - 100px) * 9 / 16));
}
.vimeo-vertical iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vimeo-lite__poster {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
  background: #0d0d0d;
  border-radius: inherit;
}
.vimeo-lite__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vimeo-lite__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 0;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}
.vimeo-lite__play svg {
  display: block;
}
.vimeo-lite__poster:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.5);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .vimeo-lite__play svg circle {
    fill: rgba(227, 6, 19, 1);
  }
}

.quote {
  margin: 0;
  font-size: var(--fs-card-title);
  font-weight: 800;
  line-height: 1.25;
}
.muted { color: var(--c-iron); }
.small { font-size: var(--fs-caption); line-height: 1.45; }
.doc-card { display: grid; gap: 10px; }
.doc-figure {
  margin: 0;
  border-radius: var(--r-image);
  overflow: hidden;
  background: var(--c-light-zinc);
  box-shadow: var(--sh-soft), var(--sh-outline);
}
.doc-figure a {
  display: block;
  line-height: 0;
}
.doc-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.doc-figure a:focus-visible {
  outline: 3px solid rgba(227, 6, 19, 0.45);
  outline-offset: 3px;
}
.stat-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--c-light-zinc);
  box-shadow: var(--sh-outline);
}
.stat-row__item {
  padding: 16px;
  background: var(--c-canvas);
  text-align: center;
  font-weight: 800;
}

@media (min-width: 720px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1020px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.case-box {
  display: grid;
  gap: 22px;
  align-items: center;
}
.case-media {
  margin: 0;
  width: 100%;
  max-width: 480px;
  justify-self: center;
}
.case-copy p { margin: 0 0 12px; color: var(--c-iron); }
.case-copy p:last-child { margin-bottom: 0; }
.case-copy strong { color: var(--c-graphite); font-weight: 800; }
@media (min-width: 900px) { .case-box { grid-template-columns: 1fr 1fr; gap: 42px; } }

.how-list {
  display: grid;
  gap: 0;
  border-radius: var(--r-card-lg);
  overflow: hidden;
  box-shadow: var(--sh-outline);
  background: var(--c-canvas);
}
.how-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--c-light-zinc);
  background: var(--c-canvas);
}
.how-step:last-child { border-bottom: 0; }
.how-step__num {
  color: var(--c-red);
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.how-step h3 { margin: 0 0 8px; font-size: var(--fs-card-title); line-height: 1.2; text-transform: uppercase; }
.how-step p { margin: 0; color: var(--c-iron); }
@media (min-width: 980px) {
  .how-list { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
  .how-step { grid-template-columns: 1fr; border-bottom: 0; border-right: 1px solid var(--c-light-zinc); }
  .how-step:last-child { border-right: 0; }
}

.faq-grid { display: grid; gap: 10px; }
details {
  border-radius: var(--r-card);
  background: var(--c-warm-concrete);
  box-shadow: var(--sh-outline);
  overflow: hidden;
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  align-items: center;
  padding: 18px;
  font-weight: 800;
  cursor: pointer;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  background: var(--c-graphite);
  color: var(--c-canvas);
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}
details[open] summary::after { content: "–"; }
details p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--c-iron);
}
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

.recap-list {
  display: grid;
  gap: 0;
  margin: 26px 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.recap-list li {
  list-style: none;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: var(--fs-body-lg);
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.recap-list li:last-child { border-bottom: 0; }
.urgency {
  margin: 0 0 22px;
  color: rgba(255,255,255,.74);
  font-weight: 500;
}
.trust-line {
  margin: 12px 0 0;
  color: rgba(255,255,255,.58);
  text-align: center;
  font-size: var(--fs-caption);
  line-height: 1.45;
}

.footer { background: var(--c-warm-concrete); padding-block: 40px; }
.footer-grid { gap: 28px; }
.footer h3 { margin: 0 0 10px; font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .06em; color: var(--c-iron); }
.footer p, .footer address { margin: 0; color: var(--c-iron); font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-links a { font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; }
.footer-links a:hover { border-color: currentColor; }
.legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--c-light-zinc); color: var(--c-steel); font-size: var(--fs-caption); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; } }

.cta-panel {
  margin-top: 28px;
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.cta-panel .small { text-align: center; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}
.modal__dialog {
  position: relative;
  width: min(100%, 480px);
  border-radius: var(--r-card-lg);
  background: var(--c-canvas);
  padding: 24px;
  box-shadow: var(--sh-lift);
}
.modal__dialog--quiz {
  width: min(100%, 560px);
  max-height: min(92vh, 920px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-warm-concrete);
  color: var(--c-graphite);
}
.modal__close svg { margin: auto; width: 22px; height: 22px; }
.modal h2, .quiz__title {
  margin: 22px 48px 12px 0;
  font-size: 24px;
  line-height: 1.15;
  text-transform: uppercase;
}
.quiz { margin-top: 4px; }
.quiz__progress { margin-bottom: 8px; }
.quiz__progress-track {
  height: 6px;
  border-radius: 3px;
  background: var(--c-light-zinc);
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: var(--c-red);
  transition: width 0.22s ease;
}
.quiz__step-meta {
  margin: 10px 0 0;
  font-size: var(--fs-caption);
  font-weight: 800;
  color: var(--c-iron);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quiz__title { margin-top: 8px; margin-bottom: 10px; }
.quiz__intro {
  margin: 0 48px 16px 0;
  color: var(--c-iron);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.5;
}
.quiz__intro:empty { display: none; }
.quiz__panel { margin-top: 4px; }
.quiz__options {
  display: grid;
  gap: 12px;
}
.quiz__option {
  display: grid;
  grid-template-columns: minmax(96px, 112px) 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  margin: 0;
  text-align: left;
  border: 1.5px solid var(--c-light-zinc);
  border-radius: var(--r-card);
  background: var(--c-canvas);
  color: var(--c-graphite);
  box-shadow: var(--sh-outline);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.08s ease;
}
.quiz__option:hover {
  border-color: var(--c-steel);
  box-shadow: var(--sh-soft);
}
.quiz__option:active { transform: translateY(1px); }
.quiz__option:focus-visible {
  outline: 3px solid rgba(227, 6, 19,0.45);
  outline-offset: 2px;
}
.quiz__option-media {
  min-height: 72px;
  border-radius: var(--r-sm);
  background-color: var(--c-light-zinc);
  background-image: var(--quiz-img);
  background-size: cover;
  background-position: center;
}
.quiz__option-media--placeholder {
  background-image: none;
  background: linear-gradient(135deg, #eeeeea, #e0dfdb);
  border: 1px dashed #c9c7bf;
  position: relative;
}
.quiz__option-media--placeholder::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--c-steel);
}
.quiz__option-copy { display: grid; gap: 6px; min-width: 0; }
.quiz__option-title {
  font-size: var(--fs-caption);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.quiz__option-desc {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-iron);
  text-transform: none;
  letter-spacing: 0;
}
.quiz__form-lead { margin: 0 0 8px; color: var(--c-iron); }
.quiz__privacy { margin-top: 12px; }
.quiz__back { margin-top: 18px; }
@media (max-width: 480px) {
  .quiz__option {
    grid-template-columns: 1fr;
  }
  .quiz__option-media {
    min-height: 96px;
    aspect-ratio: 16 / 9;
  }
  .modal h2, .quiz__title { font-size: 20px; }
}
.modal p { color: var(--c-iron); }
.field { display: grid; gap: 8px; margin-top: 18px; }
.field span { font-weight: 800; font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: .04em; }
.field input {
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  border: 1.5px solid var(--c-light-zinc);
  border-radius: var(--r-button);
  font-size: 20px;
  font-weight: 700;
}
.modal .btn { margin-top: 14px; }
.success {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--r-card);
  background: #effaf3;
  color: #14562e;
  font-weight: 800;
}

/* –– TZ v2: hero bullets, причини, типи воріт, галерея, каталог, шоуруми, квіз –– */
.hero__bullets {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-body);
  font-weight: 600;
}
.hero__bullets li {
  position: relative;
  padding-left: 1.35em;
}
.hero__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-red-soft);
  font-weight: 800;
}

.reasons-grid {
  display: grid;
  gap: var(--gap-40);
  margin-top: var(--gap-24);
}
.reason-card {
  display: grid;
  gap: var(--gap-24);
  align-items: center;
}
@media (min-width: 900px) {
  .reason-card {
    grid-template-columns: 1fr 1fr;
  }
  .reason-card--reverse .reason-card__media {
    order: 2;
  }
  .reason-card--reverse .reason-card__body {
    order: 1;
  }
}
.reason-card__body h3 {
  margin: 0 0 10px;
  font-size: var(--fs-card-title);
}
.reason-card__body p {
  margin: 0;
}

.gate-types-grid {
  display: grid;
  gap: var(--gap-24);
  margin-top: var(--gap-24);
}
@media (min-width: 900px) {
  .gate-types-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.gate-type-card h3 {
  margin: 0 0 10px;
}
.gate-type-card__media {
  margin-top: 16px;
}
.gate-type-placeholder {
  min-height: 180px;
  border-radius: var(--r-image);
  background: linear-gradient(135deg, #e8e8e4, #dddcd6);
  border: 1px dashed var(--c-steel);
  display: grid;
  place-items: center;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--c-iron);
}

.brands-strip--static {
  margin-top: var(--gap-24);
  padding: 16px;
  background: var(--c-canvas);
  border-radius: var(--r-card);
  box-shadow: var(--sh-outline);
}
.brands-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  align-items: center;
}
.brands-strip__list img {
  height: 40px;
  width: auto;
}
.brands-photo-note {
  margin-top: 16px;
}
.grid-2 {
  display: grid;
  gap: var(--gap-20);
  margin-top: var(--gap-24);
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Другий екран – квіз на сторінці (не модалка) */
.section--quiz {
  padding-block: var(--gap-48) var(--gap-64);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.quiz-page {
  max-width: 720px;
  margin-inline: auto;
}
.section--quiz .quiz__title {
  margin: 0 0 16px;
  text-align: center;
}
.section--quiz .quiz__intro {
  margin: 0 0 16px;
  text-align: center;
}
.section--quiz .quiz__progress:not([hidden]) {
  scroll-margin-top: calc(var(--header-h) + 12px);
  margin-bottom: 12px;
}
.quiz__option-media--img {
  padding: 0;
  overflow: hidden;
  align-self: stretch;
  min-height: 0;
  background: var(--c-light-zinc);
}
.quiz__option-media--img picture,
.quiz__option-media--img img {
  display: block;
  width: 100%;
  height: 100%;
}
.quiz__option-media--img img {
  object-fit: cover;
  min-height: 72px;
}
.quiz__panel--form .btn {
  margin-top: 16px;
}
@media (max-width: 480px) {
  .quiz__option-media--img img {
    min-height: 120px;
    aspect-ratio: 16 / 9;
  }
}

/* Галерея «нашi ворота» – ручний скрол (свайп/drag) */
.geo-slider {
  margin-top: var(--gap-8);
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.geo-slider__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 16px 22px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.geo-slider__track::-webkit-scrollbar {
  display: none;
}
.geo-slider__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.geo-slider__slide {
  flex: 0 0 min(88vw, 920px);
  scroll-snap-align: center;
  border-radius: var(--r-image);
  overflow: hidden;
  background: var(--c-canvas);
  box-shadow: var(--sh-soft);
}
.geo-slider__slide picture,
.geo-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.geo-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  margin-top: var(--gap-16);
  -webkit-overflow-scrolling: touch;
}
.geo-gallery__item {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  margin: 0;
  border-radius: var(--r-image);
  overflow: hidden;
  background: var(--c-canvas);
  box-shadow: var(--sh-soft);
}
.geo-gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.geo-gallery__item figcaption {
  padding: 10px 12px;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--c-iron);
}

.catalog-block {
  display: grid;
  gap: var(--gap-32);
  align-items: start;
}
.catalog-block__intro {
  display: grid;
  gap: var(--gap-24);
  min-width: 0;
}
.catalog-block__head {
  margin: 0;
  text-align: center;
}
@media (min-width: 900px) {
  .catalog-block__head {
    text-align: left;
  }
}
.catalog-block__head .section-title {
  margin-bottom: 8px;
}
.catalog-preview-figure {
  margin: 0;
  border-radius: var(--r-image);
  overflow: hidden;
  box-shadow: var(--sh-soft);
}
.catalog-preview-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.catalog-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}
.catalog-form .field {
  margin-top: 0;
}
.catalog-form__submit {
  margin-top: 4px;
}
@media (max-width: 899px) {
  .catalog-block {
    gap: var(--gap-40);
  }
  .catalog-channels {
    gap: 12px;
    margin-bottom: 0;
  }
  .catalog-channel {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    min-height: 48px;
  }
}
@media (min-width: 900px) {
  .catalog-block {
    grid-template-columns: 1fr 280px;
  }
}
.catalog-channels {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.catalog-channels__legend {
  flex: 1 0 100%;
  font-weight: 800;
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.catalog-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-light-zinc);
  background: var(--c-canvas);
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-caption);
}
.catalog-channel input {
  accent-color: var(--c-red);
}
.catalog-form__hint {
  margin-top: 8px;
  color: var(--c-iron);
}
.catalog-mock {
  margin: 0;
  justify-self: center;
}
.catalog-mock__phone {
  width: 180px;
  border-radius: 28px;
  padding: 12px 10px 18px;
  background: var(--c-graphite);
  box-shadow: var(--sh-lift);
}
.catalog-mock__screen {
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: linear-gradient(160deg, #f5f5f5, #e0e0e0);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--c-iron);
  text-align: center;
  padding: 12px;
}

/* Замір прорізу (після квізу): mobile — заголовок, фото, текст і форма; desktop — фото зліва, текст і форма справа */
.zamir-block {
  display: grid;
  gap: var(--gap-24);
  align-items: start;
}
.zamir-block__title {
  margin: 0;
  text-align: center;
}
.zamir-block__media {
  margin: 0;
  min-width: 0;
}
.zamir-block__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.zamir-block__subhead {
  margin: 0 0 12px;
  font-size: clamp(1.3125rem, 2.6vw, 1.625rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--c-graphite);
  letter-spacing: -0.01em;
}
.zamir-block__sub {
  margin: 0 0 16px;
}
.zamir-block__bullets {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--c-graphite);
}
.zamir-block__bullets li {
  position: relative;
  padding-left: 1.35em;
}
.zamir-block__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-red-deep);
  font-weight: 800;
}
.zamir-form {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin-top: 4px;
  padding: 22px 20px 24px;
  border-radius: var(--r-card);
  background: var(--c-warm-concrete);
  border: 1.5px solid var(--c-light-zinc);
  box-shadow: var(--sh-outline);
}
.zamir-form__field {
  margin-top: 0;
}
.zamir-form__submit {
  margin-top: 2px;
}
.zamir-form__hint {
  margin: 0;
  color: var(--c-iron);
  text-align: center;
}
.zamir-form__privacy {
  margin: 0;
  text-align: center;
}
@media (min-width: 900px) {
  .zamir-block {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto;
    gap: var(--gap-32);
    column-gap: var(--gap-40);
    align-items: start;
  }
  .zamir-block__title {
    grid-column: 1 / -1;
    text-align: left;
  }
  .zamir-block__media {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: 100%;
  }
  .zamir-block__copy {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
  }
}

.showroom-grid {
  display: grid;
  gap: var(--gap-20);
  margin-top: var(--gap-24);
}
@media (min-width: 640px) {
  .showroom-grid:not(.showroom-grid--three) {
    grid-template-columns: 1fr 1fr;
  }
}
.showroom-grid--three {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .showroom-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.showroom-card {
  padding: 22px;
  border-radius: var(--r-card);
  background: var(--c-canvas);
  box-shadow: var(--sh-outline);
}
.showroom-card h3 {
  margin: 0 0 8px;
}
.showroom-card__fig {
  margin: -22px -22px 18px;
  border-radius: var(--r-card) var(--r-card) 0 0;
  overflow: hidden;
  background: var(--c-light-zinc);
}
.showroom-card__fig img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
@media (min-width: 640px) {
  .showroom-card__fig img {
    height: 220px;
  }
}
.showroom-hours {
  margin: 8px 0 0;
  font-weight: 800;
  color: var(--c-red);
}
.showroom-card__ph {
  margin-top: 14px;
  min-height: 100px;
  border-radius: var(--r-sm);
  background: var(--c-light-zinc);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-steel);
}
.showroom-hotline {
  margin-top: var(--gap-32);
  text-align: center;
  font-size: var(--fs-body-lg);
  font-weight: 800;
}

.footer--simple .footer-simple {
  display: grid;
  gap: 16px;
  padding-block: 32px 40px;
  justify-items: center;
  text-align: center;
}
.footer-simple__phone a {
  font-weight: 800;
  font-size: var(--fs-body-lg);
}

.quiz__gift-lock {
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: #e8f7ee;
  border: 1.5px solid #27a35a;
  margin-bottom: 16px;
}
.quiz__gift-lock__text {
  margin: 0;
  font-weight: 700;
  color: #14562e;
  font-size: var(--fs-body);
}

@media (max-width: 420px) {
  .container { padding-inline: 14px; }
  .site-header__row { gap: 8px; }
  .phone span { display: none; }
  .header-actions--phone-only .phone span { display: inline; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .info-card { padding: 22px 18px; }
}
