/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img[src*="same-assets"] {
  background: #f0f0f0;
  min-height: 50px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

/* Typography */
.highlight {
  color: #BF73AB;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.section-title-white {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
  color: #fff;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  z-index: 1002;
}

.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px; /* Espaciado entre links aumentado */
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px; /* Padding interno para hacer el área clickeable más grande */
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.nav-links a:hover {
  color: #BF73AB;
  background: rgba(227, 28, 121, 0.05);
  transform: translateY(-2px);
}

/* Efecto de línea inferior al hacer hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: linear-gradient(135deg, #BF73AB, #D8C2CE);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Botón CTA en la navegación */

.nav-cta {
  background: linear-gradient(135deg, #BF73AB, #D8C2CE);
  color: white !important;
  font-weight: 700;
  padding: 12px 24px !important;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(227, 28, 121, 0.3);
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227, 28, 121, 0.4);
  Color: #BF73AB !important;
  background: linear-gradient(135deg, #84162f, #BF73AB);
}

.nav-cta::after {
  display: none; /* Remover línea inferior del CTA */
}

.mobile-menu-btn {
  display: none; /* Oculto por defecto */
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  width: 45px;
  height: 45px;
  z-index: 1002;
  position: relative;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #e31c79;
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
  transition: all 0.5s ease;
}

.mobile-menu-btn:hover span {
  background: #ff1493;
}

.mobile-menu-btn span:nth-child(1) {
  transform: rotate(0deg) translate(0, 0);
}

.mobile-menu-btn span:nth-child(2) {
  opacity: 1;
  transform: scale(1);
}

.mobile-menu-btn span:nth-child(3) {
  transform: rotate(0deg) translate(0, 0);
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;  /* El !important ayuda si hay conflictos */
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 0.5s ease;
    z-index: 1001;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    padding: 15px 20px;
    width: 100%;
  }

  .nav-cta {
    margin-top: 10px;
  }

  /* Animación del botón hamburguesa */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 0;
  }

  .logo img {
    height: 45px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 30px;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}


/* Hero Section */
.hero {
  background: #cab5ff;
  padding: 40px 0;
}

.hero-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-card h1 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 15px;
}

.hero-card h1 .highlight {
  font-weight: 600;
  font-style: italic;
}

.subtitle {
  font-size: 1rem;
  color: #333;
  margin-bottom: 20px;
}

.hero-image {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
}

.course-description {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 50px 0;
  background: #fff;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-image {
    flex: 0 0 40%;
  }

  .about-text {
    flex: 1;
  }
}

.about-image img {
  border-radius: 12px;
  width: 100%;
}

.about-text p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Features Section */
.features {
  background: #BF73AB;
  padding: 50px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

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

.feature-card {
  background: transparent;
  text-align: center;
  color: #fff;
}

.feature-card img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 12px;
  aspect-ratio: 1;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0.95;
}

