/* ==========================================================================
   Vorzel Land — mobile-first stylesheet
   Base = мобільний (320px+). Далі 768 / 1024 / 1280 (повний десктопний макет 1920).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: Onest, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
b { font-weight: 700; }

.root {
  --pad: clamp(16px, 5.4vw, 32px);
  --gap: clamp(20px, 6vw, 34px);
  --sec: clamp(56px, 14vw, 104px);      /* вертикальний ритм між секціями */
  --ink: #162c21;
  --accent: #01572a;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: clip;
}

/* ---------- спільні заголовки секцій ---------- */
.h-sec {
  font-size: clamp(28px, 8vw, 46px);
  line-height: 1.04;
}

.label {
  display: block;
  font-size: clamp(11px, 3.1vw, 13px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
}

/* ---------- кнопки (мін. 48px висота — комфортний тап) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-light { background: #fff; color: #000; width: 100%; }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: min(88svh, 720px);
  display: flex;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.28) 34%, rgba(0,0,0,0.12) 62%, rgba(0,0,0,0.34) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 9vw, 56px);
  padding: max(18px, env(safe-area-inset-top)) var(--pad) clamp(34px, 9vw, 60px);
}
.hero-body { margin-top: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 48px;
}
.nav-links { display: none; }

.burger {
  width: 48px;
  height: 48px;
  margin-right: -6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(34px, 10.4vw, 62px);
  line-height: 0.96;
  color: #fff;
  text-transform: uppercase;
}
.hero-lead {
  margin-top: clamp(18px, 5.4vw, 30px);
  max-width: 30ch;
  font-size: clamp(16px, 4.6vw, 21px);
  line-height: 1.34;
  color: #fff;
}
.hero-body .btn { margin-top: clamp(22px, 6.4vw, 34px); }

/* ==========================================================================
   МОБІЛЬНЕ МЕНЮ
   ========================================================================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: max(20px, env(safe-area-inset-top)) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: #0d1a14;
  color: #fff;
  animation: menuIn 0.25s ease both;
}
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

.menu-close {
  align-self: flex-end;
  position: relative;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
.menu-close span {
  position: absolute;
  left: 13px;
  top: 23px;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.menu-close span:first-child { transform: rotate(45deg); }
.menu-close span:last-child { transform: rotate(-45deg); }

.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.menu-nav a {
  display: flex;
  align-items: center;
  min-height: 60px;
  font-size: clamp(28px, 8.6vw, 40px);
  line-height: 1.1;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.menu-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.label-light { color: rgba(255, 255, 255, 0.6); opacity: 1; }
.menu-foot a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(18px, 5vw, 22px);
  font-weight: 500;
  color: #fff;
}

/* ==========================================================================
   ЛОКАЦІЯ
   ========================================================================== */
.loc { padding: var(--sec) var(--pad) 0; }

.loc-row {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 6vw, 34px);
}
.loc-title {
  order: -1;
  font-size: clamp(38px, 12.4vw, 72px);
  line-height: 1;
}
.loc-cluster {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
}
.loc-line { display: none; }
.loc-icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.loc-icon img { width: 30px; height: 30px; }
.loc-dist {
  align-self: end;
  font-size: clamp(15px, 4.4vw, 18px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
}
.loc-name {
  align-self: start;
  font-size: clamp(14px, 3.9vw, 16px);
  line-height: 1.25;
  color: var(--ink);
  opacity: 0.75;
}

.loc-sub {
  margin-top: clamp(30px, 8vw, 52px);
  font-size: clamp(20px, 5.8vw, 30px);
  line-height: 1.16;
}
.loc-map {
  margin-top: clamp(22px, 6vw, 40px);
  width: 100%;
  height: clamp(240px, 68vw, 460px);
  overflow: hidden;
}
.loc-map img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   ПОТЕНЦІАЛ ДІЛЯНКИ
   ========================================================================== */
.potential { padding: var(--sec) var(--pad) 0; }

.cards4 {
  margin-top: clamp(22px, 6vw, 38px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 8vw, 40px);
}
.card-img {
  width: 100%;
  height: clamp(200px, 56vw, 320px);
  border-radius: 14px;
  overflow: hidden;
  background: #d9d9d9;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 {
  margin-top: clamp(14px, 4vw, 20px);
  font-size: clamp(19px, 5.4vw, 26px);
  line-height: 1.1;
}
.card p {
  margin-top: 8px;
  font-size: clamp(15px, 4.1vw, 17px);
  line-height: 1.35;
}

/* ==========================================================================
   ПАРТНЕРСТВО (готовий макет одним зображенням)
   ========================================================================== */
.partnership { margin-top: var(--sec); font-size: 0; }
.partnership img { width: 100%; height: auto; }

/* ==========================================================================
   ТЕХНІЧНІ ПАРАМЕТРИ
   ========================================================================== */
.tech { padding: var(--sec) var(--pad) 0; }

.tech-row {
  margin-top: clamp(20px, 6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 7vw, 40px);
}
.tech-note {
  font-size: clamp(16px, 4.4vw, 19px);
  line-height: 1.36;
}
.stat { margin-top: clamp(26px, 7vw, 40px); }
.stat-num {
  font-size: clamp(36px, 11vw, 62px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.stat-num span { margin-left: 0.22em; }
.stat-num sup { font-size: 0.55em; vertical-align: super; }
.stat-label {
  margin-top: 8px;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.25;
}
.tech-photo {
  width: 100%;
  height: clamp(220px, 60vw, 380px);
  border-radius: 14px;
  overflow: hidden;
  background: #d9d9d9;
}
.tech-photo img { width: 100%; height: 100%; object-fit: cover; }

.h-sec--comms { margin-top: clamp(44px, 12vw, 78px); }

.comms {
  margin-top: clamp(20px, 6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 4vw, 22px);
}
.comm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 4.6vw, 24px);
  padding: clamp(24px, 7vw, 36px) clamp(20px, 5.4vw, 32px);
  border-radius: 16px;
  color: #fff;
  text-align: center;
}
.comm--1 { background: rgba(7, 7, 7, 0.78); }
.comm--2 { background: rgba(7, 7, 7, 0.62); }
.comm--3 { background: rgba(7, 7, 7, 0.45); }
.comm img { width: clamp(44px, 12vw, 60px); height: clamp(44px, 12vw, 60px); }
.comm p {
  font-size: clamp(15px, 4.3vw, 18px);
  line-height: 1.3;
}

/* ==========================================================================
   КОНТАКТИ
   ========================================================================== */
.contacts {
  scroll-margin-top: 12px;
  margin-top: var(--sec);
  padding: clamp(38px, 10vw, 64px) var(--pad) calc(clamp(48px, 13vw, 80px) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0, 0, 0, 0.14);
}
.contacts-row {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 8vw, 48px);
}
.contacts-intro h2 {
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.contacts-intro p {
  margin-top: clamp(14px, 4vw, 20px);
  max-width: 60ch;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.78;
}
.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-height: 52px;
  padding: 4px 0;
  color: #000;
  transition: opacity 0.2s ease;
}
.phone:hover { opacity: 0.55; }
.phone .num {
  font-size: clamp(21px, 6.2vw, 30px);
  line-height: 1.2;
  font-weight: 500;
}
.phone .who {
  font-size: clamp(14px, 3.9vw, 17px);
  line-height: 1.2;
  opacity: 0.6;
}
.label--mail { margin-top: clamp(16px, 5vw, 26px); }
.mail {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 48px;
  font-size: clamp(16px, 4.6vw, 21px);
  color: var(--accent);
  border-bottom: 1px solid rgba(1, 87, 42, 0.35);
  word-break: break-word;
  transition: opacity 0.2s ease;
}
.mail:hover { opacity: 0.55; }

