* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f7f7f7;
  color: #111;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 75px; /* un poco más alto para que respire */
  background: white;
  border-bottom: 1px solid #eee;
}

/* LOGO CONTENEDOR */
.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 🔥 LOGO GRANDE Y LIMPIO */
.logo img {
  height: 100px;          /* 🔥 MÁS GRANDE */
  object-fit: contain;
}

/* TEXTO */
.logo span {
  font-weight: 500;
  font-size: 17px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: #111;
  transition: 0.3s;
}

.nav a:hover {
  color: black;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* HERO (CENTRADO Y EQUILIBRADO) */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 60px;
  gap: 80px;
  max-width: 1200px;
  margin: auto;
}

.hero-text {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* 🔥 controla TODO el espacio */
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* 🔥 COLOR PREMIUM */
.hero h1 span {
  color: #5aa2e0;
}

.hero p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* BOTÓN */
.btn {
  padding: 12px 25px;
  border: 1px solid #111;
  border-radius: 30px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  transition: 0.3s;
}

.btn:hover {
  background: #111;
  color: white;
}

/* 🔥 IMAGEN ADAPTABLE (SIN FORZAR) */
.hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 350px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* BADGE */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
}

/* STEPS */
.steps-section {
  padding: 30px 60px 50px;
  background: white;
}

.steps-section h2 {
  font-size: 35px;
}

.subtitle {
  color: #666;
  margin-top: 5px;
  font-size: 16px;
}

.steps {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.step {
  flex: 1;
}

.step h4 {
  font-size: 15px;
  margin-bottom: 5px;
}

.step p {
  font-size: 16px;
  color: #555;
}

/* FOOTER */
.footer {
  position: relative;
  text-align: center;
  padding: 25px 20px;
  background: #111;
  color: white;
  font-size: 14px;
}

/* LOGO DESARROLLADOR */
.boton-creador {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  cursor: pointer;
}

/* CONTENEDOR LOGO */
.logo-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* IMAGEN */
.logo-container img {
  width: 70%;
  height: auto;
}

/* HOVER */
.boton-creador:hover {
  transform: translateY(-50%) scale(1.05);
}

/* MOBILE */
@media (max-width: 768px) {
  .boton-creador {
    position: static;
    transform: none;
    margin: 12px auto 0;
  }
}

/* 📱 MOBILE */
@media (max-width: 768px) {

  .header {
    padding: 15px 20px;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
    border-left: 1px solid #eee;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    max-width: 100%;
  }

  .steps {
    flex-direction: column;
  }

  .steps-section {
    padding: 30px 20px;
  }
}

/* ===== DROPDOWN CURSOS ===== */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  color: #000;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-content button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
}

.dropdown-content button:hover {
  background: #f8c4d8;
}

/* SOLO desktop */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .dropdown-content {
    display: none;
    position: static;
    box-shadow: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}

/* Mobile fix */
.nav.active .dropdown-content {
  display: block;
}

.curso-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.curso-btn:hover {
  background: #f8c4d8;
}

/* CURSOS */
#cursos {
  display: none;
  background: #f9f9f9;
  padding: 50px 20px;
}

.tree-content {
  display: none;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.tree-content img {
  width: 100%;
  border-radius: 12px;
}

/* OPINION */
#opinion-section {
  display: none;
  background: #111;
  padding: 50px 20px;
  color: white;
}

.opinion-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.opinion-container h2 {
  color: #ffb6c1;
  margin-bottom: 20px;
}

.opinion-container p {
  margin-bottom: 15px;
  color: #ddd;
}

/* CHECKBOX */
.checkbox {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  justify-content: center;
}

/* FORM */
.form-opinion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-opinion input,
.form-opinion textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: white;
}

.form-opinion textarea {
  min-height: 100px;
}

/* BOTON */
.btn-opinion {
  padding: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff79a8, #ff4081);
  color: white;
  border: none;
  opacity: 0.5;
  pointer-events: none;
}

/* PAGOS */
.pago-title {
  margin-top: 40px;
  color: #ffb6c1;
}

