/* ═══════════════════════════════════════════════════════════
   COMPONENTS — Oasis Fight Academy
   Coastal dark theme, ocean teal accent
   ═══════════════════════════════════════════════════════════ */

/* ── HERO (Full-viewport video) ────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(12,19,24,0.82) 0%, rgba(12,19,24,0.5) 50%, rgba(12,19,24,0.3) 100%),
    linear-gradient(to top, var(--bg) 0%, rgba(12,19,24,0.65) 15%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 80px) var(--container-pad) 80px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content-inner { max-width: 760px; }

/* ── Underline highlight (marker effect) ── */
.underline-highlight {
  background-color: transparent;
  color: var(--white);
  font-weight: 700;
  background-image: linear-gradient(transparent 55%, rgba(8, 145, 178, 0.7) 55%);
  padding: 0 4px;
  margin: 0 -4px;
}

/* ── Text cycle animation ── */
.text-cycle {
  display: inline-block;
  animation: cycleFadeIn 0.5s ease;
}
@keyframes cycleFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent-hot);
}
.hero-title .mobile-br { display: none; }

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.7;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  justify-content: center;
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* ── Social proof avatar stack ── */
.hero-avatar-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
}
.avatar-row {
  display: flex;
  justify-content: center;
}
.avatar-row > * {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  object-position: center 20%;
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  image-rendering: -webkit-optimize-contrast;
}
.avatar-row > *:first-child { margin-left: 0; }
.avatar-caption {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  max-width: 420px;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero-ctas, .hero-avatar-stack { display: none; }
  .hero-subtitle { margin-bottom: 0; }
  .hero-content {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: calc(var(--nav-height) + 40px);
  }
  .hero-title { min-height: calc(1.05em * 3); }
  .hero-title .mobile-br { display: inline; }
  .hero-title em { display: block; }
}

/* ── PHILOSOPHY / ABOUT ────────────────────────────────── */
.philosophy-section {
  padding: var(--section-pad) 0;
}
.philosophy-content {
  max-width: 720px;
  margin: 0 auto;
}
.philosophy-content .section-title {
  text-align: center;
  margin-bottom: 28px;
}
.philosophy-intro {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.8;
  color: var(--faint);
  text-align: center;
}
.philosophy-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--accent-hot);
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.philosophy-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--faint);
  margin-bottom: 18px;
  text-align: left;
}
.philosophy-body:last-child {
  margin-bottom: 0;
}
.philosophy-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.philosophy-more.open { max-height: 600px; }
.philosophy-more p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--faint);
  margin-top: 20px;
}
.read-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.2s;
}
.read-more-toggle:hover { color: var(--accent-hot); }

/* ── BENEFITS ──────────────────────────────────────────── */
.benefits-section {
  padding: var(--section-pad) 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.benefit-card {
  background: var(--card);
  border: 1px solid rgba(8, 145, 178, 0.45);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.benefit-card-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
}
.benefit-card-body {
  padding: 28px 24px 32px;
}
.benefit-card:hover {
  border-color: var(--accent-hot);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 44px;
  height: 44px;
  color: var(--accent-hot);
  margin-bottom: 20px;
}
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.25;
}
.benefit-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--faint);
}
.benefit-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefit-bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--faint);
}
.benefit-bullets li:last-child {
  margin-bottom: 0;
}
.benefit-bullets li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--accent-hot);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
}

.benefits-scroll-nav { display: none; }
.benefits-scroll-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  color: var(--white); display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 20px;
  transition: border-color 0.2s;
}
.benefits-scroll-btn:hover { border-color: var(--accent); }
.benefits-scroll-btn.disabled { opacity: 0.3; pointer-events: none; }

@media (max-width: 600px) {
  .benefits-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .benefit-card {
    width: 70vw;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  .benefits-scroll-nav {
    display: flex; justify-content: center; gap: 12px; margin-top: 16px;
  }
}

/* ── TIMETABLE ─────────────────────────────────────────── */
.timetable-section {
  padding: var(--section-pad) 0;
}
.timetable-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
}
.timetable-tab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.timetable-tab:hover { color: var(--white); border-color: rgba(255,255,255,0.15); }
.timetable-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.timetable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.timetable-day {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.timetable-day-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hot);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 145, 178, 0.06);
}
.timetable-class {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.timetable-class:last-child { border-bottom: none; }
.timetable-class-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}
.timetable-class-time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .timetable-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .timetable-grid { grid-template-columns: 1fr; }
}

