/* =========================================================
   ВІН-ТЕП — стилі лендингу
   ========================================================= */

:root {
  /* палітра */
  --black: #000000;
  --ink: #0b0b0b;
  --graphite: #262626;
  --graphite-2: #383838;
  --line-dark: rgba(255, 255, 255, .12);
  --yellow: #FFC812;
  --amber: #FAB23D;
  --orange: #F26B1D;
  --cream: #F5F2EC;
  --cream-2: #ECE7DE;
  --white: #ffffff;
  --text-dark: #141414;
  --muted-dark: #5d5a55;
  --muted-light: #a6a29b;

  --grad: linear-gradient(120deg, var(--yellow) 0%, var(--amber) 45%, var(--orange) 100%);

  /* шрифти */
  --f-display: "Unbounded", "Inter Tight", system-ui, sans-serif;
  --f-head: "Inter Tight", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 500 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- типографіка ---------- */
.h2 {
  font: 800 clamp(30px, 4.4vw, 58px)/1.02 var(--f-head);
  text-transform: uppercase;
  letter-spacing: -.02em;
  max-width: 18ch;
}
.h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--f-body);
  color: var(--orange);
  margin-bottom: 22px;
  letter-spacing: .01em;
}
.eyebrow__mark {
  width: 14px; height: 16px; flex: none;
  background: var(--grad);
  clip-path: polygon(0 0, 45% 0, 100% 100%, 55% 100%);
  box-shadow: 0 0 0 0 transparent;
  position: relative;
}
.eyebrow__mark::after { content: ""; position: absolute; inset: 0; background: var(--orange); clip-path: polygon(0 55%, 35% 100%, 0 100%); }
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow--light { color: var(--amber); }
.section--dark .eyebrow { color: var(--amber); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--f-head); letter-spacing: .02em; text-transform: uppercase;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 12px 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--grad); color: var(--black); box-shadow: 0 10px 30px -10px rgba(242, 107, 29, .6); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(242, 107, 29, .8); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--yellow); }

/* «текст | →» — як в Avelon */
.btn-split {
  display: inline-flex; align-items: stretch; border: 1.5px solid currentColor; color: var(--text-dark);
  font: 700 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em;
  transition: background .3s, color .3s;
  flex: none;
}
.btn-split span { padding: 18px 26px; display: flex; align-items: center; }
.btn-split svg { box-sizing: content-box; width: 18px; height: 18px; padding: 15px 17px; border-left: 1.5px solid currentColor; transition: transform .3s var(--ease); }
.btn-split:hover { background: var(--text-dark); color: var(--white); }
.btn-split:hover svg { transform: translateX(3px); }
.btn-split--light { color: var(--white); }
.btn-split--light:hover { background: var(--amber); color: var(--black); border-color: var(--amber); }
.btn-split--dark { color: var(--black); }
.btn-split--dark:hover { background: var(--black); color: var(--amber); }
.btn-split--outline { color: var(--black); }
.btn-split--outline:hover { background: var(--black); color: var(--amber); }

.btn-square {
  display: inline-grid; place-items: center; width: 60px; height: 60px;
  background: var(--grad); color: var(--black);
  transition: transform .3s var(--ease);
}
.btn-square svg { width: 22px; height: 22px; }
.btn-square:hover { transform: translateX(6px); }