.pago-box {
  background: #2a2a2a;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
}

.paypal {
  width: 140px;
  margin: 20px 0;
}

/* ===== PAQUETES ===== */

.paquetes {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.paquete-card {
  background: linear-gradient(135deg, #f8a5c2, #f78fb3);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  text-align: left;
  color: #000;

  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;

  transition: 0.3s;
}

/* 🔥 efecto hover (opcional pero recomendado) */
.paquete-card:hover {
  transform: translateY(-5px);
}

/* TITULO */
.paquete-card h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

/* LISTA */
.paquete-card ul {
  list-style: none;
  padding: 0;
}

/* ITEMS */
.paquete-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.4); /* 🔥 línea suave */
  font-weight: 500;
}

/* PRECIO */
.precio {
  text-align: center;
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #111;
}
.about-doctora {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.about-doctora h2 {
  font-size: 20px;
  margin-bottom: 5px;
}

.about-doctora p {
  color: #666;
  font-size: 14px;
}

/* BOTONES CURSOS */
.curso-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.curso-btn {
  background: #fff;
  color: #000;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ddd;
  transition: 0.25s;
}

.curso-btn:hover {
  background: #f8c4d8;
}

.curso-btn.secondary {
  background: #111;
  color: #fff;
}

.curso-btn.secondary:hover {
  background: #333;
}

/* ANIMACIÓN ENTRADA */
.fade-slide {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== LOGO FLOTANTE PREMIUM ===== */

.logo img {
  height: 100px;            /* más grande */
  object-fit: contain;
  position: relative;
  top: 10px;               /* 🔥 baja el logo */
  z-index: 10;
}

/* Ajuste del header */
.header {
  height: 80px;
  align-items: center;
  overflow: visible;       /* permite que el logo salga */
}

/* Para que no se corte visualmente */
.hero {
  margin-top: 10px;
}

.btn {
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 40px;
  font-weight: 600;

    margin-top: 30px; /* 🔥 ESTO AGREGA ESPACIO */
}

.paypal-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff79a8, #ff4081); /* 🔥 tu paleta */
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.paypal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* BOTON PREMIUM */
.btn-premium {
  margin-top: 15px;
  padding: 14px 26px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* MODAL VIDEO */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

/* CONTENIDO */
.video-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

.video-content video {
  width: 100%;
  height: auto;
  display: block;
}

/* BOTON CERRAR */
/* 🔥 BOTÓN X SIEMPRE ARRIBA */
.close-video {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
}

.video-content video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.close-video:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

.nancy-quick-buttons button{
border:none;
background:#f4f6ff;
padding:8px 12px;
border-radius:20px;
cursor:pointer;
font-size:12px;

transition:.25s;
display:flex;
align-items:center;
gap:6px;
}

.nancy-quick-buttons button:hover{
background:linear-gradient(135deg,#5b7cff,#7f9cff);
color:white;
transform:translateY(-2px) scale(1.05);
box-shadow:0 8px 20px rgba(91,124,255,0.35);
}

/* ===== AVATAR ENTRADA PREMIUM ===== */

@keyframes avatarEntryPremium{
0%{
opacity:0;
transform:translateY(100px) scale(0.7);
}
60%{
transform:translateY(-10px) scale(1.05);
}
100%{
opacity:1;
transform:translateY(0) scale(1);
}
}

@keyframes avatarFloat{
0%{transform:translateY(0)}
50%{transform:translateY(-10px)}
100%{transform:translateY(0)}
}

#nancy-avatar{
animation:
avatarEntryPremium 0.8s cubic-bezier(.2,.8,.2,1),
avatarFloat 4s ease-in-out infinite 1s;

animation-fill-mode:backwards;
animation-delay:0.4s;
}


.video-content {
  position: relative; /* 🔥 CLAVE */
}

.close-video::after {
  content: "Cerrar";
  position: absolute;
  top: 45px;
  font-size: 12px;
  color: #fff;
  opacity: 0.8;
}

/* ANIMACION */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

