/* ============================================
   TouchOn Premium — Apple-Inspired Dark Theme
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #020604;
  --bg-secondary: #020604;
  --bg-tertiary: #0a0f0c;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(25, 181, 143, 0.35);
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #828282;
  --logo-descriptor: #ffffff;
  --accent: #19b58f;
  --accent-light: #8ed078;
  --accent-glow: rgba(25, 181, 143, 0.15);
  /* Поверхности и линии — общие для калькулятора и сметы */
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(0, 0, 0, 0.3);
  --line-1: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.05);
  --accent-soft: rgba(25, 181, 143, 0.1);
  --accent-line: rgba(25, 181, 143, 0.3);
  --accent-gradient: linear-gradient(135deg, #8ed078, #19b58f);
  --font: 'Mulish', 'Segoe UI', system-ui, sans-serif;
  --font-logo: 'Montserrat Alternates', 'Mulish', sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --header-h: 56px;
  --section-gap: 160px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Shared --- */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 20px auto 0;
}

/* --- Mega Title (Apple-style) --- */
.mega-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glass Card --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-6px);
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  border-radius: 980px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-light);
  transform: scale(1.04);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

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

/* ===========================
   ANIMATIONS
   =========================== */

/* --- Fade Up (initial state) --- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 {
  transition-delay: 0.15s;
}

.anim-delay-2 {
  transition-delay: 0.3s;
}

.anim-delay-3 {
  transition-delay: 0.45s;
}

.anim-delay-4 {
  transition-delay: 0.6s;
}

/* --- Scroll Reveal --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(14px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

/* --- Global cursor glow --- */
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(
    circle 520px at var(--cx, 30%) var(--cy, 50%),
    rgba(25, 181, 143, 0.055) 0%,
    transparent 70%
  );
  mix-blend-mode: screen;
}

/* --- Scroll Scale (for images) --- */
.scroll-scale {
  overflow: hidden;
  border-radius: var(--radius);
}

.scroll-scale img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.15);
}

.scroll-scale.visible img {
  transform: scale(1);
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  z-index: 1003;
}

.header__logo--v2,
.footer__logo--v2 {
  --logo-h: 22px;
  display: flex;
  align-items: baseline;
  gap: calc(var(--logo-h) * 0.228);
}

.header__logo-img,
.footer__logo-img {
  height: var(--logo-h);
  width: auto;
  margin-bottom: calc(var(--logo-h) * -0.064);
}

.logo-integrator {
  font-family: var(--font-logo);
  font-weight: 600;
  color: var(--logo-descriptor);
  font-size: calc(var(--logo-h) * 0.694);
  line-height: 1;
  letter-spacing: 0;
  position: relative;
  top: calc(var(--logo-h) * -0.06);
}

.nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link--disabled {
  color: var(--text-muted);
  pointer-events: none;
  cursor: default;
}

.nav__link--cta {
  color: var(--bg-primary);
  background: var(--accent);
  padding: 8px 20px;
  border-radius: 980px;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--accent-light);
  color: var(--bg-primary);
}

.nav__contacts {
  display: none !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1003;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 110% at -5% 55%, rgba(25, 181, 143, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 105% 5%, rgba(142, 208, 120, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 55% 95%, rgba(25, 181, 143, 0.04) 0%, transparent 60%),
    var(--bg-primary);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 55%,
    rgba(2, 6, 4, 0.6) 80%,
    var(--bg-primary) 100%);
  z-index: 1;
}

/* Particles canvas */
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}

/* Ambient glow — follows cursor */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 700px 500px at 30% 60%, rgba(25, 181, 143, 0.1) 0%, transparent 70%);
  transition: background 0.1s ease;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--section-gap) 0;
}

.hero__text-block {
  max-width: 720px;
}

/* --- Hero blur-reveal (stronger than anim-fade-up) --- */
.hero .anim-fade-up {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(32px);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero .anim-fade-up.visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* Tag badge */
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  padding: 7px 18px 7px 10px;
  background: rgba(25, 181, 143, 0.07);
  border: 1px solid rgba(25, 181, 143, 0.22);
  border-radius: 980px;
  position: relative;
  overflow: hidden;
}

.hero__tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(25, 181, 143, 0.4);
  animation: dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 181, 143, 0.12), transparent);
  animation: tag-shimmer 3.5s ease-in-out infinite 1.5s;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(25, 181, 143, 0.4); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

@keyframes tag-shimmer {
  0% { left: -80%; }
  100% { left: 130%; }
}

/* Title */
.hero__title {
  font-size: clamp(3.2rem, 8.5vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero__title-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gradient);
  opacity: 0.4;
}


