:root {
  --pink-primary: #ff4d94;
  --pink-soft: #fff5f8;
  --pink-deep: #7c1d3f;
  --pink-glow: rgba(255, 77, 148, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --text-main: #2d0a16;
  --text-muted: #8b5e6d;

  /* Typography Scale */
  --h1-size: clamp(2.5rem, 8vw, 4rem);
  --h2-size: clamp(2rem, 5vw, 2.6rem);
  --h3-size: clamp(1.3rem, 4vw, 1.8rem);
  --body-size: clamp(1rem, 1.5vw, 1.15rem);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background: radial-gradient(circle at top right, #fff5f8 0%, #ffffff 100%);
  color: var(--text-main);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* CRITICO: Previene scroll lateral */
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header,
section {
  width: 100%;
  max-width: 1200px;
  /* Limitar ancho en monitores grandes */
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 10px var(--pink-glow));
  }

  50% {
    filter: drop-shadow(0 0 20px var(--pink-glow));
  }

  100% {
    filter: drop-shadow(0 0 10px var(--pink-glow));
  }
}

/* ---------- HEADER / NAV ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 10;
}

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

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  background: linear-gradient(45deg, var(--pink-deep), var(--pink-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.2rem;
  color: var(--pink-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  transform: scale(1.05);
  background: var(--pink-soft);
}

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

/* Botón WhatsApp */
.ws-btn {
  position: fixed;
  align-items: center;
  bottom: 1rem;
  right: 1rem;
  gap: 0.5rem;
  background: #128c7e;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 77, 148, 0.3);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.ws-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 148, 0.4);
}

/* Navegación para Escritorio (Oculta en Mobile) */
.desktop-nav {
  display: none;
}

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

  .desktop-links {
    display: flex;
    list-style: none;
    gap: 2rem;
  }

  .desktop-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .desktop-links a:hover {
    color: var(--pink-primary);
  }

  .menu-btn {
    display: none;
    /* Ocultar hamburguesa en escritorio */
  }
}

@media (max-width: 991px) {
  .ws-text {
    display: none;
    /* Ocultar texto en móvil */
  }

  .ws-btn {
    padding: 0.75rem;
    /* Solo círculo para el icono en móvil */
    aspect-ratio: 1/1;
  }
}

@media (max-width: 360px) {
  .logo-text {
    font-size: 1.2rem;
  }
}

/* ---------- NAVIGATION MENU OVERLAY ---------- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-menu {
  position: absolute;
  top: 2rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--pink-deep);
  cursor: pointer;
}

.nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink-deep);
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--pink-primary);
  transform: scale(1.1);
}

.nav-cta {
  background: var(--pink-primary);
  color: white !important;
  padding: 1rem 2.5rem;
  border-radius: 99px;
  font-size: 1.2rem !important;
  box-shadow: 0 10px 25px rgba(255, 77, 148, 0.3);
}

.nav-cta:hover {
  transform: scale(1.05) translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(255, 77, 148, 0.4);
}

/* ---------- HERO SECTION ---------- */
.hero {
  padding: 0 1.5rem 4rem;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h1-size);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero h1 span {
  display: block;
  color: var(--pink-primary);
  font-style: italic;
  font-weight: 400;
}

.hero p {
  font-size: var(--body-size);
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  line-height: 1.6;
  max-width: 650px;
}

/* ---------- HERO IMAGE + GALLERY ---------- */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
  max-width: 100%;
  /* Previene que salga del contenedor */
}

.main-photo {
  width: 100%;
  max-width: 400px; /* Adapts better to mobile */
  aspect-ratio: 4/5;
  /* Mantener proporción consistente */
  height: auto;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(124, 29, 63, 0.15);
  background: var(--pink-soft);
  animation: float 6s ease-in-out infinite;
}

.hero-image-transparent {
  width: 100%;
  max-width: 320px;
  height: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
}

