/* General */
body {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  color: #333;
}

/* Contenedor general */
.wrapper {
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden; /* evita scroll lateral */
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
}

/* Logo */
.logo img {
  height: 52px;
}

/* Ajuste responsive del logo */
@media (max-width: 1024px) {
  .logo {
    padding: 10px 20px;
  }

  .logo img {
    height: 40px;   /* más pequeño en tablet */
  }
}

@media (max-width: 600px) {
  .logo {
    padding: 8px 15px;
  }

  .logo img {
    height: 32px;   /* más pequeño en móvil */
  }
}


/* Navegación escritorio */
nav {
  background: #83cccc;
  padding: 10px 40px;
  border-radius: 20px;
  margin-right: 100px;
  max-width: 1920px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 80px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-54%);
  color: #fff;
  font-weight: 300;
  font-size: 39px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
  font-size: 22px;
}

nav ul li a:hover {
  color: #e0e0e0;
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 15px 30px;
  user-select: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    border-radius: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    background: rgba(131, 204, 204, 0.8); /* 0.8 = 80% opacidad */

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav ul li:not(:last-child)::after {
    content: none; /* Se quitan los separadores en móviles */
  }

  .menu-toggle {
    display: block;
  }

  nav.active {
    display: flex;
  }
}


/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
}

/* Ajuste del texto destacado */
.texto-destacado {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-image: url("images/pleca-banner-principal.png"); /* 🔹 renombrar archivo */
  background-size: cover;
  background-position: center;
  padding: 65px;
  border-radius: 20px;
  color: #fff;
  max-width: 550px;
  margin-left: 38%;
}

.texto-destacado h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.texto-destacado p {
  font-size: 2rem;
  margin: 0;
  text-align: center;
}

/* Texto destacado */
.texto-destacado {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-image: url("images/pleca-banner-principal.png");
  background-size: cover;
  background-position: center;
  padding: 65px;
  border-radius: 20px;
  color: #fff;
  max-width: 550px;
  margin-left: 38%;
  text-align: center;
}

.texto-destacado h1 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.texto-destacado p {
  font-size: 2rem;
  margin: 0;
}

/* 🔹 Tablet (hasta 1024px) */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }

  .hero-bg {
    content: url("images/hero-tablet.jpg");
  }

  .texto-destacado {
    padding: 40px;
    max-width: 400px;
    margin-left: 20%;
  }

  .texto-destacado h1 {
    font-size: 2rem;
  }

  .texto-destacado p {
    font-size: 1.5rem;
  }
}

/* 🔹 Móvil (hasta 768px) */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .hero-bg {
    content: url("images/hero-mobile.jpg");
  }

  .texto-destacado {
    padding: 3px;
    max-width: 90%;
    margin-left: 0;
    left: 50%;
    transform: translate(-50%, -30%);
  }

  .texto-destacado h1 {
    font-size: 1.6rem;
  }

  .texto-destacado p {
    font-size: 1.2rem;
  }
}


/* SECCION_1 */
.doctor-section {
  background: #fff;
  color: #333;
  padding: 0;
}

.doctor-top-line {
  height: 12px;
  background-color: #83cccc;
  width: 100%;
}

.doctor-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 20px;
}

.doctor-text h2 {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4;
}

.highlight-pink {
  color: #dd887a;
  font-weight: 600;
}

.highlight-teal {
  color: #83cccc;
  font-weight: 600;
}

.bold {
  font-weight: 600;
}

.doctor-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.doctor-image img {
  max-height: 450px;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .doctor-container {
    grid-template-columns: 1fr; /* una sola columna */
    gap: 30px;
    padding: 40px 20px;
    text-align: center;
  }

  .doctor-text h2 {
    font-size: 22px;
  }

  .doctor-box {
    font-size: 1.1rem;
  }

  .doctor-image img {
    max-height: 380px;
  }
}

/* Móviles (≤ 768px) */
@media (max-width: 768px) {
  .doctor-container {
    grid-template-columns: 1fr; /* apilado */
    padding: 30px 15px;
    gap: 20px;
  }

  .doctor-text h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .doctor-box {
    padding: 20px;
    font-size: 1rem;
  }

  .doctor-image img {
    max-height: 300px;
    border-radius: 12px;
  }
}


/* SECCION_2 */
.servicios {
  background-color: #fff4f0;
  padding: 50px 100px;
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
  color: #333;
}

