:root {
  --dark: #1E1E2E;
  --orange: #00C8D4;
  --teal: #00C8D4;
  --accent2: #6B4EFF;
  --bg: #FFFFFF;
  --white: #ffffff;
  --gray: #6B7280;
  --light-gray: #EEF0F5;
  --dark-bg: #F7F9FC;
  --section-dark: #1E2A3A;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: #FFFFFF;
  color: var(--dark);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,200,212,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img { height: 72px; width: auto; display: block; }
.logo-img-white { filter: brightness(0) invert(1); }

.navbar-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  transition: color 0.2s;
}

.navbar-socials a:hover { color: var(--teal); }

.social-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0;
}

.social-tg { background: url('../images/icon-telegram.webp') center/cover no-repeat; }
.social-max { background: url('../images/icon-max.webp') center/cover no-repeat; }
.social-phone { background: var(--orange); font-size: 14px; }

.phone-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px !important;
  color: var(--teal) !important;
}

/* ===== HERO ===== */
/* ===== VIDEO BLOCK ===== */
.video-block {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
}

.video-block video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 80px 40px 60px;
  background: linear-gradient(160deg, #0a0e1a 0%, #0d1f1f 60%, #0a1510 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,212,0.06) 0%, transparent 60%);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-photo,
.hero-photo-wrap {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.hero-photo img,
.hero-photo-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(0,200,212,0.25);
  pointer-events: none;
}

.hero-mob-video { display: none; }

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-photo, .hero-photo-wrap { order: -1; }
  .hero-photo img, .hero-photo-wrap img { height: 280px; }
}
@media (max-width: 768px) {
  .hero-photo { display: none; }
  .hero { padding-top: 84px; }
  .hero-badge {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    gap: 4px 8px;
  }
  .hero-badge > span:not(.hero-location) { white-space: nowrap; }
  .hero-location { flex-basis: 100%; white-space: nowrap; text-align: center; }

  /* Убрать вторую кнопку и перенести микротекст под первую */
  .video-block { display: none; }
  .hero-mob-video {
    display: block;
    margin: 20px -20px 24px;
    overflow: hidden;
  }
  .hero-mob-video video {
    width: 100%;
    display: block;
    height: 240px;
    object-fit: cover;
  }
  .hero-actions .btn-secondary { display: none; }
  .hero-actions { margin-bottom: 8px; }

  /* Слайдер — шире, меньше отступы */
  .slider-section { padding: 48px 12px; }
  .compare-side-label { width: 24px; }
  .compare-side-label-title { font-size: 14px; letter-spacing: 3px; }
  .compare-side-label-sub { font-size: 10px; letter-spacing: 2px; }
  .compare-slider-wrap img { height: 360px !important; }

  /* Смещение фотографий в слайдере */
  #compareAfterImg { object-position: 45% center; }  /* зима: нос снегохода */
  .compare-slider-wrap img:not(#compareAfterImg) { object-position: 18% center; }  /* лето: девушка + правое колесо */
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 8px 16px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}

.hero-stars { color: #FFD700; letter-spacing: 2px; font-size: 14px; }

.hero-location {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 72px);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0px;
  margin-bottom: 16px;
}

.hero h1 .accent { color: var(--orange); }

.hero-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.4;
}

.hero-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,212,0.15);
  border: 1px solid rgba(0,200,212,0.4);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--white);
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.hero-tag .tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: #00aab8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,200,212,0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* On dark backgrounds, override btn-secondary */
.hero .btn-secondary,
.cta-section .btn-secondary,
.faq-rules .btn-secondary {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
}
.hero .btn-secondary:hover,
.cta-section .btn-secondary:hover,
.faq-rules .btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Corporate section — light background, show teal outline button */
.corporate .btn-secondary {
  color: var(--teal);
  border-color: var(--teal);
}
.corporate .btn-secondary:hover {
  background: var(--teal);
  color: #fff;
}

.hero-micro {
  margin-top: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* ===== SLIDER SECTION ===== */
.slider-section {
  background: #E8F8FA;
  padding: 60px 40px;
}


.compare-slider-outer {
  display: flex;
  align-items: stretch;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}

.compare-side-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  width: 32px;
}