/* ---------- логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { display: flex; gap: 3px; height: 30px; }
.logo__mark i { width: 7px; background: var(--yellow); transform: skewX(-20deg); }
.logo__mark i:nth-child(2) { background: var(--amber); }
.logo__mark i:nth-child(3) { background: var(--orange); }
.logo__text { font: 800 20px/1 var(--f-display); letter-spacing: .02em; display: flex; flex-direction: column; gap: 4px; }
.logo__text small { font: 600 9.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted-light); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter);
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
.header.is-scrolled { background: rgba(11, 11, 11, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }

.nav__pill {
  display: flex; gap: 4px; padding: 6px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  background: rgba(0, 0, 0, .15); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nav__pill a {
  display: block; padding: 10px 22px; border-radius: 999px;
  font: 600 14px/1 var(--f-body); color: rgba(255, 255, 255, .85);
  transition: background .3s, color .3s;
}
.nav__pill a:hover, .nav__pill a.is-active { background: var(--white); color: var(--black); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { font: 700 15px/1 var(--f-head); letter-spacing: .02em; white-space: nowrap; }
.header__phone:hover { color: var(--amber); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .3s, top .3s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font: 800 28px/1.1 var(--f-head); text-transform: uppercase; }
.mobile-menu ul a:hover { color: var(--amber); }
.mobile-menu__contacts { display: grid; gap: 10px; font: 700 20px/1.2 var(--f-head); color: var(--amber); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 130px var(--gutter) 36px; overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: -4%; z-index: -2;
  background-size: cover; background-position: 50% 55%;
  filter: saturate(1.1) contrast(1.05);
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 60%),
    radial-gradient(120% 80% at 80% 100%, rgba(242, 107, 29, .28), transparent 60%);
}

.hero__inner { text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12px/1 var(--f-body); letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(250, 178, 61, .25); }
.hero__title {
  font: 900 clamp(64px, 16.5vw, 270px)/.86 var(--f-display);
  letter-spacing: -.035em; color: var(--white); white-space: nowrap;
  text-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: rise 1.2s var(--ease) .1s both;
}
.hero__lead {
  max-width: 560px; margin: 26px auto 0;
  font-size: clamp(15px, 1.4vw, 18px); color: #fff; font-weight: 600;
  text-shadow: 0 2px 14px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.6);
  animation: rise 1.2s var(--ease) .3s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* головні кнопки на першому екрані */
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; animation: rise 1.2s var(--ease) .4s both; }
.btn--lg { padding: 19px 32px; font-size: 15px; }
.btn--glass { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: #7360f2; border-color: #7360f2; color: var(--white); }
.btn--glass svg { width: 20px; height: 20px; }

.hero__bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; margin-top: 40px; animation: rise 1.2s var(--ease) .5s both; }

.glass-card {
  display: flex; gap: 18px; padding: 12px; max-width: 520px;
  border-radius: var(--radius);
  background: rgba(40, 32, 20, .45); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.glass-card__img { width: 180px; flex: none; border-radius: 14px; background-size: cover; background-position: center; min-height: 140px; }
.glass-card__body { padding: 8px 8px 8px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-start; }
.glass-card__kicker { font: 600 11px/1 var(--f-body); letter-spacing: .35em; text-transform: uppercase; color: var(--amber); }
.glass-card__title { font: 800 21px/1.15 var(--f-head); text-transform: uppercase; }

.scroll-cue {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px dashed rgba(255,255,255,.7); justify-self: center;
  animation: spin 14s linear infinite;
}
.scroll-cue svg { width: 26px; height: 26px; animation: spin 14s linear infinite reverse, bob 2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { translate: 0 5px; } }

.hero__badge {
  justify-self: end; width: min(100%, 320px);
  background: var(--grad); color: var(--black);
  padding: 22px 22px 20px; display: grid; gap: 10px;
}
.hero__badge-num { font: 900 92px/.85 var(--f-display); letter-spacing: -.05em; }
.hero__badge-num::after { content: "+"; font-size: .6em; vertical-align: top; margin-left: 4px; }
.hero__badge-text { font: 800 15px/1.2 var(--f-head); text-transform: uppercase; max-width: 22ch; margin-bottom: 8px; }
.hero__badge .btn-split { justify-content: space-between; }
.hero__badge .btn-split span { padding: 15px 18px; }
.hero__badge .btn-split svg { padding: 13px 14px; }

.hero__social { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.hero__social a { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--black); display: grid; place-items: center; transition: background .3s, transform .3s; }
.hero__social a:hover { background: var(--amber); transform: scale(1.08); }
.hero__social svg { width: 20px; height: 20px; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--black); border-block: 1px solid var(--line-dark); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font: 800 clamp(44px, 7vw, 104px)/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px var(--amber); white-space: nowrap;
}
.marquee b { font: 300 clamp(44px, 7vw, 104px)/1 var(--f-head); color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--light { background: var(--cream); color: var(--text-dark); }
.section--dark { background: var(--ink); color: var(--white); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head__note { max-width: 420px; color: var(--muted-dark); }
.section--dark .section-head__note { color: var(--muted-light); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .h2 { max-width: 22ch; }

/* ---------- ABOUT ---------- */
.about__head .h2 { max-width: 24ch; }
.about__grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin: 40px 0 70px; padding-top: 34px; border-top: 1px solid rgba(0,0,0,.14); flex-wrap: wrap; }
.about__text { max-width: 640px; font-size: 18px; color: var(--muted-dark); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; background: var(--white); padding: 36px 32px 34px; border-radius: var(--radius);
  display: grid; gap: 14px; align-content: start; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.pillar__num { position: absolute; top: 26px; right: 28px; font: 700 14px/1 var(--f-display); color: var(--orange); }
.pillar__icon { width: 52px; height: 52px; color: var(--orange); margin-bottom: 18px; }
.pillar h3 { font: 800 24px/1.1 var(--f-head); text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,.12); }
.pillar p { color: var(--muted-dark); font-size: 15px; }
.pillar--accent { background: var(--graphite); color: var(--white); }
.pillar--accent .pillar__icon, .pillar--accent .pillar__num { color: var(--amber); }
.pillar--accent h3 { border-color: var(--line-dark); }
.pillar--accent p { color: var(--muted-light); }
.pillar--accent::after { content: ""; position: absolute; right: 0; top: 0; width: 120px; height: 6px; background: var(--grad); }
.pillar--accent::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad); }

