/* ===== VARIABLES ===== */
:root {
  --nude: #F5F0EA;
  --nude-light: #FAFAF8;
  --nude-dark: #EDE8E0;
  --gold: #C9A96E;
  --gold-light: #D4B483;
  --gold-dark: #A8874A;
  --gold-deep: #7A5C2E;
  --brown: #3D3028;
  --brown-light: #6B5744;
  --white: #FFFFFF;
  --border: #E5DDD5;
  --shadow: rgba(61, 48, 40, 0.08);
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--nude-light);
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
  display: block;
}

/* ===== SCROLL REVEAL ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; position: relative; isolation: isolate; }

/* ===== EDITORIAL TYPOGRAPHY ===== */
.section-index {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: -1;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(5rem, 10vw, 9rem);
  color: rgba(201, 169, 110, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.section-header:not(.centered),
.agenda-info,
.contact-left,
.ia-info {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .section-index { font-size: clamp(3.5rem, 20vw, 6rem); top: 0.5rem; right: 1.25rem; }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.65rem 0;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(250, 250, 248, 0.72);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 1px 0 var(--border);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-logo-img {
  height: 58px;
  width: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo .name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--brown);
  line-height: 1;
}

.nav-logo .tagline {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brown);
  transition: color 0.3s;
  font-weight: 400;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  position: relative;
  overflow: hidden;
  background: var(--brown) !important;
  color: var(--nude-light) !important;
  border: 1px solid rgba(201, 169, 110, 0.5);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(201, 169, 110, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-cta:hover {
  background: #2f251d !important;
  color: var(--white) !important;
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(61, 48, 40, 0.3);
}

.nav-cta:hover::before { left: 125%; }

/* CTA persistente en móvil: el .nav-cta original vive dentro de .nav-links,
   que se oculta detrás del hamburger — esta copia queda siempre visible y
   a tamaño táctil, sin depender de que se abra el menú. */
.nav-cta-mobile { display: none; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--brown);
  transition: all 0.3s;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--nude);
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Fondo dinámico: video en pantallas grandes (cámara lenta), imagen estática
   en celular (para no gastar datos móviles ni afectar la velocidad de carga). */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video,
.hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback-img { display: none; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 240, 234, 0.82) 0%, rgba(245, 240, 234, 0.7) 45%, rgba(245, 240, 234, 0.92) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-fallback-img { display: block; }
}

/* Formas orgánicas de fondo, con flotación suave e infinita */
.hero-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: float-blob 14s ease-in-out infinite;
}

.hero-blob-1 {
  top: 7rem;
  right: -6%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-blob-2 {
  bottom: -12%;
  left: -8%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #E8C9C0 0%, transparent 70%);
  animation-delay: -5s;
}

.hero-blob-3 {
  top: 35%;
  left: 30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.35;
  animation-delay: -9s;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-18px, 22px) scale(1.06); }
  66% { transform: translate(16px, -18px) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob { animation: none; }
  .hero-video { display: none; }
  .hero-fallback-img { display: block; }
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 18vw, 20rem);
  color: rgba(201, 169, 110, 0.07);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
  padding-top: 5rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-content h1 span {
  color: var(--gold-deep);
  font-style: normal;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--brown-light);
  max-width: 500px;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--brown);
  margin-bottom: 1.75rem;
  font-family: var(--font-body);
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.4);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
}

.trust-badge svg {
  color: var(--gold-dark);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-bottom: 1.75rem;
}

.trust-badges-row .trust-badge {
  margin-bottom: 0;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-pulse {
  animation: btn-pulse-glow 2.4s ease-in-out infinite;
}

.btn-pulse:hover { animation: none; }

@keyframes btn-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.55); }
  50% { box-shadow: 0 0 0 12px rgba(201, 169, 110, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pulse { animation: none; }
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(201, 169, 110, 0.35);
}

.btn-primary:disabled {
  background: var(--gold-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  color: var(--brown);
  padding: 0.9rem 2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--brown);
  transition: all 0.3s;
  display: inline-block;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--white);
}

.hero-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ===== SERVICIOS ===== */
#servicios {
  background: var(--nude-light);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 520px;
}

.section-header p {
  color: var(--brown-light);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
}