.hero__geo {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__geo::before {
  display: none;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.9; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; }
}

/* ===========================
   MARQUEE
   =========================== */
.marquee {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  will-change: transform;
}

.marquee__track span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__track span::after {
  content: '·';
  margin-left: 32px;
  margin-right: 32px;
  letter-spacing: 0;
}

/* ===========================
   ABOUT
   =========================== */
.about {
  padding: var(--section-gap) 0;
}

.about__headline {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

.about__lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 28px;
}

/* Stats */
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 40px 20px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color var(--transition);
}

.stat:hover {
  border-color: var(--border-card-hover);
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat__plus,
.stat__unit {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.stat--icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat__icon {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 4px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   PREMIUM PHILOSOPHY
   =========================== */
.philosophy {
  padding: var(--section-gap) 0;
}

.philosophy__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__lead {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 48px;
}

.philosophy__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.philosophy__point {
  padding: 14px 28px;
  border: 1px solid var(--border-card);
  border-radius: 980px;
  transition: border-color var(--transition), background var(--transition);
}

.philosophy__point:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.philosophy__accent {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.philosophy__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ===========================
   WHY US
   =========================== */
.why {
  padding: var(--section-gap) 0;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why__card {
  padding: 36px 28px;
  text-align: center;
}

.why__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
}

.why__card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why__card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   SYSTEMS — IMMERSIVE SHOWCASES
   =========================== */
.systems {
  padding: var(--section-gap) 0 0;
}

.system-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 4px;
  min-height: 80vh;
  position: relative;
}

.system-showcase--reverse {
  direction: rtl;
}

.system-showcase--reverse>* {
  direction: ltr;
}

.system-showcase__img-wrap {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 0;
}

.system-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-showcase__content {
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.system-showcase__text {
  max-width: 440px;
  margin: 0 auto;
}

.system-showcase__text h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.system-showcase__text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.system-showcase__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.system-showcase__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--border-card);
  border-radius: 980px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color var(--transition), color var(--transition);
}

.system-showcase__tags span:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===========================
   EQUIPMENT
   =========================== */
.equipment {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.equipment__lead {
  text-align: center;
  color: var(--text-secondary);
  max-width: 620px;
  margin: -40px auto 64px;
  font-size: 1rem;
  line-height: 1.7;
}

.equipment__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.equipment__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.equipment__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.equipment__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transform: scale(1.45);
  transition: transform var(--transition);
}

.equipment__card:hover .equipment__img {
  transform: scale(1.52);
}

.equipment__img--large {
  padding: 0;
  transform: scale(1.8);
}

.equipment__card:hover .equipment__img--large {
  transform: scale(1.9);
}

.equipment__img--small {
  transform: scale(0.7);
}

.equipment__card:hover .equipment__img--small {
  transform: scale(0.75);
}

.equipment__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-card);
}

.equipment__img-placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.equipment__info {
  padding: 24px;
  flex: 1;
}

.equipment__info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.equipment__info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================
   SOFTWARE
   =========================== */
.software {
  padding: var(--section-gap) 0;
}

.software__lead {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: -40px auto 64px;
  font-size: 1rem;
  line-height: 1.7;
}

.software__showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.software__card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.software__card-img {
  width: 100%;
  overflow: hidden;
}

.software__img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition);
}

.software__card:hover .software__img {
  transform: scale(1.03);
}

.software__card-info {
  padding: 28px 24px;
}

.software__card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.software__card-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.software__card--wide {
  grid-column: 1 / -1;
}

.software__img-placeholder {
  aspect-ratio: 21 / 9;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.software__img-placeholder span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.software__features-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.software__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.software__feature-icon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(25, 181, 143, 0.5);
  flex-shrink: 0;
}

/* ===========================
   PROCESS
   =========================== */
.process {
  padding: var(--section-gap) 0;
}

.process__timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.process__step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
  position: relative;
}

.step__number {
  flex-shrink: 0;
  width: 64px;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.3;
  transition: opacity 0.5s;
}

.process__step:hover .step__number {
  opacity: 1;
}

.step__content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step__line {
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 1px;
  height: 1px;
  background: var(--border-card);
}

.process__step:last-child .step__line {
  display: none;
}

/* ===========================
   CALCULATOR CTA
   =========================== */
.calc-cta {
  padding: var(--section-gap) 0;
}

