/* ==========================================================================
   PRĀPTI YOGA STUDIO — Warm Editorial Palette System (#D8CFC5, #313340, #B59F72, #4E4740, #EFE6DF)
   ========================================================================== */

:root {
  /* Palette Colors */
  --bg-canvas: #D8CFC5;             /* FONDO: #D8CFC5 */
  --bg-surface: #EFE6DF;            /* ELEMENTOS NEUTROS O FONDO SECUNDARIO: #EFE6DF */
  --bg-card: #FAF6F0;               /* Tarjetas / Contenedores claros */
  --bg-dark-container: #313340;     /* Contenedores oscuros / Footer / Hero widgets (TEXTO PPAL) */
  --bg-dark-hover: #232530;         /* Hover sobre elementos oscuros */

  --text-main: #313340;             /* TEXTO PPAL: #313340 */
  --text-muted: #4E4740;            /* TEXTO SECUNDARIO: #4E4740 */
  --text-light: #EFE6DF;            /* Texto claro sobre fondo oscuro */
  --text-light-muted: #C5BBB0;      /* Texto atenuado sobre fondo oscuro */

  --accent-clay: #B59F72;           /* DETALLES: #B59F72 */
  --accent-clay-hover: #9E885B;     /* Hover botones de acento */
  --accent-soft: #EFE6DF;           /* Acento suave neutro */
  --accent-sage: #B59F72;           /* Borde hover en tarjetas */

  --border-color: #C6BCB1;          /* Borde suave en armonía con #D8CFC5 */
  --border-dark: #4E4740;           /* Borde oscuro */

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-elvara: 'Elvara', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevation */
  --shadow-sm: 0 4px 16px rgba(49, 51, 64, 0.05);
  --shadow-md: 0 12px 32px rgba(49, 51, 64, 0.09);
  --shadow-lg: 0 20px 48px rgba(49, 51, 64, 0.14);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

/* Custom Font Declaration: Elvara Bold */
@font-face {
  font-family: 'Elvara';
  src: url('assets/Elvara.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-main);
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Transparent PNG Logo Styling */
.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

/* Footer logo version for dark background */
.logo-img-footer {
  height: 58px;
  width: auto;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Compact Editorial Quote Banner Component */
.quote-banner {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 500;
  color: var(--bg-dark-container);
  max-width: 840px;
  margin: 0 auto 0.4rem auto;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .quote-text {
    font-size: 2.25rem;
  }
}

.quote-author {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-clay);
  position: relative;
  z-index: 2;
}

/* Side Botanical Placement for Quote Banner */
.quote-botanical-left {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%) rotate(-15deg);
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  animation: floatGentle 12s ease-in-out infinite alternate;
}

.quote-botanical-right {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%) rotate(15deg);
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
  animation: swayLeaf 14s ease-in-out infinite alternate 1.5s;
}

@media (max-width: 900px) {
  .quote-botanical-left,
  .quote-botanical-right {
    display: none;
  }
}

/* Typography Utilities */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-main);
}

.text-center { text-align: center; }
.text-clay { color: var(--accent-clay); }
.text-olive { color: var(--bg-dark-container); }

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

.section-spacing {
  padding: 4.5rem 0;
  position: relative;
}

@media (min-width: 1024px) {
  .section-spacing {
    padding: 6.5rem 0;
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Gentle Float & Botanical Sway Animations */
@keyframes floatAnimation {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes swayLeaf {
  0% { transform: rotate(0deg) translateY(0px) scale(1); }
  50% { transform: rotate(8deg) translateY(-16px) scale(1.04); }
  100% { transform: rotate(-5deg) translateY(-6px) scale(0.97); }
}

@keyframes swayLeafReverse {
  0% { transform: rotate(0deg) translateY(0px); }
  50% { transform: rotate(-10deg) translateY(-20px); }
  100% { transform: rotate(6deg) translateY(-4px); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.18); opacity: 0.55; }
}

.animate-float {
  animation: floatAnimation 5s ease-in-out infinite;
}

/* Animated Organic Glow Background Orbs */
.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-1 {
  top: 10%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(181, 159, 114, 0.35) 0%, rgba(216, 207, 197, 0) 70%);
  animation: pulseGlow 10s ease-in-out infinite;
}

.glow-orb-2 {
  bottom: 12%;
  right: 8%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(78, 71, 64, 0.22) 0%, rgba(216, 207, 197, 0) 70%);
  animation: pulseGlow 12s ease-in-out infinite 2s;
}

