/* voloshchak.com — static landing */

/* ---------- Fonts (self-hosted, see assets/fonts/README.txt) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-italic-500-cyrillic.woff2?v=1") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/montserrat-italic-500-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Numerals and Latin only — used for prices, phone numbers and years (class .num) */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2?v=1") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --c-bg: #112429;
  --c-bg-alt: #0e1f24;
  --c-side: #182f35;
  --c-surface: #183138;
  --c-line: rgba(122, 231, 199, .16);
  --c-line-strong: rgba(122, 231, 199, .42);
  --c-mint: #7ae7c7;
  --c-mint-hi: #a6f2dc;
  --c-teal: #129488;
  --c-teal-dark: #0e7f75;
  --c-text: #eaf2f3;
  --c-dim: #a9bcbf;
  --c-faint: #8a9fa3;
  --c-ink: #0c1f24;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 20px 50px rgba(3, 12, 15, .35);
  --sp: clamp(52px, 6vw, 84px);

  --side-w: 250px;
  --bar-h: 64px;

  --f-head: "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-num: "Space Grotesk", "Montserrat", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font: 400 16px/1.65 var(--f-head);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--c-mint); outline-offset: 3px; border-radius: 4px; }
.contact__form :focus-visible { outline-color: var(--c-teal-dark); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.num { font-family: var(--f-num); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 100;
  padding: 12px 20px; border-radius: 999px;
  background: var(--c-mint); color: var(--c-ink); font-weight: 700; font-size: 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(1040px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 700 15px/1.2 var(--f-head); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn .icon { font-size: 18px; }
.btn .num { font-size: 16px; font-weight: 600; letter-spacing: .01em; }
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--c-mint); color: var(--c-ink); box-shadow: 0 10px 26px rgba(122, 231, 199, .2); }
.btn--primary:hover { background: var(--c-mint-hi); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(122, 231, 199, .28); }
.btn--ghost { border-color: var(--c-line-strong); background: transparent; color: var(--c-mint); }
.btn--ghost:hover { background: rgba(122, 231, 199, .1); border-color: var(--c-mint); }
.btn--dark { background: #25444b; color: var(--c-mint); }
.btn--dark:hover { background: var(--c-mint); color: var(--c-ink); }
.btn--submit { background: var(--c-teal-dark); color: #fff; }
.btn--submit:hover { background: #0a655d; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 127, 117, .3); }

/* ---------- Sidebar (desktop) / top bar (tablet, mobile) ---------- */
.sidebar {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-side);
  border-bottom: 1px solid rgba(122, 231, 199, .1);
}
.sidebar__bar {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--bar-h); padding: 6px 20px;
}
.brand { display: block; line-height: 0; }
.brand img { width: auto; height: 50px; }
.sidebar__call { margin-left: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -10px; padding: 0;
  background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--c-mint);
  transition: transform .25s, opacity .2s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.is-open .nav-toggle__icon { background: transparent; }
.is-open .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

.sidebar__panel {
  position: fixed; top: var(--bar-h); right: 0; bottom: 0; z-index: 2;
  width: min(300px, 88vw);
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 0 24px;
  background: var(--c-side);
  border-left: 1px solid rgba(122, 231, 199, .1);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.is-open .sidebar__panel { transform: none; visibility: visible; transition: transform .3s ease; }
.sidebar__backdrop {
  position: fixed; inset: var(--bar-h) 0 0 0; z-index: 1;
  background: rgba(5, 14, 17, .66);
}

.nav { width: 100%; }
.nav__link {
  position: relative; display: block; padding: 0 24px;
  font-size: 14px; font-weight: 500; line-height: 42px; letter-spacing: .06em;
  text-align: center; text-transform: uppercase; text-decoration: none;
  color: var(--c-faint);
  transition: color .2s, background-color .2s;
}
.nav__link::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0;
  border-radius: 0 3px 3px 0; background: var(--c-mint);
  transform: translateY(-50%); transition: height .25s;
}
.nav__link:hover { color: var(--c-text); background: rgba(122, 231, 199, .05); }
.nav__link.is-active { color: var(--c-mint); }
.nav__link.is-active::before { height: 22px; }

.sidebar__contact { width: 100%; margin-top: 24px; padding: 0 16px; text-align: center; }
.sidebar__cta { width: 100%; }
.sidebar__phone {
  display: inline-block; margin-top: 12px; padding: 2px 6px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em; text-decoration: none;
  transition: color .2s;
}
.sidebar__phone:hover { color: var(--c-mint); }
.sidebar__address { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--c-dim); }

.social { display: flex; align-items: center; }
.social a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: color .2s, background-color .2s, transform .2s; }
.sidebar__social { gap: 6px; margin-top: auto; padding-top: 24px; font-size: 18px; }
.sidebar__social a { width: 40px; height: 40px; border-radius: 50%; }
.sidebar__social a:hover { background: rgba(122, 231, 199, .12); color: var(--c-mint); }