.service-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(61, 48, 40, 0.06);
  padding: 2.5rem 2rem;
  transition: background 0.3s, opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
}

.service-card:hover { background: rgba(255, 255, 255, 0.6); }

.services-grid:hover .service-card { opacity: 0.6; }

.services-grid .service-card:hover {
  opacity: 1;
  transform: scale(1.03);
  filter: saturate(1.08) brightness(1.02);
  box-shadow: 0 24px 50px var(--shadow);
  z-index: 2;
}

.service-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #E8D5C4 0%, #C9A96E 100%);
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--brown-light);
  line-height: 1.7;
}

.service-card .service-items {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.service-card .service-items span {
  font-size: 0.8rem;
  color: var(--brown-light);
  padding-left: 0.8rem;
  position: relative;
}

.service-card .service-items span::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.service-card .service-items span.service-items-mas {
  font-style: italic;
  color: var(--gold-dark);
  padding-left: 0;
}

.service-card .service-items span.service-items-mas::before {
  content: none;
}

.service-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}

.service-link:hover { text-decoration: underline; }

/* ===== AGENDA ===== */
#agenda {
  background: var(--nude);
}

.agenda-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.agenda-info h2 { margin-bottom: 1.25rem; }

.agenda-info p {
  color: var(--brown-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.agenda-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agenda-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.agenda-features li .icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.agenda-features li span {
  font-size: 0.9rem;
  color: var(--brown-light);
}

/* Booking Form */
.booking-form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--shadow);
}

.booking-steps {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.step {
  flex: 1;
  padding: 1rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.step.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(201, 169, 110, 0.04);
}

.step.completed {
  color: var(--gold-dark);
}

.booking-body { padding: 2rem; }

.form-step { display: none; }
.form-step.active { display: block; }

.form-step h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Service selector */
.service-select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--nude-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--brown);
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: border-color 0.25s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c9a96e'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23c9a96e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
}

.service-select:hover,
.service-select:focus {
  border-color: var(--gold-light);
  outline: none;
}

/* Calendar */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-header h5 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
  text-transform: capitalize;
}

.cal-nav {
  background: none;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--brown);
  font-size: 0.9rem;
  border-radius: 2px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-nav:hover { border-color: var(--gold); color: var(--gold); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 1.5rem;
}

.cal-day-label {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  padding: 0.3rem 0;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--brown);
  border: 1px solid transparent;
}

.cal-day:hover { border-color: var(--gold-light); color: var(--gold); }
.cal-day.selected { background: var(--gold); color: var(--white); }
.cal-day.today { font-weight: 600; color: var(--gold); }
.cal-day.disabled { color: var(--border); cursor: not-allowed; pointer-events: none; }
.cal-day.empty { cursor: default; }

.time-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.75rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.time-slots-loading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8rem;
  color: var(--brown-light);
  padding: 1rem 0;
}

.time-slot {
  border: 1px solid var(--border);
  padding: 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  color: var(--brown);
  background: var(--nude-light);
}

.time-slot:hover { border-color: var(--gold-light); }
.time-slot.selected { background: var(--gold); color: var(--white); border-color: var(--gold); }
.time-slot.taken { background: var(--border); color: var(--brown-light); cursor: not-allowed; }

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  background: var(--nude-light);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--brown);
  border-radius: 2px;
  transition: border-color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--gold-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.14);
  transform: translateY(-1px);
}

.form-group-checkbox { margin-bottom: 0.75rem; }

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--brown);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-dark);
  cursor: pointer;
  flex-shrink: 0;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--brown-light);
  margin-top: 0.3rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-back {
  background: none;
  border: none;
  color: var(--brown-light);
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: color 0.2s;
}

.btn-back:hover { color: var(--brown); }

/* Confirmación */
.confirmation-box {
  background: var(--nude);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.confirmation-box h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--brown);
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.confirm-row:last-child { border-bottom: none; }
.confirm-row span:first-child { color: var(--brown-light); }
.confirm-row span:last-child { font-weight: 500; color: var(--brown); }

.booking-success {
  text-align: center;
  padding: 2rem 1rem;
  display: none;
}

.reprogramar-box {
  padding: 1.5rem 0;
}

.reprogramar-box h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
}