/* ==========================================================================
   ПЛАВАЮЧА КНОПКА
   ========================================================================== */
.sticky-wrap {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: stickyIn 0.4s ease both;
}
.sticky-wrap[hidden] { display: none; }
@keyframes stickyIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.sticky {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: clamp(15px, 4.2vw, 18px);
  line-height: 1.2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, transform 0.2s ease;
}
.sticky:hover { background: var(--ink); }
.sticky:active { transform: scale(0.98); }

/* ==========================================================================
   ≥ 640px — дві колонки для карток
   ========================================================================== */
@media (min-width: 640px) {
  .cards4 { grid-template-columns: repeat(2, 1fr); }
  .card-img { height: clamp(190px, 26vw, 260px); }
  .btn-light { width: auto; min-width: 320px; }
  .sticky-wrap { left: auto; right: 24px; bottom: 24px; }
  .sticky { width: auto; }
}

/* ==========================================================================
   ≥ 768px — планшет
   ========================================================================== */
@media (min-width: 768px) {
  .root { --pad: clamp(32px, 5vw, 56px); --sec: clamp(88px, 10vw, 132px); }

  .hero { min-height: min(78svh, 780px); }
  .hero-title { font-size: clamp(58px, 8.2vw, 86px); line-height: 0.94; }
  .hero-lead { margin-left: auto; max-width: 34ch; font-size: clamp(20px, 2.7vw, 26px); }
  .hero-body { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-body .btn { min-width: 360px; }

  .loc-row {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 46px);
  }
  .loc-title { order: 0; font-size: clamp(64px, 9vw, 104px); }
  .loc-cluster { flex: 1; }
  .loc-cluster--right { justify-items: end; text-align: right; }
  .loc-cluster--right .loc-icon { order: -1; }
  .loc-sub { text-align: center; font-size: clamp(28px, 3.6vw, 40px); }

  .comms { flex-direction: row; align-items: stretch; }
  .comm { flex: 1; justify-content: space-between; }
  .comm p { font-size: clamp(14px, 1.8vw, 17px); }

  .tech-row { flex-direction: row; align-items: flex-start; }
  .tech-left { flex: 1 1 55%; }
  .tech-photo { flex: 1 1 45%; height: clamp(320px, 40vw, 460px); }
  .tech-note { max-width: 44ch; }

  .contacts-row { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .contacts-intro { flex: 1 1 52%; }
  .contacts-list { flex: 0 0 auto; }
}

/* ==========================================================================
   ≥ 1024px — великий планшет / малий ноутбук: показуємо горизонтальне меню
   ========================================================================== */
@media (min-width: 1024px) {
  .burger { display: none; }
  .nav { justify-content: flex-start; }
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
    font-size: clamp(15px, 1.5vw, 19px);
    color: #fff;
  }
  .nav-links a { color: #fff; }
  .nav-links a:hover { opacity: 0.65; }

  .cards4 { grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.2vw, 34px); }
  .card-img { height: clamp(180px, 17vw, 240px); }
  .card h3 { font-size: clamp(18px, 1.9vw, 24px); }
  .card p { font-size: clamp(14px, 1.4vw, 17px); }
}

