/* ===== Landing Specific Styles ===== */
/* Variables and Reset are now in shared.css */

:root {
  --accent-light: #2BBDD6;
}

/* ===== Ripple animation ===== */
@keyframes ripple-anim {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* ===== Floating orb animation ===== */
@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.04); }
}

body {
  background: var(--surface-0);
  overflow-x: hidden;
}

/* ===== Animated Mesh Background ===== */
.wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.wave-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(26, 173, 199, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 82% 12%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 65% 50% at 5% 75%,  rgba(14, 165, 233, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(99, 210, 231, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 80% 40% at 45% 50%, rgba(186, 230, 253, 0.08) 0%, transparent 60%);
  animation: mesh-drift 20s ease-in-out infinite alternate;
  will-change: transform;
}

.wave-bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 60% 45% at 70% 25%, rgba(251, 191, 36, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 45% 55% at 25% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%);
  animation: mesh-drift 28s ease-in-out infinite alternate-reverse;
  will-change: transform;
}

@keyframes mesh-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(3%, 2%) rotate(3deg) scale(1.03); }
  66%  { transform: translate(-2%, 4%) rotate(-2deg) scale(0.98); }
  100% { transform: translate(4%, -2%) rotate(4deg) scale(1.02); }
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: multiply;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(226, 237, 245, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 0 rgba(26, 173, 199, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(215, 230, 242, 0.88);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8), 0 4px 24px rgba(15, 23, 42, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--slate-800);
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: var(--slate-600);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-ocean);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--cyan-600);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-ocean);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface-0);
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

body.menu-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 500;
  color: var(--slate-700);
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-menu-contacts {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}

.mobile-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-contact-btn.tg {
  background: #e8f4fb;
  color: #0088cc;
}

.mobile-contact-btn.tg:hover {
  background: #0088cc;
  color: var(--white);
}

.mobile-contact-btn.wa {
  background: #e8f8ef;
  color: #25d366;
}

.mobile-contact-btn.wa:hover {
  background: #25d366;
  color: var(--white);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
}

.hero-bg-image picture,
.hero-bg-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* Parallax эффект для hero */
.hero-visual.parallax {
  transform: translateY(0);
  transition: transform 0.1s ease-out;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(15, 23, 42, 0.7) 0%,
      rgba(15, 23, 42, 0.4) 35%,
      rgba(15, 23, 42, 0.1) 60%,
      transparent 100%),
    linear-gradient(180deg,
      rgba(15, 23, 42, 0.2) 0%,
      transparent 20%,
      transparent 80%,
      rgba(15, 23, 42, 0.4) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
}

.hero-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.hero-particles span:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 2s;
  width: 6px;
  height: 6px;
}

.hero-particles span:nth-child(3) {
  left: 60%;
  top: 30%;
  animation-delay: 4s;
}

.hero-particles span:nth-child(4) {
  left: 80%;
  top: 70%;
  animation-delay: 6s;
  width: 8px;
  height: 8px;
}

.hero-particles span:nth-child(5) {
  left: 50%;
  top: 80%;
  animation-delay: 8s;
}

@keyframes float {

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

  25% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-10px) translateX(-10px);
    opacity: 0.6;
  }

  75% {
    transform: translateY(-40px) translateX(5px);
    opacity: 0.9;
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.pulse {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.gradient-text {
  color: var(--cyan-400);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 2px 8px rgba(26,173,199,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}

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

/* btn-glow: removed neon pulse animation per NO Neon/Outer Glows rule */

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

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

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--white);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 14px;
  opacity: 0.7;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Hero Telegram Block ===== */
.hero-tg-block {
  margin-top: 28px;
}

.hero-tg-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.65;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-tg-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
}

.hero-tg-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-tg-btn svg {
  flex-shrink: 0;
  color: #4fc3e8;
}

.hero-tg-btn span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-tg-btn strong {
  font-size: 14px;
  font-weight: 600;
}

.hero-tg-btn small {
  font-size: 12px;
  opacity: 0.7;
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero-tg-links {
    flex-direction: column;
  }
  .hero-tg-btn {
    min-width: unset;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  opacity: 0.7;
  font-size: 13px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== Weather Section ===== */
.weather-section {
  padding: 40px 0;
  background: linear-gradient(180deg, rgba(26, 173, 199, 0.03) 0%, transparent 100%);
  position: relative;
}

.weather-widget {
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 173, 199, 0.12);
}

.weather-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  color: var(--slate-600);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--slate-200);
  border-top-color: var(--cyan-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.weather-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.weather-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--cyan-600);
}