.compare-side-label-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 5px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  line-height: 1;
}

.compare-side-label-sub {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  opacity: 0.55;
  line-height: 1;
}

.compare-side-label.winter .compare-side-label-title {
  color: #00C8D4;
  transform: rotate(180deg);
}
.compare-side-label.winter .compare-side-label-sub {
  color: #1E1E2E;
  transform: rotate(180deg);
}
.compare-side-label.summer .compare-side-label-title { color: #FF8C42; }
.compare-side-label.summer .compare-side-label-sub { color: #1E1E2E; }

.compare-slider-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  cursor: col-resize;
  user-select: none;
}

.compare-slider-wrap .img-before,
.compare-slider-wrap .img-after {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.compare-slider-wrap .img-after {
  position: absolute;
  top: 0; left: 0;
  clip-path: inset(0 50% 0 0);
}

.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: rgba(255,255,255,0.9);
  cursor: col-resize;
  z-index: 10;
}

.compare-handle::before {
  content: '⟨  ⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  line-height: 1;
  text-align: center;
}

.compare-placeholder-before, .compare-placeholder-after {
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 29px;
  letter-spacing: 3px;
}

.compare-placeholder-before {
  background: linear-gradient(135deg, #1A3A3A, #0D2A2A);
  color: rgba(255,255,255,0.4);
}

.compare-placeholder-after {
  background: linear-gradient(135deg, #4A2D1A, #3A1A0A);
  color: rgba(255,107,53,0.5);
  position: absolute;
  top: 0; left: 0;
  clip-path: inset(0 50% 0 0);
}

/* ===== ADVANTAGES ===== */
.advantages {
  background: #F0FBFC;
  padding: 20px 40px 60px;
  border-bottom: 1px solid rgba(0,200,212,0.1);
}

.advantages-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.adv-card {
  background: #ffffff;
  padding: 36px 32px;
  border: 1px solid rgba(0,200,212,0.12);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.adv-card:hover { background: rgba(0,200,212,0.04); }

.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.adv-card:hover::before { transform: scaleX(1); }

.adv-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 8px;
}

.adv-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 8px;
}

.adv-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.btn-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ===== PROGRAMS ===== */
.programs {
  padding: 80px 40px;
  background: #FFFFFF;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.section-tag.teal { background: var(--accent2); }

.section-h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.0vw, 51px);
  color: #1E1E2E;
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 12px;
}

.section-h1.white { color: var(--white); }

.section-h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--gray);
  line-height: 1.4;
}

.section-h2.white { color: rgba(255,255,255,0.7); }

.prog-category {
  max-width: 1200px;
  margin: 0 auto 48px;
}

.prog-cat-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}

.prog-cat-title.teal-border { border-color: var(--teal); }

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

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

.prog-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4/3;
  background: #1a1a2a;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.prog-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  z-index: 1;
}