.hero-image-transparent img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-transparent:hover img {
  transform: scale(1.05);
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
}

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

.side-gallery {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.side-gallery::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid white;
  background: var(--glass-bg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0.7;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.thumb:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.thumb.active {
  border: 3px solid var(--pink-primary);
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 10px 20px var(--pink-glow);
}

/* ---------- CTA ---------- */
.cta-container {
  position: relative;
  margin-top: 2rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

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

.cta-btn {
  width: 100%;
  padding: 1.25rem;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff4d94, #ff85b3);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 77, 148, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 77, 148, 0.5);
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: 0.5s;
}

.cta-btn:hover::after {
  left: 120%;
}

/* ---------- INFO MINI ---------- */
.mini-info {
  margin-top: 2rem;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--pink-deep);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mini-info-badge {
  font-size: 1.2rem;
  opacity: 0.5;
}

/* --------- SWIRL SVG ----------- */
.swirl-wrapper {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.swirl-top {
  top: -50px;
  right: -50px;
  width: 550px;
  height: 650px;
  opacity: 0.8;
}

/* Línea inferior izquierda */
.swirl-accent {
  bottom: -100px;
  left: -100px;
  width: 650px;
  height: 750px;
  opacity: 0.7;
}

.line-main {
  fill: none;
  stroke: var(--pink-primary);
  stroke-width: 3;
  stroke-linecap: round;
  animation: pulse-glow 3s infinite ease-in-out;
}

.line-shadow {
  fill: none;
  stroke: var(--pink-primary);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.2;
  transform: translate(15px, 15px);
}

.abstract-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 10s ease-in-out infinite;
}

@keyframes dash {
  0% {
    stroke-dashoffset: 1000;
  }

  40% {
    stroke-dashoffset: 0;
  }

  80% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 1000;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 2rem 3rem 6rem;
  }

  .hero-visual {
    margin-bottom: 0;
  }

  .main-photo {
    height: 550px;
    width: 100%;
    max-width: 440px; /* Limit width in desktop so photos are not too wide */
    max-height: none;
  }

  .side-gallery {
    flex-direction: column;
    width: 100px;
    height: 550px;
    padding: 0;
  }

  .thumb {
    flex: 0 0 100px;
    width: 100%;
    height: 100px;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }
}

/* ---------- GALLERY SECTION ---------- */
.gallery-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 1s ease-out;
}

.gallery-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: 1rem;
  color: var(--pink-deep);
}

.gallery-section .section-description {
  font-size: var(--body-size);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  align-items: center;
}

@media (min-width: 768px) {
  .gallery-visual {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
    align-items: center; /* keep side by side vertically centered */
  }
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 1s ease-out;
}

.services-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--pink-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(124, 29, 63, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(124, 29, 63, 0.1);
  border-color: var(--pink-primary);
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h3-size);
  margin-bottom: 1rem;
  color: var(--pink-primary);
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- FOOTER ---------- */
footer {
  width: 100%;
  padding: 4rem 1.5rem;
  background: var(--pink-soft);
  margin-top: 4rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-info {
  font-size: var(--body-size);
  color: var(--pink-deep);
  line-height: 1.6;
}

.contact-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--pink-deep);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  background: white;
  border-radius: 99px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 77, 148, 0.2);
  color: var(--pink-primary);
}

/* ---------- PROMOS SECTION ---------- */
.promos-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  background: white;
  border-radius: 40px;
  margin-bottom: 4rem;
  box-shadow: 0 20px 50px rgba(255, 77, 148, 0.1);
}

.promos-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: 3rem;
  color: var(--pink-primary);
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.promo-card {
  display: block;
  text-decoration: none;
  background: white;
  border: 2px dashed var(--pink-primary);
  padding: 2.5rem 2rem;
  border-radius: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: "¡OFERTA!";
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--pink-primary);
  color: white;
  padding: 5px 40px;
  font-size: 0.7rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.promo-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--pink-deep);
}