/* Distributed Section Botanical PNG Elements */
.section-botanical-left {
  position: absolute;
  top: 8%;
  left: -20px;
  width: 200px;
  height: 200px;
  object-fit: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  animation: floatGentle 14s ease-in-out infinite alternate;
}

.section-botanical-right {
  position: absolute;
  bottom: 6%;
  right: 0;
  width: 200px;
  height: 200px;
  object-fit: contain;
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
  animation: swayLeaf 16s ease-in-out infinite alternate;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.2rem 0;
}

.navbar.scrolled {
  background-color: rgba(216, 207, 197, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--bg-dark-container);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bg-dark-container);
  transition: width 0.25s ease;
}

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

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn-olive {
  background-color: var(--bg-dark-container);
  color: var(--text-light);
}

.btn-olive:hover {
  background-color: var(--bg-dark-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-clay {
  background-color: var(--accent-clay);
  color: #FFFFFF;
}

.btn-clay:hover {
  background-color: var(--accent-clay-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-white-glass:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--bg-dark-container);
  color: var(--bg-dark-container);
}

.btn-outline:hover {
  background-color: var(--bg-dark-container);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Cinematic Clean Hero Section */
.hero-cinematic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1rem 1.25rem 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-cinematic {
    padding: 6.5rem 1.5rem 1.5rem 1.5rem;
  }
}

.hero-cinematic-card {
  position: relative;
  width: 98%;
  max-width: 1720px;
  min-height: 75vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(198, 188, 177, 0.6);
  background-color: var(--bg-dark-container);
}

.hero-cinematic-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s ease;
}

.hero-cinematic-card:hover .hero-cinematic-bg {
  transform: scale(1.02);
}

/* Hero video loop: two stacked copies crossfade (see main.js). */
.hero-video {
  opacity: 0;
  transition: transform 0.8s ease, opacity 1s ease;
}

.hero-video.is-active {
  opacity: 1;
}

.hero-video.is-front {
  z-index: 1;
}

.hero-cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(49, 51, 64, 0.28) 0%,
    rgba(49, 51, 64, 0.20) 40%,
    rgba(49, 51, 64, 0.78) 100%
  );
  z-index: 1;
}

.hero-cinematic-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3.5rem 2.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .hero-cinematic-content {
    padding: 4.5rem 4rem;
  }
}

.hero-cinematic-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  align-self: flex-start;
}

.hero-cinematic-logo-badge img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.hero-cinematic-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  max-width: 100%;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero-cinematic-title {
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    white-space: nowrap;
  }
}

.hero-cinematic-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.hero-cinematic-widget {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Section Header */
.section-header {
  max-width: 720px;
  margin: 0 auto 4.5rem auto;
}

.section-title {
  font-size: 2.75rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Studio Gallery (Vistas) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  min-height: 320px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card.col-12 { grid-column: span 12; min-height: 480px; }
.gallery-card.col-7 { grid-column: span 7; }
.gallery-card.col-5 { grid-column: span 5; }
.gallery-card.col-4 { grid-column: span 4; }

@media (max-width: 900px) {
  .gallery-card.col-7,
  .gallery-card.col-5,
  .gallery-card.col-4 {
    grid-column: span 12;
  }
}

/* Cards & Services Section */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sage);
}

.service-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-surface);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-clay);
  background-color: rgba(181, 159, 114, 0.14);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(181, 159, 114, 0.25);
}

.service-card h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.975rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Banner Container (Olive Dark Surface) */
.banner-olive {
  background-color: var(--bg-dark-container);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 992px) {
  .banner-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.banner-content {
  padding: 4rem 3rem;
}

@media (min-width: 768px) {
  .banner-content {
    padding: 5.5rem 4.5rem;
  }
}

.banner-content h2 {
  font-size: 3.25rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.banner-content p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.banner-media {
  height: 100%;
  min-height: 380px;
}

.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pricing Section & Carousel */
.pricing-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-clay);
  background: var(--bg-card);
  color: var(--accent-clay);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.carousel-arrow:hover {
  background: var(--accent-clay);
  color: #FFFFFF;
  border-color: var(--accent-clay);
  transform: scale(1.06);
}

.pricing-carousel {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem 2rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-clay) transparent;
}