/* Gallery Section */
.gallery {
  padding: 50px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery-item {
  text-align: center;
}

.gallery-item > img:first-child {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 8px;
  background: #f5f5f5;
  min-height: 100px;
}

.gallery-item p {
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.emoji {
  width: 18px;
  height: 18px;
}

/* Checklist Section */
.checklist {
  padding: 40px 0;
  background: #fff;
}

.check-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.check-icon {
  color: #BF73AB;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Price Section */
.price-section {
  padding: 50px 0;
  text-align: center;
  background: #fff;
}

.price-arrow {
  margin-bottom: 10px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #BF73AB;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: #4CAF50;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: 0.5s ease all;
}

.cta-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.payment-methods {
  margin: 25px 0 15px;
}

.payment-methods img {
  max-width: 100%;
  margin: 0 auto;
}

.worldwide {
  margin-bottom: 20px;
}

.worldwide img {
  margin: 0 auto;
  max-width: 100%;
}

.unique-payment {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.no-miss {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.limited-offer {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
}

/* Testimonials Section */
.testimonials {
  background: #BF73AB;
  padding: 50px 0;
  text-align: center;
}

.testimonial-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: transparent;
  margin: auto;
  justify-content: center;
}

.testimonial-avatars img {
  width: 150px;
  margin-bottom: 10px;
}

.stars {
  color: #ffd700;
  font-size: 1.5rem;
  transform: translateY(-8px);
}

.swipe-text {
  color: #fff;
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.9;
}

.testimonial-slider {
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 20px;
  scroll-behavior: smooth;
  position: relative;
  cursor: grab;  /* ⬅️ NUEVO: Cursor de manita */
  user-select: none;  /* ⬅️ NUEVO: No selecciona texto al arrastrar */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.testimonial-slider:active {
  cursor: grabbing;  /* ⬅️ NUEVO: Cursor al arrastrar */
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-track {
  display: flex;
  gap: 15px;
  padding: 0 10px;
}

.testimonial-item {
  flex: 0 0 calc((100% - 30px) / 3); /* 3 items en desktop */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-item img {
  width: 100%;
  border-radius: 12px;
  display: block;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Tablet - 2 items */
@media (max-width: 1024px) {
  .testimonial-item {
    flex: 0 0 calc((100% - 15px) / 2); /* 2 items en tablet */
  }
}

/* Mobile - 1 item */
@media (max-width: 768px) {
  .testimonial-item {
    flex: 0 0 calc(100% - 20px); /* 1 item en móvil */
  }
  
  .testimonial-track {
    padding: 0 10px;
  }
}

/* Bonuses Section */
.bonuses {
  padding: 50px 0;
  background: #fff;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.bonus-card {
  border: 2px dashed #50c5cc;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
}

.bonus-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.bonus-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bonus-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.4;
}

.bonus-tag {
  display: inline-block;
  color: #50c5cc;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Exclusive Section */
.exclusive {
  padding: 50px 0;
  background: #fff;
}

.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

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

.exclusive-card {
  border: 2px dashed #BF73AB;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
}

.exclusive-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.exclusive-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.exclusive-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 12px;
}

.certificate-card {
  border: 2px dashed #BF73AB;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.certificate-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.certificate-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Guarantee Section */
.guarantee {
  background: #BF73AB;
  padding: 50px 0;
}

.guarantee-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .guarantee-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .guarantee-text {
    flex: 1;
  }

  .guarantee-badge {
    flex: 0 0 200px;
  }
}

.guarantee-text {
  color: #fff;
}

.guarantee-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.cta-button-pink {
  display: inline-block;
  background: #BF73AB;
  color: #fff;
  padding: 16px 35px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  border: 3px solid #fff;
  transition: all 0.3s;
}

.cta-button-pink:hover {
  background: #fff;
  color: #BF73AB;
}

.guarantee-badge img {
  max-width: 200px;
  margin: 0 auto;
}

/* Final Offer Section */
.final-offer {
  padding: 50px 0;
  background: #fff;
  text-align: center;
}

.offer-image {
  margin: 30px 0;
}

.offer-image img {
  max-width: 100%;
  margin: 0 auto;
}

.offer-list {
  list-style: none;
  text-align: left;
  max-width: 550px;
  margin: 0 auto 30px;
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.check-green {
  color: #4caf50;
  font-weight: 700;
  font-size: 1.1rem;
}

.gift-icon {
  font-size: 1rem;
}

.old-price {
  font-size: 1.2rem;
  font-style: italic;
  color: #666;
  margin-bottom: 10px;
}

.old-price s {
  color: #999;
}

.cta-button-green {
  display: inline-block;
  background: #6cbf5c;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(108, 191, 92, 0.4);
}

.cta-button-green:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 191, 92, 0.5);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}

.countdown-item {
  background: #50c5cc;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  min-width: 80px;
}

.countdown-item span:first-child {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-item .label {
  font-size: 0.75rem;
  text-transform: capitalize;
  opacity: 0.9;
}

/* FAQ Section */
.faq {
  background: #BF73AB;
  padding: 50px 0;
}

.faq-list {
  max-width: 600px;
  margin: 0 auto;
}

.faq-item {
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  background: #fff;
  box-shadow: 0 4px 12px rgba(227, 28, 121, 0.15);
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  background: transparent;  /* ⬅️ CAMBIO: transparent en vez de #f5f5f5 */
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: #333;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #BF73AB;
  padding-left: 24px;
}

.faq-item.active .faq-question {  /* ⬅️ CAMBIO: Selector correcto */
  color: #BF73AB;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.5rem;
  color: #BF73AB;
  font-weight: 300;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: inline-block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: transparent;  /* ⬅️ CAMBIO: transparent en vez de #f5f5f5 */
  opacity: 0;
  padding: 0 20px;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              padding 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease;
  /* ⬅️ CAMBIO: Una sola declaración de transition */
}

.faq-item.active .faq-answer {  /* ⬅️ CAMBIO: Solo esta regla, sin duplicados */
  max-height: 500px;
  opacity: 1;
  padding: 5px 20px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  margin: 0;  /* ⬅️ CAMBIO: margin en vez de padding */
  transform: translateY(-10px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.faq-item.active .faq-answer p {  /* ⬅️ CAMBIO: Selector correcto */
  transform: translateY(0);
}

/* Contact Section */
.contact {
  padding: 50px 0;
  background: #fff;
}

.contact-box {
  background: #fff;
  border: 2px solid #BF73AB;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.contact-box h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-box p {
  margin-bottom: 20px;
  color: #555;
}

.whatsapp-button {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s;
}

.whatsapp-button:hover {
  background: #25d366;
}

/* Footer */
.footer {
  background: #333;
  padding: 25px 0;
  text-align: center;
}

.footer p {
  color: #ccc;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 600px) {
  .hero-card h1 {
    font-size: 1.25rem;
  }

  .section-title,
  .section-title-white {
    font-size: 1.4rem;
  }

  .price {
    font-size: 2.5rem;
  }

  .cta-button,
  .cta-button-green {
    padding: 15px 25px;
    font-size: 0.95rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown-item {
    min-width: 70px;
    padding: 12px 15px;
  }

  .countdown-item span:first-child {
    font-size: 1.5rem;
  }
}

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

  .countdown {
    gap: 5px;
  }

  .countdown-item {
    min-width: 60px;
    padding: 10px;
  }
}


/* Solución para navbar sticky que tapa títulos */
section {
  scroll-margin-top: 50px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

/* Desktop */
@media (min-width: 769px) {
  section {
    scroll-margin-top: 50px;
  }
}

/* Móvil */
@media (max-width: 768px) {
  section {
    scroll-margin-top: 28px;
  }
}