/* ============================================================

   АВЕНТИН СЕРВИС — редизайн 2026

   Glassmorphism • 3D • Кинематографичные анимации

   Темы: dark / light (data-theme на <html>)

   ============================================================ */



/* ---------- Reset ---------- */

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

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

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

input, select, textarea { font: inherit; }



/* ---------- Темы ---------- */

:root {

  /* акцент */

  --accent: #e63946;

  --accent-2: #ff6b6b;

  --accent-strong: #c1121f;

  --gradient-accent: linear-gradient(135deg, #e63946 0%, #ff6b6b 100%);



  /* типографика */

  --font-display: 'Unbounded', system-ui, sans-serif;

  --font-body: 'Manrope', system-ui, sans-serif;



  /* геометрия */

  --radius-sm: 14px;

  --radius: 22px;

  --radius-lg: 32px;

  --section-gap: clamp(6rem, 12vw, 11rem);

  --container: 1240px;



  /* motion */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --dur: 0.7s;

}



html[data-theme="dark"] {

  color-scheme: dark;

  --bg: #07090f;

  --bg-elevated: #0c111c;

  --text: #eef2fa;

  --text-soft: rgba(238, 242, 250, 0.68);

  --text-mute: rgba(238, 242, 250, 0.45);



  --glass-bg: rgba(255, 255, 255, 0.055);

  --glass-bg-strong: rgba(13, 18, 30, 0.72);

  --glass-border: rgba(255, 255, 255, 0.1);

  --glass-highlight: rgba(255, 255, 255, 0.16);

  --glass-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);



  --card-hover-glow: 0 0 0 1px rgba(230, 57, 70, 0.35), 0 30px 70px -25px rgba(230, 57, 70, 0.35);

  --hero-overlay: linear-gradient(180deg, rgba(7,9,15,0.55) 0%, rgba(7,9,15,0.72) 55%, var(--bg) 100%);

  --why-overlay: linear-gradient(160deg, rgba(7,10,18,0.9) 0%, rgba(9,14,26,0.82) 100%);

  --input-bg: rgba(255, 255, 255, 0.06);

  --orb-opacity: 0.55;

}



html[data-theme="light"] {

  color-scheme: light;

  --bg: #f2f5fb;

  --bg-elevated: #ffffff;

  --text: #0d1526;

  --text-soft: rgba(13, 21, 38, 0.7);

  --text-mute: rgba(13, 21, 38, 0.48);



  --glass-bg: rgba(255, 255, 255, 0.6);

  --glass-bg-strong: rgba(255, 255, 255, 0.78);

  --glass-border: rgba(13, 21, 38, 0.08);

  --glass-highlight: rgba(255, 255, 255, 0.9);

  --glass-shadow: 0 24px 60px -28px rgba(13, 38, 76, 0.25);



  --card-hover-glow: 0 0 0 1px rgba(230, 57, 70, 0.3), 0 30px 70px -30px rgba(230, 57, 70, 0.4);

  --hero-overlay: linear-gradient(180deg, rgba(242,245,251,0.18) 0%, rgba(242,245,251,0.5) 55%, var(--bg) 100%);

  --why-overlay: linear-gradient(160deg, rgba(10,15,28,0.88) 0%, rgba(13,20,38,0.8) 100%);

  --input-bg: rgba(255, 255, 255, 0.75);

  --orb-opacity: 0.4;

}



/* ---------- База ---------- */

body {

  font-family: var(--font-body);

  font-size: 1.0625rem;

  line-height: 1.7;

  color: var(--text);

  background: var(--bg);

  overflow-x: hidden;

  transition: background-color 0.5s ease, color 0.5s ease;

}



.container {

  width: min(100% - 3rem, var(--container));

  margin-inline: auto;

}



.section { padding-block: var(--section-gap); position: relative; }



.sr-only {

  position: absolute; width: 1px; height: 1px;

  clip-path: inset(50%); overflow: hidden; white-space: nowrap;

}



.skip-link {

  position: fixed; top: -100px; left: 1rem; z-index: 200;

  padding: 0.8rem 1.4rem; background: var(--accent); color: #fff;

  border-radius: var(--radius-sm); transition: top 0.3s;

}

.skip-link:focus { top: 1rem; }



::selection { background: rgba(230, 57, 70, 0.35); }



/* ---------- Стекло ---------- */

.glass {

  background: var(--glass-bg);

  border: 1px solid var(--glass-border);

  box-shadow: inset 0 1px 0 var(--glass-highlight), var(--glass-shadow);

  background: var(--glass-bg-strong);

  -webkit-background: var(--glass-bg-strong);

  border-radius: var(--radius);

}



.glass-dark {

  background: rgba(13, 18, 32, 0.55);

  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px -20px rgba(0, 0, 0, 0.6);

  background: var(--glass-bg-strong);

  -webkit-background: var(--glass-bg-strong);

  border-radius: var(--radius);

}



.glass-chip {

  display: inline-flex; align-items: center; gap: 0.5rem;

  padding: 0.5rem 1.1rem;

  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;

  background: var(--glass-bg);

  border: 1px solid var(--glass-border);

  border-radius: 100px;

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);

}



/* ---------- Фоновые орбы ---------- */

.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.orb {

  position: absolute; border-radius: 50%;

  filter: blur(90px); opacity: var(--orb-opacity);

  will-change: transform;

}

.orb--1 {

  width: 55vw; height: 55vw; top: -18vw; right: -15vw;

  background: radial-gradient(circle, rgba(230,57,70,0.5), transparent 65%);

  animation: orb-drift 26s ease-in-out infinite alternate;

}

.orb--2 {

  width: 45vw; height: 45vw; bottom: -12vw; left: -14vw;

  background: radial-gradient(circle, rgba(255,107,107,0.4), transparent 65%);

  animation: orb-drift 32s ease-in-out infinite alternate-reverse;

}

.orb--3 {

  width: 30vw; height: 30vw; top: 45%; left: 55%;

  background: radial-gradient(circle, rgba(220,38,38,0.35), transparent 65%);

  animation: orb-drift 40s ease-in-out infinite alternate;

}

@keyframes orb-drift {

  from { transform: translate3d(0, 0, 0) scale(1); }

  to   { transform: translate3d(6vw, 5vh, 0) scale(1.15); }

}



/* ---------- Прелоадер ---------- */

.preloader {

  position: fixed; inset: 0; z-index: 300;

  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;

  background: var(--bg);

  transition: opacity 0.7s var(--ease-out), visibility 0.7s;

}

.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader__logo {

  font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2.2rem); font-weight: 700;

  display: flex; gap: 0.6ch; overflow: hidden;

}

.preloader__word { display: inline-block; animation: preloader-rise 0.9s var(--ease-out) both; }

.preloader__word--accent {

  background: var(--gradient-accent);

  -webkit-background-clip: text; background-clip: text; color: transparent;

  animation-delay: 0.12s;

}