/* ---------- SERVICES ---------- */
.services { background:
  radial-gradient(60% 40% at 100% 0%, rgba(250, 178, 61, .08), transparent 70%),
  var(--ink); }
.service {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch;
  background: var(--graphite); margin-bottom: 28px; overflow: hidden;
  border-radius: 4px;
}
.service:last-child { margin-bottom: 0; }
.service__body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; }
.service__num { font: 600 22px/1 var(--f-display); color: var(--amber); margin-bottom: 18px; }
.service__title { font: 800 clamp(26px, 3vw, 40px)/1.05 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-dark); width: 100%; max-width: 16ch; }
.service__list { display: grid; gap: 10px; margin-bottom: 34px; color: #cfcac2; }
.service__list li { position: relative; padding-left: 26px; }
.service__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--grad); }
.service .btn-square { margin-top: auto; }
.service__img { position: relative; min-height: 340px; overflow: hidden; }
.service__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__img img { transform: scale(1.06); }
.service--rev { grid-template-columns: 1.1fr 1fr; }
.service--rev .service__img { order: -1; }

/* ---------- STATS ---------- */
.stats { background: var(--grad); color: var(--black); padding: clamp(50px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(0,0,0,.05) 60px 120px); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: grid; gap: 10px; padding-left: 22px; border-left: 2px solid rgba(0,0,0,.25); }
.stat__num { font: 900 clamp(40px, 5.2vw, 76px)/1 var(--f-display); letter-spacing: -.04em; }
.stat__label { font: 700 14px/1.3 var(--f-head); text-transform: uppercase; letter-spacing: .03em; max-width: 16ch; }