/* ── COMPARISON ────────────────────────────────────────── */
.comparison-section {
  padding: var(--section-pad) 0;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  margin: 40px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.comparison-col-header {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.comparison-col-header.negative {
  background: rgba(220, 38, 38, 0.06);
  color: #f87171;
}
.comparison-col-header.positive {
  background: rgba(8, 145, 178, 0.06);
  color: var(--accent-hot);
  border-left: 1px solid var(--border);
}
.comparison-item {
  padding: 18px 24px;
  font-size: 15.5px;
  line-height: 1.6;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.comparison-item:nth-last-child(-n+2) { border-bottom: none; }
.comparison-item.negative { color: var(--faint); }
.comparison-item.positive {
  color: var(--white);
  border-left: 1px solid var(--border);
}
.comparison-icon {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.6;
}
.comparison-item.negative .comparison-icon { color: #f87171; }
.comparison-item.positive .comparison-icon { color: var(--accent-hot); }

@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .comparison-col-header.negative { order: 1; }
  .comparison-item.negative { order: 2; }
  .comparison-col-header.positive { order: 3; border-left: none; border-top: 3px solid var(--border); }
  .comparison-item.positive { order: 4; border-left: none; }
}

/* ── INSTRUCTORS ───────────────────────────────────────── */
.instructors-section {
  padding: var(--section-pad) 0;
}
.instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 40px auto 0;
}
.instructor-card {
  position: relative;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}
.instructor-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.instructor-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.instructor-card:hover .instructor-card-img {
  transform: scale(1.03);
}
.instructor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,19,24,1) 0%, rgba(12,19,24,0.9) 25%, transparent 65%);
  pointer-events: none;
}
.instructor-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 20px;
  z-index: 2;
}
.instructor-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.instructor-card-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 14px;
}
.instructor-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.instructor-card-btn:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

@media (max-width: 768px) {
  .instructors-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

/* ── Instructor Modal ──────────────────────────────────── */
.instructor-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.instructor-modal.open {
  opacity: 1;
  visibility: visible;
}
.instructor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
}
.instructor-modal-content {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 560px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.instructor-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.instructor-modal-close:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.instructor-modal-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.instructor-modal-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-bottom: 24px;
}
.instructor-modal-bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--faint);
  margin-bottom: 20px;
}
.instructor-modal-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.instructor-modal-social:hover { color: var(--accent-hot); }

/* ── GALLERY ───────────────────────────────────────────── */
.gallery-section {
  padding: var(--section-pad) 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.gallery-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

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

/* ── PRICING ───────────────────────────────────────────── */
.pricing-section {
  padding: var(--section-pad) 0;
}

.pricing-callout {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 28px 0 28px 32px;
  border-left: 3px solid var(--accent);
}
.pricing-callout h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.pricing-callout-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-callout-list li {
  font-size: 15.5px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-callout-list li::before {
  content: '✓';
  color: var(--accent-hot);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover {
  border-color: rgba(8, 145, 178, 0.3);
  transform: translateY(-4px);
}
.pricing-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(8, 145, 178, 0.12);
}
.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.pricing-card-price {
  margin-bottom: 8px;
}
.pricing-card-amount {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
}
.pricing-card-freq {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.pricing-card-billing {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.pricing-card-desc {
  font-size: 14.5px;
  color: var(--faint);
  line-height: 1.6;
  margin-bottom: 28px;
}
.pricing-card .btn {
  width: 100%;
}

.pricing-features {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
}
.pricing-features li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent-hot);
  font-weight: 700;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

/* ── FAQ ───────────────────────────────────────────────── */
.faq-section {
  padding: var(--section-pad) 0;
}
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Reserve space so the Airtable-baked FAQ render doesn't shift the footer (CLS) */
  min-height: 420px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.12); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent-hot); }
.faq-toggle {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── WAVE DECORATION ───────────────────────────────────── */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── OCEAN BOKEH (decorative background) ───────────────── */
.ocean-bokeh {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: float-bokeh 8s ease-in-out infinite;
}
@keyframes float-bokeh {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  50% { transform: translate(15px, -20px) scale(1.1); opacity: 0.7; }
}

/* ── KIDS HERO (static image variant) ──────────────────── */
.hero--kids .hero-video-wrap { z-index: 0; }
.hero--kids .hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ═══════════════════════════════════════════════════════════
   GOOGLE REVIEWS WIDGET
   ═══════════════════════════════════════════════════════════ */

/* ── Badge (floating pill, bottom-right) ───────────────── */
.reviews-badge {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 18px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.45),
    0 1px 6px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
}
.reviews-badge:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.55),
    0 2px 8px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.reviews-badge:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
}
.reviews-badge:active { transform: translateY(0); }