@keyframes preloader-rise {

  from { transform: translateY(110%); opacity: 0; }

  to   { transform: translateY(0); opacity: 1; }

}

.preloader__bar {

  width: min(240px, 60vw); height: 2px; border-radius: 2px;

  background: var(--glass-border); overflow: hidden;

}

.preloader__bar span {

  display: block; height: 100%; width: 0;

  background: var(--gradient-accent);

  transition: width 0.4s ease;

}



/* ---------- Типографика секций ---------- */

.section-eyebrow {

  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;

  color: var(--accent); margin-bottom: 1.2rem;

}

.section-eyebrow--light { color: var(--accent-2); }



.section-title {

  font-family: var(--font-display);

  font-size: clamp(1.75rem, 4.2vw, 3.1rem);

  font-weight: 700; line-height: 1.16;

  letter-spacing: -0.01em;

  margin-bottom: 1.4rem;

}

.section-title--light { color: #f2f6ff; }



.section-subtitle {

  font-size: clamp(1rem, 1.6vw, 1.2rem);

  color: var(--text-soft); max-width: 640px;

}

.section-subtitle--light { color: rgba(235, 242, 255, 0.72); }



.section-head { max-width: 780px; margin-bottom: clamp(3rem, 6vw, 5rem); }

.section-head--light .section-title { color: #f2f6ff; }



/* split-текст */

.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }

.split-word > span { display: inline-block; will-change: transform; }



/* ---------- Кнопки ---------- */

.btn {

  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;

  padding: 0.95rem 2rem;

  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;

  border-radius: 100px;

  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s;

  will-change: transform;

  white-space: nowrap;

}

.btn--lg { padding: 1.15rem 2.6rem; font-size: 1rem; }

.btn--sm { padding: 0.65rem 1.5rem; font-size: 0.85rem; }

.btn--block { width: 100%; }



.btn--primary {

  color: #fff;

  background: var(--gradient-accent);

  box-shadow: 0 12px 32px -10px rgba(230, 57, 70, 0.55);

}

.btn--primary::after {

  content: ""; position: absolute; inset: 0; border-radius: inherit;

  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 55%);

  opacity: 0; transition: opacity 0.35s;

}

.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(230, 57, 70, 0.7); }

.btn--primary:hover::after { opacity: 1; }

.btn--primary:active { transform: translateY(-1px) scale(0.98); }



.btn--glass {

  color: #fff;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);

}

.btn--glass:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }



.btn--outline {

  color: var(--accent);

  border: 1.5px solid var(--accent);

}

.btn--outline:hover { background: rgba(230, 57, 70, 0.1); transform: translateY(-3px); }



/* ---------- Header ---------- */

.site-header {

  position: fixed; top: 0; left: 0; right: 0; z-index: 100;

  padding-top: 1rem;

  transition: transform 0.45s var(--ease-out);

}

.site-header.is-hidden { transform: translateY(-120%); }



.site-header .container { width: min(100% - 2rem, 1360px); }

.header__inner {

  display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1rem;

  padding: 0.6rem 1.2rem;

  border-radius: 100px;

  white-space: nowrap;

  transition: background 0.4s, box-shadow 0.4s;

}



.logo { flex: none; }

.logo img { width: 136px; height: auto; }

html[data-theme="dark"] .logo img { filter: brightness(0) invert(1); }



.nav-list { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.1rem; }

.nav-list__item { position: relative; }

.nav-list__link {

  display: inline-flex; align-items: center; gap: 0.3rem;

  padding: 0.55rem 0.75rem;

  font-weight: 600; font-size: 0.9rem;

  white-space: nowrap;

  color: var(--text-soft);

  border-radius: 100px;

  transition: color 0.3s, background 0.3s;

}

.nav-list__link:hover, .nav-list__link[aria-expanded="true"] { color: var(--text); background: var(--glass-bg); }

.nav-list__link--pay { color: var(--accent); font-weight: 700; }

.nav-list__link--pay:hover { color: var(--accent-strong); background: rgba(230, 57, 70, 0.1); }

.nav-caret { transition: transform 0.3s; }

.nav-list__link[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }



.submenu {

  position: absolute; top: calc(100% + 0.9rem); left: 0;

  min-width: 240px; padding: 0.6rem;

  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.98);

  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;

  border-radius: var(--radius-sm);

}

.nav-list__item--has-sub:hover .submenu,

.nav-list__item--has-sub:focus-within .submenu {

  opacity: 1; visibility: visible; transform: translateY(0) scale(1);

}

.submenu a {

  display: block; padding: 0.6rem 0.9rem;

  font-size: 0.9rem; font-weight: 500; color: var(--text-soft);

  border-radius: 10px;

  transition: background 0.25s, color 0.25s, padding-left 0.25s;

}

.submenu a:hover { background: rgba(230, 57, 70, 0.12); color: var(--text); padding-left: 1.15rem; }



.header__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 0.6rem; flex: none; }

.header__phone {

  display: inline-flex; align-items: center; gap: 0.4rem;

  font-weight: 700; font-size: 0.9rem;

  white-space: nowrap;

  transition: color 0.3s;

}

.header__phone:hover { color: var(--accent); }



.theme-toggle {

  display: grid; place-items: center;

  width: 40px; height: 40px; border-radius: 50%;

  border: 1px solid var(--glass-border);

  background: var(--glass-bg);

  transition: transform 0.4s var(--ease-out), background 0.3s;

}

.theme-toggle:hover { transform: rotate(25deg) scale(1.08); }

.theme-toggle svg { grid-area: 1 / 1; transition: opacity 0.4s, transform 0.5s var(--ease-out); }

html[data-theme="dark"] .theme-toggle__sun { opacity: 1; transform: rotate(0); }

html[data-theme="dark"] .theme-toggle__moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

html[data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(90deg) scale(0.5); }

html[data-theme="light"] .theme-toggle__moon { opacity: 1; transform: rotate(0); }



.nav-toggle {

  display: none;

  flex-direction: column; gap: 6px;

  width: 42px; height: 42px;

  align-items: center; justify-content: center;

  border-radius: 50%;

  border: 1px solid var(--glass-border);

  background: var(--glass-bg);

  z-index: 130;

}

.nav-toggle__bar {

  width: 18px; height: 2px; border-radius: 2px;

  background: var(--text);

  transition: transform 0.4s var(--ease-out), opacity 0.3s;

}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }



/* ---------- Мобильное меню ---------- */

.mobile-menu { position: fixed; inset: 0; z-index: 120; pointer-events: none; }

.mobile-menu__backdrop {

  position: absolute; inset: 0;

  background: rgba(4, 6, 12, 0.5);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  opacity: 0; transition: opacity 0.45s;

}