@media (max-width: 767px) {
  .sidebar__call { display: none; }
  .nav-toggle { margin-left: auto; }
}

@media (min-width: 1240px) {
  html { scroll-padding-top: 0; }
  body { padding-left: var(--side-w); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; width: var(--side-w);
    display: flex; flex-direction: column;
    border-bottom: 0; border-right: 1px solid rgba(122, 231, 199, .1);
    overflow-y: auto;
  }
  .sidebar__bar { display: block; min-height: 0; padding: 22px 0 0; }
  .brand { padding: 4px; }
  .brand img { height: 100px; margin: 0 auto; }
  .sidebar__call,
  .nav-toggle,
  .sidebar__backdrop { display: none; }
  .sidebar__panel {
    position: static; width: auto; flex: 1;
    padding: 14px 0 20px; border-left: 0;
    transform: none; visibility: visible; transition: none; overflow: visible;
  }
  .nav__link { line-height: 40px; }
}
@media (min-width: 1240px) and (max-height: 780px) {
  .sidebar__bar { padding-top: 12px; }
  .brand img { height: 76px; }
  .sidebar__panel { padding-top: 8px; }
  .nav__link { line-height: 34px; }
  .sidebar__contact { margin-top: 14px; }
  .sidebar__social { padding-top: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__ring-solid {
  position: absolute; z-index: -1; left: -300px; top: -310px;
  width: 620px; max-width: none;
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px;
  min-height: clamp(560px, 84vh, 760px);
}
.hero__text { position: relative; z-index: 4; align-self: center; padding: 56px 0 124px; }
.hero__label {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 16px; border: 1px solid var(--c-line); border-radius: 8px;
  background: var(--c-side); color: var(--c-mint);
  font-size: 12.5px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase;
}
.hero__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-mint); }
.hero__title {
  margin-top: 22px;
  font: 600 clamp(27px, 2.55vw, 37px)/1.14 var(--f-head); text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__accent { color: var(--c-mint); }
.hero__lead {
  max-width: 520px; margin-top: 22px;
  font-size: clamp(15.5px, 1.2vw, 18px); font-weight: 500; line-height: 1.6; color: #d7e3e5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__visual { position: relative; min-height: 420px; }
.hero__visual img { position: absolute; max-width: none; }
.hero__ring-lines { z-index: 1; left: 50%; top: 50%; width: 128%; transform: translate(-48%, -50%); }
.hero__photo { z-index: 2; left: 50%; bottom: 0; width: auto; height: 96%; transform: translateX(-47%); }
.hero__sphere { z-index: 3; left: 0; top: 17%; width: 17%; height: auto; }
.hero__dots { z-index: 1; left: -17%; bottom: 25%; width: 17%; height: auto; }

/* ---------- Key facts strip ---------- */
.stats { position: relative; z-index: 5; margin-top: -64px; }
.stats__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: rgba(24, 47, 53, .96);
  box-shadow: var(--shadow);
}
.stat { padding: 22px 24px 24px; }
.stat + .stat { border-left: 1px solid var(--c-line); }
.stat strong { display: block; font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--c-mint); white-space: nowrap; }
.stat strong small { font-size: 14px; font-weight: 500; color: var(--c-dim); }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--c-dim); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--sp); }
.section--alt { background: var(--c-bg-alt); }
.section__head { max-width: 780px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.section__title {
  font: 600 clamp(23px, 1.2vw + 17px, 33px)/1.22 var(--f-head); letter-spacing: .01em; text-transform: uppercase;
  color: var(--c-mint);
  text-wrap: balance;
}
.section__title::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--c-mint), rgba(122, 231, 199, .15));
}
.section__lead { margin-top: 18px; font-size: clamp(16px, .3vw + 15px, 18px); line-height: 1.65; color: var(--c-dim); text-wrap: pretty; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head--left .section__title::after { margin-left: 0; }

.ico {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: rgba(122, 231, 199, .12); color: var(--c-mint); font-size: 22px;
}

/* check-mark lists */
.checks li { position: relative; padding-left: 34px; }
.checks li + li { margin-top: 14px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(122, 231, 199, .14);
}
.checks li::after {
  content: ""; position: absolute; left: 8px; top: calc(.18em + 5px); width: 6px; height: 10px;
  border: solid var(--c-mint); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checks strong { color: #fff; }
.checks--stacked li + li { margin-top: 20px; }
.checks--stacked strong { display: block; margin-bottom: 4px; font-size: 16.5px; line-height: 1.4; }
.checks--stacked span { display: block; font-size: 15px; line-height: 1.6; color: var(--c-dim); }

/* Why */
.why { padding-top: calc(var(--sp) + 8px); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 18px; align-items: center;
  padding: 26px 28px 28px;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(30, 59, 67, .55), rgba(24, 49, 56, .55));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feature__title { font-size: 19px; font-weight: 600; line-height: 1.3; color: #fff; }
.feature p { grid-column: 2; font-size: 15.5px; color: var(--c-dim); }

/* Services */
.services { background: var(--c-bg-alt); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(30, 59, 67, .92), rgba(22, 46, 52, .92));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}
.card__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.card .checks { font-size: 15.5px; }
.card__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: auto; padding-top: 26px;
  font-size: 15px; font-weight: 700; color: var(--c-mint); text-decoration: none;
}
.card__link .icon { font-size: 18px; transition: transform .25s; }
.card__link:hover .icon { transform: translateX(4px); }

@media (hover: hover) {
  .feature:hover,
  .card:hover,
  .plan:hover,
  .review:hover { transform: translateY(-4px); border-color: var(--c-line-strong); box-shadow: var(--shadow); }
}

/* Advantages */
.advantages { background: url("../img/bg-rings.svg?v=1") center no-repeat; }
.advantages__grid {
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.advantages__media { position: relative; }
.advantages__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--c-line-strong); border-radius: 28px;
}
.advantages__photo {
  position: relative; width: 100%; aspect-ratio: 440 / 610; object-fit: cover; object-position: center top;
  border-radius: 28px; box-shadow: var(--shadow);
}
.advantages__body .section__head { margin-bottom: 30px; }
.perks { display: grid; gap: 22px; }
.perk { display: flex; align-items: flex-start; gap: 18px; }
.perk__title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--c-mint); }
.perk__text { margin-top: 2px; font-size: 15.5px; color: var(--c-dim); }

