/* Reset básico para html y body */
html, body {
  margin: 0;              /* quita margen por defecto */
  padding: 0;             /* quita padding por defecto */
  height: 100%;           /* ocupa todo el viewport */
  width: 100%;            /* asegura que el ancho sea completo */
  font-family: Arial, sans-serif;  /* fuente base */
  line-height: 1.5;       /* altura de línea estándar */
  background: #ffffff;    /* fondo blanco */
  color: #000000;         /* color de texto base */
  box-sizing: border-box; /* padding y border no aumentan tamaño */
  overflow-x: hidden;     /* evita scroll horizontal */
}

.nurseImg {
  width: 100%;
  height: 67.33vh;       /* ocupa casi toda la pantalla */
  object-fit: cover;
  display: block;
}

.imgContainer {
  position: relative;
}

.nurseImg {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: block;
}

.imgContainer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 185, 220, 0.4);
}

.imgContainer {
  position: relative;
}

.nurseImg {
  width: 100%;
  height: 68vh;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .nurseImg {
    height: 78vh;
  }
}

/* fondo rosado */
.imgContainer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(106, 254, 244, 0.4);
}

/* eslogan */
.slogan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: white;
  font-size: 2.5em;
  text-align: center;
  z-index: 1;

  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.seccion-confianza {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
  font-family: 'Open Sans Custom', sans-serif;
  color: #333;
}

.seccion-confianza h2 {
  font-family: 'Poppins Custom', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1f2d2b;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

/* Línea rosa pastel debajo */
.seccion-confianza h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: #f8a5c2; /* rosa pastel */
  border-radius: 10px;
  margin-top: 8px;
}

/* Párrafo */
.seccion-confianza p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
  color: #555;
}

/* Negritas */
.seccion-confianza strong {
  color: #2a7f62; /* verde salud */
  font-weight: 600;
}

.testimonios {
  background: linear-gradient(135deg, #f9f9f9, #fdfbf7);
  padding: 80px 20px;
  text-align: center;
}

/* Título elegante */
.testimonios h2 {
  font-family: 'Poppins Custom', sans-serif;
  font-size: 30px;
  margin-bottom: 50px;
  color: #1f2d2b;
  position: relative;
}

/* Línea dorada debajo */
.testimonios h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5e6a8);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