.mobile-menu__panel {

  position: absolute; top: 0; right: 0; bottom: 0;

  width: min(360px, 88vw);

  padding: 6.5rem 2rem 2.5rem;

  display: flex; flex-direction: column; justify-content: space-between;

  border-radius: 0;

  border-left: 1px solid var(--glass-border);

  background: var(--glass-bg-strong);

  transform: translateX(105%);

  transition: transform 0.55s var(--ease-out);

  overflow-y: auto;

}

.mobile-menu.is-open { pointer-events: auto; }

.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }

.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }



.mobile-menu__list li, .mobile-menu__footer {

  opacity: 0; transform: translateX(35px);

  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);

  transition-delay: 0s;

}

.mobile-menu.is-open .mobile-menu__list li,

.mobile-menu.is-open .mobile-menu__footer {

  opacity: 1; transform: translateX(0);

  transition-delay: calc(0.08s + var(--i) * 0.06s);

}

.mobile-menu__list a {

  display: block; padding: 0.9rem 0;

  font-family: var(--font-display);

  font-size: 1.35rem; font-weight: 600;

  border-bottom: 1px solid var(--glass-border);

  transition: color 0.3s, padding-left 0.3s;

}

.mobile-menu__list a:hover { color: var(--accent); padding-left: 0.5rem; }

.mobile-menu__footer { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.mobile-menu__phone { font-weight: 800; font-size: 1.15rem; }

.mobile-menu__hours { font-size: 0.85rem; color: var(--text-mute); }



/* ---------- Hero ---------- */

.hero {

  position: relative; min-height: 100svh;

  display: flex; align-items: center;

  padding: clamp(8rem, 14vh, 11rem) 0 clamp(5rem, 9vh, 7rem);

  overflow: hidden;

}

.hero__bg {

  transform: translate3d(0,0,0);

  backface-visibility: hidden;

  position: absolute; inset: -12% 0;

  background-size: cover; background-position: center;

  will-change: transform;

  transform: scale(1.08);

}

.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }

.hero__grid-lines {

  position: absolute; inset: 0; opacity: 0.35;

  background-image:

    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);

  background-size: 90px 90px;

  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);

  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);

}



.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__eyebrow { color: rgba(240, 246, 255, 0.9); margin-bottom: 2rem; }

.pulse-dot {

  width: 8px; height: 8px; border-radius: 50%;

  background: #22c55e;

  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);

  animation: pulse 2.2s infinite;

}

@keyframes pulse {

  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }

  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }

  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }

}



.hero__title {

  font-family: var(--font-display);

  font-size: clamp(2.1rem, 6vw, 4.4rem);

  font-weight: 700; line-height: 1.12;

  letter-spacing: -0.015em;

  color: #f4f8ff;

  margin-bottom: 1.8rem;

  text-wrap: balance;

}

.hero__title-accent {

  background: var(--gradient-accent);

  -webkit-background-clip: text; background-clip: text; color: transparent;

}



.hero__desc {

  font-size: clamp(1.05rem, 1.7vw, 1.25rem);

  line-height: 1.75;

  color: rgba(233, 240, 252, 0.82);

  max-width: 620px;

  margin-bottom: 2.8rem;

}



.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(3rem, 6vh, 4.5rem); }



.hero__stats { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__stats li {

  padding: 1.1rem 1.7rem;

  display: flex; flex-direction: column; gap: 0.15rem;

  min-width: 170px;

}

/* всегда тёмное стекло — низ hero светлеет в светлой теме */

.hero__stats li.glass {

  background: rgba(13, 18, 32, 0.5);

  border: 1px solid rgba(255, 255, 255, 0.16);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 20px 50px -20px rgba(0, 0, 0, 0.45);

}

.hero__stats strong {

  font-family: var(--font-display);

  font-size: 1.35rem; font-weight: 700; color: #fff;

}

.hero__stats span { font-size: 0.82rem; color: rgba(235, 242, 255, 0.65); }



.hero__scroll {

  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);

  z-index: 2;

  color: var(--text-mute);

  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;

}

.hero__scroll-track {

  width: 26px; height: 42px;

  border: 1.5px solid currentColor;

  border-radius: 20px;

  display: flex; justify-content: center; padding-top: 7px;

}

.hero__scroll-dot {

  width: 4px; height: 8px; border-radius: 4px;

  background: currentColor;

  animation: scroll-dot 2s var(--ease-out) infinite;

}

@keyframes scroll-dot {

  0% { transform: translateY(0); opacity: 1; }

  70% { transform: translateY(14px); opacity: 0; }

  100% { transform: translateY(0); opacity: 0; }

}

.hero__scroll-text {

  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;

  color: currentColor;

}



/* Светлая тема: светлый hero с тёмным текстом (фото светлое) */

html[data-theme="light"] .hero__title { color: var(--text); }

html[data-theme="light"] .hero__desc { color: var(--text-soft); }

html[data-theme="light"] .hero__eyebrow { color: var(--text-soft); }

html[data-theme="light"] .hero__grid-lines {

  background-image:

    linear-gradient(rgba(13, 21, 38, 0.05) 1px, transparent 1px),

    linear-gradient(90deg, rgba(13, 21, 38, 0.05) 1px, transparent 1px);

}

html[data-theme="light"] .hero .btn--glass {

  color: var(--text);

  background: rgba(13, 21, 38, 0.05);

  border-color: rgba(13, 21, 38, 0.22);

}

html[data-theme="light"] .hero .btn--glass:hover { background: rgba(13, 21, 38, 0.1); }



/* ---------- Marquee ---------- */

.marquee {

  position: relative;

  padding: 1.4rem 0;

  border-top: 1px solid var(--glass-border);

  border-bottom: 1px solid var(--glass-border);

  overflow: hidden;

  background: var(--glass-bg);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

}

.marquee__track {

  display: flex; align-items: center; gap: 2.6rem;

  width: max-content;

  animation: marquee 30s linear infinite;

}

.marquee__track span {

  font-family: var(--font-display);

  font-size: 0.92rem; font-weight: 500;

  letter-spacing: 0.1em; text-transform: uppercase;

  color: var(--text-mute);

  white-space: nowrap;

}

.marquee__track i { font-style: normal; color: var(--accent); font-size: 0.8rem; }

@keyframes marquee {

  from { transform: translateX(0); }

  to { transform: translateX(-50%); }

}



/* ---------- 3D tilt ---------- */

.tilt-card {

  transform: translate3d(0,0,0);

  backface-visibility: hidden;

  transform-style: preserve-3d;

  transition: box-shadow 0.5s var(--ease-out);

  will-change: transform;

}

.tilt-card:hover { box-shadow: inset 0 1px 0 var(--glass-highlight), var(--card-hover-glow); }

.tilt-card > * { transform: translateZ(24px); }

.tilt-card--deep > * { transform: translateZ(38px); }



/* ---------- Stats ---------- */

.stats-bar { padding-block: calc(var(--section-gap) * 0.6); }