.reprogramar-box .btn-primary {
  width: 100%;
  margin-top: 1rem;
}

.booking-success .success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.booking-success h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.booking-success p {
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-bottom: 1.5rem;
}

.success-address {
  font-size: 0.78rem;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  margin-top: -1rem;
  margin-bottom: 1.5rem !important;
}

/* ===== AI RECEPTIONIST ===== */
#ia {
  background: var(--brown);
  color: var(--nude-light);
}

#ia .section-label { color: var(--gold); }
#ia h2 { color: var(--nude-light); }

.ia-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.ia-info p {
  color: rgba(245, 240, 234, 0.7);
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.ia-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ia-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ia-feature .dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.ia-feature span {
  font-size: 0.9rem;
  color: rgba(245, 240, 234, 0.75);
  line-height: 1.6;
}

/* Chat Widget */
.chat-widget {
  background: rgba(250, 250, 248, 0.68);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  height: 520px;
}

.chat-header {
  background: rgba(237, 232, 224, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-header-info .name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
}

.chat-header-info .status {
  font-size: 0.72rem;
  color: var(--brown-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #7AC47A;
  border-radius: 50%;
  display: inline-block;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.message {
  display: flex;
  gap: 0.6rem;
  max-width: 88%;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.message.user { align-self: flex-end; flex-direction: row-reverse; }

.msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  align-self: flex-end;
}

.message.bot .msg-avatar { background: var(--gold); color: var(--white); }
.message.user .msg-avatar { background: var(--nude-dark); color: var(--brown); }

.msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  transition: box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.msg-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--shadow);
}

.message.bot .msg-bubble {
  background: rgba(255, 255, 255, 0.8);
  color: var(--brown);
  border-radius: 12px 12px 12px 2px;
  border: 1px solid var(--border);
}

.message.user .msg-bubble {
  background: var(--gold);
  color: var(--white);
  border-radius: 12px 12px 2px 12px;
}

.message.user .msg-bubble:hover {
  box-shadow: 0 6px 18px rgba(201, 169, 110, 0.35);
}

.msg-time {
  font-size: 0.65rem;
  color: var(--brown-light);
  margin-top: 0.3rem;
  text-align: right;
}

.message.bot .msg-time { text-align: left; }

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.25rem 0.75rem;
}

.quick-reply {
  border: 1px solid var(--gold-light);
  background: transparent;
  color: var(--gold-dark);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}

.quick-reply:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

.chat-input-area {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(201, 169, 110, 0.25);
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#chatInput {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--nude-light);
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--brown);
  border-radius: 20px;
  resize: none;
  max-height: 100px;
  transition: border-color 0.25s;
}

#chatInput:focus { outline: none; border-color: var(--gold); }
#chatInput::placeholder { color: var(--border); }

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  font-size: 1rem;
}

.chat-send:hover { background: var(--gold-dark); }

.typing-indicator {
  display: none;
  align-items: center;
  gap: 0.6rem;
  max-width: 88%;
}

.typing-indicator.visible { display: flex; }

.typing-dots {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px 12px 12px 2px;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* ===== FOOTER ===== */
footer {
  background: #2A1F18;
  color: rgba(245, 240, 234, 0.7);
  padding: 4rem 0 2rem;
}

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

.footer-brand .name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--nude-light);
  margin-bottom: 0.25rem;
}

.footer-brand .sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h6 {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nude-light);
  margin-bottom: 1.25rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(245, 240, 234, 0.6);
  transition: color 0.25s;
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(245, 240, 234, 0.6);
}

.footer-col address strong {
  display: block;
  color: rgba(245, 240, 234, 0.9);
  font-weight: 400;
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 234, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(245, 240, 234, 0.4); }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 240, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(245, 240, 234, 0.6);
  transition: all 0.25s;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== SECTION CENTERED ===== */
.section-header.centered { text-align: center; max-width: 600px; margin: 0 auto 4rem; }

/* ===== CATÁLOGO DETALLADO ===== */
#catalogo { background: var(--nude); }

/* Contraste reforzado: el label dorado y el texto gris claro por defecto
   se leen poco sobre el fondo beige de esta sección, sobre todo en celular. */
#catalogo .section-label,
#catalogo .section-header p {
  color: #4A3828;
}

