/* ====== ESTILOS GENERALES ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #444;
  max-width: 1920px;
  margin: 0 auto; /* centra el contenido */
  overflow-x: hidden; /* evita scroll horizontal si algo se sale */
}

/* ====== HEADER ====== */
.header {
  width: 100%;
  background-color: #b87fa1; /* color base superior */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  position: fixed;        /* 🔹 Fijar en pantalla */
  top: 0;                 /* 🔹 Siempre arriba */
  left: 0;
  z-index: 1000;          /* 🔹 Encima de todo */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 🔹 Sombra sutil */
}

/* Evita que el contenido quede oculto debajo del header */
body {
  padding-top: 80px; /* Ajusta según la altura real del header */
}

.logo img {
  height: 45px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.8;
}

/* ====== MENÚ HAMBURGUESA ====== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 6%;
    background-color: #b87fa1;
    width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    text-align: center;
    padding: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mostrar menú activo */
  .nav.active {
    max-height: 400px;
  }

  /* Animación del icono */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}



/* ====== HERO ====== */
.hero {
  position: relative;
  width: 100%;
  height: 712px;
  background: url('images/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0 0 100px 100px;
  transition: all 0.3s ease;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0 150px 150px 0;
  padding: 30px 80px;
  max-width: 1100px;
  margin-left: 0;
  transition: all 0.3s ease;
}

.hero h1 {
  font-size: 5rem;
  color: #C893B1; /* rosa */
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 0.9;
}

.hero h2 {
  font-size: 3rem;
  color: #5e6965; /* gris verdoso */
  font-weight: normal;
}

/* ====== RESPONSIVE DESIGN ====== */

/* Tablets (≤ 1024px) */
@media (max-width: 1024px) {
  .hero {
    height: 600px;
    background-position: center;
  }

  .hero-overlay {
    padding: 25px 60px;
    max-width: 90%;
    border-radius: 0 100px 100px 0;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero h2 {
    font-size: 2.4rem;
  }
}

/* Móviles (≤ 768px) */
@media (max-width: 768px) {
  .hero {
    height: 500px;
    background: url('images/hero-mobile.webp') center/cover no-repeat; /* ✅ imagen móvil */
    justify-content: center;
    border-radius: 0 0 60px 60px;
  }

  .hero-overlay {
    border-radius: 80px;
    padding: 10px;
    max-width: 90%;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
	margin-top: 215px;
	line-height: 0.2;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .hero h2 {
    font-size: 1.2rem;
  }
}

/* Pantallas muy pequeñas (≤ 480px) */
@media (max-width: 480px) {
  .hero {
    height: 420px;
  }

  .hero-overlay {
    padding: 10px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero h2 {
    font-size: 1rem;
  }
}

 





/* SECCIÓN ESPECIALISTA (ajustes mínimos) */
.especialista-section {
  width: 100%;
  max-width: 1920px;
  background-color: #ffffff;
  padding: 50px 0 0 0;
  display: flex;
  justify-content: center;
  color: #4a4a4a;
}

.especialista-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 120px;
  max-width: 1600px;
  width: 100%;
  padding: 50px 40px;
}

/* Columna izquierda: título + imagen */
.especialista-izquierda {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.titulo-especialista {
  font-size: 2rem;
  font-weight: 400;
  color: #1b3342;
  text-align: left;
  position: relative;
  display: inline-block;
  line-height: 1.3;
}

.titulo-especialista span {
  color: #7E8681;
  font-weight: 700;
}

.titulo-especialista .subtitulo {
  font-weight: 400;
  color: #7E8681;
}

.linea-decorativa {
  display: inline-block;
  vertical-align: middle;
  width: 60px;
  height: 3px;
  background-color: #953478;
  margin: 0 8px;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.titulo-especialista:hover .linea-decorativa {
  width: 100px;
}

/* Imagen principal */
.especialista-imagen img {
  width: 600px;
  border-radius: 0px 100px 100px 0;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: block;
  overflow: visible;
}

/* Columna derecha */
.especialista-texto {
  max-width: 600px;
}

.especialista-descripcion {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.especialista-botones {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.especialista-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-weight: 600;
  color: #a65c84;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 500px;
  overflow: visible;
}

.especialista-item .icono {
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  overflow: visible;
}

.especialista-item img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  margin: 0;
  transition: transform 0.3s ease;
}

.especialista-item:hover {
  background-color: #953478;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.especialista-final {
  margin-top: 40px;
  background: #fff;
  border-radius: 50px;
  padding: 14px 28px;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.08);
}

.especialista-final p {
  font-size: 15px;
  color: #555;
  text-align: center;
  line-height: 1.6;
}

/* Animación suave al cambiar imagen principal */
.especialista-imagen img {
  transition: opacity 0.4s ease-in-out;
}

/* Estado activo */
.especialista-item.activo {
  background-color: #953478;
  color: #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transform: scale(1.02);
}

/* ===================== */
/* 🌐 RESPONSIVE DESIGN  */
/* ===================== */

/* TABLET: ≤1024px */
@media (max-width: 1024px) {
  .especialista-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 40px 30px;
  }

  .especialista-izquierda {
    align-items: center;
    text-align: center;
  }

  .titulo-especialista {
    font-size: 1.8rem;
    text-align: center;
  }

  .especialista-imagen img {
    width: 80%;
    border-radius: 50px;
  }

  .especialista-texto {
    max-width: 90%;
    text-align: center;
  }

  .especialista-botones {
    align-items: center;
  }

  .especialista-item {
    width: 100%;
    max-width: 400px;
  }
}

/* MÓVIL GRANDE: ≤768px */
@media (max-width: 768px) {
  .especialista-section {
    padding: 30px 0;
  }

  .especialista-container {
    padding: 20px;
    gap: 40px;
  }

  .titulo-especialista {
    font-size: 1.6rem;
  }

  .especialista-imagen img {
    width: 100%;
    border-radius: 40px;
  }

  .especialista-descripcion {
    font-size: 15px;
  }

  .especialista-item {
    flex-direction: row;
    gap: 15px;
    border-radius: 40px;
    padding: 10px 20px;
  }

  .especialista-item .icono {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
  }

  .especialista-item img {
    width: 70px;
    height: 70px;
  }

  .especialista-final p {
    font-size: 14px;
  }
}

/* MÓVIL PEQUEÑO: ≤480px */
@media (max-width: 480px) {
  .titulo-especialista {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .especialista-imagen img {
    width: 100%;
    border-radius: 30px;
  }

  .especialista-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 100%;
    padding: 15px 10px;
  }

  .especialista-item .icono {
    width: 60px;
    height: 60px;
  }

  .especialista-item img {
    width: 60px;
    height: 60px;
  }

  .especialista-descripcion {
    font-size: 14px;
    text-align: center;
  }

  .especialista-final {
    padding: 12px 20px;
  }

  .especialista-final p {
    font-size: 13px;
  }
}





/* ===============================
   SECCIÓN UROGINECOLOGÍA
   =============================== */
.uroginecologia-section {
  background: #faf7f8;
  text-align: center;
}

.container-uroginecologia {
  max-width: 1920px;
  margin: 0 auto;
}

/* ---------- TÍTULO ---------- */
.uroginecologia-section h2 {
  background-color: #C893B1;
  color: #ffffff;
  font-size: 3.5rem;
  padding: 20px;
  line-height: 0.8;
}

.uroginecologia-section span {
  font-weight: normal;
  font-size: 2rem;
}

/* ---------- INTRO ---------- */
.intro {
  max-width: 820px;
  margin: 0 auto 28px;
  color: #5a5a5a;
  line-height: 1.6;
}

/* ---------- SVG DESKTOP ---------- */
.svg-wrap {
  width: 420px;
  max-width: 100%;
  margin: 135px auto;
  position: relative;
  transform: scale(1.5);
  transform-origin: center;
}

.seg {
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.seg:hover {
  transform: scale(1);
}

.hover-image {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 2;
}

.text-central {
  transition: opacity 0.5s ease;
}

.hidden-text {
  opacity: 0;
}

/* ---------- ETIQUETAS ---------- */
.labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.label {
  position: absolute;
  width: 160px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
}

.label.top { left: 50%; top: 10%; transform: translateX(-50%); }
.label.right { right: -5%; top: 50%; transform: translateY(-50%); }
.label.bottom { left: 50%; bottom: 10%; transform: translateX(-50%); }
.label.left { left: -5%; top: 50%; transform: translateY(-50%); }

/* ---------- SLIDER RESPONSIVE ---------- */
.slider-wrap {
  display: none;
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  overflow: hidden;
  border-radius: 20px;
}

.slider {
  position: relative;
  width: 100%;
  height: 300px;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slide p {
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* ---------- TEXTO FINAL ---------- */
.fin {
  max-width: 880px;
  margin: 0 auto;
  color: #5c5c5c;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-bottom: 30px;
}

.fin strong {
  color: #b97fa8;
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .svg-wrap {
    display: none;
  }
  .slider-wrap {
    display: block;
  }
  .uroginecologia-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .uroginecologia-section h2 {
    font-size: 1.3rem;
    padding: 20px;
  }
  .uroginecologia-section span {
    font-size: 1.2rem;
  }
  .slider {
    height: 240px;
  }
  .slide p {
    font-size: 0.9rem;
  }
}


/* SECCIÓN PRINCIPALES PADECIMIENTOS 5 */
.padecimientos-section5 {
  background-color: #f4ebf0;
  padding: 0px 20px;
  display: flex;
  justify-content: center;
  color: #4a4a4a;
}

.padecimientos-container5 {
  max-width: 1200px;
  text-align: center;
  position: relative;
  overflow: visible;
  padding-bottom: 60px;
}

/* ===== TÍTULOS ===== */
.padecimientos-section5 h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #5a5a5a;
  margin-bottom: 6px;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.padecimientos-section5 h3 {
  font-size: 1.1rem;
  color: #7a7a7a;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.padecimientos-section5 h3 span {
  color: #953478;
}

/* ===== TEXTO INTRODUCTORIO ===== */
.intro5 {
  max-width: 850px;
  margin: 0 auto 50px;
  font-size: 1rem;
  line-height: 1.6;
  color: #777;
  position: relative;
  z-index: 2;
}

/* ===== GRID ===== */
.padecimientos-grid5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ===== TARJETA ===== */
.padecimiento-card5 {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  transition: transform 260ms ease;
}

.padecimiento-card5:hover {
  transform: translateY(-6px);
}

/* Parte superior */
.card-top5 {
  background-color: #b97fa8;
  width: 85%;
  height: 90px;
  border-top-left-radius: 180px;
  border-top-right-radius: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 75px;
  position: relative;
  overflow: hidden;
  transition: background-color 400ms ease, box-shadow 400ms ease;
}

/* Borde blanco curvo animado */
.card-top5::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top-left-radius: 180px;
  border-top-right-radius: 180px;
  border: 8px solid white;
  border-bottom: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  mask-image: linear-gradient(to left, transparent 50%, white 50%);
  mask-size: 200% 100%;
  mask-position: right;
  transition: mask-position 1.2s ease;
  pointer-events: none;
}

/* Hover */
.padecimiento-card5:hover .card-top5 {
  background-color: #E7ACAE;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.padecimiento-card5:hover .card-top5::before {
  mask-position: left;
}

/* Icono */
.card-top5 img {
  width: 100px;
  height: 100px;
  filter: brightness(0) invert(1);
  z-index: 2;
  position: relative;
  margin-top: 10px;
}

/* Parte inferior */
.card-bottom5 {
  background-color: #fff;
  width: 85%;
  padding: 25px 25px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  height: 175px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.card-bottom5 h4 {
  color: #4a4a4a;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-bottom5 p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== NOTA FINAL ===== */
.nota-final5 {
  max-width: 900px;
  margin: 60px auto 0;
  font-size: 1rem;
  color: #555;
  padding-bottom: 30px;
  position: relative;
  z-index: 2;
}

.nota-final5 strong {
  color: #000;
  font-weight: 700;
}

/* ========================================================= */
/* ================== RESPONSIVIDAD ========================= */
/* ========================================================= */

/* === Tablets (entre 768px y 1024px) === */
@media (max-width: 1024px) {
  .padecimientos-grid5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .padecimientos-section5 h2 {
    font-size: 2rem;
  }

  .padecimientos-section5 h3 {
    font-size: 1rem;
  }

  .intro5 {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .card-top5 img {
    width: 85px;
    height: 85px;
  }

  .card-bottom5 {
    height: auto;
    padding: 20px;
  }
}

/* === Móviles (hasta 767px) === */
@media (max-width: 767px) {
  .padecimientos-section5 {
    padding: 30px 15px;
  }

  .padecimientos-grid5 {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .padecimientos-section5 h2 {
    font-size: 1.8rem;
    margin-bottom: 4px;
  }

  .padecimientos-section5 h3 {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .intro5 {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 35px;
  }

  .padecimiento-card5 {
    max-width: 300px;
  }

  .card-top5 {
    width: 90%;
    height: 80px;
    padding: 70px;
  }

  .card-top5 img {
    width: 75px;
    height: 75px;
  }

  .card-bottom5 {
    width: 90%;
    padding: 20px;
    height: auto;
  }

  .card-bottom5 h4 {
    font-size: 0.95rem;
  }

  .card-bottom5 p {
    font-size: 0.9rem;
  }

  .nota-final5 {
    font-size: 0.9rem;
    padding: 0 10px 25px;
  }
}





/* ===== SECCIÓN CIRUGÍA DE PISO PÉLVICO ===== */
.cirugia-piso-pelvico {
  background: linear-gradient(to bottom, #fff, #f9f5fa);
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
  color: #4b4b4b;
}

.cirugia-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 40px;
}

.cirugia-texto {
  flex: 1 1 500px;
}

.cirugia-texto h2 {
  font-size: 3rem;
  color: #902a7a;
  font-weight: 700;
  margin-bottom: 0.2em;
}

.cirugia-texto h3 {
  font-size: 1.3rem;
  color: #902a7a;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 1.2em;
}

.cirugia-texto .descripcion {
  font-size: 1rem;
  margin-bottom: 1em;
  line-height: 1.6;
}

.cirugia-texto strong {
  color: #3d3d3d;
}

.cirugia-texto em {
  color: #555;
}

.cirugia-texto h4 {
  font-weight: 700;
  color: #555;
  margin: 30px 0 15px;
  font-size: 1.1rem;
}

.lista-procedimientos {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.lista-procedimientos li {
  background: #fff;
  border-radius: 40px;
  padding: 12px 20px;
  margin-bottom: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lista-procedimientos li:hover {
  background: linear-gradient(to right, #8c2978, #d97fae);
  color: #fff;
}

.lista-procedimientos li.activo {
  background: linear-gradient(to right, #8c2978, #d97fae);
  color: #fff;
  border-color: #8c2978;
}

.compromiso {
  font-size: 1rem;
  text-align: center;
  color: #902a7a;
  font-weight: 500;
}

/* ===== IMAGEN ===== */
.cirugia-imagen {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cirugia-imagen img {
  width: 100%;
  max-width: 480px;
  border-radius: 160px 0 0 160px;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;
}

/* ========================================================= */
/* ================== RESPONSIVIDAD ========================= */
/* ========================================================= */

/* === Tablets (entre 768px y 1024px) === */
@media (max-width: 1024px) {
  .cirugia-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .cirugia-texto h2 {
    font-size: 2.4rem;
  }

  .cirugia-texto h3 {
    font-size: 1.1rem;
  }

  .cirugia-texto .descripcion {
    font-size: 0.95rem;
  }

  .lista-procedimientos li {
    font-size: 0.95rem;
    padding: 10px 18px;
  }

  .cirugia-imagen {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .cirugia-imagen img {
    max-width: 420px;
    border-radius: 140px;
    margin: 0 auto;
  }
}

/* === Móviles (hasta 767px) === */
@media (max-width: 767px) {
  .cirugia-piso-pelvico {
    padding: 60px 15px;
  }

  .cirugia-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .cirugia-texto {
    flex: 1 1 100%;
  }

  .cirugia-texto h2 {
    font-size: 2rem;
    margin-bottom: 0.3em;
  }

  .cirugia-texto h3 {
    font-size: 1rem;
    margin-bottom: 1em;
  }

  .cirugia-texto .descripcion {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5em;
  }

  .cirugia-texto h4 {
    font-size: 1rem;
    margin: 25px 0 10px;
  }

  .lista-procedimientos {
    margin-bottom: 30px;
  }

  .lista-procedimientos li {
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 30px;
  }

  .compromiso {
    font-size: 0.9rem;
  }

  .cirugia-imagen {
    width: 100%;
    margin: -130px;
    padding: 0;
  }

  .cirugia-imagen img {
    width: 100%;
    max-width: 360px;
    border-radius: 80px;
    margin: 0 auto;
    display: block;
  }
}



/* ======== ESTILOS BASE ======== */
.gine-section {
  background-color: #f4ebf0;
  color: #555;
  text-align: center;
  padding: 60px 20px;
  font-family: "Poppins", Arial, sans-serif;
}

.gine-section h2 {
  color: #d67ca8;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: -40px;
}

.gine-section h1 {
  color: #b14c8a;
  font-size: 50px;
  margin-bottom: 20px;
}

.gine-section .intro {
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ======== CÍRCULOS ======== */
.circle-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.circle-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.5s ease;
  position: relative;
  margin-bottom: 12px;
  background: #fff;
}

.circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay */
.circle:not(.active)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.circle:not(.active):hover::after {
  opacity: 0.4;
}

/* Estados */
.circle.active {
  transform: scale(1.15);
  z-index: 10;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.circle.inactive {
  opacity: 0.5;
}

/* ======== TÍTULO DE CADA CÍRCULO ======== */
.circle-title {
  font-weight: 500;
  color: #555;
  font-size: 15px;
  max-width: 200px;
  margin: 0 auto;
  transition: color 0.3s ease;
  padding-top: 45px;
}

.circle-item.active .circle-title {
  color: #b14c8a;
  font-weight: 600;
}

/* ======== SECCIÓN FINAL ======== */
.closing {
  margin-top: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 0.5;
}

.closing strong {
  color: #3C3C3C;
}

/* ========================================================= */
/* ================== RESPONSIVIDAD ========================= */
/* ========================================================= */

/* === Tablets (entre 768px y 1024px) === */
@media (max-width: 1024px) {
  .gine-section {
    padding: 50px 15px;
  }

  .gine-section h1 {
    font-size: 38px;
  }

  .gine-section h2 {
    font-size: 18px;
    margin-bottom: -25px;
  }

  .circle-container {
    gap: 30px;
  }

  .circle {
    width: 240px;
    height: 240px;
  }

  .circle-title {
    font-size: 14px;
    padding-top: 30px;
  }
}

/* === Móviles (hasta 767px) === */
@media (max-width: 767px) {
  .gine-section {
    padding: 40px 15px;
  }

  .gine-section h2 {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: -15px;
  }

  .gine-section h1 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .gine-section .intro {
    font-size: 0.9rem;
    margin-bottom: 35px;
    padding: 0 10px;
  }

  .circle-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .circle {
    width: 220px;
    height: 220px;
    margin-bottom: 10px;
    transform: none !important; /* Evita que el zoom corte el contenedor */
  }

  .circle.active {
    transform: scale(1.05);
  }

  .circle-title {
    font-size: 13.5px;
    padding-top: 20px;
    max-width: 180px;
  }

  .closing {
    margin-top: 40px;
    font-size: 0.9rem;
    padding: 0 10px;
  }
}

  
/* ==== SECCIÓN PRINCIPAL ==== */
.cita-section2 {
  position: relative;
  background: #f4ebf0;
  padding: 0 20px 60px;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

/* ==== FONDO INFERIOR CON CURVA ==== */
.cita-fondo2 {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 65%;
  background: linear-gradient(to bottom, #f9d8df, #fbeaed);
  border-top-left-radius: 300px;
  border-top-right-radius: 300px;
  z-index: 0;
  transition: all 0.4s ease;
}

/* ==== CONTENEDOR DE CONTENIDO ==== */
.cita-container2 {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 0px;
}

/* ==== COLUMNA DE TEXTO ==== */
.cita-info2 {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

/* ==== BOTÓN PRINCIPAL ==== */
.cita-btn2 {
  display: inline-block;
  background-color: #C893B1;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 100px;
}

.cita-btn2:hover {
  background-color: #a06989;
  transform: translateY(-3px);
}

/* ==== TEXTO DE WHATSAPP ==== */
.cita-whatsapp2 {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index:-1;
}

.whatsapp-icon2 {
  width: 60px;
  height: 60px;
}

.cita-whatsapp2 p {
  color: #6a4861;
  font-size: 15px;
  line-height: 1.4;
}

.cita-whatsapp2 em {
  font-style: italic;
}

/* ==== IMAGEN DE LA DOCTORA ==== */
.cita-imagen2 {
  flex: 1;
  text-align: center;
  position: relative;
}

.cita-imagen2 img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 2;
  position: relative;
  display: block;
  margin: 0 auto;
}

/* ========================================================= */
/* ================== RESPONSIVIDAD ========================= */
/* ========================================================= */

/* === Tablets (hasta 1024px) === */
@media (max-width: 1024px) {
  .cita-container2 {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 60px;
  }

  .cita-info2 {
    margin-top: -25px;
  }

  .cita-btn2 {
    margin-top: 60px;
  }

  .cita-imagen2 img {
    width: 340px;
  }

  /* Fondo lineal (sin curva) */
  .cita-fondo2 {
    height: 100%;
    border-radius: 0;
    background: linear-gradient(to bottom, #f9d8df, #fbeaed);
  }
}

/* === Móviles (hasta 767px) === */
@media (max-width: 767px) {
  .cita-section2 {
    padding: 0 15px 40px;
  }

  .cita-container2 {
    flex-direction: column-reverse;
    gap: 0;
    padding-top: 10px;
  }

  .cita-imagen2 img {
    width: 260px;
  }

  .cita-btn2 {
    margin-top: 40px;
    padding: 14px 32px;
    font-size: 15px;
  }

  .cita-whatsapp2 {
    flex-direction: column;
    gap: 8px;
  }

  .whatsapp-icon2 {
    width: 50px;
    height: 50px;
  }

  .cita-whatsapp2 p {
    font-size: 14px;
  }

  /* Fondo completamente lineal sin curva */
  .cita-fondo2 {
    height: 90%;
    border-radius: 0;
    background: linear-gradient(to bottom, #f9d8df, #fbeaed);
  }
}