.stats-bar__grid {

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;

  perspective: 1200px;

}

.stats-bar__item {

  padding: 2.4rem 1.8rem;

  text-align: center;

}

.stats-bar__num {

  font-family: var(--font-display);

  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700;

  display: flex; align-items: baseline; justify-content: center; gap: 0.1ch;

}

.stats-bar__num em {

  font-style: normal;

  background: var(--gradient-accent);

  -webkit-background-clip: text; background-clip: text; color: transparent;

}

.stats-bar__label { margin-top: 0.6rem; font-size: 0.9rem; color: var(--text-soft); }



/* ---------- About ---------- */

.about__inner {

  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);

  gap: clamp(3rem, 6vw, 6rem);

  align-items: center;

  perspective: 1400px;

}

.about__frame {

  position: relative;

  border-radius: var(--radius-lg);

  overflow: hidden;

  border: 1px solid var(--glass-border);

  box-shadow: var(--glass-shadow);

}

.about__frame img { width: 100%; }

.about__glare {

  position: absolute; inset: 0; pointer-events: none;

  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.16) 48%, transparent 62%);

  transform: translateX(-120%);

  transition: transform 0.9s var(--ease-out);

}

.about__frame:hover .about__glare { transform: translateX(120%); }

.about__badge {

  position: absolute; left: 1.4rem; bottom: 1.4rem;

  padding: 1rem 1.5rem;

  display: flex; flex-direction: column;

}

.about__badge strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }

.about__badge span { font-size: 0.8rem; color: var(--text-soft); }



.about__lead { font-size: 1.18rem; font-weight: 600; margin-bottom: 1.2rem; }

.about__body > p { color: var(--text-soft); }



.value-list { display: flex; flex-direction: column; gap: 1rem; margin: 2.4rem 0; }

.value-list__item {

  display: flex; gap: 1.3rem; align-items: flex-start;

  padding: 1.4rem 1.6rem;

  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;

}

.value-list__item:hover { transform: translateX(8px); box-shadow: inset 0 1px 0 var(--glass-highlight), var(--card-hover-glow); }

.value-list__icon {

  flex: none;

  display: grid; place-items: center;

  width: 52px; height: 52px; border-radius: 16px;

  color: #fff;

  background: var(--gradient-accent);

  box-shadow: 0 10px 24px -8px rgba(230, 57, 70, 0.6);

}

.value-list__item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }

.value-list__item p { font-size: 0.95rem; color: var(--text-soft); }



.about__partners { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.about__partners-label { font-size: 0.9rem; color: var(--text-mute); }

.about__partners ul { display: flex; gap: 0.6rem; flex-wrap: wrap; }



/* ---------- Why ---------- */

.why { overflow: hidden; }

.why__bg {

  position: absolute; inset: -12% 0;

  background-size: cover; background-position: center;

  will-change: transform;

}

.why__overlay { position: absolute; inset: 0; background: var(--why-overlay); }

.why__inner { position: relative; z-index: 2; }



.feature-grid {

  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;

  perspective: 1400px;

}

.feature-card {

  padding: 2.4rem 2rem;

  color: #eef3ff;

}

.feature-card__icon {

  display: grid; place-items: center;

  width: 58px; height: 58px; border-radius: 18px;

  margin-bottom: 1.5rem;

  color: #fff;

  background: var(--gradient-accent);

  box-shadow: 0 12px 28px -8px rgba(230, 57, 70, 0.65);

}

.feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.6rem; }

.feature-card p { font-size: 0.95rem; color: rgba(230, 238, 252, 0.68); }



/* ---------- Services ---------- */

.service-grid {

  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;

  perspective: 1600px;

}

.service-card {

  display: flex; flex-direction: column;

  overflow: hidden;

}

.service-card__img {

  position: relative; height: 230px;

  background-size: cover; background-position: center;

  border-radius: calc(var(--radius) - 6px) calc(var(--radius) - 6px) 0 0;

  margin: 6px 6px 0;

  transition: transform 0.6s var(--ease-out);

}

.service-card__tag { position: absolute; top: 1rem; left: 1rem; color: #fff; background: rgba(10, 14, 24, 0.5); border-color: rgba(255,255,255,0.2); }

.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.8rem 1.8rem 2rem; }

.service-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.8rem; }

.service-card p { font-size: 0.95rem; color: var(--text-soft); margin-bottom: 1.1rem; }

.service-card__list { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.6rem; }

.service-card__list li {

  position: relative; padding-left: 1.4rem;

  font-size: 0.9rem; color: var(--text-soft);

}

.service-card__list li::before {

  content: ""; position: absolute; left: 0; top: 0.55em;

  width: 7px; height: 7px; border-radius: 50%;

  background: var(--gradient-accent);

}

.service-card__link {

  margin-top: auto;

  display: inline-flex; align-items: center; gap: 0.5rem;

  font-weight: 700; font-size: 0.95rem; color: var(--accent);

  transition: gap 0.3s var(--ease-out);

}

.service-card__link:hover { gap: 0.9rem; }

.service-card--featured { outline: 1.5px solid rgba(230, 57, 70, 0.45); outline-offset: -1.5px; }



.extra-services {

  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem;

  margin-top: clamp(3rem, 5vw, 4.5rem);

}

.extra-services li {

  display: flex; gap: 1.2rem; align-items: flex-start;

  padding: 1.6rem 1.8rem;

  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;

}

.extra-services li:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 var(--glass-highlight), var(--card-hover-glow); }

.extra-services__icon {

  flex: none;

  display: grid; place-items: center;

  width: 48px; height: 48px; border-radius: 14px;

  color: var(--accent);

  background: rgba(230, 57, 70, 0.12);

  border: 1px solid rgba(230, 57, 70, 0.25);

}

.extra-services h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.25rem; }

.extra-services p { font-size: 0.92rem; color: var(--text-soft); }

.extra-services__link { color: var(--accent); font-weight: 700; white-space: nowrap; }

.extra-services__link:hover { text-decoration: underline; }



/* ---------- App / Smart intercom ---------- */

.app {

  position: relative;

  background: #0a0f1c;

  overflow: hidden;

  border-radius: var(--radius-lg);

  margin-inline: clamp(0.6rem, 2vw, 2rem);

}

.app__glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }

.app__glow--1 { width: 520px; height: 520px; top: -180px; right: -120px; background: rgba(230, 57, 70, 0.28); }

.app__glow--2 { width: 460px; height: 460px; bottom: -160px; left: -120px; background: rgba(255, 107, 107, 0.2); }



.app__inner {

  position: relative; z-index: 2;

  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);

  gap: clamp(3rem, 6vw, 6rem);

  align-items: center;

}

.app__text { color: rgba(233, 240, 252, 0.75); font-size: 1.08rem; margin-bottom: 2.2rem; max-width: 560px; }