.catalog-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-tabs::-webkit-scrollbar { display: none; }

/* Flecha que avisa que hay más categorías para el lado — aparece solo si la
   barra realmente desborda, y se oculta sola al llegar al final del scroll. */
.scroll-hint-wrap { position: relative; }

.scroll-hint-arrow {
  display: none;
  position: absolute;
  right: 2px;
  top: 0;
  height: calc(100% - 1px);
  align-items: center;
  border: none;
  background: none;
  padding: 0 0.15rem;
  cursor: pointer;
}

.scroll-hint-arrow-left {
  right: auto;
  left: 2px;
}

.scroll-hint-arrow span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: scrollHintPulse 1.6s ease-in-out infinite;
}

.scroll-hint-arrow-left span {
  animation-name: scrollHintPulseLeft;
}

@keyframes scrollHintPulse {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: 0.7; }
}

@keyframes scrollHintPulseLeft {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(-5px); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint-arrow span { animation: none; }
}

.catalog-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-light);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s;
  margin-bottom: -1px;
}

.catalog-tab .tab-icon { font-size: 1rem; }
.catalog-tab:hover { color: var(--brown); }
.catalog-tab.active { color: var(--gold-dark); border-bottom-color: var(--gold); }

/* ===== TABS TIPO PILL (Catálogo de Servicios + Tienda + Academia) ===== */
#tiendaTabs.catalog-tabs,
#catalogTabs.catalog-tabs,
#cursosTabs.catalog-tabs {
  gap: 12px;
  border-bottom: none;
  flex-wrap: nowrap;
}

#tiendaTabs .catalog-tab,
#catalogTabs .catalog-tab,
#cursosTabs .catalog-tab {
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  margin-bottom: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--brown-light);
  cursor: pointer;
}

#tiendaTabs .catalog-tab:hover,
#catalogTabs .catalog-tab:hover,
#cursosTabs .catalog-tab:hover {
  color: var(--brown);
  border-color: var(--gold);
  cursor: pointer;
}

#tiendaTabs .catalog-tab.active,
#catalogTabs .catalog-tab.active,
#cursosTabs .catalog-tab.active {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.catalog-panel { display: none; }
.catalog-panel.active { display: block; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.catalog-error {
  font-size: 0.9rem;
  color: var(--brown-light);
  background: var(--nude-light);
  border: 1px dashed var(--gold-light);
  border-radius: 4px;
  padding: 1.5rem;
  max-width: 560px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.card-price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-dark);
}

.precio-original {
  text-decoration: line-through;
  color: var(--brown-light);
  font-size: 0.65em;
  font-style: normal;
  margin-right: 0.4em;
}

/* Insignia llamativa que acompaña cualquier precio con descuento activo
   (precioOriginal > precio) en Servicios, Tienda y Academia — ver renderPrecio(). */
.badge-oferta {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
  color: var(--white);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.4rem;
  box-shadow: 0 3px 10px rgba(168, 135, 74, 0.35);
}

.card-duration {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-light);
  white-space: normal;
  text-align: right;
  max-width: 55%;
}

.catalog-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(229, 221, 213, 0.7);
  border-radius: 4px;
  padding: 1.75rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.catalog-card:hover {
  box-shadow: 0 14px 36px var(--shadow), 0 0 0 1px rgba(201, 169, 110, 0.15);
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(201, 169, 110, 0.45);
}

.catalog-card:hover .btn-sm {
  background: var(--gold-dark);
}

/* Título grande y de alto impacto — la estrategia de solución a problemas
   necesita que el nombre del servicio capte la atención de inmediato. */
.catalog-card-title {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown);
  margin-bottom: 0.55rem;
}

/* Badge/etiqueta que destaca el problema que resuelve el servicio, entre el
   título grande y la descripción técnica. */
.catalog-card-solucion {
  display: block;
  flex: none;
  background: rgba(201, 169, 110, 0.14);
  border-left: 3px solid var(--gold-dark);
  color: var(--brown);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.9rem !important;
}