/* ==========================================================================
   ≥ 1280px — оригінальний десктопний макет (сітка 1920)
   ========================================================================== */
@media (min-width: 1280px) {
  .root {
    --u: calc(min(100vw, 1920px) / 1920);
    max-width: min(100vw, 1920px);
    --pad: calc(100 * var(--u));
    --sec: calc(150 * var(--u));
  }

  body { font-size: calc(42 * var(--u)); }

  .h-sec { font-size: calc(131 * var(--u)); line-height: calc(131 * var(--u)); }
  .label { font-size: calc(28 * var(--u)); }

  /* hero */
  .hero { height: calc(1435 * var(--u)); min-height: 0; }
  .hero-veil { background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.12) 26%, rgba(0,0,0,0) 46%); }
  .hero-inner { gap: 0; padding: calc(160 * var(--u)) var(--pad) 0; }
  .hero-body { margin-top: 0; align-items: flex-start; }
  .hero-title { margin-top: calc(158 * var(--u)); font-size: calc(154 * var(--u)); line-height: calc(118 * var(--u)); }
  .hero-lead {
    margin: calc(60 * var(--u)) 0 0 calc(839 * var(--u));
    width: calc(884 * var(--u));
    max-width: none;
    font-size: calc(61 * var(--u));
    line-height: calc(62 * var(--u));
  }
  .hero-body .btn {
    margin-top: calc(113 * var(--u));
    width: calc(800 * var(--u));
    min-width: 0;
    height: calc(117 * var(--u));
    min-height: 0;
    padding: 0;
    border-radius: calc(59 * var(--u));
    font-size: calc(75 * var(--u));
  }

  /* локація */
  .loc { padding: calc(219 * var(--u)) var(--pad) 0; }
  .loc-row { gap: calc(45 * var(--u)); }
  .loc-title { font-size: calc(168 * var(--u)); line-height: calc(120 * var(--u)); white-space: nowrap; }
  .loc-cluster {
    flex: none;
    position: relative;
    display: flex;
    align-items: center;
    gap: calc(22 * var(--u));
  }
  .loc-icon { width: calc(93 * var(--u)); height: calc(93 * var(--u)); }
  .loc-icon img { width: calc(58 * var(--u)); height: calc(58 * var(--u)); }
  .loc-line {
    display: block;
    width: calc(310 * var(--u));
    height: calc(3 * var(--u));
    background: var(--ink);
  }
  .loc-dist, .loc-name {
    position: absolute;
    font-size: calc(36 * var(--u));
    line-height: calc(30 * var(--u));
    opacity: 1;
    font-weight: 400;
  }
  .loc-cluster--left .loc-dist { left: calc(197 * var(--u)); top: calc(-38 * var(--u)); white-space: nowrap; }
  .loc-cluster--left .loc-name { left: calc(-98 * var(--u)); top: calc(108 * var(--u)); width: calc(360 * var(--u)); text-align: center; }
  .loc-cluster--right { justify-items: initial; text-align: left; }
  .loc-cluster--right .loc-icon { order: 0; }
  .loc-cluster--right .loc-dist { left: calc(20 * var(--u)); top: calc(-68 * var(--u)); width: calc(270 * var(--u)); text-align: center; }
  .loc-cluster--right .loc-name { left: calc(200 * var(--u)); top: calc(96 * var(--u)); width: calc(310 * var(--u)); text-align: center; }

  .loc-sub { margin-top: calc(150 * var(--u)); font-size: calc(72 * var(--u)); line-height: calc(73 * var(--u)); }
  .loc-map { margin-top: calc(107 * var(--u)); height: calc(1113 * var(--u)); }

  /* потенціал */
  .potential { padding: calc(109 * var(--u)) var(--pad) 0; }
  .cards4 { margin-top: calc(65 * var(--u)); gap: calc(40 * var(--u)); }
  .card-img { height: calc(400 * var(--u)); border-radius: calc(20 * var(--u)); }
  .card h3 { margin-top: calc(46 * var(--u)); font-size: calc(56 * var(--u)); line-height: calc(48 * var(--u)); }
  .card p { margin-top: calc(28 * var(--u)); font-size: calc(40 * var(--u)); line-height: calc(36 * var(--u)); }

  /* партнерство */
  .partnership { margin-top: calc(142 * var(--u)); }

  /* технічні параметри */
  .tech { padding: calc(181 * var(--u)) var(--pad) 0; }
  .tech-row { margin-top: calc(61 * var(--u)); gap: calc(40 * var(--u)); justify-content: space-between; }
  .tech-left { flex: none; width: calc(835 * var(--u)); padding-top: calc(52 * var(--u)); }
  .tech-note { max-width: none; font-size: calc(48 * var(--u)); line-height: calc(49 * var(--u)); }
  .stat { margin-top: calc(129 * var(--u)); }
  .stat + .stat { margin-top: calc(66 * var(--u)); }
  .stat-num { font-size: calc(131 * var(--u)); line-height: calc(110 * var(--u)); }
  .stat-num span { margin-left: calc(28 * var(--u)); }
  .stat-label { margin-top: calc(24 * var(--u)); font-size: calc(42 * var(--u)); line-height: calc(36 * var(--u)); }
  .tech-photo {
    flex: none;
    width: calc(885 * var(--u));
    height: calc(786 * var(--u));
    border-radius: calc(20 * var(--u));
  }

  .h-sec--comms { margin-top: calc(104 * var(--u)); }
  .comms { margin-top: calc(49 * var(--u)); gap: calc(39 * var(--u)); align-items: flex-end; }
  .comm {
    flex: none;
    width: calc(547 * var(--u));
    border-radius: calc(20 * var(--u));
    gap: 0;
    padding: calc(56 * var(--u)) calc(40 * var(--u));
  }
  .comm--1 { height: calc(476 * var(--u)); background: rgba(7,7,7,0.7); padding-top: calc(62 * var(--u)); }
  .comm--2 { height: calc(414 * var(--u)); background: rgba(7,7,7,0.55); padding-top: calc(45 * var(--u)); }
  .comm--3 { height: calc(352 * var(--u)); background: rgba(7,7,7,0.35); padding-top: calc(50 * var(--u)); }
  .comm img { width: calc(90 * var(--u)); height: calc(90 * var(--u)); }
  .comm p { font-size: calc(46 * var(--u)); line-height: calc(40 * var(--u)); }

  /* контакти */
  .contacts {
    scroll-margin-top: calc(60 * var(--u));
    padding: calc(120 * var(--u)) var(--pad) calc(130 * var(--u));
  }
  .contacts-row { gap: calc(90 * var(--u)); }
  .contacts-intro { flex: 1 1 auto; min-width: 0; max-width: calc(1080 * var(--u)); }
  .contacts-intro h2 { font-size: calc(96 * var(--u)); line-height: calc(100 * var(--u)); }
  .contacts-intro p { margin-top: calc(44 * var(--u)); max-width: none; font-size: calc(42 * var(--u)); line-height: calc(56 * var(--u)); }
  .contacts-list { flex: none; gap: calc(34 * var(--u)); min-width: 0; }
  .phone { min-height: 0; padding: 0; gap: calc(16 * var(--u)); }
  .phone .num { font-size: calc(56 * var(--u)); line-height: calc(64 * var(--u)); }
  .phone .who { font-size: calc(34 * var(--u)); line-height: calc(64 * var(--u)); }
  .label--mail { margin-top: calc(28 * var(--u)); }
  .mail { min-height: 0; font-size: calc(40 * var(--u)); line-height: calc(48 * var(--u)); }

  /* плаваюча кнопка */
  .sticky-wrap { left: auto; right: calc(48 * var(--u)); bottom: calc(48 * var(--u)); }
  .sticky {
    width: auto;
    min-height: 0;
    height: calc(84 * var(--u));
    padding: 0 calc(44 * var(--u));
    border-radius: calc(42 * var(--u));
    font-size: calc(32 * var(--u));
    box-shadow: 0 calc(10 * var(--u)) calc(34 * var(--u)) rgba(0,0,0,0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   ВІДЕО ОБʼЄКТУ
   ========================================================================== */
.video {
  scroll-margin-top: 12px;
  margin-top: var(--sec);
  padding: 0 var(--pad);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: clamp(20px, 6vw, 34px);
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   ФОРМА ЗАЯВКИ
   ========================================================================== */
.contacts-form {
  margin-top: clamp(34px, 9vw, 56px);
  padding-top: clamp(28px, 7vw, 44px);
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
}
.contacts-form-title {
  font-size: clamp(20px, 5.6vw, 26px);
  line-height: 1.15;
  margin: 0 0 4px;
}
.contacts-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contacts-form label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}
.contacts-form input,
.contacts-form textarea {
  font: inherit;
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  background: #fff;
  color: #000;
  resize: vertical;
}
.contacts-form input:focus,
.contacts-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contacts-form .btn { margin-top: 8px; width: 100%; }
.form-status { font-size: 14px; min-height: 1.4em; margin: 0; }
.form-status.ok { color: #0a7a3d; }
.form-status.err { color: #b3261e; }

/* ==========================================================================
   КНОПКИ: outline / dark
   ========================================================================== */
.btn-outline {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  width: 100%;
}
.btn-outline:hover { background: #000; color: #fff; }
.btn-dark {
  background: #000;
  color: #fff;
  width: 100%;
}
.btn-dark:hover { background: var(--ink); }

/* ==========================================================================
   ФІНАЛЬНИЙ БЛОК З ДВОМА КНОПКАМИ
   ========================================================================== */
.final-cta {
  margin-top: var(--sec);
  padding: clamp(38px, 10vw, 64px) var(--pad) calc(clamp(48px, 13vw, 80px) + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .contacts-form { max-width: 620px; }
  .final-cta {
    flex-direction: row;
    justify-content: center;
  }
  .final-cta .btn { width: auto; min-width: 320px; }
}