.app__features {

  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem;

  margin-bottom: 2.6rem;

}

.app__features li {

  display: flex; gap: 0.9rem; align-items: center;

  padding: 1rem 1.2rem;

  font-size: 0.92rem; color: rgba(235, 242, 255, 0.82);

  border-radius: var(--radius-sm);

}

.app__features strong { color: #fff; }

.app__features-icon {

  flex: none;

  display: grid; place-items: center;

  width: 40px; height: 40px; border-radius: 12px;

  color: var(--accent-2);

  background: rgba(255, 107, 107, 0.12);

  border: 1px solid rgba(255, 107, 107, 0.25);

}



/* Телефон 3D */

.phone-scene { position: relative; display: flex; justify-content: center; perspective: 1200px; }

.phone-scene__ring {

  position: absolute; top: 50%; left: 50%;

  border: 1px solid rgba(96, 165, 250, 0.22);

  border-radius: 50%;

  transform: translate(-50%, -50%);

  animation: ring-spin 22s linear infinite;

}

.phone-scene__ring--1 { width: 420px; height: 420px; }

.phone-scene__ring--2 { width: 540px; height: 540px; animation-duration: 34s; animation-direction: reverse; border-style: dashed; }

@keyframes ring-spin { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }



.phone-mockup {

  position: relative; z-index: 2;

  width: 280px;

  padding: 14px 12px;

  background: linear-gradient(160deg, #1b2333, #0d1220);

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 44px;

  box-shadow:

    inset 0 1px 0 rgba(255, 255, 255, 0.15),

    0 50px 100px -30px rgba(0, 0, 0, 0.8),

    0 0 80px -20px rgba(230, 57, 70, 0.35);

  transform-style: preserve-3d;

  will-change: transform;

}

.phone-mockup__notch {

  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);

  width: 96px; height: 22px;

  background: #05070c;

  border-radius: 12px;

  z-index: 3;

}

.phone-mockup__screen {

  border-radius: 34px;

  background: linear-gradient(180deg, #0d1424, #0a101d);

  padding: 2.6rem 1rem 1.2rem;

  overflow: hidden;

}

.phone-mockup__status {

  display: flex; justify-content: space-between;

  font-size: 0.7rem; color: rgba(255, 255, 255, 0.7);

  margin-bottom: 0.8rem;

  padding-inline: 0.3rem;

}

.phone-mockup__hero {

  border-radius: 18px; overflow: hidden;

  background: linear-gradient(140deg, #24344f, #131c2f);

  height: 150px;

  display: flex; align-items: flex-start; justify-content: flex-end;

  padding: 0.7rem;

  position: relative;

}

.phone-mockup__hero::after {

  content: ""; position: absolute; inset: 0;

  background:

    radial-gradient(circle at 30% 65%, rgba(96, 165, 250, 0.25), transparent 55%),

    linear-gradient(transparent 60%, rgba(5, 8, 14, 0.6));

}

.phone-mockup__rec {

  position: relative; z-index: 2;

  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;

  color: #f87171;

  padding: 0.25rem 0.55rem;

  background: rgba(5, 8, 14, 0.65);

  border-radius: 20px;

  animation: blink 1.6s steps(2) infinite;

}

@keyframes blink { 50% { opacity: 0.45; } }

.phone-mockup__title { font-size: 0.8rem; font-weight: 700; color: #e6edfb; margin: 0.9rem 0 0.7rem; }

.phone-mockup__btn--open {

  text-align: center;

  padding: 0.75rem;

  font-size: 0.85rem; font-weight: 700; color: #fff;

  background: var(--gradient-accent);

  border-radius: 14px;

  box-shadow: 0 10px 26px -8px rgba(230, 57, 70, 0.7);

}

.phone-mockup__events { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }

.phone-mockup__event {

  display: flex; align-items: center; gap: 0.6rem;

  font-size: 0.74rem; color: rgba(230, 238, 252, 0.75);

  padding: 0.55rem 0.7rem;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.07);

  border-radius: 10px;

}

.phone-mockup__event span {

  width: 7px; height: 7px; border-radius: 50%;

  background: var(--accent-2);

}



/* ---------- Values ---------- */

.values__grid {

  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;

  perspective: 1400px;

}

.values__card { padding: 2.8rem 2.2rem; }

.values__icon {

  display: grid; place-items: center;

  width: 66px; height: 66px; border-radius: 20px;

  margin-bottom: 1.6rem;

  color: var(--accent);

  background: rgba(230, 57, 70, 0.12);

  border: 1px solid rgba(230, 57, 70, 0.25);

}

.values__card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.7rem; }

.values__card p { font-size: 0.97rem; color: var(--text-soft); }

.values__card--accent {

  background: var(--gradient-accent);

  border: 0;

  border-radius: var(--radius);

  color: #fff;

  box-shadow: 0 30px 70px -25px rgba(230, 57, 70, 0.6);

}

.values__card--accent .values__icon { color: #fff; background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.3); }

.values__card--accent p { color: rgba(255, 255, 255, 0.85); }



/* ---------- Pricing ---------- */

.pricing__inner {

  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);

  gap: clamp(3rem, 6vw, 6rem);

  align-items: center;

}

.pricing__text { color: var(--text-soft); margin-bottom: 1.6rem; }

.pricing__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.4rem; margin-bottom: 2.2rem; }

.pricing__list li {

  position: relative; padding-left: 1.7rem;

  font-size: 0.97rem; font-weight: 600;

}

.pricing__list li::before {

  content: "✓"; position: absolute; left: 0;

  color: var(--accent); font-weight: 800;

}

.pricing__actions { display: flex; gap: 1rem; flex-wrap: wrap; }



.pricing__cards { display: flex; flex-direction: column; gap: 1.4rem; perspective: 1200px; }

.price-card { padding: 2.2rem 2.2rem; }

.price-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.price-card__desc { font-size: 0.92rem; color: var(--text-soft); margin-bottom: 1.2rem; }

.price-card__price { font-size: 0.95rem; color: var(--text-soft); }

.price-card__price strong {

  font-family: var(--font-display);

  font-size: 1.9rem; font-weight: 700; color: var(--text);

  margin-left: 0.3rem;

}

.price-card--accent {

  background: var(--gradient-accent);

  border-radius: var(--radius);

  color: #fff;

  box-shadow: 0 30px 70px -25px rgba(230, 57, 70, 0.6);

}

.price-card--accent .price-card__desc, .price-card--accent .price-card__price { color: rgba(255, 255, 255, 0.85); }

.price-card--accent .price-card__price strong { color: #fff; }



/* ---------- Steps ---------- */

.steps__list {

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;

}

.step { padding: 2.2rem 1.8rem; position: relative; }

.step__num {

  font-family: var(--font-display);

  font-size: 2.6rem; font-weight: 800; line-height: 1;

  background: var(--gradient-accent);

  -webkit-background-clip: text; background-clip: text; color: transparent;

  opacity: 0.9;

  margin-bottom: 1.1rem;

}

.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }

.step p { font-size: 0.92rem; color: var(--text-soft); }

.step a { color: var(--accent); font-weight: 700; }

.step a:hover { text-decoration: underline; }

.step__list { margin-top: 0.4rem; }

.step__list li {

  position: relative; padding-left: 1.2rem;

  font-size: 0.9rem; color: var(--text-soft);

}

.step__list li::before {

  content: ""; position: absolute; left: 0; top: 0.6em;

  width: 6px; height: 6px; border-radius: 50%;

  background: var(--accent);

}



/* ---------- Application ---------- */

.application {

  position: relative;

  background: #0a0f1c;

  border-radius: var(--radius-lg);

  margin-inline: clamp(0.6rem, 2vw, 2rem);

  overflow: hidden;

}

.application__glow {

  position: absolute; width: 640px; height: 640px; top: -220px; left: -160px;

  background: radial-gradient(circle, rgba(230, 57, 70, 0.25), transparent 65%);

  filter: blur(80px);

  pointer-events: none;

}

.application__grid {

  position: relative; z-index: 2;

  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);

  gap: clamp(3rem, 5vw, 5rem);

  align-items: start;

}