.catalog-card p {
  font-size: 0.84rem;
  color: var(--brown-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  align-self: flex-start;
}

.catalog-card .btn-sm + .btn-sm {
  margin-top: 0.6rem;
}

.shipping-option-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.shipping-option-disabled input { cursor: not-allowed; }

.cupos-urgente {
  color: #c0392b;
  font-weight: 500;
}

.testimonios-video-header {
  text-align: center;
  margin: 3rem 0 1.5rem;
}

/* ===== PRÓXIMAS FECHAS (Academia) ===== */
#academia-fechas { background: var(--nude); }

.fechas-cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.fecha-curso-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
}

.fecha-curso-card h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.fechas-curso-lista {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.fechas-curso-lista li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--brown-light);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.fechas-curso-lista li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fecha-flyer-trigger {
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  cursor: zoom-in;
}

.fecha-flyer-thumb {
  display: block;
  width: 110px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--gold);
}

.fecha-curso-acciones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

/* ===== CHARLAS Y DEMOS (Academia) ===== */
.charlas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.charla-video {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(61, 48, 40, 0.14);
}

.charla-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== FAQ (Academia) ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(229, 221, 213, 0.7);
  border-radius: 4px;
  padding: 1.1rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--brown);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.65;
}

/* ===== MI HISTORIA ===== */
#historia { background: var(--nude); }

.historia-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.historia-foto img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(61, 48, 40, 0.14);
}

.historia-texto h2 {
  margin-bottom: 1.5rem;
}

.historia-texto p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--brown-light);
  margin-bottom: 1.1rem;
}

.historia-texto p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .historia-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== HITOS ===== */
#hitos {
  background: var(--brown);
  padding: 4.5rem 0;
}

.hitos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.hito-numero {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 4rem);
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.hito-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(250, 250, 248, 0.8);
  max-width: 220px;
  margin: 0 auto;
}

/* ===== RESULTADOS REALES (ANTES/DESPUÉS) ===== */
#resultados { background: var(--nude); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.result-photo {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gold);
}

.result-photo img {
  display: block;
  width: 100%;
}

.result-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow);
  border-color: var(--gold);
}

.result-card h3 {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 1.1rem;
}

/* ===== TESTIMONIOS ===== */
#testimonios { background: var(--nude-light); }

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.testimonials-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(229, 221, 213, 0.7);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.testimonial-card:hover {
  box-shadow: 0 14px 36px var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(201, 169, 110, 0.4);
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brown);
  flex: 1;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--nude-dark);
  color: var(--brown);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.client-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--brown);
}

.client-service {
  font-size: 0.72rem;
  color: var(--gold-dark);
  margin-top: 2px;
}

.test-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brown);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  line-height: 1;
}

.test-nav:hover { border-color: var(--gold); color: var(--gold); }

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
  border: none;
  padding: 0;
}

.t-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ===== GALERÍA INSTAGRAM ===== */
#galeria {
  background: var(--nude);
  padding-bottom: 5rem;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 2rem;
  border-radius: 4px;
  overflow: hidden;
}

.insta-cell {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.insta-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.insta-placeholder span:first-child { font-size: 2rem; }

.insta-placeholder small {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(61, 48, 40, 0.5);
  font-family: var(--font-body);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(61, 48, 40, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.insta-cell:hover .insta-overlay { opacity: 1; }
.insta-cell:hover .insta-placeholder { opacity: 0; }

.insta-overlay span {
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.insta-cta {
  text-align: center;
  margin-top: 2rem;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== FAQ ===== */
#faq { background: var(--nude-light); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--gold-dark);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--brown-light);
  line-height: 1.7;
}

.faq-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 720px;
  margin: 2rem auto 0;
  font-size: 0.8rem;
  color: var(--brown-light);
  font-style: italic;
}

.faq-disclaimer svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-dark); }

/* ===== ACADEMIA ===== */
#academia {
  background: var(--brown);
  color: var(--nude-light);
  text-align: center;
}

.academia-card { max-width: 640px; margin: 0 auto; }

#academia .section-label { color: var(--gold); }
#academia h2 { color: var(--nude-light); margin-bottom: 1rem; }

#academia p {
  color: rgba(245, 240, 234, 0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-academia {
  display: inline-block;
  padding: 0.85rem 2rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-academia:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== TIENDA ===== */
#tienda-intro, #academia-intro {
  background: var(--nude);
  padding-top: 9rem;
}

.academia-foto-real {
  max-width: 560px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.academia-foto-real img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(61, 48, 40, 0.14);
  margin-bottom: 1rem;
}

.academia-foto-real p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--brown-light);
}