.promo-price {
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--pink-primary);
  display: block;
  margin-top: 0.5rem;
}

.promo-card:hover {
  transform: scale(1.05);
  background: var(--pink-soft);
  border-style: solid;
  box-shadow: 0 15px 35px var(--pink-glow);
}

.promo-info {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.promo-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--pink-soft);
  color: var(--pink-deep);
  padding: 1.2rem 2rem;
  border-radius: 20px;
  font-size: 1.1rem;
  border: 1px solid var(--pink-glow);
  box-shadow: 0 5px 15px rgba(255, 77, 148, 0.05);
  animation: fadeIn 1.2s ease-out;
  width: 100%;
  box-sizing: border-box;
}

.promo-note svg {
  color: var(--pink-primary);
  flex-shrink: 0;
}

.promo-note strong {
  color: var(--pink-primary);
  font-weight: 700;
}

.payment-note {
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem;
}

.payment-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--pink-primary);
  margin-bottom: 1.2rem;
  justify-content: center;
}

.payment-title h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin: 0;
  color: var(--pink-deep);
}

.payment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  padding: 0;
  margin: 0;
}

.payment-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 77, 148, 0.15);
  transition: all 0.3s ease;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.payment-list li:hover {
  transform: translateX(5px);
  border-color: var(--pink-primary);
  box-shadow: 0 4px 12px rgba(255, 77, 148, 0.1);
}

.payment-method {
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.05rem;
}

.payment-cost {
  font-size: 0.9rem;
  color: var(--pink-deep);
  background: var(--pink-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  font-weight: 600;
  border: 1px solid var(--pink-glow);
}

.payment-cost-fee {
  font-size: 0.9rem;
  color: white;
  background: var(--pink-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 77, 148, 0.3);
}

@media (max-width: 480px) {
  .promo-note {
    padding: 1rem 1.2rem;
    flex-direction: column;
    text-align: center;
  }

  .payment-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider {
  width: 100%;
  max-width: 1200px;
  height: 120px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  pointer-events: none;
}

.section-divider svg {
  width: 100%;
  height: 100%;
}

.section-divider .line-main {
  stroke: var(--pink-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.section-divider .line-shadow {
  stroke: var(--pink-primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  opacity: 0.15;
  transform: translate(20px, 20px);
}

/* ---------- COURSES SECTION ---------- */
.courses-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  animation: fadeIn 1s ease-out;
}

.courses-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--pink-deep);
}

.courses-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.instructor-badge {
  text-align: center;
  margin-bottom: 3rem;
}

.instructor-name {
  background: var(--pink-soft);
  color: var(--pink-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
}

.course-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.curriculum-card {
  background: white;
  border-radius: 32px;
  box-shadow: 0 10px 40px rgba(124, 29, 63, 0.05);
}

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

.curriculum-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--pink-deep);
}

.curriculum-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}

.curriculum-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid var(--pink-soft);
}

.curriculum-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--pink-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.curriculum-item:hover {
  transform: translateX(8px);
  background: var(--pink-soft);
  border-color: var(--pink-primary);
}

/* Eliminar .curriculum-icon no usado */

.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.inclusion-tag {
  background: white;
  border: 1px solid var(--pink-soft);
  padding: 1.2rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 500;
  color: var(--pink-deep);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.inclusion-tag:hover {
  border-color: var(--pink-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 77, 148, 0.1);
}

.inclusion-icon {
  font-size: 1.5rem;
}

.courses-faq {
  margin-top: 4rem;
  width: 100%;
}

.faq-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--pink-deep);
  text-align: center;
}

.faq-item {
  background: white;
  border: 1px solid var(--pink-soft);
  border-radius: 20px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(124, 29, 63, 0.03);
}

.faq-item:hover {
  border-color: var(--pink-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 77, 148, 0.08);
}

.faq-item[open] {
  border-color: var(--pink-primary);
  background: var(--pink-soft);
}