.weather-icon svg {
  width: 56px;
  height: 56px;
}

.weather-temp {
  font-size: 48px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1;
}

.weather-temp .unit {
  font-size: 32px;
  color: var(--slate-600);
}

.weather-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.weather-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
  margin-top: 2px;
}

.weather-description {
  font-size: 15px;
  color: var(--slate-600);
  text-transform: capitalize;
  font-weight: 500;
}

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

.weather-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(26, 173, 199, 0.06);
  border-radius: 12px;
}

.weather-detail-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--cyan-600);
}

.weather-detail-icon svg {
  width: 22px;
  height: 22px;
}

.weather-detail-info {
  display: flex;
  flex-direction: column;
}

.weather-detail-label {
  font-size: 11px;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.weather-detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-800);
}

.weather-recommendation {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  color: white;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.weather-recommendation.good {
  background: linear-gradient(135deg, #10b981, #059669);
}

.weather-recommendation.fair {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.weather-recommendation.poor {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

@media (max-width: 1024px) {
  .weather-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

@media (max-width: 640px) {
  .weather-main {
    flex-direction: column;
    text-align: center;
  }

  .weather-details {
    grid-template-columns: 1fr;
  }

  .weather-content {
    gap: 20px;
  }
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--cyan-100);
  color: var(--cyan-700);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.section-desc {
  font-size: 18px;
  color: var(--slate-500);
  margin-top: 16px;
}

/* ===== About / Features ===== */
.about {
  padding: var(--section-padding) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 173, 199, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

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

.feature-card {
  padding: 32px 24px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  transition-delay: calc(var(--delay, 0) * 90ms);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06);
  border-color: rgba(26, 173, 199, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-1) 60%, var(--surface-2) 100%);
  position: relative;
  overflow: hidden;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 173, 199, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.steps {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: left;
  padding: 0 32px 0 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--cyan-500);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  font-family: 'DM Mono', monospace;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
}

.step-line {
  position: absolute;
  top: 24px;
  left: 80px;
  width: calc(100% - 80px);
  height: 1px;
  background: var(--slate-200);
}

.step:last-child .step-line {
  display: none;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ===== Routes ===== */
.routes {
  padding: var(--section-padding) 0;
  background: #fff;
  position: relative;
}

.routes::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 173, 199, 0.2), transparent);
}

.routes-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 24px;
  align-items: start;
}

.route-card:first-child {
  border-left: 3px solid var(--cyan-500);
}

.route-card {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(26, 173, 199, 0.25);
}

.route-card:first-child {
  background: linear-gradient(135deg, #fff 0%, rgba(226, 246, 251, 0.6) 100%);
  border-left: 3px solid var(--cyan-500);
}

.route-card:first-child h3 {
  font-size: 22px;
}

.route-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.route-card p {
  font-size: 15px;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ===== Inline CTA ===== */
.inline-cta {
  padding: 32px 0;
  background: var(--surface-1);
}

.inline-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--gradient-ocean);
  color: var(--white);
  padding: 28px 32px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
}

.inline-cta-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.inline-cta-card p {
  opacity: 0.9;
}

/* ===== Pricing ===== */
.prices {
  padding: var(--section-padding) 0;
  background: linear-gradient(160deg, var(--slate-900) 0%, var(--slate-800) 40%, #0a2233 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.prices::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 173, 199, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.prices::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.prices .section-tag {
  background: rgba(26, 173, 199, 0.2);
  color: var(--cyan-400);
  border-color: rgba(26, 173, 199, 0.3);
}

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

.prices .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(32px);
  backdrop-filter: blur(10px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  transition-delay: calc(var(--delay, 0) * 120ms);
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-card.featured {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(26, 173, 199, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  background: var(--gradient-ocean);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

.pricing-header {
  padding: 32px 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-type {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 16px 0 8px;
}

.price-from {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.price-amount {
  font-size: 52px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-currency {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-period {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.pricing-body {
  padding: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li strong {
  color: var(--white);
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pricing:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-pricing.primary {
  background: var(--cyan-500);
  color: var(--white);
  border-color: var(--cyan-500);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-pricing.primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

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

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.note-icon {
  flex-shrink: 0;
  color: var(--cyan-400);
}

.note-content {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.note-content strong {
  color: var(--white);
}

/* ===== Location ===== */
.location {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s ease;
}

.location-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.location-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-100);
  color: var(--cyan-600);
  border-radius: 12px;
}

.location-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.location-card p {
  font-size: 16px;
  color: var(--slate-800);
}

.location-card a {
  color: var(--cyan-600);
  transition: color 0.2s;
}

.location-card a:hover {
  color: var(--cyan-700);
}

.location-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--card);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

.btn-location:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-location.primary {
  background: var(--gradient-ocean);
  color: var(--white);
  border: none;
}

.btn-location.primary:hover {
  box-shadow: var(--shadow-md);
}

.location-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ===== Contacts ===== */
.contacts {
  padding: var(--section-padding) 0;
  background: var(--gradient-dark);
  color: var(--white);
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contacts .section-tag {
  background: rgba(26, 173, 199, 0.15);
  color: var(--cyan-600);
}

.contacts-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 16px 0;
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.contacts-desc {
  font-size: 18px;
  color: var(--slate-300);
  margin-bottom: 32px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.contact-link.telegram:hover {
  border-color: #0088cc;
}

.contact-link.whatsapp:hover {
  border-color: #25d366;
}

.contact-link.phone:hover {
  border-color: var(--cyan-500);
}

.contacts-cta {
  display: flex;
  justify-content: center;
}

.cta-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  text-align: center;
  max-width: 360px;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-ocean);
  border-radius: 50%;
  margin-bottom: 24px;
}

.cta-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 15px;
  color: var(--slate-300);
  line-height: 1.6;
  margin-bottom: 24px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 0 2px 8px rgba(26,173,199,0.18);
}

.btn-cta:active {
  transform: scale(0.97) translateY(1px);
}

/* ===== Footer ===== */
.footer {
  padding: 60px 0 100px;
  background: var(--slate-900);
  color: var(--slate-300);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--slate-400);
  padding: 8px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--slate-500);
}

.footer-policy-link {
  color: var(--slate-400);
  margin-left: 12px;
  transition: color 0.2s;
}

.footer-policy-link:hover {
  color: var(--slate-200);
}

/* ===== Mobile CTA ===== */
.mobile-cta {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--gradient-ocean);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.mobile-cta:active {
  transform: scale(0.97);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .routes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-card:first-child {
    grid-column: 1 / -1;
  }

  .inline-cta-card {
    flex-direction: column;
    text-align: center;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto 40px;
  }

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

  .location-map {
    order: -1;
  }

  .contacts-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contacts-list {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .nav,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .steps {
    flex-direction: column;
    gap: 32px;
  }

  .step {
    max-width: 100%;
  }

  .step-line {
    display: none;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .location-actions {
    flex-direction: column;
  }

  .mobile-cta {
    display: flex;
  }

  .footer {
    padding-bottom: 120px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Gallery Section ===== */
.gallery {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--surface-1) 0%, #fff 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 0.4s ease;
  border-radius: inherit;
}

.gallery-item:hover::after {
  background: rgba(15, 23, 42, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item.large {
    grid-column: span 2;
    height: 250px;
  }

  .gallery-item:not(.large) {
    height: 150px;
  }
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface-2);
  border-radius: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.gallery-cta p {
  font-size: 15px;
  color: var(--slate-600);
}

.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gradient-ocean);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-gallery:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== Reviews Section ===== */
.reviews {
  padding: var(--section-padding) 0;
  background: var(--surface-0);
}

/* Счётчик доверия */
.reviews-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

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

.reviews-stars {
  color: #f59e0b;
  font-size: 22px;
  letter-spacing: 2px;
}

.reviews-rating strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-800);
}

.reviews-count {
  font-size: 15px;
  color: var(--slate-500);
  padding: 6px 14px;
  background: var(--surface-2);
  border-radius: 100px;
  border: 1px solid var(--slate-200);
}

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

.review-card:first-child {
  border-left: 3px solid var(--cyan-500);
}

/* 5-я карточка центрируется среди 3-колоночного грида */
.reviews-grid .review-card:nth-child(4),
.reviews-grid .review-card:nth-child(5) {
  /* на десктопе последние 2 карточки из 5 — занимают по 1 колонке, центрируем группу */
}

.review-card {
  background: var(--card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-ocean);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.review-info h4 {
  font-weight: 600;
  margin-bottom: 2px;
}

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

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.review-date {
  font-size: 13px;
  color: var(--slate-400);
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Calendar / Availability Section ===== */
.availability {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--surface-0) 0%, var(--surface-1) 100%);
}

.calendar-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-800);
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--surface-0);
  color: var(--slate-700);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.calendar-nav:hover {
  background: var(--cyan-500);
  color: var(--white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
  padding: 8px 0;
  text-transform: uppercase;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  background: var(--surface-0);
  cursor: default;
  transition: all 0.2s ease;
}

.calendar-day.empty {
  background: transparent;
}

.calendar-day.past {
  color: var(--slate-300);
  background: transparent;
}

.calendar-day.available {
  background: #dcfce7;
  color: #166534;
}

.calendar-day.limited {
  background: #fef3c7;
  color: #92400e;
}

.calendar-day.full {
  background: #fee2e2;
  color: #991b1b;
}

.calendar-day.today {
  box-shadow: inset 0 0 0 2px var(--cyan-500);
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-600);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-dot.available {
  background: #dcfce7;
}

.legend-dot.limited {
  background: #fef3c7;
}

.legend-dot.full {
  background: #fee2e2;
}

/* ===== FAQ Section ===== */
.faq {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  transition: background 0.2s ease;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--slate-50);
}

.faq-question:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: -2px;
  border-radius: 12px;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 24px;
  color: var(--cyan-500);
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
  margin-left: 12px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

/* Анимация через grid-template-rows trick — работает везде */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}

.faq-answer:not([hidden]) {
  grid-template-rows: 1fr;
}

/* hidden убирает display:none — нужен inner-wrapper */
.faq-answer[hidden] {
  display: grid !important;
  grid-template-rows: 0fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 24px 20px;
  color: var(--slate-600);
  line-height: 1.7;
  min-height: 0;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 88px; /* выше мобильной CTA-кнопки */
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--slate-700);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

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

.back-to-top:hover {
  background: var(--cyan-500);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 2px 6px rgba(26,173,199,0.15);
}

@media (min-width: 769px) {
  /* На десктопе нет floating CTA, опускаем ниже */
  .back-to-top {
    bottom: 32px;
  }
}

/* ===== Active nav link ===== */
.nav-link.active {
  color: var(--cyan-600);
}

.nav-link.active::after {
  width: 100%;
}

/* ===== Scroll-reveal system ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 90ms);
}

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

.review-card,
.route-card,
.faq-item,
.gallery-item,
.contact-card,
.inline-cta-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 90ms);
}

.review-card.visible,
.route-card.visible,
.faq-item.visible,
.gallery-item.visible,
.contact-card.visible,
.inline-cta-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .review-card,
  .route-card,
  .faq-item,
  .gallery-item,
  .contact-card,
  .inline-cta-card,
  .feature-card,
  .pricing-card,
  .step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