/* ===== CREDENCIALES ===== */
#credenciales { background: var(--nude); }

.credenciales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.credencial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  padding: 1.25rem;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.credencial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow);
  border-color: var(--gold);
}

.credencial-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  padding: 0;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
}

.credencial-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.credencial-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
}

.credencial-card h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.credencial-card p {
  font-size: 0.8rem;
  color: var(--brown-light);
  line-height: 1.5;
}

/* Lightbox de credenciales */
.credencial-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 15, 10, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.credencial-lightbox.open {
  display: flex;
}

.credencial-lightbox-figure {
  max-width: 92vw;
  max-height: 92vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.credencial-lightbox-figure img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.credencial-lightbox-figure figcaption {
  color: #fff;
  font-size: 0.95rem;
  text-align: center;
}

.credencial-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.credencial-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.curso-bonos-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.curso-bonos-checklist li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.curso-bonos-checklist li .icon {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.curso-bonos-checklist li span:last-child {
  font-size: 0.82rem;
  color: var(--brown-light);
}

.product-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(229, 221, 213, 0.7);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow);
  border-color: rgba(201, 169, 110, 0.45);
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--nude-dark);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image img { transform: scale(1.06); }

.product-card h3 {
  font-size: 1rem;
  padding: 1rem 1.25rem 0;
  margin-bottom: 0.4rem;
}

.product-card p {
  font-size: 0.82rem;
  color: var(--brown-light);
  line-height: 1.6;
  padding: 0 1.25rem;
  flex: 1;
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--font-heading);
  font-weight: 300;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-dark);
  padding: 0 1.25rem;
  margin-bottom: 1.25rem;
}

.product-card .btn-outline {
  margin: 0 1.25rem 1.25rem;
  text-align: center;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--white);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  z-index: 1;
}

.product-badge-agotado {
  background: var(--brown-light);
}

.product-color-select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--nude-light);
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  color: var(--brown);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.product-card .btn-add-cart {
  margin: 0 1.25rem 0.6rem;
}

.product-consult-link {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin: 0 1.25rem 1.25rem;
  transition: color 0.25s;
}

.product-consult-link:hover { color: var(--gold-dark); }

/* ===== CARRITO FLOTANTE ===== */
.cart-float {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  z-index: 98;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--nude-light);
  border: 1px solid rgba(201, 169, 110, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(61, 48, 40, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 26px rgba(61, 48, 40, 0.4);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  align-items: center;
  justify-content: center;
}

/* ===== DRAWER DEL CARRITO ===== */
.cart-overlay,
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 48, 40, 0.45);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open,
.checkout-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  background: var(--nude-light);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h4 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--brown-light);
  cursor: pointer;
  transition: color 0.2s;
}

.cart-close:hover { color: var(--brown); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  color: var(--brown-light);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brown);
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--gold-dark);
  margin-top: 2px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--brown);
  transition: border-color 0.2s;
}

.qty-btn:hover { border-color: var(--gold); }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--brown-light);
  cursor: pointer;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #b23b3b; }

.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cart-drawer-footer .btn-primary { width: 100%; }

/* ===== MODAL DE CHECKOUT ===== */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(460px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--nude-light);
  border-radius: 8px;
  z-index: 201;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}

.checkout-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.checkout-box {
  padding: 2rem;
  position: relative;
}

.checkout-box h4 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.checkout-box .cart-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--brown);
  transition: border-color 0.2s, background 0.2s;
}

.shipping-option input { flex-shrink: 0; }

.shipping-option span {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.shipping-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
}

.shipping-option input { accent-color: var(--gold); }

.checkout-note {
  font-size: 0.78rem;
  color: var(--brown-light);
  margin: 1rem 0 1.5rem;
  font-style: italic;
}

.inscripcion-clausulas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--nude-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--brown-light);
}

.inscripcion-clausulas li { padding-left: 1rem; position: relative; }
.inscripcion-clausulas li::before {
  content: '·';
  position: absolute;
  left: 0.15rem;
  color: var(--gold-dark);
  font-weight: 700;
}