.pricing-carousel::-webkit-scrollbar {
  height: 6px;
}

.pricing-carousel::-webkit-scrollbar-track {
  background: rgba(198, 188, 177, 0.3);
  border-radius: var(--radius-pill);
}

.pricing-carousel::-webkit-scrollbar-thumb {
  background: var(--accent-clay);
  border-radius: var(--radius-pill);
}

.pricing-card-slide {
  flex: 0 0 310px;
  min-width: 310px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .pricing-card-slide {
    flex: 0 0 360px;
    min-width: 360px;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1.5px solid var(--accent-clay);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  height: 100%;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-clay-hover);
}

.pricing-card .price {
  color: var(--accent-clay);
}

.pricing-card.featured {
  background-color: var(--bg-dark-container);
  color: var(--text-light);
  border: 2px solid var(--accent-clay);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: var(--accent-clay);
}

.pricing-card.featured p,
.pricing-card.featured .pricing-features li {
  color: var(--text-light-muted);
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent-clay);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Schedule Section (Horario de Clases) */
.schedule-container {
  margin-top: 4.5rem;
  background: var(--bg-card);
  border: 1.5px solid var(--accent-clay);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.schedule-header-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-clay);
  background-color: rgba(181, 159, 114, 0.14);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(181, 159, 114, 0.25);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.schedule-day-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-day-header {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-dark-container);
  text-align: center;
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--accent-clay);
  margin-bottom: 0.5rem;
}

.schedule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.85rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-clay);
  background: #FFFFFF;
}

.schedule-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.schedule-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bg-dark-container);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.schedule-instructor {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-clay);
  display: block;
}

/* Day Filter Tabs for Mobile (< 992px) */
.schedule-tabs {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 991px) {
  .schedule-tabs {
    display: flex;
  }
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .schedule-day-col {
    display: none;
  }
  .schedule-day-col.active {
    display: flex;
  }
}

.schedule-tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.schedule-tab-btn.active {
  background: var(--bg-dark-container);
  color: var(--text-light);
  border-color: var(--bg-dark-container);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
}

.pricing-features li {
  font-size: 0.95rem;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(198, 188, 177, 0.4);
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  color: var(--accent-clay);
  flex-shrink: 0;
}

/* Map & Location Section */
.location-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-md);
}

@media (min-width: 992px) {
  .location-card {
    grid-template-columns: 1fr 1.1fr;
  }
}

.location-info {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.location-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-clay);
  margin-top: 2px;
  flex-shrink: 0;
}

.location-map {
  width: 100%;
  min-height: 420px;
}

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

/* Footer */
.footer {
  background-color: var(--bg-dark-container);
  color: var(--text-light);
  padding: 5rem 0 3rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-light-muted);
  max-width: 380px;
  font-size: 0.975rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-clay);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-light-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Mobile Anti-Slop High-End Responsive Overrides (Max Width 768px) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.6rem 0 !important;
  }

  .navbar-container {
    padding: 0 1rem;
  }

  .logo-img {
    height: 38px !important;
  }

  .navbar-actions .btn-olive-mobile-hide {
    display: none !important;
  }

  .navbar-actions .btn {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.775rem !important;
  }

  .hero-cinematic {
    padding: 4.5rem 0.65rem 1rem 0.65rem !important;
  }

  .hero-cinematic-card {
    min-height: 80vh !important;
    border-radius: 20px !important;
  }

  .hero-cinematic-logo-badge {
    display: none !important; /* Elimina la insignia flotante redundante que tapaba a la instructora en celular */
  }

  .hero-cinematic-overlay {
    background: linear-gradient(
      180deg,
      rgba(49, 51, 64, 0.10) 0%,
      rgba(49, 51, 64, 0.35) 40%,
      rgba(49, 51, 64, 0.92) 100%
    ) !important;
  }

  .hero-cinematic-content {
    padding: 1.75rem 1.25rem !important;
  }

  .hero-cinematic-title {
    font-size: 2.1rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }

  .hero-cinematic-subtitle {
    font-size: 0.925rem !important;
    line-height: 1.45 !important;
    margin-bottom: 1.5rem !important;
    opacity: 0.95;
  }

  .hero-cinematic-actions {
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }

  .hero-cinematic-actions .btn {
    width: 100% !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    text-align: center;
  }

  .quote-banner {
    padding: 1.75rem 1rem !important;
  }

  .quote-text {
    font-size: 1.4rem !important;
  }

  .quote-author {
    font-size: 0.725rem !important;
  }

  .section-spacing {
    padding: 3.5rem 0 !important;
  }

  .section-title {
    font-size: 1.85rem !important;
  }

  .section-desc {
    font-size: 0.925rem !important;
  }
}