.servicios h2 {
  font-size: 2.5rem;
  color: #83cccc;
  font-weight: bold;
  margin-bottom: 30px;
}

.contenedor {
  position: relative;
  border-radius: 80px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contenedor img {
  width: 100%;
  height: auto;
  display: block;
}

/* Recuadro rosa */
.recuadro {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #dd887a;
  color: white;
  padding: 20px;
  border-radius: 0 0 0 65px;
  max-width: 620px;
  font-size: 30px;
  line-height: 1.5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-align: left;
  font-style: italic;
}

.texto-inferior {
  margin-top: 25px;
  font-size: 28px;
  line-height: 1.6;
  color: #555;
}

.texto-inferior span {
  font-weight: bold;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .servicios {
    padding: 40px 50px;
  }

  .servicios h2 {
    font-size: 2rem;
  }

  .recuadro {
    font-size: 24px;
    padding: 18px;
    max-width: 480px;
    border-radius: 0 0 0 50px;
  }

  .texto-inferior {
    font-size: 22px;
  }
}

/* Móviles (≤ 768px) */
@media (max-width: 768px) {
  .servicios {
    padding: 30px 20px;
  }

  .servicios h2 {
    font-size: 1.8rem;
  }

  .contenedor {
    border-radius: 40px;
  }

  .recuadro {
    position: relative; /* lo saco del absolute */
    top: auto;
    right: auto;
    margin-top: 15px;
    border-radius: 20px;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
  }

  .texto-inferior {
    font-size: 18px;
    line-height: 1.4;
  }
}


/* SECCION_3 */
.ginecologia-section {
  text-align: center;
  background: url("images/FONDO 2.webp") no-repeat center center; /* 🔹 renombrar archivo */
  background-size: cover;
  padding-bottom: 40px;
}

.ginecologia-section .header {
  background-color: #6ec1c4;
  color: #fff;
  padding: 15px;
  font-size: 20px;
  font-weight: 700;
}

.ginecologia-section .services {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.ginecologia-section .service {
  cursor: pointer;
  position: relative;
  width: 200px;
  height: 200px;
  display: inline-block;
  outline: none; /* accesibilidad */
}

.ginecologia-section .service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* Swap instantáneo */
.ginecologia-section .service img.primary { opacity: 1; }
.ginecologia-section .service img.secondary { opacity: 0; }
.ginecologia-section .service:hover img.primary { opacity: 0; }
.ginecologia-section .service:hover img.secondary { opacity: 1; }

/* Contenido dinámico */
.ginecologia-section .content {
  display: none;
  margin: 30px 0 0 150px;
  max-width: 1920px;
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  font-size: 26px;
}

.ginecologia-section .content.active {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row-reverse;
}

.ginecologia-section .content img {
  width: 30%;
  border-radius: 10px;
}

.ginecologia-section .content .description {
  width: 60%;
}

.description p {
  color:#555;
}

.ginecologia-section .content .description h2 {
  margin: 0 0 10px;
  color: #6ec1c4;
}

.btn-vermas {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  background-color: #83cccc;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-vermas:hover {
  background-color: #00796b;
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .ginecologia-section .service {
    width: 160px;
    height: 160px;
  }

  .ginecologia-section .content {
    margin: 30px auto;
    font-size: 22px;
  }

  .ginecologia-section .content img {
    width: 40%;
  }

  .ginecologia-section .content .description {
    width: 55%;
  }
}

/* Móviles (≤ 768px) */
@media (max-width: 768px) {
  .ginecologia-section .header {
    font-size: 18px;
    padding: 12px;
  }

  .ginecologia-section .service {
    width: 130px;
    height: 130px;
  }

  .ginecologia-section .content.active {
    flex-direction: column; /* apilado */
    text-align: center;
    margin: 20px 0;
  }

  .ginecologia-section .content img {
    width: 80%;
    margin-bottom: 15px;
  }

  .ginecologia-section .content .description {
    width: 100%;
    text-align: center;
  }

  .ginecologia-section .content {
    font-size: 18px;
    padding: 15px;
  }

  .btn-vermas {
    font-size: 16px;
    padding: 8px 14px;
  }
}



/* SECCION_4 */
.ginecologia-accion {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  position: relative;
  text-align: right; /* alinea todo el contenido a la derecha */
}

/* Icono */
.icono-seccion {
  position: absolute;
  top: 0px;
  left: 290px;
  padding: 15px;
  border-radius: 50%;
}
.icono-seccion img {
  width: 150px;
  height: 150px;
}

/* Título */
.titulo-seccion {
  background: #f4baae;
  display: inline-block;
  padding: 20px 80px;
  border-radius: 50px 0 0 50px;
  margin-left: auto;   /* se empuja a la derecha */
}

.titulo-seccion h2 {
  font-size: 40px;
  font-weight: 500;
  margin: 0;
  color: #fff;
}
.titulo-seccion h2 em {
  font-style: italic;
  font-weight: 700;
}

/* Subtítulo */
.subtitulo {
  font-size: 24px;
  color: #666;
  margin-bottom: 40px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.subtitulo em {
  font-weight: 700;
}

/* Reels */
.reels-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.reel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reel-thumb {
  position: relative;
  width: 280px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 36px;
  padding: 20px 28px;
  border-radius: 50%;
  text-decoration: none;
}
.play-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* Redes sociales debajo de cada reel */
.red-social {
  margin-top: 15px;
}
.red-social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  background: #fff;
  border: 2px solid #83cccc;
  padding: 0px 60px 0 0;
  border-radius: 22px 25px 25px 22px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s;
}
.red-social a:hover {
  border: 2px solid #f4baae;
}
.red-social img {
  width: 70px;
  height: 70px;
  transition: all 0.3s ease;
}

/* Hover con cambio de imagen */
.red-social a:hover img[alt="Facebook"] {
  content: url("images/icon-facebook-hover.png");
}

.red-social a:hover img[alt="TikTok"] {
  content: url("images/Reels_TIKTOK-hover.png");
}

.red-social a:hover img[alt="Instagram"] {
  content: url("images/icon-instagram-hover.png");
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .icono-seccion {
    left: 150px; /* mover ícono más cerca */
  }
  .icono-seccion img {
    width: 120px;
    height: 120px;
  }

  .titulo-seccion {
    padding: 15px 50px;
  }
  .titulo-seccion h2 {
    font-size: 32px;
  }

  .subtitulo {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
  }

  .reel-thumb {
    width: 220px;
    height: 400px;
  }
  .red-social img {
    width: 60px;
    height: 60px;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .ginecologia-accion {
    text-align: center; /* centramos todo */
    padding: 40px 15px;
  }

  .icono-seccion {
    position: relative;
    left: 0;
    margin-bottom: 20px;
  }
  .icono-seccion img {
    width: 100px;
    height: 100px;
  }

  .titulo-seccion {
    border-radius: 30px;
    padding: 12px 25px;
    margin: 0 auto 20px auto;
    display: block;
  }
  .titulo-seccion h2 {
    font-size: 26px;
    text-align: center;
  }

  .subtitulo {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
  }

  .reels-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .reel-thumb {
    width: 90%;
    max-width: 280px;
    height: 380px;
  }

  .red-social a {
    font-size: 12px;
    padding: 5px 20px 5px 0;
  }
  .red-social img {
    width: 50px;
    height: 50px;
  }
}



/* SECCION_5 */

/* Fondo */
.testimonios {
  background: url("images/fondo-testimonios.webp") no-repeat center center/cover;
  padding: 80px 20px 60px;
  position: relative;
  color: #666;
  text-align: center;
}

/* Foto doctora flotando */
.foto-doctora {
  position: relative;
  margin-bottom: -38px; /* hace que se meta encima del rectángulo */
  z-index: 2;
}
.foto-doctora img {
  width: 500px;
  height: auto;
 
}

/* Encabezado */
.testimonios-header h2 {
  background: #f4baae;
  color: white;
  display: inline-block;
  padding: 25px 40px 20px;
  border-radius: 12px;
  font-size: 40px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.testimonios-header h2 span {
  display: block;
  font-size: 30px;
  margin-top: 5px;
}

.testimonios-header .descripcion {
  font-size: 20px;
  color: #555;
  margin: 20px 0 30px 0;
}

/* Iconos */
.iconos-plataformas {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
}

.iconos-plataformas img {
  width: 55px;
  height: 55px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.iconos-plataformas img:hover {
  transform: scale(1.2);
}

/* Carruseles */
.carruseles {
  position: relative;
  max-width: 1400px;
  margin: auto;
}

.carrusel {
  display: none;
  overflow: hidden;
}

.carrusel.activo {
  display: block;
}

.carrusel-track {
  display: flex;
  width: max-content;
  animation: slide 12s linear infinite;
  gap: 20px;
}

.opinion img {
  width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Animación de carrusel infinito */
@keyframes slide {
  0% { transform: translateX(0); }
  30% { transform: translateX(0); }
  35% { transform: translateX(-33.33%); }
  65% { transform: translateX(-33.33%); }
  70% { transform: translateX(-66.66%); }
  95% { transform: translateX(-66.66%); }
  100% { transform: translateX(0); }
}

/* =========================
   RESPONSIVE DESIGN SECCION_5
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .foto-doctora img {
    width: 350px;
  }

  .testimonios-header h2 {
    font-size: 32px;
    padding: 20px 30px;
  }
  .testimonios-header h2 span {
    font-size: 24px;
  }
  .testimonios-header .descripcion {
    font-size: 18px;
    margin: 15px 0 25px;
  }

  .iconos-plataformas img {
    width: 45px;
    height: 45px;
  }

  .opinion img {
    width: 350px;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .foto-doctora {
    margin-bottom: -20px;
    text-align: center;
  }
  .foto-doctora img {
    width: 250px;
  }

  .testimonios-header h2 {
    font-size: 24px;
    padding: 15px 25px;
    border-radius: 10px;
  }
  .testimonios-header h2 span {
    font-size: 18px;
  }
  .testimonios-header .descripcion {
    font-size: 14px;
    margin: 10px 0 20px;
  }

  .iconos-plataformas {
    gap: 15px;
  }
  .iconos-plataformas img {
    width: 35px;
    height: 35px;
  }

  .carruseles {
    max-width: 100%;
    overflow: hidden;
  }
  .carrusel-track {
    gap: 12px;
  }
  .opinion img {
    width: 85%;
    max-width: 330px;
  }
}


/* SECCION_6 */

/* Sección Primera Vez */
.primera-vez {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  color: #333;
}

.primera-vez .container {
  max-width: 900px;
  margin: 0 auto;
}

.banner-texto {
  background: url("images/fondo-verde.png") no-repeat center center;
  background-size: contain; /* respeta las proporciones de la imagen */
  display: inline-block;
  padding: 30px 70px;
  border-radius: 12px;
}

.banner-texto h2 {
  margin: 0;
  font-size: 50px;
  font-weight: 700;
  color: #fff;
}

.banner-texto p {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.descripcion {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
}

.descripcion strong {
  font-weight: 700;
}

/* -------------------- */

.consulta {
  font-family: 'Urbanist', sans-serif;
  padding: 20px 20px;
}

.contenedor-consulta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.maya {
  font-size: 100px;
  font-weight: bold;
  margin-right: 10px;
  color: #fff;  /* se mantiene en blanco para resaltar sobre el fondo */
  display: inline-block;
  vertical-align: middle;
}

.bloque {
  position: relative;
  border-radius: 50px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 220px;
  display: flex;
  align-items: right; /* texto abajo */
}

.bloque.grande {
  grid-column: span 2;
  min-height: 250px;
}

/* Texto en escritorio: sin transparencia */
.texto {
  padding: 0px 20px 20px 260px;
  color: #fff;
  background: none;
}

.texto2 {
  padding: 0px 0px 0px 450px;
  color: #fff;
  background: none;
}

.bloque h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bloque p {
  font-size: 20px;
  line-height: 1.5;
}

.nota-final {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.nota-final::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: #53cccc;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ---- FONDOS INDIVIDUALES ---- */
.paso1 { background-image: url("images/Punto 1.webp"); }
.paso2 { background-image: url("images/Punto 2.webp"); }
.paso3 { background-image: url("images/Punto 3.webp"); }
.paso4 { background-image: url("images/Punto 4.webp"); }
.paso5 { background-image: url("images/Punto 5.webp"); }

/* =========================
   RESPONSIVE SECCION_6
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .banner-texto {
    padding: 20px 40px;
    background-size: cover;
  }
  .banner-texto h2 {
    font-size: 36px;
  }
  .banner-texto p {
    font-size: 16px;
  }

  .contenedor-consulta {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bloque.grande {
    grid-column: span 1;
    min-height: 220px;
  }

  .texto, .texto2 {
    background: rgba(83, 204, 204, 0.75); /* transparencia solo en tablet */
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 16px;
  }

  .bloque h3 {
    font-size: 16px;
  }
  .bloque p {
    font-size: 18px;
  }

  /* Cambiar imágenes para tablet */
  .paso1 { background-image: url("images/paso1-tablet.webp"); }
  .paso2 { background-image: url("images/paso2-tablet.webp"); }
  .paso3 { background-image: url("images/paso3-tablet.webp"); }
  .paso4 { background-image: url("images/paso4-tablet.webp"); }
  .paso5 { background-image: url("images/paso5-tablet.webp"); }
}

/* Móvil */
@media (max-width: 768px) {
  .primera-vez {
    padding: 30px 15px;
  }

  .banner-texto {
    padding: 15px 25px;
    border-radius: 10px;
    background-size: cover;
  }
  .banner-texto h2 {
    font-size: 24px;
  }
  .banner-texto p {
    font-size: 14px;
  }

  .descripcion {
    font-size: 15px;
    line-height: 1.4;
  }

  .contenedor-consulta {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .bloque {
    min-height: 180px;
    border-radius: 25px;
  }
  .bloque.grande {
    min-height: 200px;
  }

  .texto,
  .texto2 {
    background: rgba(83, 204, 204, 0.75); /* transparencia solo en móvil */
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    padding: 10px 15px;
    border-radius: 10px;
  }

  .bloque h3 {
    font-size: 14px;
  }
  .bloque p {
    font-size: 16px;
  }

  .nota-final {
    font-size: 14px;
    margin-top: 25px;
  }

  /* Cambiar imágenes para móvil */
  .paso1 { background-image: url("images/paso1-mobile.webp"); }
  .paso2 { background-image: url("images/paso2-mobile.webp"); }
  .paso3 { background-image: url("images/paso3-mobile.webp"); }
  .paso4 { background-image: url("images/paso4-mobile.webp"); }
  .paso5 { background-image: url("images/paso5-mobile.webp"); }
}




/* SECCION_7 */

/* Sección Agenda */
.agenda-section {
  background-color: #f4fbfc; /* color de fondo claro */
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.agenda-container {
  display: flex;
  align-items: center;
  max-width: 1000px;
  gap: 40px;
  flex-wrap: wrap;
}

.agenda-imagen img {
  width: 490px;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.agenda-texto {
  flex: 1;
}

.agenda-texto h2 {
  font-size: 34px;
  color: #666;
  margin-bottom: 20px;
}

.agenda-btn {
  display: inline-block;
  padding: 22px 38px;
  background-color: #53cccc;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px 30px 30px 0px;
  transition: 0.3s;
  font-size: 28px;
}

.agenda-btn:hover {
  background-color: #3bb3b3;
}

/* =========================
   RESPONSIVE SECCION_7
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .agenda-imagen img {
    width: 380px;
  }

  .agenda-texto h2 {
    font-size: 28px;
  }

  .agenda-btn {
    font-size: 22px;
    padding: 18px 30px;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .agenda-container {
    flex-direction: column; /* apila imagen y texto */
    text-align: center;
    gap: 25px;
  }

  .agenda-imagen img {
    width: 100%;
    max-width: 320px;
  }

  .agenda-texto h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .agenda-btn {
    font-size: 18px;
    padding: 14px 26px;
    border-radius: 20px;
  }
}


 /* Contenedor / estilo del botón */
  #whatsapp-float{
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    text-decoration: none;
    background: #25D366; /* verde WhatsApp */
    color: white;
    padding: 12px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-weight: 600;
    transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
    opacity: 1;
  }

  #whatsapp-float:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  }

  /* Imagen personalizada */
  #whatsapp-float .wa-img{
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
  }

  /* Texto del botón (oculto en pantallas muy pequeñas) */
  #whatsapp-float .wa-label{
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  /* En dispositivos pequeños mostrar solo el ícono */
  @media (max-width: 420px){
    #whatsapp-float{
      padding: 10px;
      right: 14px;
      bottom: 14px;
      border-radius: 50%;
      width: 25px;
      height: 25px;
      justify-content: center;
    }
    #whatsapp-float .wa-label{ display: none; }
  }