.reviews-badge-google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.reviews-badge-google svg { width: 16px; height: 16px; }

.reviews-badge-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.reviews-badge-stars {
  color: #FBBC04;
  font-size: 13px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.reviews-badge-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

.reviews-badge-tap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-deep);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-left: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(8,145,178,0.3);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  animation: badge-glow 2.5s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 2px 8px rgba(8,145,178,0.3); }
  50% { box-shadow: 0 2px 14px rgba(8,145,178,0.55); }
}
.reviews-badge:hover .reviews-badge-tap {
  background: var(--accent-deep);
  box-shadow: 0 4px 16px rgba(8,145,178,0.5);
}

.badge-text-desktop { display: none; }
.badge-text-mobile { display: inline; }

@media (min-width: 961px) {
  .badge-text-desktop { display: inline; }
  .badge-text-mobile { display: none; }
  .reviews-badge {
    padding: 14px 24px 14px 16px;
    gap: 14px;
    border-radius: 60px;
    animation: badge-entrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s both;
  }
  .reviews-badge-google { width: 36px; height: 36px; }
  .reviews-badge-google svg { width: 20px; height: 20px; }
  .reviews-badge-stars { font-size: 16px; }
  .reviews-badge-text { font-size: 12px; }
  .reviews-badge-tap { font-size: 12px; padding: 8px 20px; }
}
@keyframes badge-entrance {
  0% { opacity: 0; transform: translateY(24px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Backdrop ──────────────────────────────────────────── */
.reviews-backdrop {
  position: fixed;
  inset: 0;
  z-index: 599;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background 0.35s ease;
}
.reviews-backdrop.open {
  background: rgba(0,0,0,0.55);
  pointer-events: all;
}

/* ── Drawer ────────────────────────────────────────────── */
.reviews-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 600;
  width: 420px;
  max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}
.reviews-drawer.open { transform: translateX(0); }

.reviews-drawer-header {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}
.reviews-drawer-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.reviews-overall {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.reviews-overall-stars {
  color: #FBBC04;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.reviews-overall-score {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.reviews-overall-count {
  font-size: 13px;
  color: var(--muted);
}
.reviews-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hot);
  margin-top: 8px;
  transition: color 0.2s ease;
}
.reviews-verify-link:hover { color: #67e8f9; }
.reviews-verify-link:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 2px;
}

.reviews-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--muted);
  background: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.reviews-close:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.reviews-close:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 2px;
}

/* ── Review cards ──────────────────────────────────────── */
.reviews-list {
  overflow-y: auto;
  flex: 1;
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease;
}
.review-card:hover { border-color: rgba(255,255,255,0.12); }

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.review-avatar--photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-date { font-size: 11px; color: var(--muted); }
.review-stars {
  color: #FBBC04;
  font-size: 13px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.review-text {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.7;
}
.review-source {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.review-source svg { flex-shrink: 0; }

/* ── Skeleton shimmer ──────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}
.review-skeleton {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.review-skeleton-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-skeleton-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(90deg, #1a2530 25%, #223040 50%, #1a2530 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}
.review-skeleton-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-skeleton-line {
  height: 11px; border-radius: 4px;
  background: linear-gradient(90deg, #1a2530 25%, #223040 50%, #1a2530 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}
.review-skeleton-line--name  { width: 55%; }
.review-skeleton-line--date  { width: 30%; }
.review-skeleton-line--stars { width: 70px; margin-bottom: 10px; }
.review-skeleton-line--short { width: 45%; margin-top: 6px; }

/* ── Error / empty states ──────────────────────────────── */
.reviews-error {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.reviews-error a {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-hot);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}
.reviews-error a:hover { opacity: 0.75; }
.reviews-error a:focus-visible {
  outline: 2px solid var(--accent-hot);
  outline-offset: 3px;
  border-radius: 2px;
}
.reviews-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ── Reviews responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .reviews-drawer { width: 100vw; }
}
@media (max-width: 960px) {
  .reviews-badge {
    bottom: 84px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
  }
}