.faq-item summary {
  padding: 1.5rem 2rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--pink-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: "→";
  font-size: 1.2rem;
  color: var(--pink-primary);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--pink-soft);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
  background: var(--pink-primary);
  color: white;
}

.faq-content {
  padding: 0 2rem 2rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1rem;
  animation: fadeIn 0.5s ease-out;
}

.faq-content p {
  margin-bottom: 1rem;
}

.faq-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.course-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.course-cta-btn {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  background: white;
  color: var(--pink-primary);
  border: 2px solid var(--pink-primary);
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(255, 77, 148, 0.1);
}

.course-cta-btn:hover {
  background: var(--pink-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(255, 77, 148, 0.3);
}

/* ---------- BEFORE & AFTER SECTION ---------- */
.before-after-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 1s ease-out;
}

.before-after-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  color: var(--pink-deep);
  text-align: center;
}

.comparison-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4/5;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  cursor: ew-resize;
  background: var(--pink-soft);
}

.comparison-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.after-image {
  z-index: 1;
}

.before-image {
  z-index: 2;
  width: 100%;
  /* El contenedor ahora ocupa todo el ancho */
  height: 100%;
  clip-path: inset(0 50% 0 0);
  /* Recorta el 50% desde la derecha */
  overflow: hidden;
  border-right: 2px solid white;
  /* El borde ahora se moverá con clip-path si ajustamos la lógica, 
                                    pero por ahora mantengamos la línea blanca como separador visual */
}

/* Forzar a que ambas imágenes ocupen el 100% del contenedor padre */
.comparison-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}


.label {
  position: absolute;
  bottom: 20px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-deep);
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.before-label {
  left: 20px;
}

.after-label {
  right: 20px;
}

.comparison-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.slider-handle::after {
  content: "↔";
  color: var(--pink-primary);
  font-size: 1.2rem;
  font-weight: bold;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.transformations-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  width: 100%;
  padding: 1rem 0 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.transformations-carousel::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.case-wrapper {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.case-title {
  font-family: 'Outfit', sans-serif;
  color: var(--pink-deep);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.transformations-carousel .comparison-container {
  width: 100%;
  max-width: 600px;
}

.carousel-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--pink-deep);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--pink-soft);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -20px;
  z-index: 100;
}

.carousel-btn.next {
  right: -20px;
}

@media (max-width: 768px) {
  .carousel-wrapper {
    max-width: 100%;
    padding: 0 10px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }
}

.range-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 10;
  cursor: ew-resize;
}

.convince-text {
  font-size: var(--body-size);
  color: var(--text-main);
  text-align: center;
}

.convince-text a {
  color: var(--pink-primary);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.convince-text a:hover {
  border-bottom-color: var(--pink-primary);
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials-section {
  padding: 4rem 1.5rem;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 1s ease-out;
}

.testimonials-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: var(--h2-size);
  color: var(--pink-deep);
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-section #shapo-widget-423cedfc7b6890161855 {
  width: 100%;
  min-height: 400px;
  /* Asegurar espacio para que no haya saltos bruscos al cargar */
}

/* ---------- NEW COMPONENTS ---------- */
.section-description {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: -1rem;
  margin-bottom: 1rem;
  max-width: 600px;
  line-height: 1.6;
}

.testimonial-cta {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.review-btn {
  display: flex;
  align-items: center;
  background: white;
  color: var(--pink-deep);
  padding: 0.8rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 77, 148, 0.15);
  transition: all 0.3s ease;
  border: 1px solid var(--pink-soft);
}

.review-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 77, 148, 0.25);
  background: var(--pink-soft);
  color: var(--pink-primary);
}

.footer-map {
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--glass-border);
}

.footer-map iframe {
  display: block;
}

@media (max-width: 768px) {
  .footer-map {
    border-radius: 0;
    margin-top: 3rem;
  }
}