/* Impeccable Mobile Navigation Drawer Component */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin: 0 auto;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(216, 207, 197, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px rgba(49, 51, 64, 0.12);
  transform: translateY(-120%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(78, 71, 64, 0.15);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--accent-clay);
  padding-left: 0.5rem;
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex;
  }
}

/* Reservation and first-visit refinements. */
:root { --accent-ink: #75603b; }
::selection { background: #B59F72; color: #232530; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 5px; }
a { text-underline-offset: 0.22em; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 2000; background: var(--bg-card); color: var(--text-main); padding: 1rem; }
.skip-link:focus { top: 1rem; }
.reveal, .reveal.active { opacity: 1; transform: none; transition: none; will-change: auto; }
.hero-cinematic-logo-badge { display: none; }
.hero-cinematic-title { text-wrap: balance; }
.hero-cinematic-subtitle { max-width: 48ch; }
.btn-clay { background: var(--accent-clay); color: #232530; }
.btn-clay:hover { background: #c8b586; color: #232530; }
.text-clay, .quote-author, .service-badge, .schedule-instructor, .pricing-card .price { color: var(--accent-ink); }
.pricing-card.featured .price, .pricing-card.featured .service-badge { color: #d9c492; }
.pricing-card.featured .price span { color: var(--text-light); }
.service-reserve, .text-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; }
.service-reserve { display: inline-flex; align-items: center; min-height: 44px; }
.service-card, .pricing-card, .location-card { box-shadow: none; }
.service-card:hover, .pricing-card:hover { transform: none; box-shadow: none; }
.schedule-container { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 2rem 0 0; }
.schedule-card, .schedule-card:hover { background: transparent; box-shadow: none; transform: none; border: 0; border-bottom: 1px solid var(--border-color); border-radius: 0; }
.schedule-time, .price { font-variant-numeric: tabular-nums; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.plans-grid .pricing-card-slide { min-width: 0; }
.plans-grid .pricing-card { min-height: 0; border-radius: 16px; padding: 2rem 1.5rem; }
.plans-grid .pricing-card h3 { font-size: 2rem; }
.plans-grid .pricing-card .btn { width: 100%; text-align: center; }
.all-plans { margin-top: 2rem; border-top: 1px solid var(--border-color); }
.all-plans > summary { padding: 1.25rem 0; font-weight: 600; }
.all-plans[open] > summary { margin-bottom: 1rem; }
summary { cursor: pointer; min-height: 48px; }
.first-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.instructors { margin: 2rem 0; }
.instructors > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.instructors dt { font-family: var(--font-serif); font-size: 1.75rem; }
.instructors dd { align-self: center; text-align: right; color: var(--text-muted); font-size: 0.9rem; }
.first-visit-faq details { border-bottom: 1px solid var(--border-color); padding: 0.8rem 0; }
.first-visit-faq summary { padding: 0.5rem 0; font-weight: 600; }
.first-visit-faq p { margin: 0.5rem 0 1rem; max-width: 65ch; color: var(--text-muted); }
.mobile-nav-drawer { visibility: hidden; max-height: calc(100dvh - 60px); overflow-y: auto; }
.mobile-nav-drawer.open { visibility: visible; }
.mobile-menu-btn { width: 44px; height: 44px; }
@media (max-width: 1100px) { .navbar .nav-links { display: none; } .mobile-menu-btn { display: flex; } }
@media (max-width: 991px) {
  html:not(.enhanced) .schedule-day-col { display: flex; }
  html:not(.enhanced) .schedule-tabs { display: none; }
  .first-visit-grid { gap: 3rem; }
}
@media (max-width: 767px) {
  .plans-grid, .first-visit-grid { grid-template-columns: 1fr; }
  .plans-grid .pricing-card { padding: 1.75rem; }
  .pricing-features { margin-bottom: 1.25rem; }
  .hero-cinematic-card { min-height: 680px; min-height: 85svh !important; }
  .hero-cinematic-content { padding-top: 12rem !important; }
  .service-meta { flex-wrap: wrap; gap: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.pricing-card.featured h3 { color: var(--text-light); }
.pricing-card.featured .service-badge { background: transparent; border: 0; padding-left: 0; }
.hero-cinematic-overlay { background: linear-gradient(90deg, rgba(25,27,34,.62), rgba(25,27,34,.08)); }
@media (min-width: 768px) { .mobile-nav-drawer { top: 80px; max-height: calc(100dvh - 80px); } }

/* Client typography. */
.nav-link, .mobile-nav-link {
  font-family: 'Elvara', var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.015em;
}
.mobile-menu-btn { min-width: 49px; min-height: 49px; }

/* Horario desde la base de datos + reserva de clase de prueba */
.schedule-grid { grid-template-columns: repeat(var(--dias, 5), 1fr); }
@media (max-width: 991px) { .schedule-grid { grid-template-columns: 1fr; } }
.schedule-empty { color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 1rem 0; }
.schedule-reserve { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 0.8rem; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.schedule-full { display: inline-block; min-height: 44px; line-height: 44px; font-size: 0.8rem; color: var(--text-muted); }

/* Reserva: hoja inferior en móvil (pasos 1 clase, 2 datos), diálogo centrado en pantallas anchas */
html:has(.reserva-dialog[open]) { overflow: hidden; }
.reserva-dialog {
  --pad: 1.25rem;
  --linea: rgba(49, 51, 64, 0.1);
  position: fixed; inset: auto 0 0 0;
  margin: 0; padding: 0; border: 0;
  width: 100%; max-width: none;
  height: min(46rem, calc(100dvh - 10px)); max-height: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-card); color: var(--text-main);
  box-shadow: 0 -16px 48px rgba(35, 37, 48, 0.2);
  overflow: hidden;
}
.reserva-dialog[open] { display: flex; flex-direction: column; animation: hoja-sube 0.46s cubic-bezier(0.16, 1, 0.3, 1); }
.reserva-dialog::backdrop { background: rgba(35, 37, 48, 0.5); }
.reserva-dialog[open]::backdrop { animation: velo-entra 0.3s ease-out; }
@keyframes hoja-sube { from { transform: translateY(100%); } }
@keyframes velo-entra { from { opacity: 0; } }
@keyframes dialogo-entra { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes etapa-entra { from { opacity: 0; transform: translateX(var(--desde, 16px)); } }
@media (min-width: 641px) {
  .reserva-dialog { inset: 0; margin: auto; width: min(460px, calc(100vw - 48px)); height: min(46rem, calc(100dvh - 48px)); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
  .reserva-dialog[open] { animation-name: dialogo-entra; animation-duration: 0.36s; }
  .reserva-asa { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reserva-dialog[open] { animation: velo-entra 0.2s ease-out; }
  .reserva-etapa { animation: none !important; }
}

.reserva-paso { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.reserva-paso[hidden] { display: none; }

/* Encabezado fijo */
.reserva-head { flex: none; position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 0.25rem; padding: 1.5rem var(--pad) 0.9rem; border-bottom: 1px solid var(--linea); touch-action: none; }
.reserva-asa { position: absolute; top: 0.5rem; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--border-color); }
.reserva-head-texto { flex: 1; min-width: 0; padding-top: 0.2rem; }
.reserva-dialog h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.reserva-sub { margin: 0.35rem 0 0; font-size: 0.875rem; line-height: 1.4; color: var(--text-muted); }
.reserva-precio { font-weight: 700; color: var(--text-main); }
.reserva-icono { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -0.2rem -0.6rem 0 0; padding: 0; border: 0; border-radius: var(--radius-pill); background: none; color: var(--text-main); cursor: pointer; transition: background-color 0.2s ease; }
.reserva-icono:hover { background: var(--bg-surface); }
.reserva-pasos { flex-basis: 100%; display: flex; gap: 0.375rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.reserva-pasos li { flex: 1; padding-top: 0.45rem; border-top: 2px solid var(--border-color); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); transition: border-color 0.3s ease, color 0.3s ease; }
.reserva-pasos li[aria-current="step"], .reserva-pasos li.hecho { border-top-color: var(--bg-dark-container); color: var(--text-main); }

/* Cuerpo desplazable */
#reservaForm { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.reserva-cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem var(--pad) 0.5rem; display: flex; flex-direction: column; scrollbar-width: thin; scrollbar-color: var(--border-color) transparent; }
.reserva-etapa { animation: etapa-entra 0.34s cubic-bezier(0.16, 1, 0.3, 1); }
.reserva-etapa[hidden] { display: none; }
.reserva-etiqueta, .reserva-calendario legend { font-size: 0.875rem; font-weight: 600; margin: 0 0 0.65rem; padding: 0; }
.reserva-calendario { border: 0; padding: 0; margin: 0; min-width: 0; }
.reserva-calendario legend { float: left; width: 100%; display: flex; align-items: baseline; justify-content: space-between; }
.cal-mes { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; font-weight: 500; text-transform: capitalize; color: var(--text-muted); }

/* Tira de días */
.cal-dias { clear: both; display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); margin: 0 calc(-1 * var(--pad)) 1.5rem; padding: 2px var(--pad) 4px; scrollbar-width: none; }
.cal-dias::-webkit-scrollbar { display: none; }
.cal-dia { flex: 0 0 auto; width: 3.875rem; min-height: 4.75rem; display: grid; justify-items: center; align-content: center; gap: 0.3rem; padding: 0.5rem 0.25rem; border: 1px solid var(--border-color); border-radius: 14px; background: #FFFFFF; color: var(--text-main); font: inherit; cursor: pointer; scroll-snap-align: start; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.cal-dia:hover:not([aria-pressed="true"]) { border-color: var(--accent-clay); }
.cal-dia[aria-pressed="true"] { background: var(--bg-dark-container); border-color: var(--bg-dark-container); color: var(--text-light); }
.cal-dia.sin-lugar:not([aria-pressed="true"]) { background: transparent; color: var(--text-muted); border-style: dashed; }
.cal-dia-semana { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cal-dia-num { font-family: var(--font-serif); font-size: 1.625rem; font-weight: 500; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }

/* Horarios del día: una sola lista, sin tarjetas por renglón */
.cal-horas { display: grid; border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; background: #FFFFFF; }
.cal-hora { display: grid; grid-template-columns: 1.25rem 1fr auto; column-gap: 0.875rem; row-gap: 0.15rem; align-items: center; min-height: 4.25rem; padding: 0.85rem 1rem; border: 0; border-top: 1px solid var(--linea); background: transparent; color: var(--text-main); font: inherit; text-align: left; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; -webkit-tap-highlight-color: transparent; }
.cal-hora:first-child { border-top: 0; }
.cal-hora::before { content: ''; grid-row: 1 / span 2; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 1.5px solid var(--border-dark); transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.cal-hora:hover:not(:disabled):not([aria-pressed="true"]) { background: var(--bg-card); }
.cal-hora[aria-pressed="true"] { background: var(--bg-dark-container); color: var(--text-light); }
.cal-hora[aria-pressed="true"]::before { border-color: var(--accent-clay); background: var(--accent-clay); box-shadow: inset 0 0 0 4px var(--bg-dark-container); }
.cal-hora:disabled { cursor: not-allowed; color: var(--text-muted); background: var(--bg-card); }
.cal-hora:disabled::before { border-style: dashed; border-color: var(--border-color); }
.cal-hora-tiempo { grid-column: 2; font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cal-hora-clase { grid-column: 2; font-size: 0.875rem; line-height: 1.35; }
.cal-hora-lugares { grid-column: 3; grid-row: 1 / span 2; font-size: 0.75rem; font-weight: 600; text-align: right; color: var(--text-muted); white-space: nowrap; }
.cal-hora-lugares.pocos { color: #8C4A3B; }
.cal-hora[aria-pressed="true"] .cal-hora-lugares { color: var(--text-light-muted); }
.cal-hora[aria-pressed="true"] .cal-hora-lugares.pocos { color: #E7C9A9; }
.cal-dia:focus-visible, .cal-hora:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: -3px; }
.cal-dia:focus-visible { outline-offset: 2px; }

/* Paso 2: resumen y datos */
.reserva-resumen { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.5rem; padding: 0.85rem 0.5rem 0.85rem 1rem; border-radius: var(--radius-md); background: var(--bg-surface); }
.reserva-resumen p { flex: 1; min-width: 0; margin: 0; display: grid; gap: 0.15rem; }
.reserva-resumen-cuando { font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.reserva-resumen-cuando::first-letter { text-transform: uppercase; }
.reserva-resumen-clase { font-size: 0.875rem; color: var(--text-muted); }
.reserva-cambiar { flex: none; min-height: 44px; padding: 0 0.75rem; border: 0; border-radius: var(--radius-pill); background: none; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.22em; cursor: pointer; }
.reserva-campo { display: grid; gap: 0.45rem; margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; font-size: 0.875rem; font-weight: 600; }
.reserva-campo legend { padding: 0; margin: 0 0 0.45rem; }
.reserva-campo small { font-size: 0.8125rem; font-weight: 400; line-height: 1.45; color: var(--text-muted); }
#reservaForm input:not([type="hidden"]), #reservaForm select { width: 100%; height: 3.25rem; padding: 0 1rem; border: 1px solid var(--border-color); border-radius: 12px; background: #FFFFFF; color: var(--text-main); font: inherit; font-size: 1rem; font-weight: 400; caret-color: var(--accent-ink); -webkit-appearance: none; appearance: none; transition: border-color 0.2s ease; }
#reservaForm input::placeholder { color: #8A8078; }
#reservaForm select { padding-right: 2.25rem; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23313340' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.85rem center; }
#reservaForm select:invalid, #reservaForm select.vacio { color: #8A8078; }
#reservaForm input:focus-visible, #reservaForm select:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 1px; border-color: var(--text-main); }
#reservaForm [aria-invalid="true"] { border-color: #A33B25; }
.nac-grupo { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) 5.5rem; gap: 0.5rem; }
.nac-grupo label { display: grid; gap: 0.3rem; min-width: 0; }
.nac-grupo label span { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.nac-grupo input { text-align: center; font-variant-numeric: tabular-nums; }
.reserva-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reserva-whatsapp { align-self: center; display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; padding-top: 1rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); text-decoration: underline; text-underline-offset: 0.22em; }

/* Pie fijo con la acción */
.reserva-pie { flex: none; display: grid; gap: 0.6rem; padding: 0.85rem var(--pad) max(1rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); background: var(--bg-card); }
.reserva-eleccion { margin: 0; font-size: 0.875rem; line-height: 1.35; text-align: center; color: var(--text-muted); }
.reserva-eleccion:empty { display: none; }
.reserva-eleccion strong { color: var(--text-main); }
#reservaForm .reserva-enviar, .reserva-listo .btn { width: 100%; min-height: 3.5rem; border: 0; font: inherit; font-size: 1rem; font-weight: 700; color: #232530; cursor: pointer; }
.reserva-enviar:active, .reserva-listo .btn:active { transform: scale(0.985); }
.reserva-enviar[disabled] { cursor: wait; }
.reserva-error { margin: 0; padding: 0.7rem 0.9rem; border-radius: 12px; background: #F6E4DF; color: #7A2E1F; font-size: 0.875rem; line-height: 1.4; }
.reserva-error.reserva-info { background: var(--bg-surface); color: var(--text-main); }

/* Botón esperando respuesta del servidor */
@keyframes girar { to { transform: rotate(360deg); } }
.btn.cargando { position: relative; color: transparent !important; pointer-events: none; }
.btn.cargando::after { content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid rgba(35, 37, 48, 0.25); border-top-color: #232530; border-radius: 50%; animation: girar 0.7s linear infinite; }
@media (prefers-reduced-motion: reduce) { .btn.cargando::after { animation-duration: 2s; } }
#reservaForm .btn.cargando { opacity: 1; }

/* Reserva lista */
.reserva-listo { overflow-y: auto; align-items: center; text-align: center; padding: 3rem var(--pad) max(1rem, env(safe-area-inset-bottom)); }
.reserva-listo-marca { color: var(--accent-ink); margin-bottom: 1.25rem; }
.reserva-listo h2 { font-size: 2.25rem; }
.reserva-listo h2:focus { outline: none; }
.reserva-listo-cuando { margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.5; max-width: 30ch; }
.reserva-listo-notas { width: 100%; margin: 2rem 0 0; padding: 0; list-style: none; text-align: left; border-top: 1px solid var(--linea); }
.reserva-listo-notas li { padding: 0.85rem 0; border-bottom: 1px solid var(--linea); font-size: 0.9rem; line-height: 1.45; color: var(--text-muted); }
.reserva-listo form { width: 100%; margin-top: auto; padding-top: 1.5rem; }
