/* ═══════════════════════════════════════════════════════
   Prince Drive Fahrschule – style.css
   Colors: Navy #0d1b2e | Blue #3d7fd6 | White #ffffff
   Luxurious, modern, animated
═══════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Navy palette */
  --navy-900: #070e18;
  --navy-800: #0d1b2e;
  --navy-700: #111f35;
  --navy-600: #142540;
  --navy-500: #1a3055;
  --navy-400: #1e3a68;
  /* Blue accent (from logo) */
  --blue: #3d7fd6;
  --blue-light: #5a96e8;
  --blue-pale: #a8c8f5;
  --blue-glow: rgba(61,127,214,0.18);
  --blue-glow-strong: rgba(61,127,214,0.35);
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f0f4f8;
  --gray-100: #e8edf4;
  --gray-300: #b0bcd0;
  --gray-500: #6b7a94;
  /* Text */
  --text-on-dark: #e2eaf5;
  --text-muted-dark: #8aa5c4;
  --text-on-light: #0d1b2e;
  --text-muted-light: #4a5a74;
  /* Status */
  --error: #ef4444;
  --success: #22c55e;
  --star: #f5a623;
  /* Sizing */
  --font: 'Outfit', 'Inter', sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --shadow-card: 0 2px 20px rgba(13,27,46,0.10);
  --shadow-blue: 0 8px 32px rgba(61,127,214,0.25);
  --transition: 0.3s ease;
  --header-h: 74px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-on-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* RTL */
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .header__inner,
html[dir="rtl"] .header__actions { flex-direction: row-reverse; }
html[dir="rtl"] .nav__list { flex-direction: row-reverse; }
html[dir="rtl"] .hero__btns { flex-direction: row-reverse; }
html[dir="rtl"] .hero__stats { flex-direction: row-reverse; }
html[dir="rtl"] .location-address,
html[dir="rtl"] .aside-item { flex-direction: row-reverse; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}
.btn--blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(61,127,214,0.4);
}
.btn--ghost {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-blue {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline-blue:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn--white {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  font-weight: 800;
}
.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section--light { background: var(--white); }
.section--navy { background: var(--navy-800); }
.section--navy-soft { background: var(--navy-700); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; color: var(--text-on-light); }
.section__title--light { color: var(--white); }
.section__sub { margin-top: 14px; font-size: 1.05rem; color: var(--text-muted-light); }
.section__sub--light { color: var(--text-muted-dark); }

/* Kicker badge */
.kicker {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: var(--blue-glow);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker--light { background: rgba(255,255,255,0.1); color: var(--blue-pale); }
.kicker--blue { background: var(--blue-glow); color: var(--blue); }

/* ── AOS micro-animation fallback ── */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos][data-aos-delay="50"].aos-animate  { transition-delay: 0.05s; }
[data-aos][data-aos-delay="100"].aos-animate { transition-delay: 0.10s; }
[data-aos][data-aos-delay="150"].aos-animate { transition-delay: 0.15s; }
[data-aos][data-aos-delay="200"].aos-animate { transition-delay: 0.20s; }
[data-aos][data-aos-delay="250"].aos-animate { transition-delay: 0.25s; }
[data-aos][data-aos-delay="300"].aos-animate { transition-delay: 0.30s; }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"]  { transform: translateX(24px); }
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate { transform: none; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(7,14,24,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo__img { height: 52px; width: auto; object-fit: contain; filter: brightness(1.1); }
.footer__logo { height: 46px; width: auto; filter: brightness(1.1); }

/* Nav */
.nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__link {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header__cta { padding: 10px 22px; font-size: 0.9rem; }

/* Language switcher */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn:hover { color: white; border-color: rgba(255,255,255,0.5); }
.lang-btn.active { background: var(--blue); border-color: var(--blue); color: white; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  background: rgba(7, 14, 24, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 20px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.btn--wa {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn--wa:hover {
  background: #20bd5a;
  color: white;
}
.header__call-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(61,127,214,0.15);
  border: 1px solid rgba(61,127,214,0.3);
  color: var(--blue-light);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition);
}
.header__call-btn:hover {
  background: var(--blue);
  color: white;
}
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu ul li a { display: block; padding: 16px 0; color: var(--text-on-dark); font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.mobile-langs { display: flex; gap: 8px; margin-top: 24px; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.10); } }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(7,14,24,0.92) 0%,
    rgba(10,25,50,0.80) 50%,
    rgba(7,14,24,0.55) 100%
  );
}

/* Animated particles */
.hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(61,127,214,0.6);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100px) translateX(60px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-h);
  padding-bottom: 60px;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(61,127,214,0.18);
  border: 1px solid rgba(61,127,214,0.35);
  color: var(--blue-pale);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.8s ease both;
}
@keyframes fadeSlideDown { from { opacity:0; transform: translateY(-14px); } to { opacity:1; transform: none; } }

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}
.hero__title-accent {
  color: var(--blue-light);
  display: block;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

@keyframes fadeSlideUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: none; } }

