/* ЦОУ Kuzet — landing. All desktop metrics come 1:1 from the Figma frame "Главная страница" (1440 × 11960). */

:root {
  --bg: #000;
  --panel: #0a0a0a;
  --cell: #0b0b0b;
  --cell-head: #151515;
  --line: #252525;
  --line-2: #333;
  --white: #fff;
  --muted: #999;
  --muted-2: #808080;
  --accent: #6eb2b1;
  --accent-rgb: 110, 178, 177;
  --gutter: 35px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Roboto Flex", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt: "Manrope", "Gilroy", var(--font);
  --zoom: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  line-height: normal;
  font-optical-sizing: none; /* Figma renders Roboto Flex at a fixed opsz */
  font-variation-settings: "opsz" 20;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip; /* clip keeps body from becoming a scroll box, so sticky bars work */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, fieldset { margin: 0; padding: 0; border: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[data-icon] { display: inline-flex; width: 1em; height: 1em; flex: none; }
[data-icon] svg { width: 100%; height: 100%; }
::selection { background: rgba(var(--accent-rgb), .35); }

.page {
  position: relative;
  width: 1440px;
  margin: 0 auto;
  overflow-x: clip;
  zoom: var(--zoom);
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-content: center; gap: 22px; justify-items: center;
  background: #000;
}
.loader__logo { width: 142px; height: 60px; opacity: 0; }
.loader__bar { width: 142px; height: 1px; background: rgba(255,255,255,.12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.is-ready .loader { pointer-events: none; }

/* ---------- typography ---------- */
.h1 { font-size: 48px; line-height: 57px; font-weight: 400; }
.h2 { font-size: 32px; line-height: 38px; font-weight: 400; letter-spacing: 0; }
.h3 { font-size: 24px; line-height: 29px; font-weight: 400; }
.h4 { font-size: 24px; line-height: 29px; font-weight: 500; }
.label { font-size: 14px; line-height: 16px; font-weight: 500; }
.split-line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 30px;
  border-radius: 10px;
  font-size: 15px; font-weight: 300; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--outline { border: 1px solid rgba(255,255,255,.3); }
.btn--outline:hover { background: #fff; color: #000; border-color: #fff; }
.btn--white { background: #fff; color: #000; font-weight: 500; font-size: 14px; }
.btn--white:hover { background: var(--accent); }
.btn--ghost { border: 1px solid #3a3a3a; color: #6b6b6b; font-size: 14px; }
.btn--ghost:not(:disabled):hover { border-color: #fff; color: #fff; }
.btn:disabled { cursor: default; }
.btn--pill {
  width: 225px; height: 59px; border-radius: 30px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 16px; font-weight: 300;
  overflow: hidden; isolation: isolate;
}
.btn--pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #fff; border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn--pill:hover { color: #000; border-color: #fff; }
.btn--pill:hover::before { transform: none; }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 96px;
  background: rgba(10,10,10,.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: height .6s var(--ease), background .4s, box-shadow .4s;
}
/* compact state while scrolling: 96 → 64px, content shifts up by 16px */
.header.is-compact { height: 64px; background: rgba(10,10,10,.82); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.35); }
.header__in { position: relative; width: 1440px; height: 96px; margin: 0 auto; transition: transform .6s var(--ease); }
.header.is-compact .header__in { transform: translateY(-16px); }
.header__logo { position: absolute; left: 35px; top: 31px; }
.header__logo img { width: 71px; height: 30px; }
.header__nav { position: absolute; left: 203px; top: 39px; display: flex; gap: 30px; }
.header__nav a, .header__phone { position: relative; font-size: 12px; line-height: 14px; font-weight: 300; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__nav a.is-active { color: var(--accent); }
.header__phone { position: absolute; left: 1034px; top: 37px; font-size: 15px; line-height: 18px; font-weight: 400; transition: color .3s; }
.header__phone:hover { color: var(--accent); }
.header__sep { position: absolute; left: 1186px; top: 21px; width: 1px; height: 50px; background: rgba(255,255,255,.3); }
.header__cta { position: absolute; left: 1226.5px; top: 21px; width: 178px; }
.header__burger { display: none; }
.header__contacts { display: none; }

/* language switcher */
.lang { position: absolute; left: 968px; top: 35px; z-index: 2; }
.lang__btn {
  display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 6px;
  font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: .04em;
  transition: border-color .3s, color .3s;
}
.lang__btn [data-icon] { font-size: 10px; transition: transform .4s var(--ease); }
.lang__btn:hover { border-color: var(--accent); color: var(--accent); }
.lang.is-open .lang__btn [data-icon] { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 132px; padding: 6px;
  display: grid; gap: 2px;
  background: rgba(14,14,14,.96); border: 1px solid var(--line); border-radius: 10px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { padding: 9px 12px; border-radius: 6px; text-align: left; font-size: 13px; font-weight: 300; color: #cfcfcf; transition: background .25s, color .25s; }
.lang__menu button:hover { background: #1b1b1b; color: #fff; }
.lang__menu button.is-on { color: var(--accent); font-weight: 500; }
body::after { content: ""; position: fixed; inset: 0; z-index: 200; background: #000; opacity: 0; pointer-events: none; transition: opacity .35s; }
body.is-switching::after { opacity: 1; }
/* Kazakh labels are longer: tighten the nav so it never reaches the switcher */
:lang(kk) .header__nav { gap: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 871px; margin-top: 96px; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; }
.hero__bg { width: 1440px; height: 871px; transform-origin: 50% 40%; }
.hero__spot {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(var(--accent-rgb), .07), transparent 70%);
}
.hero__h1 { display: contents; }
.hero__kicker {
  display: block; position: absolute; top: 109px;
  font-size: 24px; line-height: 29px; font-weight: 400;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__kicker--l { left: 450px; background-image: linear-gradient(90deg, #2c2c2c, #979797); }
.hero__kicker--r { left: 832px; background-image: linear-gradient(90deg, #989898, #373737); }
.hero__big {
  display: block; position: absolute; top: 216px; height: 181px;
  font-size: 145px; line-height: 181px; font-weight: 200;
  text-transform: uppercase; white-space: nowrap;
  font-variation-settings: "opsz" 72;
}
.hero__big .split, .hero__big .ch {
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__big--l { left: 35px; width: 485px; }
.hero__big--l .split, .hero__big--l .ch { background-image: linear-gradient(90deg, #959595 0%, #2e2e2e 100%); background-size: 485px 100%; }
/* right word is centred in the zone right of the figure (1040–1405): "МИНУТ" lands where Figma has it, shorter words stay balanced */
.hero__big--r { left: 1025px; width: 365px; text-align: center; top: 242px; overflow: visible; }
.hero__big--r .split, .hero__big--r .ch { background-image: linear-gradient(90deg, #283333 0%, #6eb2b0 100%); background-size: 384px 100%; }
.ch { display: inline-block; will-change: transform, opacity, filter; font-variation-settings: inherit; }
.hero__cta { position: absolute; left: 0; right: 0; top: 579px; text-align: center; }
.hero__title { font-size: 36px; line-height: 43px; font-weight: 400; }
.hero__sub { margin-top: 15px; font-size: 16px; line-height: 19px; font-weight: 300; color: #d9d9d9; }

/* ---------- sections ---------- */
.section { position: relative; padding: 0 var(--gutter); }
.response { padding-top: 0; }
.escort, .releases, .monitoring, .about, .news { margin-top: 150px; }

/* the coverage map and table live in coverage.css (shared with the blog) */

/* ---------- escort wizard ---------- */
.escort__glow { position: absolute; top: 266px; width: 700px; height: 700px; border-radius: 50%; pointer-events: none; filter: blur(140px); background: rgba(var(--accent-rgb), .06); }
.escort__glow--l { left: -350px; }
.escort__glow--r { left: 1090px; }
.escort__lead, .response__lead { margin-top: 30px; font-size: 14px; line-height: 17px; font-weight: 300; }
/* the request form itself lives in escort.css (shared with the blog) */

/* ---------- releases ---------- */
.releases::before {
  content: ""; position: absolute; left: 0; top: -150px; width: 1440px; height: 591px; z-index: -1;
  background: url(../assets/img/releases-top.jpg) no-repeat 0 0 / 1440px 591px;
}
.badge {
  display: inline-flex; margin-top: 50px;
  height: 44px; padding: 0 15px; align-items: center;
  border-radius: 10px; border: 1px solid #333; background: #191919;
  font-size: 13px; line-height: 16px; color: #9a9a9a;
}
.releases__title { margin-top: 20px; font-size: 48px; line-height: 57px; font-weight: 400; }
.releases__sub { margin-top: 30px; font-size: 24px; line-height: 29px; font-weight: 400; }
.releases__desc { margin-top: 50px; max-width: 1051px; font-size: 14px; line-height: 17px; font-weight: 300; color: #808080; }

.sos { position: relative; height: 1180px; margin: 15px calc(var(--gutter) * -1) 0; }
.sos__bg { position: absolute; inset: 0; width: 1440px; height: 1180px; }
.sos__label { position: absolute; left: 685px; top: 165px; font-size: 24px; line-height: 29px; color: #3a3a3a; letter-spacing: .02em; }
.sos__btn { position: absolute; left: 647px; top: 264px; width: 130px; height: 130px; border-radius: 50%; }
.sos__btn i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .6); opacity: 0; pointer-events: none; }
.glass {
  position: absolute; width: 500px; height: 250px;
  padding: 50px 35px 0;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,.035) 100%);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .45), rgba(255,255,255,.06) 40%, rgba(255,255,255,.04) 60%, rgba(var(--accent-rgb), .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 80px -30px rgba(var(--accent-rgb), .35); }
.glass--a { left: 840px; top: 175px; }
.glass--b { left: 100px; top: 537px; }
.glass__title { font-size: 20px; line-height: 24px; font-weight: 400; font-style: italic; font-variation-settings: "slnt" -10; }
.glass__text { margin-top: 20px; font-size: 14px; line-height: 17px; font-weight: 300; color: #e9e9e9; }
.glass__feat { display: flex; gap: 20px; margin-top: 40px; }
.glass__feat img { width: 59px; height: 49px; border-radius: 10px; }
.glass__feat b { display: block; padding-top: 5px; font-size: 14px; line-height: 17px; font-weight: 500; }
.glass__feat span { display: block; margin-top: 5px; font-size: 14px; line-height: 17px; font-weight: 300; color: #b6b6b6; }

.everywhere { display: flex; margin-top: 25px; height: 137px; }
.everywhere__pics { display: flex; gap: 10px; width: 685px; }
.pic { height: 137px; border-radius: 20px; overflow: hidden; }
.pic img { height: 137px; width: auto; max-width: none; transition: transform 1s var(--ease); }
.pic:hover img { transform: scale(1.08); }
.everywhere__text { width: 685px; padding-top: 20px; }
.everywhere__text p { margin-top: 30px; font-size: 16px; line-height: 19px; font-weight: 300; color: #999; }

.features { margin-top: 200px; }
.features__grid { display: flex; margin-top: 50px; }
.features__cards { display: grid; gap: 10px; width: 685px; }
.fcard { position: relative; width: 565px; height: 350px; border: 1px solid #2a2a2a; border-radius: 10px; overflow: hidden; background: #050606; }
.fcard > img { position: absolute; inset: 0; width: 563px; height: 348px; transition: transform 1.2s var(--ease); }
.fcard:hover > img { transform: scale(1.03); }
.fcard__num { position: absolute; left: 35px; top: 50px; font-size: 24px; line-height: 29px; font-weight: 300; color: #505050; }
.fcard__name { position: absolute; left: 35px; top: 271px; font-size: 24px; line-height: 29px; font-weight: 300; color: #fff; }
.fcard__ripple { position: absolute; left: 398px; top: 109px; width: 66px; height: 66px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .8); opacity: 0; pointer-events: none; }
.fcard__route { position: absolute; inset: 0; width: 565px; height: 350px; overflow: visible; }
.route { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .6)); }
.pin-red-o { fill: rgba(228, 98, 98, .35); }
.pin-red { fill: #e46262; }
.pin-teal-o { fill: rgba(var(--accent-rgb), .3); stroke: rgba(var(--accent-rgb), .55); }
.pin-teal { fill: var(--accent); }
.features__text { width: 685px; padding-top: 50px; }
.features__text .h1 { max-width: 560px; }
.features__desc { margin-top: 50px; font-size: 14px; line-height: 17px; font-weight: 300; color: #808080; }
.features__sub { margin-top: 103px; font-size: 16px; line-height: 20px; font-weight: 500; }
.perks { margin-top: 50px; }
.perks li { --ln: 1; display: flex; align-items: center; gap: 15px; height: 17px; font-size: 14px; line-height: 17px; font-weight: 300; color: #e3e3e3; }
.perks li + li { margin-top: 20px; position: relative; }
.perks li + li::before { content: ""; position: absolute; left: 0; top: -11px; width: 685px; height: 1px; background: rgba(255,255,255,.12); transform-origin: left; transform: scaleX(var(--ln, 1)); }
.perks [data-icon] { font-size: 17px; color: #fff; }

.audience { margin-top: 89px; }
.audience__grid { display: grid; grid-template-columns: repeat(4, 335px); gap: 10px; margin-top: 50px; }
.acard__pic { position: relative; height: 250px; border: 1px solid #333; border-radius: 10px; background: #000; overflow: hidden; transition: border-color .5s; }
.acard__pic img { position: absolute; left: 71px; top: 29px; width: 190px; height: 190px; transition: transform .8s var(--ease); }
.acard__pic--s img { left: 81px; top: 39px; width: 170px; height: 170px; }
.acard:hover .acard__pic { border-color: rgba(var(--accent-rgb), .6); }
.acard:hover .acard__pic img { transform: scale(1.07) rotate(-1deg); }
.acard h4 { margin-top: 20px; font-size: 16px; line-height: 20px; font-weight: 500; }
.acard p { margin-top: 15px; font-size: 12px; line-height: 15px; font-weight: 300; color: #999; }

/* ---------- monitoring ---------- */
.monitoring { height: 863px; }
.monitoring__scene { position: absolute; left: 0; top: -29px; width: 1440px; height: 822px; overflow: hidden; }
.monitoring__scene img { width: 1440px; height: 822px; transform-origin: 50% 45%; }
.monitoring__h { position: relative; }
.monitoring__cta { position: absolute; left: 0; right: 0; top: 542px; display: grid; justify-items: center; text-align: center; }
.monitoring__title { font-size: 48px; line-height: 57px; font-weight: 400; }
.monitoring__sub { margin-top: 25px; font-size: 16px; line-height: 19px; font-weight: 300; color: #d9d9d9; }
.monitoring__cta .btn { margin-top: 50px; }
.monitoring__text { position: absolute; left: 35px; right: 35px; top: 802px; }
.monitoring__text h4 { font-size: 14px; line-height: 17px; font-weight: 700; }
.monitoring__text p { margin-top: 10px; font-size: 14px; line-height: 17px; font-weight: 300; color: #999; }

/* ---------- about ---------- */
.about__box { position: relative; margin-top: 50px; height: 1249px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.about__visual { position: absolute; left: 0; top: 0; width: 1368px; height: 610px; overflow: hidden; }
.about__visual img { width: 1368px; height: 610px; }
.about__body { position: absolute; left: 64px; right: 64px; top: 718px; font-family: var(--font-alt); }
.about__pre { font-size: 24px; line-height: 29px; font-weight: 200; }
.about__title { margin-top: 15px; font-size: 48px; line-height: 57px; font-weight: 400; }
.about__title em { font-style: normal; color: var(--accent); }
.about__lead { margin-top: 20px; font-size: 16px; line-height: 19px; font-weight: 600; }
.about__desc { margin-top: 30px; font-size: 13px; line-height: 16px; font-weight: 400; color: #999; }
.stats { display: grid; grid-template-columns: 573px 573px; column-gap: 94px; margin-top: 100px; }

/* ---------- news ---------- */
.news__viewport { margin-top: 50px; width: 1405px; overflow: hidden; cursor: grab; }
.news__viewport.is-drag { cursor: grabbing; }
.news__track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.ncard { position: relative; width: 450px; height: 450px; padding: 5px; border: 1px solid #333; border-radius: 10px; transition: border-color .5s; user-select: none; }
.ncard:hover { border-color: rgba(var(--accent-rgb), .6); }
.ncard__img { height: 250px; border-radius: 6px; overflow: hidden; }
.ncard__img img { width: 440px; height: 250px; object-fit: cover; pointer-events: none; transition: transform 1s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.06); }
.ncard h3 { margin: 30px 25px 0; font-size: 16px; line-height: 20px; font-weight: 500; }
/* the whole card is clickable when the news has its own page */
.ncard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ncard:has(.ncard__link) { cursor: pointer; }
.ncard:has(.ncard__link):hover h3 { color: var(--accent); }
.ncard h3 { transition: color .4s; }
.ncard__date { position: absolute; left: 30px; top: 403px; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 17px; color: #808080; }
.ncard__date [data-icon] { font-size: 17px; }
.news__nav { display: flex; justify-content: center; gap: 30px; margin-top: 50px; }
.news__nav button { display: grid; place-items: center; width: 30px; height: 30px; font-size: 30px; color: #fff; transition: color .3s, transform .3s var(--ease); }
.news__nav button:disabled { color: #4a4a4a; cursor: default; }
.news__nav button:not(:disabled):hover { color: var(--accent); transform: scale(1.08); }
.news__all { display: table; margin: 26px auto 0; padding: 12px 24px; border: 1px solid #333; border-radius: 24px; font-size: 15px; font-weight: 300; transition: border-color .3s, color .3s; }
.news__all:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- footer ---------- */
/* the panel runs edge to edge on any screen: box-shadow paints it past the 1440 frame */
.footer {
  position: relative; margin-top: 200px; padding: 70px 35px 0;
  background: var(--panel); border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 0 0 100vmax var(--panel); clip-path: inset(0 -100vmax);
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 64px; }
.footer__brand img { width: 71px; height: 30px; }
.footer__brand p { margin-top: 13px; font-size: 11px; line-height: 13px; font-weight: 300; color: #858585; }
.footer__brand .footer__about { margin-top: 26px; max-width: 340px; font-size: 14px; line-height: 21px; color: #9e9e9e; }
.footer__cta { margin-top: 30px; }
.footer__col { display: grid; align-content: start; gap: 16px; }
.footer__title { margin-bottom: 8px; font-size: 13px; line-height: 16px; color: #6f6f6f; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 16px; line-height: 19px; font-weight: 300; transition: color .3s, transform .4s var(--ease); }
.footer__col a:hover { color: var(--accent); transform: translateX(6px); }
.footer__col a [data-icon] { font-size: 20px; color: var(--accent); }
.footer__col p:not(.footer__title) { font-size: 14px; line-height: 18px; font-weight: 300; color: #9e9e9e; }
.footer__contacts .footer__phone { font-size: 24px; line-height: 28px; font-weight: 400; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 16px; font-weight: 300; color: #6b6b6b; }

/* ---------- wide screens: let full-bleed scenes melt into the page ---------- */
/* ---------- faq ---------- */
.faq { margin-top: 150px; }
.faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; margin-top: 50px; }
.faq__item { border: 1px solid #333; border-radius: 10px; transition: border-color .5s; }
.faq__item:hover, .faq__item[open] { border-color: rgba(var(--accent-rgb), .6); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 30px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: 16px; line-height: 20px; font-weight: 500; }
.faq__plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .4s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__item p { padding: 0 30px 25px; font-size: 14px; line-height: 19px; font-weight: 300; color: #999; }

/* wide and curved monitors: the zoomed page fills the width; whatever is left at the sides
   (21:9, 32:9) gets a slow accent glow instead of flat black, faded out under the page itself */
@media (min-width: 1441px) {
  body::before {
    --half: calc(720px * var(--zoom, 1));
    content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
      radial-gradient(45vw 70vh at 0% calc(15% + var(--sp, 0) * 70%), rgba(var(--accent-rgb), .13), transparent 70%),
      radial-gradient(45vw 70vh at 100% calc(85% - var(--sp, 0) * 70%), rgba(var(--accent-rgb), .13), transparent 70%),
      radial-gradient(30vw 40vh at 0% 100%, rgba(var(--accent-rgb), .06), transparent 70%),
      linear-gradient(90deg, #060a0a, #000 35%, #000 65%, #060a0a);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(50% - var(--half) - 160px), transparent calc(50% - var(--half) + 40px), transparent calc(50% + var(--half) - 40px), #000 calc(50% + var(--half) + 160px));
    mask-image: linear-gradient(90deg, #000 calc(50% - var(--half) - 160px), transparent calc(50% - var(--half) + 40px), transparent calc(50% + var(--half) - 40px), #000 calc(50% + var(--half) + 160px));
    animation: ambientBreath 9s ease-in-out infinite alternate;
  }
}
@media (min-width: 1441px) {
  .page { overflow-x: visible; }
  .escort { overflow-x: clip; } /* its side glows stay inside the section, as before */
}
@keyframes ambientBreath { from { opacity: .75; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
@media (min-width: 1441px) {
  .hero__scene, .sos__bg, .monitoring__scene {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
}

/* ============================================================
   Tablet & mobile (< 1025px): fluid layout instead of the 1440 grid
   ============================================================ */
@media (max-width: 1024px) {
  .faq { margin-top: 96px; }
  .faq__list { grid-template-columns: 1fr; margin-top: 32px; }
  .faq__item summary { padding: 20px; }
  .faq__item p { padding: 0 20px 20px; }
  :root { --gutter: 16px; }
  .page { width: 100%; zoom: 1; }

  .header, .header.is-compact { height: 64px; }
  .header__in, .header.is-compact .header__in { width: 100%; height: 64px; transform: none; }
  .header__logo { left: 16px; top: 17px; }
  .header__nav {
    position: fixed; inset: 64px 0 auto; top: 64px; left: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 24px;
    background: rgba(10,10,10,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease), opacity .3s;
  }
  .header.is-open .header__nav { transform: none; opacity: 1; pointer-events: auto; }
  .header__nav a { font-size: 18px; line-height: 22px; padding: 14px 0; border-bottom: 1px solid #1a1a1a; }
  .header__nav a::after { display: none; }
  .header__phone, .header__sep { display: none; }
  .header__cta { left: auto; right: 64px; top: 12px; width: auto; height: 40px; padding: 0 16px; font-size: 13px; }
  .lang { left: auto; right: 210px; top: 20px; }
  .header__burger { display: grid; gap: 6px; position: absolute; right: 16px; top: 20px; width: 28px; height: 24px; align-content: center; }
  .header__burger span { display: block; height: 1.5px; background: #fff; transition: transform .4s var(--ease); }
  .header.is-open .header__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .header.is-open .header__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .hero { height: auto; min-height: 640px; margin-top: 64px; display: grid; align-content: end; padding: 0 16px 48px; }
  .hero__scene { overflow: hidden; }
  /* phones: pictures fill their box with object-fit, so GSAP's scale/parallax transforms never knock them off centre */
  .hero__bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 20%; }
  .hero__kicker { position: relative; z-index: 1; top: auto; left: auto !important; font-size: 18px; line-height: 22px; }
  .hero__kicker--r { margin-top: -22px; justify-self: end; }
  .hero__big { position: relative; top: auto !important; left: auto; right: auto; width: auto; height: auto; font-size: clamp(64px, 17vw, 150px); line-height: 1.05; }
  .hero__big--r { text-align: right; }
  .hero__big .split, .hero__big .ch { background-size: 100% 100%; }
  .hero__cta { position: relative; top: auto; margin-top: 140px; }
  .hero__title { font-size: 26px; line-height: 32px; }
  .hero__kicker--l { order: -2; margin-top: 260px; }
  .hero__kicker--r { order: -2; }

  .h2 { font-size: 26px; line-height: 31px; }
  .h1, .releases__title, .monitoring__title, .about__title { font-size: 32px; line-height: 38px; }
  .escort, .releases, .monitoring, .about, .news { margin-top: 96px; }


  .escort__glow { display: none; }

  .sos { height: 118vw; max-height: 1180px; overflow: hidden; margin-top: 24px; }
  .sos__bg { left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
  .sos__label, .sos__btn { display: none; }
  .glass { position: relative; left: auto !important; top: auto !important; width: auto; height: auto; padding: 28px 24px; border-radius: 28px; margin: 12px 0 0; }
  .sos + .everywhere { margin-top: 12px; }
  .sos ~ .glass-wrap { display: grid; }
  .everywhere { flex-direction: column; height: auto; gap: 24px; margin-top: 48px; }
  .everywhere__pics, .everywhere__text { width: 100%; }
  .everywhere__pics { overflow-x: auto; }
  .everywhere__text { padding: 0; }
  .features { margin-top: 96px; }
  .features__grid { flex-direction: column-reverse; gap: 32px; }
  .features__cards, .features__text { width: 100%; padding: 0; }
  .fcard { width: 100%; height: auto; aspect-ratio: 565 / 350; }
  .fcard > img, .fcard__route { width: 100%; height: 100%; }
  .features__sub { margin-top: 48px; }
  .perks li { height: auto; align-items: flex-start; }
  .perks li + li::before { width: 100%; }
  .audience { margin-top: 96px; }
  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .acard__pic { height: auto; aspect-ratio: 335 / 250; }
  .acard__pic img, .acard__pic--s img { left: 50%; top: 50%; width: 56%; height: auto; transform: translate(-50%, -50%); }
  .acard:hover .acard__pic img { transform: translate(-50%, -50%) scale(1.07); }

  .monitoring { height: auto; padding-bottom: 0; }
  .monitoring__scene { position: relative; top: 0; left: -16px; width: calc(100% + 32px); height: 80vw; margin-top: 24px; }
  .monitoring__scene img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }
  .monitoring__h { position: absolute; top: 0; }
  .monitoring { padding-top: 40px; }
  .monitoring__cta { position: relative; top: auto; margin-top: -30vw; }
  .monitoring__text { position: relative; left: auto; right: auto; top: auto; margin-top: 48px; }

  .about__box { height: auto; padding-bottom: 40px; }
  .about__visual { position: relative; width: 100%; height: 56vw; }
  .about__visual img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
  .about__body { position: relative; left: auto; right: auto; top: auto; padding: 40px 20px 0; }
  .stats { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }

  .news__viewport { width: calc(100% + 16px); }
  .ncard { width: min(84vw, 450px); height: auto; padding-bottom: 70px; }
  .ncard__img { height: auto; aspect-ratio: 440 / 250; }
  .ncard__img img { width: 100%; height: 100%; object-fit: cover; }
  .ncard h3 { margin: 24px 20px 0; }
  .ncard__date { top: auto; bottom: 24px; left: 25px; }

  .footer { margin-top: 96px; padding: 44px 16px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; padding-bottom: 40px; }
  .footer__brand, .footer__contacts { grid-column: 1 / -1; }
  .footer__col a { font-size: 15px; }
  .footer__bottom { flex-direction: column; gap: 8px; padding-bottom: 24px; }

  /* ---------- touch comfort ---------- */
  .header__burger { right: 6px; top: 10px; width: 44px; height: 44px; padding: 10px 8px; }
  .lang { right: 206px; top: 14px; }
  .lang__btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .lang__menu button { padding: 12px 14px; font-size: 15px; }
  .header__nav { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .header__contacts { display: grid; gap: 10px; margin-top: 20px; }
  .header__contacts a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0; border: 1px solid #2a2a2a; border-radius: 12px; font-size: 16px; }
  .header__contacts a:first-child { background: #fff; color: #000; border-color: #fff; font-weight: 500; }
  .header__contacts [data-icon] { font-size: 20px; }

  .hero__kicker--l { background-image: linear-gradient(90deg, #8d8d8d, #e6e6e6); }
  .hero__kicker--r { background-image: linear-gradient(90deg, #e6e6e6, #8d8d8d); }



  /* phones and tablets: the browser scrolls the row itself (momentum, snap to a card); main.js drags it only on desktop */
  .news__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; cursor: auto; }
  .news__viewport::-webkit-scrollbar { display: none; }
  .news__track { will-change: auto; }
  .ncard { scroll-snap-align: start; }
  .news__nav button { width: 44px; height: 44px; font-size: 34px; }
  .footer__col a { padding: 10px 0; }

}

@media (max-width: 560px) {
  /* phones: the four audience cards are a swipe row, the next one peeks in from the right */
  .audience__grid {
    display: flex; gap: 10px; margin-inline: -16px; padding: 0 16px 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .audience__grid::-webkit-scrollbar { display: none; }
  .acard { flex: 0 0 78%; scroll-snap-align: start; }
  /* the two feature cards of the SOS app: one swipe row instead of two stacked pictures */
  .features__cards {
    display: flex; gap: 10px; margin-inline: -16px; padding: 0 16px 4px; width: auto;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .features__cards::-webkit-scrollbar { display: none; }
  .fcard { flex: 0 0 86%; scroll-snap-align: start; }
  .hero__kicker--l { margin-top: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