.application__aside-text { color: rgba(233, 240, 252, 0.75); margin-bottom: 2rem; }

.application__contacts { display: flex; flex-direction: column; gap: 0.9rem; }

.application__contacts li {

  display: flex; gap: 1rem; align-items: center;

  padding: 1rem 1.3rem;

  border-radius: var(--radius-sm);

  color: rgba(235, 242, 255, 0.85);

  font-size: 0.95rem;

}

.application__contacts a { color: #fff; font-weight: 700; }

.application__contacts a:hover { color: var(--accent-2); }

.application__contacts-label {

  display: block;

  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;

  color: rgba(235, 242, 255, 0.5);

  margin-bottom: 0.1rem;

}

.application__contacts-icon {

  flex: none;

  display: grid; place-items: center;

  width: 44px; height: 44px; border-radius: 12px;

  color: var(--accent-2);

  background: rgba(255, 107, 107, 0.1);

  border: 1px solid rgba(255, 107, 107, 0.22);

}



.application__wrap { padding: clamp(1.8rem, 3vw, 2.8rem); }



.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.form__field { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }

.form__field label { font-size: 0.85rem; font-weight: 700; color: rgba(235, 242, 255, 0.85); }

.form__field label span { color: var(--accent-2); }

.form__field input, .form__field select, .form__field textarea {

  padding: 0.9rem 1.1rem;

  color: #f0f5ff;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: var(--radius-sm);

  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;

  width: 100%;

}

.form__field input::placeholder, .form__field textarea::placeholder { color: rgba(235, 242, 255, 0.35); }

.form__field select {

  appearance: none;

  padding-right: 2.8rem;

  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a8c8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

  background-repeat: no-repeat; background-position: right 1rem center;

}

.form__field select option { background: #0d1424; }

.form__field input:focus, .form__field select:focus, .form__field textarea:focus {

  outline: none;

  border-color: rgba(230, 57, 70, 0.7);

  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.18);

  background: rgba(255, 255, 255, 0.09);

}

.form__field textarea { resize: vertical; min-height: 70px; }

.form__field.has-error input, .form__field.has-error textarea { border-color: rgba(248, 113, 113, 0.8); }

.form__error { font-size: 0.8rem; color: #f87171; min-height: 1em; }



.form__consent { font-size: 0.8rem; color: rgba(235, 242, 255, 0.5); margin-top: 1.1rem; }

.form__consent a { color: rgba(147, 197, 253, 0.9); text-decoration: underline; }



.form__success {

  display: flex; gap: 1rem; align-items: center;

  margin-top: 1.4rem; padding: 1.2rem 1.4rem;

  color: #6ee7b7;

  background: rgba(52, 211, 153, 0.1);

  border: 1px solid rgba(52, 211, 153, 0.3);

  border-radius: var(--radius-sm);

  animation: success-pop 0.6s var(--ease-out);

}

.form__success div { color: rgba(235, 250, 244, 0.85); font-size: 0.92rem; }

.form__success strong { display: block; color: #a7f3d0; }

@keyframes success-pop {

  from { transform: scale(0.92); opacity: 0; }

  to { transform: scale(1); opacity: 1; }

}



/* ---------- FAQ ---------- */

.faq__list { max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }

.faq__item { overflow: hidden; transition: box-shadow 0.4s; }

.faq__item summary {

  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;

  padding: 1.5rem 1.8rem;

  font-weight: 700; font-size: 1.02rem;

  cursor: pointer;

  list-style: none;

  transition: color 0.3s;

}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--accent); }

.faq__marker {

  flex: none; position: relative;

  width: 34px; height: 34px;

  border-radius: 50%;

  border: 1.5px solid var(--glass-border);

  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;

}

.faq__marker::before, .faq__marker::after {

  content: ""; position: absolute; top: 50%; left: 50%;

  background: currentColor;

  transform: translate(-50%, -50%);

}

.faq__marker::before { width: 12px; height: 1.5px; }

.faq__marker::after { width: 1.5px; height: 12px; transition: transform 0.4s var(--ease-out); }

.faq__item[open] .faq__marker { transform: rotate(180deg); background: rgba(230, 57, 70, 0.12); border-color: rgba(230, 57, 70, 0.45); color: var(--accent); }

.faq__item[open] .faq__marker::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__answer { padding: 0 1.8rem; overflow: hidden; }

.faq__answer p { padding-bottom: 1.5rem; color: var(--text-soft); font-size: 0.97rem; }

.faq__answer a { color: var(--accent); font-weight: 600; }

.faq__answer a:hover { text-decoration: underline; }



/* ---------- Contact ---------- */

.contact {

  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);

  gap: 1.6rem;

  width: min(100% - 3rem, var(--container));

  margin-inline: auto;

}

.contact__card { padding: clamp(2rem, 4vw, 3.2rem); }

.contact-list { display: flex; flex-direction: column; gap: 1.3rem; margin: 1.6rem 0 2.2rem; }

.contact-list li { display: flex; gap: 1rem; align-items: flex-start; color: rgba(235, 242, 255, 0.85); font-size: 0.97rem; }

.contact-list a { color: #fff; font-weight: 700; }

.contact-list a:hover { color: var(--accent-2); }

.contact-list__label {

  display: block;

  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;

  color: rgba(235, 242, 255, 0.5);

  margin-bottom: 0.15rem;

}

.contact-list__icon {

  flex: none;

  display: grid; place-items: center;

  width: 44px; height: 44px; border-radius: 12px;

  color: var(--accent-2);

  background: rgba(255, 107, 107, 0.1);

  border: 1px solid rgba(255, 107, 107, 0.22);

}

.contact__map {

  border-radius: var(--radius);

  overflow: hidden;

  border: 1px solid var(--glass-border);

  min-height: 420px;

  box-shadow: var(--glass-shadow);

}

.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.85); }