.hero__btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.3s ease both;
  margin-bottom: 56px;
}

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  width: fit-content;
  animation: fadeSlideUp 0.8s 0.4s ease both;
}
.hero__stat { text-align: center; }
.hero__stat-num { display: block; font-size: 2rem; font-weight: 900; color: var(--blue-light); line-height: 1; }
.hero__stat-label { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero__stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.15); }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(8px); } }

/* ══════════════════════════════
   CLASSES
══════════════════════════════ */
.class-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.class-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.class-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 48px rgba(61,127,214,0.15);
  transform: translateY(-4px);
}
.class-card--featured {
  border: 2px solid var(--blue);
  background: linear-gradient(160deg, #f4f8fe 0%, var(--white) 100%);
  box-shadow: 0 8px 36px rgba(61,127,214,0.16);
}
.class-card--featured:hover {
  border-color: var(--blue-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(61,127,214,0.22);
}

.class-card__ribbon {
  position: absolute;
  top: 20px; right: -10px;
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 4px 4px 4px 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.class-card__ribbon::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 0;
  border: 4px solid transparent;
  border-top-color: #1e56a0;
  border-right-color: #1e56a0;
}

.class-card__icon { width: 60px; height: 60px; }
.class-card__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.class-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-on-light); }
.class-card p { color: var(--text-muted-light); font-size: 0.95rem; }
.class-card__features { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.class-card__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-on-light);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.class-card__features li::before { content: "✓"; color: var(--blue); font-weight: 800; flex-shrink: 0; }

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 24px;
  background: var(--blue-glow);
  border: 1px solid rgba(61,127,214,0.2);
  border-radius: var(--radius);
  color: var(--text-on-light);
  font-size: 0.92rem;
}
.info-note svg { flex-shrink: 0; margin-top: 2px; }

/* ══════════════════════════════
   PRICES
══════════════════════════════ */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.price-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.price-box h3 { color: var(--white); font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.price-box__sub { color: var(--text-muted-dark); font-size: 0.9rem; margin-bottom: 28px; }

.price-box--blue {
  position: relative;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 48px rgba(61,127,214,0.4);
}
.price-box__tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted-dark);
  font-size: 0.92rem;
}
.price-list--light li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.price-list li strong { color: var(--blue-pale); font-weight: 700; }
.price-list--light li strong { color: white; }

.price-big { margin: 20px 0; }
.price-big span:first-child { font-size: 0.9rem; color: rgba(255,255,255,0.7); display: block; }
.price-big__num { font-size: 3rem; font-weight: 900; color: white; line-height: 1; }

.price-box__note { font-size: 0.8rem; color: var(--text-muted-dark); margin-top: 16px; }
.price-disclaimer { text-align: center; color: var(--text-muted-dark); font-size: 0.88rem; max-width: 560px; margin: 0 auto; }