/* Contenedor tipo tarjeta */
.testimonio {
  max-width: 600px;
  margin: 25px auto;
  padding: 25px 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-style: italic;
  color: #444;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover elegante */
.testimonio:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Comillas decorativas */
.testimonio::before {
  content: "“";
  font-size: 50px;
  color: #d4af37;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
}

/* Nombre */
.testimonio span {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #b8962e; /* dorado más elegante */
  font-family: 'Poppins Custom', sans-serif;
}

.testimonios {
  background: linear-gradient(135deg, #f9f9f9, #fdfbf7);
  padding: 80px 20px;
  text-align: center;
  transition: all 0.4s ease;
}

/* Efecto sutil al pasar el mouse en toda la sección */
.testimonios:hover {
  background: linear-gradient(135deg, #f7f5f0, #fdfbf7);
}

/* Título */
.testimonios h2 {
  font-family: 'Poppins Custom', sans-serif;
  font-size: 30px;
  margin-bottom: 50px;
  color: #1f2d2b;
  position: relative;
  transition: all 0.3s ease;
}

/* Línea dorada */
.testimonios h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5e6a8);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hover en título */
.testimonios h2:hover {
  letter-spacing: 1px;
}

.testimonios h2:hover::after {
  width: 100px;
}

/* Tarjetas */
.testimonio {
  max-width: 600px;
  margin: 25px auto;
  padding: 25px 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-style: italic;
  color: #444;
  position: relative;
  transition: all 0.4s ease;
  border-left: 4px solid transparent;
}

/* Hover PRO */
.testimonio:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-left: 4px solid #d4af37;
}

/* Comillas */
.testimonio::before {
  content: "“";
  font-size: 50px;
  color: #d4af37;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
  transition: all 0.3s ease;
}

/* Animación de comillas */
.testimonio:hover::before {
  transform: scale(1.2);
  opacity: 0.6;
}

/* Nombre */
.testimonio span {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #b8962e;
  font-family: 'Poppins Custom', sans-serif;
  transition: all 0.3s ease;
}

/* Hover en nombre */
.testimonio:hover span {
  letter-spacing: 0.5px;
  color: #d4af37;
}

/* 1. Estado inicial: oculto pero con espacio reservado */
.seccion-confianza, .testimonios, .testimonio {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden; /* Evita clics en elementos invisibles */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, visibility 0.8s;
}

/* 2. Clase que activa el scroll */
.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* 3. El H2 y P específicos de la sección confianza */
.seccion-confianza h2, .seccion-confianza p {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.seccion-confianza.reveal-visible h2, 
.seccion-confianza.reveal-visible p {
    opacity: 1;
    transform: translateX(0);
}

.seccion-confianza.reveal-visible p {
    transition-delay: 0.2s;
}

.proceso {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}

/* Título */
.proceso h2 {
  font-family: 'Poppins Custom', sans-serif;
  font-size: 30px;
  margin-bottom: 50px;
  color: #1f2d2b;
  position: relative;
}

/* Línea decorativa */
.proceso h2::after {
  content: '';
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5e6a8);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

/* Contenedor de pasos */
.proceso div {
  position: relative;
  background: #ffffff;
  margin: 15px auto;
  padding: 20px 25px;
  max-width: 500px;
  border-radius: 12px;
  font-size: 16px;
  color: #444;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  text-align: left;
  padding-left: 70px;
}

/* Número circular */
.proceso div::before {
  content: attr(data-step);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #d4af37, #f5e6a8);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins Custom', sans-serif;
}

/* Hover elegante */
.proceso div:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* Línea vertical (timeline) */
.proceso div::after {
  content: '';
  position: absolute;
  left: 37px;
  top: 100%;
  width: 3px;
  height: 20px;
}

/* Quitar línea del último */
.proceso div:last-child::after {
  display: none;
}

.diferencial {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  position: relative;
}

/* Título */
.diferencial h2 {
  font-family: 'Poppins Custom', sans-serif;
  font-size: 30px;
  color: #1f2d2b;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Línea dorada */
.diferencial h2::after {
  content: '';
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5e6a8);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hover título */
.diferencial h2:hover {
  letter-spacing: 1px;
}

.diferencial h2:hover::after {
  width: 90px;
}

/* Texto */
.diferencial p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  transition: all 0.3s ease;
}

/* Palabras destacadas si usas <strong> */
.diferencial strong {
  color: #d4af37;
  font-weight: 600;
}

/* Hover en texto */
.diferencial:hover p {
  color: #333;
}

/* EFECTO CARD SUAVE */
.diferencial {
  border-radius: 20px;
  max-width: 900px;
  margin: 60px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
}

.diferencial:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* 📱 MOBILE FIRST AJUSTES GENERALES */
body {
  font-size: 14px;
}

/* 🖼️ HERO / IMAGEN */
.nurseImg {
  height: 60vh;
}

@media (min-width: 768px) {
  .nurseImg {
    height: 70vh;
  }
}

@media (min-width: 1024px) {
  .nurseImg {
    height: 80vh;
  }
}

/* ✨ SLOGAN RESPONSIVE */
.slogan {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  padding: 0 15px;
}

/* 📦 SECCIONES GENERALES */
.seccion-confianza,
.testimonios,
.proceso,
.diferencial {
  padding: 60px 15px;
}

/* 📊 TEXTO RESPONSIVE */
.seccion-confianza p,
.testimonio,
.diferencial p {
  font-size: clamp(14px, 2.5vw, 18px);
}

/* 🏷️ TITULOS RESPONSIVE */
h2 {
  font-size: clamp(22px, 4vw, 32px);
}

/* 💳 TESTIMONIOS RESPONSIVE */
.testimonio {
  width: 90%;
  padding: 20px;
}

/* 📍 PROCESO RESPONSIVE */
.proceso div {
  width: 90%;
  padding-left: 60px;
  font-size: 14px;
}

/* Ajuste números */
.proceso div::before {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

/* 📱 MOBILE EXTRA */
@media (max-width: 480px) {

  .slogan {
    font-size: 1.3rem;
  }

  .proceso div {
    padding-left: 55px;
  }

  .testimonio {
    padding: 15px;
  }

}

/* 📱 TABLET */
@media (min-width: 768px) {

  body {
    font-size: 15px;
  }

  .seccion-confianza {
    padding: 70px 30px;
  }

  .testimonio {
    max-width: 500px;
  }

}

/* 💻 DESKTOP */
@media (min-width: 1024px) {

  body {
    font-size: 16px;
  }

  .seccion-confianza,
  .testimonios,
  .proceso,
  .diferencial {
    padding: 80px 20px;
  }

  .testimonio {
    max-width: 600px;
  }

}

/* 🧠 MEJORA GLOBAL */
img {
  max-width: 100%;
  height: auto;
}

/* 💎 CENTRADO INTELIGENTE */
.seccion-confianza,
.proceso,
.diferencial {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Quitar fondo de los pasos del proceso */
.proceso div {
  background: none !important;
  box-shadow: none; /* opcional, si también quieres quitar sombra */
}

/* Quitar fondo de la sección de testimonios */
#testimonio .testimonios {
  background: none !important;
}