/* ---------- HISTORY ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: tl; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--text-dark) 0 22px, transparent 22px 36px); opacity: .35; }
.timeline__item { position: relative; padding: 0 28px 0 0; }
.timeline__year { display: inline-block; font: 800 15px/1 var(--f-display); background: var(--black); color: var(--amber); padding: 12px 16px; margin-bottom: 34px; position: relative; z-index: 1; }
.timeline__item:first-child .timeline__year { background: var(--grad); color: var(--black); }
.timeline__item h3 { font: 800 21px/1.15 var(--f-head); text-transform: uppercase; margin-bottom: 12px; }
.timeline__item p { color: var(--muted-dark); font-size: 15px; }

/* ---------- QUALITY ---------- */
.quality { position: relative; padding: clamp(70px, 9vw, 130px) 0; overflow: hidden; isolation: isolate; }
.quality__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: grayscale(.4) contrast(1.05); }
.quality::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.82) 60%); }
.quality__inner { display: grid; grid-template-columns: minmax(0, 500px) 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.quality__card { background: var(--grad); color: var(--black); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.quality__title { font: 800 clamp(24px, 2.6vw, 38px)/1.04 var(--f-head); overflow-wrap: anywhere; text-transform: uppercase; letter-spacing: -.02em; }
.quality__mark { width: 120px; height: 100px; color: rgba(0,0,0,.7); justify-self: center; margin: 6px 0; }
.quality__card p { font-size: 16px; }
.quality__card .btn-split { justify-self: start; }
.quality__list { display: grid; gap: 14px; }
.quality__list li { display: flex; gap: 20px; padding: 22px 24px; background: rgba(20,20,20,.6); border: 1px solid var(--line-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; transition: border-color .3s, transform .4s var(--ease); }
.quality__list li:hover { border-color: var(--amber); transform: translateX(6px); }
.quality__list svg { width: 40px; height: 40px; color: var(--amber); }
.quality__list h3 { font: 800 18px/1.2 var(--f-head); text-transform: uppercase; margin-bottom: 6px; }
.quality__list p { color: #c9c4bb; font-size: 15px; }

/* ---------- FLEET ---------- */
.fleet__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.fleet__photo { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; }
.fleet__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fleet__photo figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 18px 22px; background: rgba(20,20,20,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 14px; border: 1px solid var(--line-dark); font: 700 18px/1.25 var(--f-head); text-transform: uppercase; }
.fleet__photo figcaption span { color: var(--amber); }
.machine {
  background: var(--white); color: var(--text-dark); border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px; transition: transform .4s var(--ease), background .3s;
}
.machine:hover { transform: translateY(-6px); }
.machine:nth-last-child(-n+2) { grid-column: span 2; }
.machine svg { width: 54px; height: 54px; padding: 12px; background: var(--grad); color: var(--black); border-radius: 50%; margin-bottom: auto; }
.machine h3 { font: 800 20px/1.1 var(--f-head); text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.12); margin-top: 20px; }
.machine p { font-size: 14px; color: var(--muted-dark); }
.machine--accent { background: var(--graphite); color: var(--white); border: 1px solid var(--graphite-2); }
.machine--accent h3 { border-color: var(--line-dark); }
.machine--accent p { color: var(--muted-light); }


/* ---------- TEAM ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.team-card { position: relative; padding: 38px 30px 80px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: grid; gap: 14px; align-content: start; transition: background .4s; overflow: hidden; }
.team-card:hover { background: var(--grad); color: var(--black); }
.team-card:hover p { color: rgba(0,0,0,.75); }
.team-card:hover svg { background: var(--black); color: var(--amber); }
.team-card__num { font: 600 14px/1 var(--f-display); color: var(--amber); transition: color .3s; }
.team-card:hover .team-card__num { color: var(--black); }
.team-card h3 { font: 800 20px/1.15 var(--f-head); text-transform: uppercase; }
.team-card p { color: var(--muted-light); font-size: 15px; transition: color .3s; }
.team-card svg { position: absolute; left: 0; bottom: 0; width: 64px; height: 64px; padding: 14px; background: var(--grad); color: var(--black); transition: background .3s, color .3s; }

/* ---------- PARTNERS ---------- */
.partners { background: var(--cream); color: var(--text-dark); padding: 80px 0 70px; border-top: 1px solid rgba(0,0,0,.08); overflow: hidden; }
.partners__marquee { overflow: hidden; margin-top: 18px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners__track { display: flex; gap: 18px; width: max-content; animation: marquee 34s linear infinite; padding: 10px 0; }
.partners__marquee:hover .partners__track { animation-play-state: paused; }
.partner {
  width: 240px; height: 120px; flex: none; display: grid; place-items: center; padding: 20px 26px;
  background: var(--white); border: 1px solid rgba(0,0,0,.07); border-radius: 18px;
  transition: border-color .3s, transform .4s var(--ease);
}
.partner:hover { border-color: var(--amber); transform: translateY(-4px); }
.partner img { max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partner:hover img { filter: none; opacity: 1; }
.partner__name {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  font: 800 18px/1.1 var(--f-head); text-transform: uppercase; color: #2b2b2b; letter-spacing: .01em;
}
.partner__name::before { content: "ТОВ"; font: 700 10px/1 var(--f-body); letter-spacing: .3em; color: var(--orange); }

/* ---------- GALLERY ---------- */
.gallery { background: var(--white); }
/* «цегляна» розкладка: фото різної орієнтації стають щільно, без порожнин */
.gallery__grid { columns: 4 260px; column-gap: 14px; }
.gallery__item, .gallery__cta { break-inside: avoid; margin: 0 0 14px; width: 100%; }
.gallery__item {
  display: block; padding: 0; border: 0; cursor: zoom-in; position: relative; overflow: hidden;
  background: var(--cream-2); border-radius: 6px;
}
.gallery__item img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter .4s; }
.gallery__item::after {
  content: "+"; position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: var(--black); font: 700 24px/1 var(--f-head);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.gallery__cta { display: flex; border-radius: 6px; }
.case-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 32px;
  background: var(--ink); color: var(--white); position: relative; overflow: hidden; min-height: 300px;
}
.case-cta::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: var(--grad); clip-path: polygon(35% 0, 50% 0, 100% 100%, 85% 100%); opacity: .9; transition: transform .6s var(--ease); }
.case-cta:hover::before { transform: translateX(-20px); }
.case-cta__num { font: 900 clamp(48px, 5vw, 72px)/.9 var(--f-display); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.case-cta__text { font: 800 20px/1.2 var(--f-head); text-transform: uppercase; max-width: 16ch; position: relative; }
.case-cta__btn { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: var(--amber); }
.case-cta__btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.case-cta:hover .case-cta__btn svg { transform: translateX(5px); }

/* прев'ю галереї на головній: 4 фото однакового розміру */
.gallery__grid--preview { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__grid--preview .gallery__item { margin: 0; aspect-ratio: 4 / 5; }
.gallery__grid--preview .gallery__item img { height: 100%; object-fit: cover; }
.gallery__more { display: flex; justify-content: center; margin-top: 36px; }
.gallery__back { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.page-hero--short { min-height: 52vh; }

/* перегляд фото на весь екран */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,8,8,.94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__img { max-width: min(92vw, 1280px); max-height: 82vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 15px; color: #d6d1c9; padding: 0 70px; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: var(--white); font: 400 26px/1 var(--f-body); cursor: pointer; display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.lightbox__btn:hover { background: var(--amber); color: var(--black); border-color: var(--amber); }
.lightbox__close { top: 18px; right: 18px; font-size: 32px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.partners__more { text-align: center; color: var(--muted-dark); margin-top: 20px; font-size: 15px; }

/* ---------- DOCS ---------- */

.docs { padding-top: 40px; }
.docs__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 60px; align-items: center; }
.docs__text { color: var(--muted-dark); margin-top: 22px; max-width: 460px; }
.docs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 10px 0; }
.docs__note { grid-column: 2; font-size: 13px; color: var(--muted-dark); text-align: center; }

/* ілюстрація документа: розмитий текст, без реквізитів */
.doc {
  aspect-ratio: 210 / 297; background: #fffdf8; padding: 9% 9% 8%;
  display: flex; flex-direction: column; gap: 6%; position: relative; overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 40px -26px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  user-select: none;
}
.doc::before { /* тонка рамка бланка */
  content: ""; position: absolute; inset: 4%; border: 1px solid rgba(250,178,61,.55); pointer-events: none;
}
.doc--tilt-l { rotate: -2deg; }
.doc--tilt-r { rotate: 2deg; }
.doc:hover { transform: translateY(-8px); rotate: 0deg; box-shadow: 0 34px 50px -24px rgba(0,0,0,.5); z-index: 1; }
.doc__head { display: flex; align-items: center; gap: 8px; padding-bottom: 6%; border-bottom: 1px solid rgba(0,0,0,.12); }
.doc__logo { display: flex; gap: 2px; height: 16px; flex: none; }
.doc__logo i { width: 4px; background: var(--yellow); transform: skewX(-20deg); }
.doc__logo i:nth-child(2) { background: var(--amber); }
.doc__logo i:nth-child(3) { background: var(--orange); }
.doc__title { font: 800 clamp(10px, 1.05vw, 14px)/1.15 var(--f-head); text-transform: uppercase; text-align: center; color: var(--text-dark); letter-spacing: .02em; }
.doc__blur {
  font: 500 clamp(5px, .5vw, 7px)/1.6 var(--f-body); color: #4a4741;
  filter: blur(1.6px); /* текст не читається */
}
.doc__blur--center { text-align: center; }
.doc__table { display: grid; grid-template-columns: 1fr auto; gap: 0; border-top: 1px solid rgba(0,0,0,.15); }
.doc__table span { padding: 3px 2px; border-bottom: 1px solid rgba(0,0,0,.1); }
.doc__table span:nth-child(even) { text-align: right; padding-left: 8px; }
.doc__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.doc__sign { width: 46%; height: auto; color: #1f3d8a; opacity: .8; }
.doc__stamp {
  width: 34%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 2px solid rgba(31, 61, 138, .55); box-shadow: inset 0 0 0 3px #fffdf8, inset 0 0 0 4px rgba(31, 61, 138, .45);
  color: #1f3d8a; transform: rotate(-14deg); opacity: .85;
}
.doc__stamp .doc__blur { color: #1f3d8a; font-weight: 700; font-size: clamp(4px, .45vw, 6px); }

/* ---------- MISSION ---------- */
.mission { position: relative; padding: clamp(100px, 13vw, 180px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.mission__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.mission::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 70% at 50% 50%, rgba(0,0,0,.55), rgba(0,0,0,.85)); }
.mission__inner { display: grid; justify-items: center; gap: 36px; }
.mission__quote { font: 700 clamp(22px, 3vw, 40px)/1.25 var(--f-head); text-transform: uppercase; max-width: 30ch; letter-spacing: -.01em; }

/* ---------- CONTACTS ---------- */
.contacts { background:
  radial-gradient(50% 60% at 0% 100%, rgba(242,107,29,.12), transparent 70%),
  var(--ink); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contacts__lead { color: var(--muted-light); margin: 22px 0 40px; max-width: 440px; font-size: 17px; }
.contacts__list { display: grid; border-top: 1px solid var(--line-dark); }
.contacts__list li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.contacts__label { font: 600 12px/1 var(--f-body); letter-spacing: .25em; text-transform: uppercase; color: var(--muted-light); }
.contacts__list a, .contacts__list li > span:last-child { font: 800 clamp(18px, 2vw, 26px)/1.1 var(--f-head); text-align: right; }
.contacts__list a:hover { color: var(--amber); }

.form { background: var(--graphite); border: 1px solid var(--graphite-2); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 44px); display: grid; gap: 18px; }
.form__title { font: 800 26px/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 6px; }
.field { display: grid; gap: 8px; }
.field span { font: 600 13px/1 var(--f-body); color: var(--muted-light); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 18px; background: var(--ink); border: 1px solid var(--graphite-2); border-radius: 12px;
  color: var(--white); outline: none; transition: border-color .3s; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #6e6a64; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--amber); }
.field.is-invalid input { border-color: #ff5a4f; }
.form__status { font-size: 14px; min-height: 1.4em; color: var(--amber); }

/* галочка згоди на обробку персональних даних */
.consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px; line-height: 1.45; color: var(--muted-light); }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box {
  width: 22px; height: 22px; flex: none; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--graphite-2); background: var(--ink); position: relative; transition: background .2s, border-color .2s;
}
.consent__box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid var(--black); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease);
}
.consent input:checked + .consent__box { background: var(--grad); border-color: var(--amber); }
.consent input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--amber); outline-offset: 3px; }
.consent.is-invalid .consent__box { border-color: #ff5a4f; }
.consent__link { padding: 0; border: 0; background: none; color: var(--amber); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.consent__link:hover { color: var(--yellow); }

/* вікно з політикою конфіденційності */
.privacy {
  width: min(720px, calc(100vw - 32px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--cream); color: var(--text-dark); box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.privacy::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.privacy[open] { animation: privacyIn .35s var(--ease); }
@keyframes privacyIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.privacy__inner { padding: clamp(26px, 5vw, 48px); position: relative; }
.privacy__close { position: sticky; float: right; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.privacy__close:hover { background: var(--amber); }
.privacy__title { font: 800 clamp(26px, 4vw, 38px)/1.05 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; }
.privacy__date { margin: 10px 0 26px; font-size: 13px; color: var(--muted-dark); }
.privacy h3 { font: 800 17px/1.2 var(--f-head); text-transform: uppercase; margin: 24px 0 8px; }
.privacy p { color: #3d3a35; font-size: 15px; }
.privacy a { color: var(--orange); font-weight: 700; }
.privacy__ok { margin-top: 30px; }
.footer__privacy { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer__privacy:hover { color: var(--amber); }

/* ---------- FOOTER ---------- */
.footer { background: var(--black); padding-top: 40px; overflow: hidden; }
.footer__big {
  font: 900 clamp(70px, 19vw, 320px)/.8 var(--f-display); letter-spacing: -.04em; text-align: center; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .95;
  margin-bottom: 60px;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer__slogan { margin-top: 18px; color: var(--muted-light); }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 30px; justify-content: start; }
.footer__nav a { color: #d6d1c9; font-weight: 600; }
.footer__nav a:hover, .footer__contacts a:hover { color: var(--amber); }
.footer__contacts { display: grid; gap: 10px; justify-items: start; font: 700 18px/1.2 var(--f-head); }
.footer__tiktok { display: inline-flex; align-items: center; gap: 8px; }
.footer__tiktok svg { width: 18px; height: 18px; }

/* телефони з кнопками Viber / Telegram і адреса */
.contacts__phone { display: inline-flex; align-items: center; gap: 10px; }
.msg { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: transform .3s var(--ease), filter .3s; }
.msg svg { width: 21px; height: 21px; }
.msg--viber { background: #7360f2; }
.msg--tg { background: #27a7e7; }
.msg:hover { transform: scale(1.1); filter: brightness(1.1); }
.contacts__list .msg { font-size: 0; }
.contacts__addr { align-items: flex-start !important; }
.contacts__addr-text { display: grid; justify-items: end; gap: 10px; font: 700 16px/1.4 var(--f-head) !important; max-width: 340px; }
.contacts__map { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--f-head) !important; text-transform: uppercase; letter-spacing: .04em; color: var(--amber); }
.contacts__map svg { width: 16px; height: 16px; }
.footer__msg { display: flex; gap: 10px; margin-top: 6px; }
.footer__msg a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); transition: background .3s, color .3s; }
.footer__msg a:hover { background: var(--amber); color: var(--black); }
.footer__msg svg { width: 18px; height: 18px; }
.footer__addr { font: 500 14px/1.4 var(--f-body); color: var(--muted-light); }
.footer__hours { font: 500 13px/1.4 var(--f-body); color: #77736c; }
.contacts__list .contacts__hours { font: 600 15px/1.6 var(--f-body) !important; text-align: right; color: #d6d1c9; }
.contacts__list .contacts__hours { display: grid; grid-template-columns: auto auto; gap: 2px 14px; justify-content: end; text-align: left !important; }
.contacts__hours b { color: var(--white); font-weight: 800; }
.quality__kicker { font: 600 12px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: rgba(0,0,0,.65); margin-bottom: -6px; }
.mission__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; color: #77736c; font-size: 13px; }


/* =========================================================
   СТОРІНКА «ПОСЛУГИ»
   ========================================================= */
.page-hero { position: relative; min-height: 68vh; display: flex; align-items: flex-end; padding: 150px 0 70px; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.35) 40%, rgba(0,0,0,.88)); }
.page-hero__title { font: 800 clamp(34px, 5.4vw, 76px)/1 var(--f-head); text-transform: uppercase; letter-spacing: -.02em; max-width: 16ch; }
.page-hero__lead { max-width: 640px; margin-top: 22px; font-size: clamp(15px, 1.4vw, 18px); color: #e9e5de; }
.page-hero__actions { justify-content: flex-start; }
.breadcrumbs { display: flex; gap: 10px; margin-bottom: 22px; font: 600 13px/1 var(--f-body); color: rgba(255,255,255,.7); }
.breadcrumbs a:hover { color: var(--amber); }

.svc-nav-wrap { background: var(--ink); padding: 0 0 20px; }
.svc-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; transform: translateY(-34px); }
.svc-nav__card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 20px 22px;
  background: var(--graphite); border: 1px solid var(--graphite-2); border-radius: 16px; transition: border-color .3s, transform .4s var(--ease);
}
.svc-nav__card:hover { border-color: var(--amber); transform: translateY(-4px); }
.svc-nav__num { font: 600 14px/1 var(--f-display); color: var(--amber); }
.svc-nav__title { font: 800 15px/1.2 var(--f-head); text-transform: uppercase; }
.svc-nav__card svg { width: 18px; height: 18px; color: var(--amber); }

.svc { padding: clamp(60px, 8vw, 110px) 0; background: var(--ink); scroll-margin-top: 70px; position: relative; }
.svc:nth-of-type(odd) { background: #121212; }
.anchor-alias { position: absolute; top: -70px; }
.svc__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.svc--rev .svc__img { order: 2; }
.svc__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; }
.svc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__title { font: 800 clamp(26px, 3.2vw, 44px)/1.05 var(--f-head); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 18px; }
.svc__lead { color: #cfcac2; font-size: 16px; margin-bottom: 28px; }
.svc__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 26px; border-top: 1px solid var(--line-dark); margin-bottom: 30px; }
.svc__lists h3 { font: 800 15px/1.2 var(--f-head); text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.svc__lists .service__list { margin-bottom: 0; font-size: 14.5px; }
.svc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline-dark { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.3); }
.btn--outline-dark:hover { border-color: var(--amber); color: var(--amber); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: none; }
.step { background: var(--graphite); border: 1px solid var(--graphite-2); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 10px; align-content: start; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--black); display: grid; place-items: center; font: 800 18px/1 var(--f-display); margin-bottom: 8px; }
.step h3 { font: 800 17px/1.2 var(--f-head); text-transform: uppercase; }
.step p { color: var(--muted-light); font-size: 14px; }

.geo__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.geo__text { display: grid; gap: 16px; color: var(--muted-dark); font-size: 16px; justify-items: start; }
.geo__text .btn-split { margin-top: 10px; }

@media (max-width: 1100px) {
  .svc-nav { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .svc__inner, .geo__inner { grid-template-columns: 1fr; }
  .svc--rev .svc__img { order: 0; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 0; padding: 120px 0 56px; }
  .svc-nav { grid-template-columns: 1fr; gap: 10px; transform: none; padding-top: 20px; }
  .svc__lists { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc__actions .btn { flex: 1 1 auto; }
}

/* плаваюча кнопка дзвінка (мобільна) */
.fab-call { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: var(--black); place-items: center; box-shadow: 0 12px 30px -8px rgba(242,107,29,.7); }
.fab-call svg { width: 24px; height: 24px; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--amber); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- анімовані промені на фоні ---------- */
.has-beams { overflow: hidden; isolation: isolate; }
.has-beams > .container { position: relative; z-index: 1; }
.beams { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(15px); opacity: .9; }
.has-beams::after { /* легке пульсуюче затемнення поверх променів, як у компоненті */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--ink); animation: beamsVeil 10s ease-in-out infinite;
}
@keyframes beamsVeil { 0%, 100% { opacity: .05; } 50% { opacity: .2; } }
.team-card { background: rgba(11, 11, 11, .35); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .fleet__grid { grid-template-columns: repeat(3, 1fr); }
  .fleet__photo { grid-column: span 3; grid-row: auto; min-height: 380px; }
  .machine:nth-last-child(-n+2) { grid-column: auto; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr; justify-items: start; }
  .scroll-cue { display: none; }
  .hero__badge { justify-self: start; }
  .hero__social { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .service, .service--rev { grid-template-columns: 1fr; }
  .service--rev .service__img { order: 0; }
  .service__img { min-height: 260px; order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .timeline::before { display: none; }
  .quality__inner { grid-template-columns: 1fr; }
  .docs__inner { grid-template-columns: 1fr; }
  .docs__note { grid-column: auto; }
  .doc__title { font-size: clamp(9px, 2.6vw, 14px); }
  .doc__blur { font-size: clamp(4px, 1.3vw, 7px); }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header { padding: 14px 16px; gap: 10px; }
  .header__phone, .header__actions .btn { display: none; }
  .logo__text { font-size: 17px; }
  .hero { padding: 110px 16px 24px; }
  .hero__bg { background-position: 80% 55%; } /* на телефоні асфальтоукладач у кадрі */
  .hero__eyebrow { letter-spacing: .18em; font-size: 10.5px; }
  .glass-card { flex-direction: column; max-width: 100%; }
  .glass-card__img { width: 100%; min-height: 110px; }
  .glass-card__body { padding: 0 8px 8px; }
  .hero__badge { width: 100%; }
  .hero__badge-num { font-size: 72px; }
  .btn-split span { padding: 16px 18px; }
  .section-head { align-items: flex-start; }
  .about__text { font-size: 16px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .fleet__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .machine svg { margin-bottom: 0; }
  .machine h3 { margin-top: 8px; }
  .footer__bottom { padding-bottom: 100px; }
  .fleet__photo { grid-column: auto; min-height: 300px; }
  .machine { min-height: 0; }
  .team__grid { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2; column-gap: 10px; }
  .gallery__grid--preview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery__item, .gallery__cta { margin-bottom: 10px; }
  .case-cta { padding: 22px; min-height: 220px; }
  .case-cta__text { font-size: 15px; }
  .case-cta__num { font-size: 34px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .partner { width: 190px; height: 100px; }
  .contacts__list li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .contacts__list a, .contacts__list li > span:last-child { text-align: left; }
  .contacts__addr-text { justify-items: start; }
  .contacts__list .contacts__hours { justify-content: start; }
  .mission__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .glass-card { display: none; } /* на телефоні є головні кнопки — картка зайва */
  .btn--lg { padding: 17px 22px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
}

/* поле-пастка для ботів у формі */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