/* ══════════════════════════════
   FEATURES
══════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-box {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.feature-box:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(61,127,214,0.12);
  transform: translateY(-3px);
}
.feature-box__icon { width: 52px; height: 52px; margin-bottom: 18px; }
.feature-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-on-light); margin-bottom: 8px; }
.feature-box p { font-size: 0.9rem; color: var(--text-muted-light); line-height: 1.6; }

/* ══════════════════════════════
   LOCATION
══════════════════════════════ */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.location-info .section__title { color: var(--white); }
.location-address {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  margin: 24px 0;
  color: var(--text-on-dark);
  line-height: 1.7;
}
.location-hours { margin-bottom: 28px; }
.location-hours h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.location-hours table { width: 100%; border-collapse: collapse; }
.location-hours td { padding: 10px 0; color: var(--text-muted-dark); font-size: 0.93rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.location-hours td:last-child { text-align: right; color: var(--text-on-dark); font-weight: 600; }

.location-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.location-map {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}
.location-map iframe { display: block; filter: brightness(0.88) saturate(0.9); }

/* ══════════════════════════════
   GOOGLE REVIEWS
══════════════════════════════ */
.reviews-overall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 48px;
  flex-wrap: wrap;
}
.reviews-overall__stars { display: flex; gap: 3px; }
.reviews-overall__stars svg { width: 26px; height: 26px; }
.reviews-overall__score { font-size: 2.2rem; font-weight: 900; color: var(--text-on-light); }
.reviews-overall__count { font-size: 0.95rem; color: var(--text-muted-light); align-self: flex-end; margin-bottom: 4px; }
.reviews-overall__logo { height: 22px; width: auto; margin-left: 4px; opacity: 0.85; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
.review-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.review-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(61,127,214,0.12);
  transform: translateY(-3px);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__header > div:nth-child(2) { flex: 1; }
.review-card__header strong { display: block; color: var(--text-on-light); font-size: 0.95rem; }
.review-card__stars { color: var(--star); font-size: 0.9rem; letter-spacing: 2px; }
.review-card__g { height: 14px; width: auto; margin-left: auto; opacity: 0.7; }
.review-card p { font-size: 0.9rem; color: var(--text-muted-light); line-height: 1.65; font-style: italic; }

.reviews-cta { text-align: center; }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group select option { background: var(--navy-800); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; }
.form-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.form-check label { font-size: 0.88rem; color: var(--text-muted-dark); line-height: 1.5; }
.form-check label a { color: var(--blue-light); }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(61,127,214,0.12);
  border: 1px solid rgba(61,127,214,0.3);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  font-weight: 600;
}