/* Experience */
.timeline { position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(var(--c-mint), rgba(122, 231, 199, .1));
}
.timeline__item {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; align-items: center;
}
.timeline__item + .timeline__item { margin-top: 26px; }
.timeline__item::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1;
  width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--c-bg-alt); border: 3px solid var(--c-mint);
  box-shadow: 0 0 0 6px rgba(122, 231, 199, .12);
}
.timeline__year { justify-self: end; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; color: var(--c-mint); }
.timeline__card {
  padding: 18px 22px 20px;
  border: 1px solid var(--c-line); border-radius: 14px;
  background: var(--c-surface);
}
.timeline__card h3 { font-size: 17px; font-weight: 600; line-height: 1.35; color: #fff; }
.timeline__card p { margin-top: 4px; font-size: 14.5px; color: var(--c-dim); }
.timeline__item:nth-child(even) .timeline__year { order: 2; justify-self: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips li {
  padding: 4px 12px; border-radius: 999px;
  background: rgba(122, 231, 199, .1); color: #cdeae2; font-size: 13px; line-height: 1.5;
}

/* Reviews */
.reviews { background: url("../img/bg-ring-right.svg?v=1") right center no-repeat; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review {
  display: flex; flex-direction: column;
  padding: 26px 28px 24px;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: var(--c-surface);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.review::before {
  content: "“"; display: block; height: 38px;
  font: 600 68px/1 var(--f-head); color: var(--c-mint);
}
.review blockquote { flex: 1; font: italic 500 16px/1.65 var(--f-head); }
.review figcaption {
  display: flex; align-items: center; gap: 12px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.review__avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(122, 231, 199, .14); color: var(--c-mint);
  font-size: 18px; font-weight: 600; line-height: 44px; text-align: center;
}
.review__name { display: block; line-height: 1.3; color: #fff; }
.review__role { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: var(--c-dim); }

/* Tech */
.callout {
  display: flex; align-items: center; gap: 28px;
  margin-top: 24px; padding: 28px 32px;
  border: 1px solid var(--c-line-strong); border-radius: var(--r);
  background: linear-gradient(100deg, rgba(122, 231, 199, .15), rgba(122, 231, 199, .04));
}
.callout::before {
  content: ""; flex: none; width: 54px; height: 38px;
  background: url("../img/quote.svg?v=1") center / contain no-repeat;
}
.callout p { flex: 1; font: italic 500 18px/1.55 var(--f-head); color: #fff; }
.callout .btn { flex: none; }

/* Price */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.plan {
  display: flex; flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--c-line); border-radius: var(--r);
  background: var(--c-surface);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.plan__title { font-size: 20px; font-weight: 600; line-height: 1.3; color: #fff; }
.plan__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
  margin-top: 12px; padding-bottom: 22px;
  border-bottom: 1px solid var(--c-line);
}
.plan__from,
.plan__unit { font-size: 15px; color: var(--c-dim); }
.plan__sum { font-size: 46px; font-weight: 600; line-height: 1.05; color: var(--c-mint); white-space: nowrap; }
.plan__list { flex: 1; margin: 24px 0 28px; font-size: 15px; line-height: 1.55; }

/* Certificates */
.slider { position: relative; }
.slider__track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: none; width: calc((100% - 40px) / 3); scroll-snap-align: start; }
.slider--certs { padding-bottom: 38px; }
.cert {
  position: relative; display: block; width: 100%; aspect-ratio: 7 / 5; padding: 0; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: 14px;
  background: #fff; cursor: zoom-in;
  transition: border-color .3s;
}
.cert img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.cert__zoom {
  position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; padding: 10px; border-radius: 50%;
  background: rgba(12, 31, 36, .82); color: #fff;
  opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s;
}
.cert:hover,
.cert:focus-visible { border-color: var(--c-mint); }
.cert:hover img { transform: scale(1.04); }
.cert:hover .cert__zoom,
.cert:focus-visible .cert__zoom { opacity: 1; transform: none; }
.slider__btn {
  position: absolute; top: calc(50% - 19px); z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-top: -23px; padding: 0;
  border: 1px solid var(--c-line-strong); border-radius: 50%;
  background: var(--c-side); color: var(--c-mint); font-size: 20px;
  box-shadow: var(--shadow); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.slider__btn:hover { background: var(--c-mint); color: var(--c-ink); }
.slider__btn--prev { left: -23px; }
.slider__btn--next { right: -23px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dots i { width: 8px; height: 8px; border-radius: 50%; background: #2c464a; transition: background-color .2s, width .2s; }
.slider__dots i.is-active { width: 22px; border-radius: 8px; background: var(--c-mint); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 60px 16px 24px;
  border: 0; background: transparent; color: #fff;
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.lightbox::backdrop { background: rgba(4, 12, 15, .93); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lightbox__img {
  width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  border-radius: 10px; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox__caption { max-width: 70ch; font-size: 14px; line-height: 1.5; text-align: center; color: var(--c-dim); }
.lightbox__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  background: rgba(24, 47, 53, .85); color: #fff; font-size: 22px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lightbox__btn:hover { background: var(--c-mint); color: var(--c-ink); }
.lightbox__close { position: absolute; top: 10px; right: 14px; }

/* Contact */
.contact { background: url("../img/bg-rings.svg?v=1") center no-repeat; }
.contact__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  overflow: hidden;
  border: 1px solid var(--c-line); border-radius: 24px;
  background: var(--c-side);
  box-shadow: var(--shadow);
}
.contact__info { padding: clamp(26px, 4vw, 46px); }
.contact__photo {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 28%;
  border-radius: 16px;
}
.contact__title { margin-top: 28px; font-size: clamp(22px, 1.1vw + 14px, 27px); font-weight: 600; line-height: 1.25; color: var(--c-mint); text-wrap: balance; }
.contact__phones { display: grid; gap: 8px; margin-top: 18px; }
.contact__phone {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(23px, 1.4vw + 12px, 30px); font-weight: 600; line-height: 1.25; letter-spacing: .01em;
  color: #fff; text-decoration: none;
  transition: color .2s;
}
.contact__phone .icon { font-size: .68em; color: var(--c-mint); }
.contact__phone:hover { color: var(--c-mint); }
.contact__meta { display: grid; gap: 10px; margin-top: 22px; font-size: 15.5px; color: var(--c-dim); }
.contact__meta li { display: flex; align-items: flex-start; gap: 12px; }
.contact__meta .icon { margin-top: .28em; font-size: 18px; color: var(--c-mint); }
.contact__meta a { color: var(--c-mint); text-decoration: none; overflow-wrap: anywhere; }
.contact__meta a:hover { text-decoration: underline; }
.social--tiles { gap: 10px; margin-top: 26px; }
.soc { width: 46px; height: 46px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); font-size: 19px; }
.soc:hover { transform: translateY(-2px); color: #fff; }
.soc--whatsapp:hover { background: #1fae5b; }
.soc--facebook:hover { background: #3a589b; }
.soc--instagram:hover { background: #c13584; }
.soc--youtube:hover { background: #e62f30; }

.contact__form { padding: clamp(26px, 4vw, 46px); background: #f2f7f7; color: #12292f; }
.form__title { font-size: 22px; font-weight: 600; line-height: 1.3; }
.form__sub { margin-top: 6px; font-size: 14.5px; color: #4a6368; }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: #29454b; }
.field .req { color: #c0392b; }
.field .opt { font-weight: 400; color: #5d757a; }
.form__field {
  display: block; width: 100%; padding: 13px 14px;
  border: 1.5px solid #c9d6d8; border-radius: var(--r-sm);
  background: #fff; color: #12292f;
  font: 400 16px/1.4 var(--f-head);
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form__field::placeholder { color: #8a9da1; opacity: 1; }
.form__field:hover { border-color: #9fb4b7; }
.form__field:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(18, 148, 136, .16); }
.form__field--area { min-height: 96px; resize: vertical; }
.form.is-checked .form__field:invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, .12); }
.form .btn--submit { margin-top: 24px; }
.form__note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #4a6368; text-align: center; }
.form__status {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm);
  background: rgba(18, 148, 136, .1); color: #0a5d56; font-size: 14px; line-height: 1.5;
}
.form__status[hidden] { display: none; }
.form__status a { font-weight: 700; }
.form__nojs { display: none; margin-top: 18px; font-size: 15px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__inner { display: flex; align-items: center; gap: 24px; padding-block: 26px 22px; }
.footer__brand { flex: none; line-height: 0; }
.footer__brand img { width: 76px; }
.footer__copy { flex: 1; font-size: 14px; line-height: 1.5; color: var(--c-dim); }
.footer__social { gap: 4px; font-size: 17px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; }
.footer__social a:hover { background: rgba(122, 231, 199, .12); color: var(--c-mint); }
.to-top {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-mint); color: var(--c-ink); font-size: 20px;
  transition: background-color .2s, transform .2s;
}
.to-top:hover { background: var(--c-mint-hi); transform: translateY(-3px); }
.footer__credit {
  padding-block: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px; text-align: center; color: var(--c-faint);
}
.footer__credit strong { color: var(--c-dim); }

/* ---------- Mobile call bar ---------- */
.actionbar { display: none; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 18px;
  width: min(600px, 100vw - 40px); padding: 16px 18px 16px 20px;
  border: 1px solid var(--c-line-strong); border-radius: 16px;
  background: rgba(24, 47, 53, .98);
  box-shadow: var(--shadow);
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1; font-size: 13.5px; line-height: 1.5; color: var(--c-dim); }
.cookie__actions { flex: none; display: flex; gap: 8px; }
@media (min-width: 1240px) {
  .cookie { left: calc(var(--side-w) + 24px); }
}

/* ---------- Appear on scroll (class is added by main.js only) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 40px 20px; text-align: center;
}
.notfound img { width: 127px; }
.notfound__code { font: 600 96px/1 var(--f-num); color: var(--c-mint); }
.notfound__text { font-size: 20px; font-weight: 500; line-height: 1.4; }

/* ---------- From tablet up: photo behind the services ---------- */
@media (min-width: 768px) {
  .container { width: min(1040px, 100% - 64px); }
  .services {
    background:
      linear-gradient(180deg, rgba(14, 31, 36, .78), rgba(14, 31, 36, .9)),
      url("../img/services-bg.webp?v=1") center / cover no-repeat;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .reviews__grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .slider__slide { width: calc((100% - 20px) / 2); }
  .contact__card { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .advantages__grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .callout { flex-wrap: wrap; }
  .callout p { flex-basis: calc(100% - 82px); }
  .callout .btn { margin-left: 82px; }
}
@media (max-width: 959px) {
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .hero__ring-lines { width: 150%; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .hero__ring-solid { left: -170px; top: -180px; width: 340px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .hero__text { padding: 30px 0 0; }
  .hero__title { margin-top: 18px; font-size: clamp(20px, 6.1vw, 30px); line-height: 1.18; }
  .hero__lead { margin-top: 16px; font-size: 15px; }
  .hero__actions { flex-direction: column; gap: 12px; margin-top: 24px; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 400px; min-height: 0; margin-top: 10px; }
  .hero__ring-lines { width: 420px; top: 52%; transform: translate(-50%, -50%); }
  .hero__photo { height: 100%; transform: translateX(-50%); }
  .hero__sphere { left: 5%; top: 10%; width: 54px; }
  .hero__dots { left: 4%; bottom: 30%; width: 42px; }

  .stats { margin-top: -44px; }
  .stat { padding: 16px 16px 18px; }
  .stat strong { font-size: 24px; }
  .stat strong small { font-size: 12px; }
  .stat span { font-size: 12.5px; }

  .features,
  .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature { padding: 22px 20px 24px; gap: 14px 16px; }
  .feature__title { font-size: 18px; }
  .feature p { grid-column: 1 / -1; font-size: 15px; }
  .card__head { margin-bottom: 20px; padding-bottom: 16px; }
  .card__title { font-size: 18px; }

  .advantages { background-position: center top; }
  .advantages__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .advantages__media { width: min(320px, 100% - 18px); margin-inline: auto; }
  .advantages__body .section__head { margin-bottom: 24px; text-align: center; }
  .advantages__body .section__title::after { margin-inline: auto; }
  .perk__title { font-size: 17px; }

  .timeline::before { left: 7px; margin-left: 0; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); padding-left: 36px; row-gap: 8px; }
  .timeline__item + .timeline__item { margin-top: 22px; }
  .timeline__item::before { left: 0; top: 5px; margin: 0; }
  .timeline__year,
  .timeline__item:nth-child(even) .timeline__year { order: 0; justify-self: start; font-size: 20px; }
  .timeline__card { padding: 14px 16px 16px; }

  .reviews { background-image: none; }
  .review { padding: 22px 20px 20px; }

  .callout { padding: 22px 20px; gap: 16px; }
  .callout::before { width: 40px; height: 28px; }
  .callout p { flex-basis: calc(100% - 56px); font-size: 16px; }
  .callout .btn { width: 100%; margin-left: 0; }

  .plan { padding: 24px 20px 22px; }
  .plan__sum { font-size: 40px; }

  .slider__track { gap: 14px; }
  .slider__slide { width: 84%; }
  .slider__btn { width: 42px; height: 42px; font-size: 18px; }
  .slider__btn--prev { left: -8px; }
  .slider__btn--next { right: -8px; }

  .lightbox { padding: 60px 10px 84px; }
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: 18px; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { left: calc(50% + 10px); }
  .lightbox__img { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); }

  .contact { background-position: center top; }
  .contact__card { border-radius: 20px; }
  .contact__title { margin-top: 22px; }

  .footer { padding-bottom: 72px; }
  .footer__inner { flex-wrap: wrap; justify-content: center; gap: 14px 18px; padding-block: 26px 18px; text-align: center; }
  .footer__copy { flex-basis: 100%; order: 2; }
  .footer__social { order: 3; }
  .to-top { order: 4; }

  .actionbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--c-line);
    background: rgba(12, 31, 36, .97);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .actionbar.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
  .actionbar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; border-radius: 999px;
    font-size: 14.5px; font-weight: 700; text-decoration: none;
  }
  .actionbar__btn .icon { font-size: 18px; }
  .actionbar__btn--call { background: var(--c-mint); color: var(--c-ink); }
  .actionbar__btn--wa { border: 1.5px solid var(--c-line-strong); color: var(--c-mint); }

  .cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .cookie__actions .btn { flex: 1; }
  .actionbar.is-visible ~ .cookie { bottom: 78px; }
}

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

@media print {
  .sidebar, .cookie, .actionbar, .slider__btn, .slider__dots, .to-top, .contact__form, .lightbox { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