.checkout-box .btn-primary { width: 100%; }

/* ===== RESULTADO DE PEDIDO ===== */
.payment-result-tienda {
  padding: 10rem 0 6rem;
  background: var(--nude-light);
  min-height: 60vh;
}

.payment-result-box {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 8px;
  padding: 2.5rem 2rem;
}

.payment-result-box .success-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.payment-result-box h4 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.payment-result-box p {
  font-size: 0.9rem;
  color: var(--brown-light);
  margin-bottom: 0.75rem;
}

.pedido-listado {
  list-style: disc;
  text-align: left;
  max-width: 320px;
  margin: 0 auto 1rem;
  font-size: 0.88rem;
  color: var(--brown);
}

@media (max-width: 480px) {
  .cart-float { right: 1.5rem; bottom: 5.5rem; }
}

/* ===== CONTACTO ===== */
#contacto {
  background: var(--nude-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left h2 { margin-bottom: 0.75rem; }

.contact-left > p {
  color: var(--brown-light);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-family: var(--font-body);
}

.contact-item span {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.6;
}

/* ===== MAPA GOOGLE ===== */
.map-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 0.75rem;
  margin-bottom: 2.5rem;
}

.map-frame {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.85rem;
}

.social-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 1rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  color: var(--brown);
  background: var(--white);
  transition: all 0.25s;
}