.calc-cta__inner {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 56px;
  text-align: center;
  background: var(--surface-1, rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line-1, rgba(255, 255, 255, 0.09));
  border-radius: var(--radius);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.calc-cta__inner::before {
  content: '';
  position: absolute;
  top: -55%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
}

.calc-cta__inner > * {
  position: relative;
}

.calc-cta__desc {
  max-width: 480px;
  margin: 20px auto 36px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.calc-cta__btn {
  gap: 10px;
}

.calc-cta__arrow {
  transition: transform var(--transition);
}

.calc-cta__btn:hover .calc-cta__arrow {
  transform: translateX(4px);
}

.calc-cta__note {
  display: block;
  margin-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .calc-cta__inner {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  .calc-cta__inner {
    padding: 40px 20px;
  }

  .calc-cta__desc {
    margin: 16px auto 28px;
    font-size: 0.9rem;
  }
}

/* ===========================
   AMBASSADORS
   =========================== */
.ambassadors {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.ambassadors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ambassador__card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  backface-visibility: hidden;
  color: inherit;
  cursor: pointer;
}

.ambassador__card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(25, 181, 143, 0.1);
}

.ambassador__photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: -1px;
  background: #020604;
}

.ambassador__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.ambassador__card:hover .ambassador__photo {
  transform: scale(1.04);
}

.ambassador__photo--zoomed {
  transform: scale(1.15);
}

.ambassador__card:hover .ambassador__photo--zoomed {
  transform: scale(1.19);
}

.ambassador__photo--averianov {
  transform: scale(2.35);
  transform-origin: 40% 52%;
}

.ambassador__card:hover .ambassador__photo--averianov {
  transform: scale(2.42);
}

.ambassador__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(2, 6, 4, 0.85) 100%);
  pointer-events: none;
}

.ambassador__info {
  padding: 20px 20px 24px;
}

.ambassador__info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.ambassador__desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.ambassadors__videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ambassador__video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.ambassador__video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio__card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.portfolio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio__card:hover .portfolio__img {
  transform: scale(1.04);
}

/* Portfolio slider */
.portfolio__slider {
  position: relative;
}

.portfolio__slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio__slides .portfolio__img {
  min-width: 100%;
  flex-shrink: 0;
}

.portfolio__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio__slider:hover .portfolio__arrow {
  opacity: 1;
}

.portfolio__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.portfolio__arrow--prev {
  left: 12px;
}

.portfolio__arrow--next {
  right: 12px;
}

.portfolio__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.portfolio__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.portfolio__dot.active {
  background: var(--accent);
}

.portfolio__body {
  padding: 28px 24px 32px;
}