/* Contact aside */
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.aside-card--dark { background: rgba(255,255,255,0.03); }
.aside-card h3 { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; }
.aside-card p { color: var(--text-muted-dark); line-height: 1.7; font-size: 0.93rem; }
.aside-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: color var(--transition);
}
.aside-item:hover { color: var(--blue-light); }
.aside-item--wa { color: #25D366; }
.aside-item--wa:hover { color: #1da852; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--navy-900);
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand p { color: var(--text-muted-dark); font-size: 0.9rem; margin-top: 16px; max-width: 280px; line-height: 1.65; }
.footer__col h4 { color: var(--white); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { color: var(--text-muted-dark); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer__col ul a:hover { color: var(--blue-light); }
.footer__col p { color: var(--text-muted-dark); font-size: 0.9rem; line-height: 1.7; margin-bottom: 8px; }
.footer__col a { color: var(--text-muted-dark); font-size: 0.9rem; text-decoration: none; transition: color var(--transition); }
.footer__col a:hover { color: var(--blue-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { color: var(--text-muted-dark); font-size: 0.82rem; }

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61,127,214,0.5);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { background: var(--blue-light); transform: translateY(-3px); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .class-cards { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { flex-direction: row; }
  .aside-card { flex: 1; }
  .location-wrap { grid-template-columns: 1fr; gap: 40px; }
  .location-map { height: 340px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .class-cards { grid-template-columns: 1fr; }
  .class-card { padding: 28px 24px; }
  .price-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .header__call-btn { display: inline-flex; }
  .header__actions .lang-switcher { display: none; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 8px;
    padding: 14px 10px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.08);
  }
  .hero__stat-divider { display: none; }
  .hero__stat-num { font-size: 1.35rem; }
  .hero__stat-label { font-size: 0.72rem; line-height: 1.25; margin-top: 3px; }
  .hero__scroll-hint { display: none !important; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translateY(16px) !important;
  }
  .hero__btns { flex-direction: column; gap: 12px; }
  .hero__btns .btn { text-align: center; justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-aside { flex-direction: column; }
  .location-btns { flex-direction: column; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2rem; }
  .reviews-overall { gap: 8px; }
  .reviews-overall__score { font-size: 1.8rem; }
}

/* ══════════════════════════════
   LOCATION VIEWER (3D + Map tabs)
══════════════════════════════ */
.location-viewer {
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
}

.viewer-tabs {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.viewer-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: transparent;
  border: none;
  color: var(--text-muted-dark);
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}
.viewer-tab:hover { color: var(--blue-pale); background: rgba(255,255,255,0.04); }
.viewer-tab.active {
  color: var(--white);
  background: rgba(61,127,214,0.12);
  border-bottom-color: var(--blue);
}

.viewer-panel {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.viewer-panel iframe {
  width: 100%; height: 100%;
  display: block;
  border: none;
}

@media (max-width: 768px) {
  .location-viewer { height: 360px; }
}

/* ══════════════════════════════
   VIDEO BACKGROUND
══════════════════════════════ */
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ══════════════════════════════
   MOBILE IMPROVEMENTS (max 480px)
══════════════════════════════ */
@media (max-width: 480px) {
  :root { --header-h: 60px; }

  /* Header */
  .logo__img { height: 40px; }
  .header__inner { gap: 8px; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero__content { padding-top: calc(var(--header-h) + 16px); padding-bottom: 80px; }
  .hero__badge { font-size: 0.72rem; padding: 5px 12px; }
  .hero__title { font-size: 2.1rem; }
  .hero__sub { font-size: 0.95rem; }
  .hero__btns { gap: 10px; }
  .hero__btns .btn { width: 100%; justify-content: center; padding: 15px 20px; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 6px;
    padding: 12px 6px;
  }
  .hero__stat-divider { display: none; }
  .hero__stat-num { font-size: 1.2rem; }
  .hero__stat-label { font-size: 0.65rem; line-height: 1.2; margin-top: 2px; }

  /* Sections */
  .section { padding: 52px 0; }
  .container { padding: 0 18px; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: 1.7rem; }

  /* Cards */
  .class-cards { grid-template-columns: 1fr; gap: 18px; }
  .class-card { padding: 24px 20px; }
  .class-card__ribbon { font-size: 0.68rem; padding: 4px 14px; }

  /* Prices */
  .price-grid { grid-template-columns: 1fr; gap: 18px; }
  .price-box { padding: 28px 22px; }
  .price-big__num { font-size: 2.4rem; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-box { padding: 22px 18px; }

  /* Location */
  .location-wrap { grid-template-columns: 1fr; gap: 32px; }
  .location-viewer { height: 300px; }
  .viewer-tab { font-size: 0.8rem; padding: 10px 12px; }
  .location-btns { flex-direction: column; }
  .location-btns .btn { width: 100%; justify-content: center; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .reviews-overall { gap: 6px; }
  .reviews-overall__score { font-size: 1.6rem; }
  .reviews-overall__stars svg { width: 20px; height: 20px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-aside { flex-direction: column; gap: 14px; }
  .aside-card { padding: 20px 18px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom .container { flex-direction: column; text-align: center; gap: 6px; }

  /* Back to top */
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ══════════════════════════════
   TABLET (481px – 768px)
══════════════════════════════ */
@media (min-width: 481px) and (max-width: 768px) {
  .hero__title { font-size: 2.6rem; }
  .class-cards { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .location-viewer { height: 360px; }
}

/* ── Touch improvements ── */
@media (hover: none) {
  /* Larger tap targets on touch devices */
  .btn { min-height: 48px; }
  .nav__link { padding: 12px 16px; }
  .lang-btn { padding: 8px 14px; min-width: 44px; min-height: 44px; }
  .viewer-tab { min-height: 48px; }
  .mobile-menu ul li a { padding: 18px 0; font-size: 1.15rem; }

  /* Disable hover glow on touch (prevents sticky states) */
  .class-card:hover,
  .feature-box:hover,
  .review-card:hover { transform: none; box-shadow: var(--shadow-card); }
}

/* ── Safe area insets (iPhone notch/Dynamic Island) ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer__bottom { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
  .back-to-top { bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px)); }
}

/* Single price box (centered, max-width) */
.price-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}
.price-grid--single .price-box {
  text-align: center;
}
.price-grid--single .price-list li {
  text-align: left;
}

/* ══════════════════════════════
   COUNTDOWN BANNER
══════════════════════════════ */
.countdown-banner {
  background: linear-gradient(135deg, #0d1b2e 0%, #1a3055 50%, #0d1b2e 100%);
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid rgba(61,127,214,0.3);
  padding: 22px 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Animated shimmer line */
.countdown-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(61,127,214,0.08), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { to { left: 140%; } }

.countdown-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 220px;
}

.countdown-fire {
  font-size: 2rem;
  animation: pulse-fire 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-fire {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.countdown-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.countdown-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.countdown-sub {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

/* Timer digits */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.countdown-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(61,127,214,0.4);
  border-radius: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.countdown-num.tick {
  color: var(--white);
  background: rgba(61,127,214,0.18);
}
.countdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.countdown-colon {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 16px;
  animation: blink-colon 1s step-start infinite;
}
@keyframes blink-colon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* CTA button */
.btn--cd {
  padding: 13px 28px;
  font-size: 0.92rem;
  flex-shrink: 0;
  animation: pulse-btn 2.5s ease-in-out infinite;
}
@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
}

/* Expired state */
.countdown-expired {
  text-align: center;
  color: var(--text-muted-dark);
  font-size: 0.95rem;
  padding: 8px;
}

@media (max-width: 768px) {
  .countdown-inner {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .countdown-left { justify-content: center; flex: unset; }
  .countdown-num { min-width: 46px; font-size: 1.35rem; }
  .countdown-colon { font-size: 1.35rem; margin-bottom: 14px; }
  .countdown-title { font-size: 0.95rem; }
  .btn--cd { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .countdown-num { min-width: 40px; font-size: 1.15rem; padding: 7px 8px; }
  .countdown-colon { font-size: 1.2rem; }
}

/* ══════════════════════════════
   AUTH MODAL
══════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,14,24,0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.auth-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.auth-modal {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.auth-overlay.open .auth-modal {
  transform: none;
}
.auth-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  color: var(--text-muted-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.auth-close:hover { background: var(--gray-300); color: var(--text-on-light); }
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--text-on-light); text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 0.88rem; color: var(--text-muted-light); text-align: center; margin-bottom: 24px; }

/* Social buttons */
.auth-socials { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.auth-social-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-100);
  background: var(--white);
  color: var(--text-on-light);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.auth-social-btn:hover { border-color: var(--gray-300); box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateY(-1px); }
.auth-social-btn--apple { background: #000; color: #fff; border-color: #000; }
.auth-social-btn--apple:hover { background: #222; }

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-300); font-size: 0.82rem;
  margin-bottom: 20px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--gray-100);
}

/* Auth form fields */
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-field input, .auth-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-on-light);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.auth-field input:focus, .auth-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.auth-submit { margin-top: 6px; }
.auth-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
  padding: 28px; color: var(--text-on-light);
  animation: fadeSlideUp 0.4s ease;
}
.auth-success strong { font-size: 1rem; }
.auth-legal { font-size: 0.78rem; color: var(--text-muted-light); text-align: center; margin-top: 16px; }
.auth-legal a { color: var(--blue); }

/* Green ribbon variant */
.class-card__ribbon--green {
  background: #16a34a;
}
.class-card__ribbon--green::after {
  border-top-color: #15803d;
  border-right-color: #15803d;
}

@media (max-width: 480px) {
  .auth-modal { padding: 28px 20px; }
  .auth-title { font-size: 1.3rem; }
}

/* ══════════════════════════════
   ENHANCED ANIMATIONS
══════════════════════════════ */

/* Floating cards on hero */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* Gradient text shimmer */
.hero__title-accent {
  background: linear-gradient(90deg, var(--blue-light) 0%, #fff 40%, var(--blue-pale) 60%, var(--blue-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s linear infinite;
}
@keyframes textShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Magnetic hover on buttons */
.btn--blue, .btn--outline-blue {
  position: relative;
  overflow: hidden;
}
.btn--blue::after, .btn--outline-blue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--blue:hover::after, .btn--outline-blue:hover::after { opacity: 1; }


/* Scroll progress bar at top */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  z-index: 2001;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* Floating action stats */
.hero__stat-num {
  position: relative;
}
.hero__stat-num::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Section title underline animation */
.section__title {
  position: relative;
  display: inline-block;
}
.section__head .section__title::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px; height: 3px;
  background: var(--blue);
  border-radius: 3px;
  transition: transform 0.6s ease 0.3s;
}
.section__head .section__title.aos-animate::after {
  transform: translateX(-50%) scaleX(1);
}

/* Ripple on CTA click */
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Pulsing dot on countdown fire */
.countdown-banner { animation: subtle-pulse 4s ease-in-out infinite; }
@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61,127,214,0); }
  50% { box-shadow: 0 0 30px 0 rgba(61,127,214,0.15); }
}

/* Smooth card entrance with stagger */
.class-card {
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.class-card:hover { transform: translateY(-8px) scale(1.01); }

/* Feature box icon spin on hover */
.feature-box:hover .feature-box__icon svg {
  animation: iconBounce 0.4s ease;
}
@keyframes iconBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.2) rotate(-5deg); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════
   PRICE GRID – TWO COLUMNS
══════════════════════════════ */
.price-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 32px;
}
@media (max-width: 700px) {
  .price-grid--two { grid-template-columns: 1fr; gap: 20px; }
}

/* Price box badge */
.price-box__badge {
  display: inline-block;
  background: rgba(61,127,214,0.15);
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.price-box__badge--green {
  background: rgba(22,163,74,0.15);
  color: #4ade80;
}

/* ══════════════════════════════
   RTL (ARABIC) FIXES
══════════════════════════════ */
html[dir="rtl"] .nav__list { flex-direction: row-reverse; }
html[dir="rtl"] .header__inner { flex-direction: row-reverse; }
html[dir="rtl"] .header__actions { flex-direction: row-reverse; }

/* Buttons: flip icon+text order in RTL */
html[dir="rtl"] .btn svg:first-child { order: 1; margin-left: 8px; margin-right: 0; }
html[dir="rtl"] .btn span { order: 0; }

/* Cards text alignment */
html[dir="rtl"] .class-card { text-align: right; }
html[dir="rtl"] .class-card__features { padding-right: 18px; padding-left: 0; }
html[dir="rtl"] .class-card__features li::before { right: -16px; left: auto; }

/* Feature boxes */
html[dir="rtl"] .feature-box { text-align: right; }

/* Contact form */
html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] .contact-form textarea { text-align: right; }

/* Auth modal */
html[dir="rtl"] .auth-social-btn { flex-direction: row-reverse; }
html[dir="rtl"] .auth-field input,
html[dir="rtl"] .auth-field select { text-align: right; }

/* Location address */
html[dir="rtl"] .location-address { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .location-hours table td { text-align: right; }
html[dir="rtl"] .location-hours table td:last-child { text-align: left; }

/* Price list */
html[dir="rtl"] .price-list li { flex-direction: row-reverse; }

/* Hero stats */
html[dir="rtl"] .hero__stats { flex-direction: row-reverse; }

/* Footer */
html[dir="rtl"] .footer__cols { flex-direction: row-reverse; }
html[dir="rtl"] .footer__legal { flex-direction: row-reverse; }

/* Scroll hint arrow */
html[dir="rtl"] .scroll-hint { transform: scaleX(-1); }

/* AOS: swap left/right animations for RTL */
html[dir="rtl"] [data-aos="fade-right"] { transform: translateX(-50px) !important; }
html[dir="rtl"] [data-aos="fade-left"]  { transform: translateX(50px) !important; }

/* Mobile menu RTL */
html[dir="rtl"] .mobile-menu ul { text-align: right; }
html[dir="rtl"] .lang-switcher { flex-direction: row-reverse; }


/* ══════════════════════════════
   INTERACTIVE LICENSE FINDER (Besonderes Feature)
══════════════════════════════ */
.license-finder {
  margin-top: 36px;
  background: linear-gradient(145deg, #0d1b2e 0%, #132540 100%);
  border: 1.5px solid rgba(61,127,214,0.3);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 16px 48px rgba(7,14,24,0.35);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.license-finder::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,127,214,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.license-finder__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.license-finder__crown {
  font-size: 2.2rem;
  background: rgba(61,127,214,0.15);
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(61,127,214,0.3);
}
.license-finder__header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.license-finder__header p {
  color: var(--text-muted-dark);
  font-size: 0.92rem;
}
.finder-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.finder-btn {
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--white);
  font-family: var(--font);
}
.finder-btn:hover {
  background: rgba(61,127,214,0.12);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.finder-btn.active {
  background: rgba(61,127,214,0.22);
  border-color: var(--blue-light);
  box-shadow: 0 0 20px rgba(61,127,214,0.3);
}
.finder-btn__icon { font-size: 1.6rem; }
.finder-btn__title { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.finder-btn__hint { font-size: 0.72rem; color: var(--text-muted-dark); line-height: 1.2; }

.finder-result {
  background: rgba(7, 14, 24, 0.65);
  border: 1px solid rgba(61,127,214,0.25);
  border-radius: var(--radius);
  padding: 24px;
  animation: fadeIn 0.35s ease;
}
.finder-result__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.finder-result__badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.finder-result__duration {
  font-size: 0.82rem;
  color: var(--blue-pale);
  font-weight: 600;
}
.finder-result h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.finder-result p {
  color: var(--text-muted-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.finder-result__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.finder-result__note {
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}

@media (max-width: 900px) {
  .finder-options { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .license-finder { padding: 24px 18px; }
  .finder-options { grid-template-columns: 1fr; gap: 8px; }
  .finder-btn { flex-direction: row; text-align: left; padding: 12px 14px; gap: 12px; }
  .finder-btn__hint { margin-left: auto; text-align: right; }
  .finder-result { padding: 18px 14px; }
  .finder-result__cta .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════
   3D VIEWER TOUCH OVERLAY (Mobile Scroll-Trap Fix)
══════════════════════════════ */
.viewer-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.viewer-touch-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(13, 27, 46, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .viewer-touch-overlay { display: none !important; }
  .viewer-touch-done { display: none !important; }
}
.touch-hint-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(13, 27, 46, 0.92);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-pill);
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: pulse-hint 2s ease-in-out infinite;
}
@keyframes pulse-hint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.viewer-touch-done {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 12;
  background: rgba(13, 27, 46, 0.92);
  border: 1.5px solid var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.viewer-panel.touch-active .viewer-touch-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.viewer-panel.touch-active .viewer-touch-done {
  display: inline-flex;
}

/* ══════════════════════════════
   FLOATING WHATSAPP BUTTON
══════════════════════════════ */
.floating-wa {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 899;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.floating-wa:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
  color: white;
}
.floating-wa__pulse {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  border: 2px solid #25D366;
  animation: wa-pulse 2.2s infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.25, 1.45); opacity: 0; }
}
@media (max-width: 480px) {
  .floating-wa {
    bottom: 18px;
    left: 18px;
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-wa__text { display: none; }
  .floating-wa__pulse { border-radius: 50%; }
}