.prog-img.quad { background: linear-gradient(160deg, #1e3020, #2d4a2d); }
.prog-img.snow { background: linear-gradient(160deg, #0d1f35, #1a2f4a); }
.prog-img.buggy { background: linear-gradient(160deg, #2d1e0d, #3a2a10); }
.prog-img.quest { background: linear-gradient(160deg, #15102a, #251838); }
.prog-img.safari { background: linear-gradient(160deg, #2a100d, #3a1a10); }

.prog-img-label { display: none; }

.prog-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 22px 20px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.prog-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.prog-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.prog-card:hover .prog-more-btn {
  background: var(--teal);
  border-color: var(--teal);
}

/* Legacy classes still present in some places — neutralize */
.prog-body, .prog-desc, .prog-footer, .prog-more, .prog-badge { display: none !important; }

/* ===== CORPORATE ===== */
.corporate {
  background: #F7F9FC;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.corporate::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,212,0.08) 0%, transparent 70%);
}

.corp-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.corp-video {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,200,212,0.15);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s;
}

.corp-video:hover { border-color: rgba(0,200,212,0.5); }

.corp-video-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D2A2A, #1A3A3A);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  transition: transform 0.3s, box-shadow 0.3s;
}

.corp-video:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255,107,53,0.5);
}

.play-label {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
}

.corp-video-url-field { display: none; }

.corp-video-mob { display: none; }

.corp-content {}

.corp-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 32px;
}

.corp-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.corp-feat-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,200,212,0.12);
  border: 1px solid rgba(0,200,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.corp-feat-text {
  padding-top: 4px;
}

.corp-feat-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 2px;
}

.corp-feat-desc {
  font-size: 13px;
  color: var(--gray);
}

.corp-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: #1E2A3A;
  border-top: none;
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.25s;
}

.ticker-logo:hover {
  opacity: 0.9;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== NATURE ===== */
.nature {
  padding: 80px 40px;
  background: #FFFFFF;
}

.nature-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.nature-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  background: #111;
}

.nature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.nature-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.nature-card:hover .nature-card-img {
  transform: scale(1.04);
}

.nature-card-body {
  padding: 24px 24px 28px;
  background: #fff;
  border: 1px solid var(--light-gray);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

.nature-icon { display: none; }

.nature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.nature-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: linear-gradient(135deg, #00C8D4, #00A8B8);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '<<';
  position: absolute;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 240px;
  color: rgba(255,255,255,0.05);
  top: -60px;
  left: -20px;
  line-height: 1;
}

.quote-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(29px, 4.8vw, 64px);
  color: var(--white);
  letter-spacing: 0px;
  position: relative;
  z-index: 1;
}

/* ===== CERTIFICATE ===== */
.certificate {
  background: #F0FBFC;
  padding: 80px 40px;
}

.cert-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cert-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.cert-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert-visual::before { display: none; }

.cert-visual-mob { display: none; }

.cert-label {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--teal);
  letter-spacing: 3px;
  position: relative;
}

.cert-features {
  display: flex;
  gap: 24px;
  margin: 24px 0 32px;
}

.cert-feat {
  text-align: center;
}

.cert-feat-val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--accent2);
  line-height: 1;
  margin-bottom: 4px;
}

.cert-feat-label {
  font-size: 12px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 80px 40px;
  background: #FFFFFF;
}

.reviews-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating-big {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 64px;
  color: var(--accent2);
  line-height: 1;
}

.rating-info {}

.rating-stars {
  color: #FFD700;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.rating-source {
  font-size: 13px;
  color: var(--gray);
}

.reviews-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 700px;
}

.reviews-photo-mob { display: none; }

.review-tag {
  background: #1E2A3A;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 40px;
  transform: rotate(-1deg);
  transition: all 0.2s;
  cursor: default;
}

.review-tag:nth-child(even) { transform: rotate(1deg); background: var(--teal); }
.review-tag:nth-child(3n) { transform: rotate(-0.5deg); background: var(--accent2); color: white; }

.review-tag:hover { transform: rotate(0deg) scale(1.05); }

.reviews-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
}

/* ===== TEAM ===== */
.team {
  background: #F7F9FC;
  padding: 80px 40px;
}

.team-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: 24px;
  margin-top: 48px;
  justify-content: center;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,200,212,0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: rgba(0,200,212,0.5);
  box-shadow: 0 12px 40px rgba(0,200,212,0.12);
}