/* ---------- Footer ---------- */

.site-footer {

  margin-top: var(--section-gap);

  border-top: 1px solid var(--glass-border);

  background: var(--glass-bg);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

}

.site-footer__inner {

  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr;

  gap: 2.5rem;

  padding-block: clamp(3rem, 5vw, 4.5rem);

}

.site-footer__brand img { width: 160px; margin-bottom: 1rem; }

html[data-theme="dark"] .site-footer__brand img { filter: brightness(0) invert(1); }

.site-footer__brand p { font-size: 0.9rem; color: var(--text-soft); max-width: 300px; }

.site-footer h3 {

  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;

  color: var(--text-mute);

  margin-bottom: 1.1rem;

}

.site-footer__nav ul, .site-footer__services ul { display: flex; flex-direction: column; gap: 0.55rem; }

.site-footer__nav a, .site-footer__services a {

  font-size: 0.93rem; color: var(--text-soft);

  transition: color 0.3s, padding-left 0.3s;

}

.site-footer__nav a:hover, .site-footer__services a:hover { color: var(--accent); padding-left: 0.3rem; }

.footer-contacts { font-size: 0.93rem; color: var(--text-soft); line-height: 2; margin-bottom: 1rem; }

.footer-contacts a { font-weight: 700; color: var(--text); }

.footer-contacts a:hover { color: var(--accent); }

.icon-link {

  display: inline-grid; place-items: center;

  width: 40px; height: 40px; border-radius: 50%;

  color: var(--text-soft);

  border: 1px solid var(--glass-border);

  transition: color 0.3s, border-color 0.3s, transform 0.3s;

}

.icon-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); }



.site-footer__bottom { border-top: 1px solid var(--glass-border); padding-block: 1.4rem; }

.site-footer__bottom-inner {

  display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center;

  font-size: 0.83rem; color: var(--text-mute);

}

.site-footer__legal { display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; }

.site-footer__legal a { color: var(--text-mute); transition: color 0.3s; }

.site-footer__legal a:hover { color: var(--accent); }



/* ---------- Back to top ---------- */

.back-to-top {

  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;

  width: 50px; height: 50px;

  display: grid; place-items: center;

  border-radius: 50%;

  color: var(--text);

  opacity: 0; transform: translateY(16px);

  transition: opacity 0.4s, transform 0.4s var(--ease-out), box-shadow 0.3s;

}

.back-to-top.is-visible { opacity: 1; transform: translateY(0); }

.back-to-top:hover { box-shadow: var(--card-hover-glow); }



/* ---------- Cookie banner ---------- */

.cookie-banner {

  position: fixed; left: 50%; bottom: 1.4rem; z-index: 110;

  width: min(680px, calc(100vw - 2rem));

  display: flex; align-items: center; gap: 1.4rem;

  padding: 1.2rem 1.5rem;

  transform: translate(-50%, 130%);

  transition: transform 0.6s var(--ease-out);

}

.cookie-banner.is-visible { transform: translate(-50%, 0); }

.cookie-banner strong { font-size: 0.95rem; }

.cookie-banner p { font-size: 0.82rem; color: var(--text-soft); margin-top: 0.2rem; }

.cookie-banner a { color: var(--accent); text-decoration: underline; }

.cookie-banner .btn { flex: none; }



/* ---------- Reveal-состояния (до GSAP) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(48px); }

.js [data-hero-fade] { opacity: 0; transform: translateY(30px); }

.js .split-word > span { transform: translateY(115%); }



/* ============================================================

   АДАПТИВ

   ============================================================ */

@media (max-width: 1280px) {

  .nav-list { display: none; }

  .nav-toggle { display: inline-flex; }

}



@media (max-width: 1100px) {

  .header__phone span { display: none; }

  .header__cta { display: none; }

  .header__phone {

    display: grid; place-items: center;

    width: 40px; height: 40px; border-radius: 50%;

    border: 1px solid var(--glass-border);

    background: var(--glass-bg);

  }



  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .steps__list { grid-template-columns: repeat(2, 1fr); }

  .app__inner { grid-template-columns: 1fr; }

  .app__phone { order: -1; }

  .phone-scene__ring--1 { width: 340px; height: 340px; }

  .phone-scene__ring--2 { width: 430px; height: 430px; }

  .application__grid { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }

  .site-footer__inner { grid-template-columns: 1fr 1fr; }

}



@media (max-width: 760px) {

  :root { --section-gap: clamp(4.5rem, 14vw, 7rem); }

  body { font-size: 1rem; }



  .header__inner { padding: 0.55rem 0.9rem; }

  .logo img { width: 128px; }



  .hero { min-height: 100svh; }

  .hero__stats { gap: 0.7rem; }

  .hero__stats li { min-width: calc(50% - 0.35rem); flex: 1; padding: 0.9rem 1.1rem; }

  .hero__actions .btn { width: 100%; }

  .hero__scroll { display: none; }



  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

  .stats-bar__item { padding: 1.7rem 1rem; }



  .about__inner { grid-template-columns: 1fr; }

  .about__media { max-width: 460px; margin-inline: auto; }



  .feature-grid { grid-template-columns: 1fr; }

  .extra-services { grid-template-columns: 1fr; }

  .app__features { grid-template-columns: 1fr; }

  .values__grid { grid-template-columns: 1fr; }

  .pricing__inner { grid-template-columns: 1fr; }

  .pricing__list { grid-template-columns: 1fr; }

  .steps__list { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; gap: 0; }



  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  .site-footer__bottom-inner { flex-direction: column; align-items: center; }



  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }



  .marquee__track { animation-duration: 22s; }



  .phone-mockup { width: 240px; }

  .phone-scene__ring--1 { width: 290px; height: 290px; }

  .phone-scene__ring--2 { width: 360px; height: 360px; }



  .app, .application { margin-inline: 0.5rem; border-radius: var(--radius); }

}



/* ---------- Смартфоны (до 480px) ---------- */