.portfolio__meta {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.portfolio__type,
.portfolio__area {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.portfolio__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio__studio {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}

.portfolio__card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.portfolio__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio__specs span {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--border-card);
  border-radius: 980px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.portfolio__more {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   AWARDS
   =========================== */
.awards {
  padding: var(--section-gap) 0;
  text-align: center;
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.awards__card {
  padding: 0;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition);
}

.awards__card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.awards__img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.awards__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.awards__card:hover .awards__img-wrap img {
  transform: scale(1.05);
}

.awards__body {
  padding: 20px 24px 24px;
}

.awards__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.awards__card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.awards__year {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
  display: inline-block;
}

.awards__more {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   CONSULTATION
   =========================== */
.consult {
  padding: var(--section-gap) 0;
}

.consult__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
}

.consult__text p {
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.7;
}

.consult__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.form__input::placeholder {
  color: var(--text-muted);
}

.form__input:focus {
  border-color: var(--accent);
  background: rgba(25, 181, 143, 0.04);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

.form__select option {
  background: #1f1f1f;
  color: var(--text-primary);
}

.form__note {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

/* ===========================
   CONTACTS
   =========================== */
.contacts {
  padding: var(--section-gap) 0;
  background: var(--bg-secondary);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contacts__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contacts__list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.contacts__value {
  font-size: 1rem;
}

.contacts__link {
  transition: color var(--transition);
}

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

.contacts__map {
  min-height: 360px;
}

.contacts__photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.contacts__caption {
  margin-top: 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

/* ===========================
   CONTACTS — MESSENGERS
   =========================== */
.contacts__messengers {
  display: flex;
  gap: 16px;
}

.contacts__messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-card);
  border-radius: 980px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color var(--transition), background var(--transition);
}

.contacts__messenger:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

/* ===========================
   FORM CONSENT CHECKBOX
   =========================== */
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

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

.btn--full:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===========================
   COOKIE BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 15, 12, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-card);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 1000;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 8px 20px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

/* ===========================
   FOOTER REQUISITES
   =========================== */
.footer__requisites {
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.footer__requisites p {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}


/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  text-align: center;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 700;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer__requisites {
  width: 100%;
}

.footer__requisites p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  :root {
    --section-gap: 120px;
  }

  /* Шестой пункт меню: на планшетных ширинах строка идёт впритык */
  .nav__list {
    gap: 20px;
  }

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

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

  .ambassadors__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .software__card--wide {
    grid-column: auto;
  }

  .system-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .system-showcase--reverse {
    direction: ltr;
  }

  .system-showcase__img-wrap {
    min-height: 360px;
  }

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

  .awards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .consult__inner {
    grid-template-columns: 1fr;
    padding: 48px 36px;
  }

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

  .contacts__map {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 52px;
    --section-gap: 80px;
  }

  /* Header */
  .burger {
    display: flex;
  }

  .header__logo--v2,
  .footer__logo--v2 {
    --logo-h: 18px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #020604;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    z-index: 1002;
  }

  .header__nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 0;
    list-style: none;
  }

  .nav__link {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    padding: 14px 0;
    color: var(--text-primary);
  }

  .nav__link--cta {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    color: var(--accent);
    background: none;
    padding: 14px 0;
    border-radius: 0;
    margin-top: 8px;
  }

  .nav__link--cta:hover {
    background: none;
    color: var(--accent-light);
  }

  .nav__link--disabled {
    opacity: 0.3;
  }

  .nav__contacts {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
  }

  .nav__contact-link {
    font-size: clamp(1rem, 4vw, 1.3rem);
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
  }

  /* Hero */
  .hero__content {
    text-align: center;
  }

  .hero__title {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }

  .hero__geo {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Global mobile center */
  .section-label,
  .section-title,
  .section-subtitle,
  .about__text,
  .philosophy__text,
  .system-showcase__text,
  .consult__inner {
    text-align: center;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* About */
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }

  .mega-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
  }

  /* Systems */
  .system-showcase__img-wrap {
    min-height: 280px;
  }

  /* Equipment */
  .equipment__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Software */
  .software__features-row {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Ambassadors */
  .ambassadors__grid {
    grid-template-columns: 1fr;
  }

  .ambassador__info {
    padding: 16px 16px 20px;
  }

  .ambassador__info h3 {
    font-size: 0.85rem;
  }

  .ambassador__desc {
    font-size: 0.72rem;
  }

  /* Ambassador videos */
  .ambassadors__videos {
    grid-template-columns: 1fr;
  }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__img-wrap {
    aspect-ratio: 16 / 9;
  }

  .portfolio__more {
    margin-top: 32px;
  }

  /* Section header */
  .section-header {
    margin-bottom: 48px;
  }

  /* System Showcases */
  .system-showcase__content {
    padding: 48px 0;
  }

  /* Equipment / Software leads */
  .equipment__lead,
  .software__lead {
    margin: 0 auto 40px;
  }

  /* Consultation */
  .consult__inner {
    padding: 32px 24px;
  }

  /* Process */
  .step__number {
    width: 48px;
    font-size: 1.8rem;
  }

  /* Contacts */
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contacts__map {
    order: -1;
  }

  .contacts__photo {
    min-height: 280px;
  }

  .contacts__info {
    text-align: center;
  }

  .contacts__list li {
    align-items: center;
  }

  .contacts__messengers {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contacts__caption {
    text-align: center;
  }
  .section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer__logo--v2 {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-gap: 64px;
  }


  .hero__title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .hero__geo {
    font-size: 0.95rem;
  }

  /* About */
  .about__stats {
    grid-template-columns: 1fr;
  }

  .mega-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  /* Systems */
  .system-showcase__img-wrap {
    min-height: 220px;
  }

  .system-showcase__content {
    padding: 32px 0;
  }

  .system-showcase__text h3 {
    font-size: 1.3rem;
  }

  /* Why Us */
  .why__grid {
    grid-template-columns: 1fr;
  }

  /* Equipment */
  .equipment__grid {
    grid-template-columns: 1fr;
  }

  /* Ambassadors */
  .ambassadors__grid {
    grid-template-columns: 1fr;
  }

  .ambassador__photo-wrap {
    aspect-ratio: 4 / 3;
  }

  .ambassador__photo--averianov {
    transform-origin: 40% 70%;
  }

  .ambassador__card:hover .ambassador__photo--averianov {
    transform: scale(2.42);
  }

  /* Portfolio */
  .portfolio__body {
    padding: 20px 20px 24px;
  }

  .portfolio__specs {
    gap: 4px;
  }

  /* Equipment / Software leads */
  .equipment__lead,
  .software__lead {
    margin: 0 auto 32px;
  }

  /* Consultation */
  .consult__inner {
    padding: 24px 20px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  /* Contacts */
  .contacts__photo {
    min-height: 220px;
  }

  .contacts__value {
    font-size: 0.85rem;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: var(--section-gap) 0;
}

.faq__list {
  max-width: 880px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq__item {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq__item[open] {
  border-color: rgba(25, 181, 143, 0.35);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319b58f' stroke-width='2.5' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(180deg);
}

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

.faq__a {
  padding: 0 32px 28px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.faq__a p {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .faq__q {
    padding: 22px 22px;
    font-size: 1rem;
  }
  .faq__a {
    padding: 0 22px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq__list {
    gap: 12px;
    margin-top: 40px;
  }
  .faq__q {
    padding: 18px 18px;
    font-size: 0.95rem;
  }
  .faq__a {
    padding: 0 18px 18px;
  }
}

/* ========================================
   OBJECTS MAP
   ======================================== */

.objects-map {
  padding-top: var(--section-gap);
}

.objects-map__outer {
  position: relative;
  margin-top: 56px;
}

.objects-map__canvas {
  width: 100%;
  height: 560px;
  background: #0a0e0c;
}

.objects-map__legend {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  background: rgba(2, 6, 4, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.objects-map__legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.objects-map__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.objects-map__dot--jk       { background: #19b58f; }
.objects-map__dot--village  { background: #8ed078; }
.objects-map__dot--commercial { background: #828282; }

/* Custom map pins */
.map-marker {
  position: relative;
  width: 36px;
  height: 36px;
  z-index: 1;
}

.map-marker:hover { z-index: 5; }

.map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.map-marker:hover .map-pin { transform: scale(1.2); }

.map-pin--jk {
  background: #19b58f;
  box-shadow: 0 0 0 5px rgba(25, 181, 143, 0.22), 0 4px 16px rgba(25, 181, 143, 0.45);
}

.map-pin--village {
  background: #8ed078;
  box-shadow: 0 0 0 5px rgba(142, 208, 120, 0.22), 0 4px 16px rgba(142, 208, 120, 0.45);
}

.map-pin--commercial {
  background: #828282;
  box-shadow: 0 0 0 5px rgba(130, 130, 130, 0.22), 0 4px 16px rgba(130, 130, 130, 0.45);
}

.map-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  background: rgba(2, 6, 4, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 14px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.map-marker:hover .map-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Свои кнопки зума (карта Яндекса) */
.objects-map__zoom {
  position: absolute;
  right: 16px;
  bottom: 48px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(2, 6, 4, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.objects-map__zoom button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.objects-map__zoom button + button { border-top: 1px solid rgba(255, 255, 255, 0.12); }

.objects-map__zoom button:hover {
  background: rgba(25, 181, 143, 0.2);
  color: #19b58f;
}

/* Маркеры на карте Яндекса позиционируются относительно своей точки */
.objects-map__canvas--ymaps .map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
}

/* MapLibre overrides */
.maplibregl-map {
  background: #0a0e0c;
  font-family: var(--font);
}

.maplibregl-ctrl-group {
  background: rgba(2, 6, 4, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.maplibregl-ctrl-group button + button {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.maplibregl-ctrl-group button .maplibregl-ctrl-icon {
  filter: invert(1);
  opacity: 0.7;
}

.maplibregl-ctrl-group button:hover {
  background: rgba(25, 181, 143, 0.2) !important;
}

.maplibregl-ctrl-attrib {
  background: rgba(2, 6, 4, 0.72) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 10px !important;
}

.maplibregl-ctrl-attrib a { color: rgba(255, 255, 255, 0.6) !important; }

.maplibregl-ctrl-attrib-button {
  background-color: rgba(2, 6, 4, 0.72) !important;
  filter: invert(1);
  opacity: 0.55;
}

/* Leaflet overrides (растровый запасной вариант) */
.leaflet-container {
  background: #0a0e0c !important;
  font-family: var(--font) !important;
}

.objects-map__canvas--raster .leaflet-tile-pane {
  filter: brightness(0.62) contrast(1.15) saturate(0.5);
}

.leaflet-control-attribution {
  background: rgba(2, 6, 4, 0.72) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 10px !important;
}

.leaflet-control-attribution a { color: rgba(255, 255, 255, 0.6) !important; }

.leaflet-control-zoom a {
  background: rgba(2, 6, 4, 0.88) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(25, 181, 143, 0.2) !important;
  color: #19b58f !important;
}

@media (max-width: 768px) {
  .objects-map__canvas { height: 420px; }
  .objects-map__legend { padding: 10px 14px; gap: 8px; }
  .objects-map__legend-item { font-size: 11px; }
}

@media (max-width: 480px) {
  .objects-map__canvas { height: 360px; }
  .objects-map__outer { margin-top: 36px; }
}