.social-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 12px var(--shadow); }
.social-pill.instagram:hover { border-color: #E1306C; color: #E1306C; }
.social-pill.facebook:hover { border-color: #1877F2; color: #1877F2; }
.social-pill.tiktok:hover { border-color: #010101; color: #010101; }
.social-pill.linkedin:hover { border-color: #0A66C2; color: #0A66C2; }

/* WhatsApp CTA card */
.whatsapp-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 6px;
  padding: 2.5rem;
  text-align: center;
  position: sticky;
  top: 6rem;
  box-shadow: 0 20px 50px var(--shadow);
}

.wa-card-icon {
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
}

.whatsapp-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.whatsapp-card p {
  font-size: 0.9rem;
  color: var(--brown-light);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.whatsapp-btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: var(--white);
  padding: 0.9rem 1.75rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.whatsapp-btn-card:hover { background: #1da851; transform: translateY(-3px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35); }

.wa-note {
  font-size: 0.78rem;
  color: var(--brown-light);
}

.wa-note a { color: var(--gold-dark); }
.wa-note a:hover { text-decoration: underline; }

/* ===== FOOTER SOCIAL ===== */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 240, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 240, 234, 0.6);
  transition: all 0.25s;
}

.footer-social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background: #25D366;
  color: var(--white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(30, 30, 30, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(30, 30, 30, 0.85);
  border-right: none;
}

.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ===== BOTÓN FLOTANTE + MODAL: ALERTAS VIP DE CURSOS (Academia) ===== */
.vip-alertas-float {
  position: fixed;
  bottom: 6.75rem;
  right: 2rem;
  z-index: 98;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brown);
  color: var(--white);
  border: none;
  padding: 0.75rem 1.1rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--shadow);
  animation: vip-alertas-pulse 2.8s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vip-alertas-float:hover {
  transform: translateY(-2px);
  animation-play-state: paused;
}

.vip-alertas-icon {
  font-size: 1.1rem;
  transform-origin: top center;
  animation: vip-alertas-bell 2.8s ease-in-out infinite;
}

@keyframes vip-alertas-pulse {
  0%, 100% { box-shadow: 0 4px 20px var(--shadow), 0 0 0 0 rgba(201, 169, 110, 0.55); }
  50% { box-shadow: 0 4px 20px var(--shadow), 0 0 0 9px rgba(201, 169, 110, 0); }
}

@keyframes vip-alertas-bell {
  0%, 90%, 100% { transform: rotate(0); }
  92% { transform: rotate(-12deg); }
  94% { transform: rotate(10deg); }
  96% { transform: rotate(-8deg); }
  98% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .vip-alertas-float, .vip-alertas-icon { animation: none; }
}

@media (max-width: 560px) {
  .vip-alertas-float {
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    justify-content: center;
    bottom: 6.25rem;
  }
  .vip-alertas-label { display: none; }
}

.vip-alertas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(20, 15, 10, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.vip-alertas-overlay.open { display: block; }

.vip-alertas-modal {
  display: none;
  position: fixed;
  z-index: 2201;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 92%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--nude-light) 0%, var(--nude) 100%);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(61, 48, 40, 0.35);
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vip-alertas-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vip-alertas-modal h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--brown);
  margin-bottom: 0.6rem;
  text-wrap: balance;
}

.vip-alertas-modal > div > p {
  font-size: 0.88rem;
  color: var(--brown-light);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.vip-alertas-modal .form-group { text-align: left; margin-bottom: 0.85rem; }

.vip-alertas-error {
  font-size: 0.8rem;
  color: #B3432B;
  margin: -0.3rem 0 0.85rem;
  text-align: left;
}

.vip-alertas-submit { width: 100%; margin-top: 0.4rem; }

.vip-alertas-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(61, 48, 40, 0.06);
  color: var(--brown-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.vip-alertas-close:hover {
  background: rgba(61, 48, 40, 0.12);
  color: var(--brown);
}

.vip-badge-cupos {
  display: inline-block;
  background: #C0392B;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.85rem;
}

.vip-fechas-lista {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--brown);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  text-align: left;
}

#vipFechasDisponiblesMode .btn-primary { width: 100%; margin-bottom: 0.6rem; }
#vipFechasDisponiblesMode .btn-outline { width: 100%; }

/* ===== POPUP DE SUSCRIPCIÓN (10% descuento) ===== */
.newsletter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(20, 15, 10, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.newsletter-overlay.open { display: block; }

.newsletter-popup {
  display: none;
  position: fixed;
  z-index: 2201;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.96);
  width: 92%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, var(--nude-light) 0%, var(--nude) 100%);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(61, 48, 40, 0.35);
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-popup.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.newsletter-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(61, 48, 40, 0.06);
  color: var(--brown-light);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-close:hover {
  background: rgba(61, 48, 40, 0.12);
  color: var(--brown);
}

.newsletter-badge {
  display: inline-block;
  background: var(--gold-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.newsletter-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.newsletter-content h3,
.newsletter-success h3 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--brown);
  margin-bottom: 0.6rem;
}

.newsletter-content > p {
  font-size: 0.88rem;
  color: var(--brown-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.newsletter-popup .form-group { text-align: left; margin-bottom: 0.85rem; }

.newsletter-error {
  font-size: 0.8rem;
  color: #B3432B;
  margin: -0.3rem 0 0.85rem;
  text-align: left;
}

.newsletter-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.newsletter-skip {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: var(--brown-light);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 0.9rem;
  padding: 0.4rem;
}

.newsletter-skip:hover { color: var(--brown); }

.newsletter-success p { font-size: 0.88rem; color: var(--brown-light); line-height: 1.6; margin-bottom: 1rem; }

.newsletter-code {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  user-select: all;
}

.newsletter-success .btn-primary { width: 100%; margin-top: 0.5rem; }

@media (max-width: 480px) {
  .newsletter-popup { padding: 1.85rem 1.4rem 1.6rem; }
  .newsletter-content h3, .newsletter-success h3 { font-size: 1.35rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .nav-links { gap: 1rem; }
}

@media (max-width: 1024px) {
  .agenda-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .ia-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testimonial-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  /* El Hero centraba el contenido verticalmente en los 100vh, lo que en
     celular dejaba el botón de reservar muy pegado abajo, cerca del botón
     flotante de WhatsApp. Arranca más arriba, debajo del nav fijo. */
  #hero { align-items: flex-start; }
  .hero-content { padding-top: 7.5rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .nav-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    margin-right: 0.5rem;
    font-size: 0.7rem;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 250, 248, 0.98);
    padding: 1.5rem;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }

  .form-row { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .catalog-tabs { gap: 0; }
  .catalog-tab { padding: 0.75rem 1rem; font-size: 0.7rem; }
  .catalog-tab .tab-icon { display: none; }
  .testimonial-card { flex: 0 0 calc(100% - 0); }
  .instagram-grid { gap: 3px; }
  .social-row { flex-direction: column; }
  .social-pill { width: 100%; justify-content: center; }
  .whatsapp-card { padding: 1.75rem 1.25rem; }
}