@media (max-width: 480px) {

  .stats-bar__grid { grid-template-columns: 1fr !important; gap: 1rem; }

  .container { width: min(100% - 2rem, var(--container)); }

  body { font-size: 0.97rem; }



  /* шапка */

  .site-header { padding-top: 0.6rem; }

  .site-header .container { width: calc(100% - 1.2rem); }

  .header__inner { padding: 0.45rem 0.7rem; gap: 0.5rem; }

  .logo img { width: 116px; }

  .header__actions { gap: 0.45rem; }

  .header__phone, .theme-toggle { width: 38px; height: 38px; }

  .nav-toggle { width: 38px; height: 38px; }



  /* hero */

  .hero { padding-top: 6.5rem; }

  .hero__eyebrow { margin-bottom: 1.4rem; font-size: 0.72rem; }

  .hero__title { font-size: clamp(1.85rem, 8.5vw, 2.4rem); margin-bottom: 1.3rem; }

  .hero__desc { font-size: 1rem; margin-bottom: 2rem; }

  .hero__actions { margin-bottom: 2.4rem; gap: 0.7rem; }

  .btn--lg { padding: 1rem 1.8rem; font-size: 0.95rem; }

  .hero__stats li { padding: 0.8rem 1rem; }

  .hero__stats strong { font-size: 1.1rem; }

  .hero__stats span { font-size: 0.75rem; }



  /* секции */

  .section-title { font-size: clamp(1.45rem, 6.5vw, 1.9rem); }

  .section-head { margin-bottom: 2.4rem; }

  .marquee { padding: 1rem 0; }

  .marquee__track { gap: 1.8rem; }

  .marquee__track span { font-size: 0.78rem; }



  .stats-bar__item { padding: 1.3rem 0.8rem; }

  .stats-bar__num { font-size: 1.45rem; }

  .stats-bar__label { font-size: 0.78rem; }



  .value-list__item { padding: 1.1rem 1.2rem; gap: 1rem; }

  .value-list__icon { width: 44px; height: 44px; }



  .feature-card { padding: 1.8rem 1.4rem; }

  .feature-card__icon { width: 50px; height: 50px; margin-bottom: 1.1rem; }



  .service-card__img { height: 190px; }

  .service-card__body { padding: 1.4rem 1.3rem 1.6rem; }

  .extra-services li { padding: 1.2rem 1.3rem; gap: 0.9rem; }



  .app__features li { padding: 0.85rem 1rem; font-size: 0.88rem; }

  .phone-mockup { width: 210px; border-radius: 38px; }

  .phone-mockup__screen { border-radius: 28px; padding: 2.2rem 0.8rem 1rem; }

  .phone-mockup__hero { height: 120px; }

  .phone-scene__ring--1 { width: 250px; height: 250px; }

  .phone-scene__ring--2 { width: 300px; height: 300px; }



  .values__card { padding: 2rem 1.5rem; }

  .values__icon { width: 56px; height: 56px; margin-bottom: 1.2rem; }



  .price-card { padding: 1.7rem 1.5rem; }

  .step { padding: 1.7rem 1.4rem; }

  .step__num { font-size: 2rem; margin-bottom: 0.8rem; }



  .application__wrap { padding: 1.3rem 1.1rem; }

  .application__contacts li { padding: 0.85rem 1rem; font-size: 0.88rem; }

  /* 16px — чтобы iOS не зумил страницу при фокусе на поле */

  .form__field input, .form__field select, .form__field textarea { padding: 0.8rem 0.95rem; font-size: 16px; }



  .faq__item summary { padding: 1.1rem 1.2rem; font-size: 0.93rem; gap: 0.9rem; }

  .faq__marker { width: 30px; height: 30px; }

  .faq__answer { padding: 0 1.2rem; }



  .contact { width: calc(100% - 2rem); }

  .contact__card { padding: 1.6rem 1.3rem; }

  .contact__map { min-height: 300px; }



  .back-to-top { width: 44px; height: 44px; right: 1rem; bottom: 1rem; }

  .cookie-banner { padding: 1rem 1.1rem; bottom: 0.8rem; }

}



/* ---------- Компактные смартфоны (до 370px) ---------- */

@media (max-width: 370px) {

  .logo img { width: 102px; }

  .header__phone { display: none; }

  .hero__title { font-size: 1.7rem; }

  .hero__stats li { min-width: 100%; }

  .stats-bar__grid { grid-template-columns: 1fr; }

  .pricing__actions .btn { width: 100%; }

  .phone-mockup { width: 190px; }

  .phone-scene__ring--1, .phone-scene__ring--2 { display: none; }

}



/* ---------- Мобильные в альбомной ориентации ---------- */

@media (max-height: 520px) and (orientation: landscape) {

  .hero { min-height: auto; padding: 6.5rem 0 3.5rem; }

  .hero__scroll { display: none; }

  .hero__actions { margin-bottom: 2rem; }

  .mobile-menu__panel { padding-top: 4.5rem; }

  .mobile-menu__list a { padding: 0.55rem 0; font-size: 1.1rem; }

}



/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

  html { scroll-behavior: auto; }

  *, *::before, *::after {

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

  .js [data-reveal], .js [data-hero-fade] { opacity: 1; transform: none; }

  .js .split-word > span { transform: none; }

  .preloader { display: none; }

}



.submenu::before { content: ""; position: absolute; top: -1.5rem; left: 0; right: 0; height: 1.5rem; }
/* Аварийное скрытие прелоадера */

/* ==============================================================
   СВЕТЛАЯ ТЕМА: ИСПРАВЛЕНИЯ
   ============================================================ */

/* --- glass-dark: принудительно тёмный в любой теме --- */
html[data-theme="light"] .glass-dark {
  background: rgba(13, 18, 32, 0.82) !important;
}

/* --- contact-list: тёмный текст на тёмном фоне --- */
html[data-theme="light"] .contact-list li,
html[data-theme="light"] .contact-list a {
  color: rgba(235, 242, 255, 0.85);
}
html[data-theme="light"] .contact-list a:hover {
  color: var(--accent-2);
}
html[data-theme="light"] .contact-list__label {
  color: rgba(235, 242, 255, 0.5);
}

/* --- application__aside-text: читаемый текст --- */
html[data-theme="light"] .application__aside-text {
  color: rgba(233, 240, 252, 0.75);
}

/* --- feature-card: светлый текст (glass-dark уже тёмный) --- */
html[data-theme="light"] .feature-card {
  color: #eef3ff;
}
html[data-theme="light"] .feature-card p {
  color: rgba(230, 238, 252, 0.68);
}

/* --- app__features: светлый текст (glass-dark уже тёмный) --- */
html[data-theme="light"] .app__features li {
  color: rgba(235, 242, 255, 0.82);
}
html[data-theme="light"] .app__features strong {
  color: #fff;
}

/* --- Темные секции: мягкая тень для отделения --- */
html[data-theme="light"] .app,
html[data-theme="light"] .application {
  box-shadow: 0 0 80px -30px rgba(0, 0, 0, 0.3);
}

/* --- Кнопка меню: скрыть текст «Меню» --- */
.nav-toggle__label {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
/* --- form__success: скрыт по умолчанию (атрибут hidden) --- */
.form__success[hidden] { display: none; }

/* services.html — мгновенный показ без ожидания GSAP */
.services-page [data-reveal],
.services-page [data-split],
.services-page [data-hero-fade] {
  opacity: 1 !important;
  transform: none !important;
}
.services-page .split-word > span {
  transform: translateY(0) !important;
}