.team-photo {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.team-photo.alex { background: linear-gradient(135deg, #0D2530, #1A3A4A); }
.team-photo.julia { background: linear-gradient(135deg, #1A1A30, #2A1A4A); }
.team-photo.crew { background: linear-gradient(135deg, #0D2A20, #1A3A2A); }

.team-photo-label {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0px;
}

.team-body {
  padding: 24px;
}

.team-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: var(--teal);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: #1E2A3A;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0,200,212,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(107,78,255,0.1) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.8vw, 64px);
  color: #FFFFFF;
  letter-spacing: 0px;
  margin-bottom: 12px;
  line-height: 1;
}

.cta-title span { color: var(--teal); }

.cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  font-family: 'Open Sans', sans-serif;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 40px;
  background: #F7F9FC;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--teal); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  gap: 16px;
  user-select: none;
}

.faq-q:hover { color: var(--teal); }

.faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.faq-item.open .faq-chevron {
  background: var(--teal);
  color: white;
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

.faq-a p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-rules {
  max-width: 900px;
  margin: 32px auto 0;
  background: #1E2A3A;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.faq-rules-text {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.5;
}

.faq-rules-text strong {
  color: var(--white);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  margin-bottom: 4px;
}

/* ===== MAP / CONTACTS ===== */
.contacts {
  background: #FFFFFF;
  padding: 80px 40px 0;
}

.contacts-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  padding-bottom: 60px;
}

.contact-info {}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(0,200,212,0.1);
  border: 1px solid rgba(0,200,212,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.contact-messengers {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.msg-btn {
  display: inline-flex;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.msg-btn:hover { opacity: 0.75; transform: translateY(-2px); }
.msg-icon { width: 44px; height: 44px; object-fit: contain; display: block; }

.map-placeholder {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,200,212,0.2);
  height: 420px;
}

/* ===== FOOTER FORM ===== */
.footer-form {
  background: #F0FBFC;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 40px;
}

.footer-form-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.footer-form-text h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 29px;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.footer-form-text p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  background: #FFFFFF;
  border: 1px solid rgba(0,200,212,0.2);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--dark);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder { color: #aab0bb; }
.form-input:focus { border-color: var(--teal); }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray);
  font-size: 12px;
  cursor: pointer;
}

.form-checkbox input { margin-top: 2px; accent-color: var(--orange); }
.form-checkbox a { color: var(--teal); text-decoration: underline; }

.form-messengers {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.form-msg-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
  display: block;
}

/* ===== BOTTOM NAV ===== */
.bottom-bar {
  background: #1E2A3A;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0,200,212,0.1);
}

.bottom-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.bottom-links {
  display: flex;
  gap: 20px;
}

.bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.bottom-links a:hover { color: var(--orange); }

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.popup {
  background: #FFFFFF;
  border: 1px solid rgba(0,200,212,0.3);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
}

.popup-overlay.active .popup {
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  border: none;
  color: var(--dark);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.popup-close:hover { background: rgba(0,200,212,0.15); }

.popup-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.popup-sub {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.5;
}

.popup-divider {
  text-align: center;
  color: rgba(0,0,0,0.3);
  font-size: 13px;
  margin: 16px 0;
  position: relative;
}

.popup-divider::before, .popup-divider::after {
  content: '';
  position: absolute;
  top: 50%; width: 40%;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.popup-divider::before { left: 0; }
.popup-divider::after { right: 0; }

.popup-messengers {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.popup-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid;
  flex-shrink: 0;
}

.popup-msg.tg { background: rgba(42,171,238,0.1); color: #2AABEE; border-color: rgba(42,171,238,0.2); }
.popup-msg.max { background: rgba(255,92,0,0.1); color: #FF5C00; border-color: rgba(255,92,0,0.2); }
.popup-msg.ph { background: rgba(255,107,53,0.1); color: var(--orange); border-color: rgba(255,107,53,0.2); }
.popup-msg:hover { transform: translateY(-2px); opacity: 0.9; }
.popup-msg-icon { display: block; width: 48px; height: 48px; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar { padding: 14px 20px; }
  .hero { padding: 84px 20px 48px; }
  .programs, .corporate, .nature, .reviews, .team, .cta-section, .faq, .contacts, .certificate { padding: 60px 20px; }
  .advantages { padding: 20px 20px 60px; }
  .footer-form { padding: 60px 20px; }
  .bottom-bar { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }

  .advantages-grid { grid-template-columns: 1fr 1fr; }
  .prog-grid, .prog-grid.two-col { grid-template-columns: 1fr 1fr; }
  .corp-inner { grid-template-columns: 1fr; }
  .corp-video-desk { display: none; }
  .corp-video-mob { display: flex; margin: 16px 0 24px; }
  .cert-inner { grid-template-columns: 1fr; }
  .cert-visual-desk { display: none; }
  .cert-visual-mob { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); margin: 20px 0 28px; }
  .cert-visual-mob img { width: 100%; display: block; }
  .certificate .section-tag,
  .certificate .section-h1,
  .certificate .section-h2,
  .certificate .cert-features { text-align: center; }
  .certificate .cert-features { justify-content: center; }
  .certificate .btn-primary { display: flex !important; margin-left: auto !important; margin-right: auto !important; }
  /* Центрировать все кнопки на мобильном */
  .btn-primary,
  .btn-secondary { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-micro { text-align: center; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-form-inner { grid-template-columns: 1fr; }
  .team-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    margin-top: 32px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-card { flex: 0 0 75vw; scroll-snap-align: start; }
  .nature-grid { grid-template-columns: 1fr 1fr; }
  .reviews-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr !important; }
  .faq-rules { flex-direction: column; align-items: stretch; gap: 16px; }
  .reviews-photo-desk { display: none; }
  .reviews-photo-mob { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1); margin: 0 0 24px; }
  .reviews-tags { display: grid; grid-template-columns: 1fr 1fr; max-width: 100%; gap: 8px; }
  .review-tag { font-size: 11px; padding: 8px 10px; text-align: center; }
}

@media (max-width: 600px) {
  .advantages-grid { grid-template-columns: 1fr; }
  .prog-grid, .prog-grid.two-col { grid-template-columns: 1fr; }
  .team-card { flex: 0 0 82vw; }
  .nature-grid { grid-template-columns: 1fr; }
  .corp-btns { flex-direction: column; align-items: center; }
  .navbar-socials .phone-text { display: none; }
}

/* ===== UNIFIED NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,200,212,0.15);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar-logo {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 21px; color: #1E1E2E; letter-spacing: 0px; text-decoration: none;
  flex-shrink: 0;
}
.navbar-logo span { color: #00C8D4; }

.navbar-menu {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}

.nav-link {
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  color: #1E1E2E; text-decoration: none; padding: 8px 12px; border-radius: 6px;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-link:hover { background: rgba(0,200,212,0.1); color: #00C8D4; }

.navbar-right {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

.social-icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; text-decoration: none; color: #fff; flex-shrink: 0;
}
.social-tg { background: url('../images/icon-telegram.webp') center/cover no-repeat; }
.social-max { background: url('../images/icon-max.webp') center/cover no-repeat; }
.social-phone { background: #00C8D4; font-size: 14px; }

.navbar-phone {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  color: #00C8D4; text-decoration: none; white-space: nowrap;
}
.navbar-phone:hover { color: #00aab8; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: #1E1E2E; border-radius: 2px; transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 999; backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* ===== UNIFIED FOOTER ===== */
.site-footer {
  background: #00C8D4;
  padding: 0;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding: 56px 40px 40px;
}

.footer-logo {
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.5;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 13px; transition: background 0.2s;
}
.footer-social:hover { background: rgba(255,255,255,0.35); }

.footer-col-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-link {
  display: block; font-size: 14px; color: #fff; text-decoration: none;
  margin-bottom: 10px; transition: opacity 0.2s;
}
.footer-link:hover { opacity: 0.7; }

.footer-phone {
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 17px;
}

.footer-address, .footer-hours {
  font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.6; margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 16px 40px; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; align-items: center;
}

.footer-dev {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 12px;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.footer-dev:hover { color: rgba(255,255,255,0.8); }

/* Mobile nav */
@media (max-width: 1024px) {
  .navbar { padding: 0 20px; }
  .navbar-menu {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: 64px; right: 0; width: 280px; height: calc(100vh - 64px);
    background: #fff; z-index: 1000; padding: 20px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1); overflow-y: auto;
    justify-content: flex-start; align-items: flex-start;
  }
  .navbar-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 14px 16px; border-radius: 8px; font-size: 15px; }
  .burger { display: flex; }
  .navbar-phone { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { padding: 16px 20px; }
}

/* Burger toggle JS */


.nav-link-highlight {
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: 6px;
}
.nav-link-highlight:hover {
  background: #00aab8 !important;
  color: #fff !important;
}
.navbar-logo-img { display: flex; align-items: center; text-decoration: none; }
