/* ====== ESTILOS GENERALES ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', 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: #FDF1F1; /* color base superior */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 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: 60px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: #774A52;
  font-weight: 400;
  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: #774A52;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 70px;
    right: 6%;
    background-color: #FDF1F1;
    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 Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  bottom: -40px;
  background: #d66c7e;
  color: #fff;
  padding: 20px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

.hero-text h1 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.hero-text p {
  font-size: 1rem;
  margin: 5px 0 0 0;
}


/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
  .hero {
    height: 480px;
  }
  .hero-box {
    padding: 40px 50px;
  }
  .hero-box h1 {
    font-size: 34px;
  }
  .hero-box p {
    font-size: 20px;
  }
}

@media (max-width: 992px) {
  .hero {
    height: 420px;
    justify-content: center;
    padding-left: 0;
    border-radius: 0 0 60px 60px;
  }
  .hero-box {
    padding: 35px 40px;
    border-radius: 0 80px 80px 0;
    max-width: 500px;
    text-align: center;
  }
  .hero-box h1 {
    font-size: 30px;
  }
  .hero-box p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 360px;
    border-radius: 0 0 50px 50px;
  }
  .hero-box {
    padding: 30px 25px;
    border-radius: 0 60px 60px 0;
    max-width: 90%;
  }
  .hero-box h1 {
    font-size: 26px;
  }
  .hero-box p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 300px;
    border-radius: 0 0 40px 40px;
	margin-top: -80px;
  }
  .hero-box {
    padding: 25px 20px;
    border-radius: 0 50px 50px 0;
	margin-right: auto;
  }
  .hero-box h1 {
    font-size: 22px;
  }
  .hero-box p {
    font-size: 14px;
  }
}

/* ===== SECCIÓN EMBARAZO 2 ===== */
.embarazo-section2 {
  background-color: #ffffff;
  padding: 60px 6%;
  color: #333;
}

/* contenedor central */
.embarazo-wrap2 {
  max-width: 1200px;
  margin: 0 auto;
}

/* BLOQUE SUPERIOR: título y primer párrafo dentro de contenedor */
.embarazo-header2 {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}

.embarazo-titulo2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #6f2329;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.embarazo-descripcion2 {
  margin: 0;
  color: #6d5a5d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* BLOQUE INFERIOR: layout texto + imagen */
.embarazo-grid2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 65px;
  flex-wrap: nowrap;
}

/* columna izquierda (texto) */
.embarazo-texto2 {
  flex: 1 1 58%;
  min-width: 280px;
}

/* subtítulo rosado */
.embarazo-subtitulo2 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #d96471;
  margin: 0 0 12px 0;
}

.embarazo-subtitulo2 span {
  color: #f2b6ba;
  font-weight: 600;
}

/* párrafo con palabras en bold */
.embarazo-parrafo2 {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b3f40;
  margin: 0;
}

.embarazo-parrafo2 strong {
  color: #6f2329;
  font-weight: 700;
}

/* columna derecha (imagen) */
.embarazo-imagen2 {
  flex: 0 0 38%;
  text-align: right;
  min-width: 220px;
}

.embarazo-imagen2 img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  display: inline-block;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(50,40,40,0.08);
}

/* ====================== */
/* TABLETS (≤1024px) */
/* ====================== */
@media (max-width: 1024px) {
  .embarazo-section2 {
    padding: 50px 5%;
  }

  .embarazo-grid2 {
    gap: 24px;
  }

  .embarazo-subtitulo2 {
    font-size: 1.15rem;
  }

  .embarazo-parrafo2 {
    font-size: 0.95rem;
  }

  .embarazo-imagen2 img {
    max-width: 360px;
  }
}

/* ====================== */
/* MÓVILES GRANDES / TABLETS PEQUEÑAS (≤768px) */
/* ====================== */
@media (max-width: 768px) {
  .embarazo-grid2 {
    flex-direction: column-reverse;
    text-align: center;
    margin-top: 45px;
  }

  .embarazo-texto2 {
    flex: 1 1 100%;
  }

  .embarazo-imagen2 {
    flex: 1 1 100%;
    text-align: center;
  }

  .embarazo-imagen2 img {
    max-width: 80%;
  }

  .embarazo-subtitulo2 {
    font-size: 1.1rem;
  }

  .embarazo-parrafo2 {
    font-size: 0.9rem;
  }

  .embarazo-titulo2 {
    font-size: 1rem;
  }

  .embarazo-descripcion2 {
    font-size: 0.9rem;
  }
}

/* ====================== */
/* MÓVILES PEQUEÑOS (≤480px) */
/* ====================== */
@media (max-width: 480px) {
  .embarazo-section2 {
    padding: 40px 5%;
  }

  .embarazo-titulo2 {
    font-size: 0.95rem;
	margin-top: 20px;
  }

  .embarazo-subtitulo2 {
    font-size: 1rem;
  }

  .embarazo-parrafo2 {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .embarazo-imagen2 img {
    max-width: 100%;
  }

  .embarazo-grid2 {
    gap: 18px;
  }
}




/* ===== SECCIÓN ULTRASONIDO ===== */
.ultrasonido-section3 {
  --bg-width: 100%;
  --bg-height: auto;

  background: url('images/Fondo Curva Rosa.png') no-repeat center top;
  background-size: var(--bg-width) var(--bg-height);
  padding: 130px 415px 174px 20%;
  color: #4a3a3a;
  margin: -164px 0 -131px 0;
}

/* Slider */
.ultrasonido-slider3 {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 12px;
  margin-top: 50px;
}

.ultrasonido-imagen3 img {
  width: 350px;
  height: 260px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: opacity 0.6s ease;
}

.ultrasonido-info3 h2 {
  color: #6a3a3a;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
}

.ultrasonido-descripcion3 {
  max-width: 500px;
  text-align: center;
  margin: 0 auto 30px;
  color: #7a6d6d;
}

.ultrasonido-lista3 {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Barra vertical con círculo */
.ultrasonido-barra3 {
  width: 6px;
  height: 150px;
  background: #cde2dd;
  border-radius: 10px;
  position: relative;
}

.ultrasonido-circulo3 {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #9fc1bb;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  transition: top 0.4s ease;
}

/* Opciones */
.ultrasonido-opciones3 {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.opcion3 {
  cursor: pointer;
  transition: color 0.3s;
}

.opcion3 span {
  display: block;
  font-size: 0.9em;
  color: #a58888;
}

.opcion3.active {
  color: #6a3a3a;
  font-weight: bold;
}

/* Segunda parte */
.ultrasonido-estudios3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.ultrasonido-texto3 {
  flex: 1 1 45%;
}

.ultrasonido-texto3 h3 {
  color: #6a3a3a;
  margin-bottom: 15px;
}

.ultrasonido-texto3 p {
  color: #5e4b4b;
  line-height: 1.6;
}

.ultrasonido-doctora3 img {
  width: 480px;
  border-radius: 12px 0 90px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ======== RESPONSIVE DESIGN ======== */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .ultrasonido-section3 {
    padding: 100px 10% 120px 10%;
    margin: -120px 0 -90px 0;
    background-size: cover;
  }

  .ultrasonido-slider3 {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .ultrasonido-imagen3 img {
    width: 300px;
    height: auto;
  }

  .ultrasonido-descripcion3 {
    max-width: 80%;
  }

  .ultrasonido-estudios3 {
    flex-direction: column;
    gap: 30px;
  }

  .ultrasonido-doctora3 img {
    width: 360px;
    border-radius: 12px 0 60px 0;
  }

  /* Ocultar barra vertical en tablet */
  .ultrasonido-barra3 {
    display: none;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .ultrasonido-section3 {
    padding: 80px 20px 100px 20px;
    margin: -100px 0 -80px 0;
    text-align: center;
  }

  .ultrasonido-slider3 {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .ultrasonido-imagen3 img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }

  .ultrasonido-info3 h2 {
    font-size: 1.4em;
  }

  .ultrasonido-descripcion3 {
    max-width: 95%;
    font-size: 0.95em;
  }

  .ultrasonido-lista3 {
    flex-direction: column;
    gap: 20px;
  }

  .ultrasonido-opciones3 {
    gap: 18px;
  }

  .ultrasonido-estudios3 {
    flex-direction: column;
    gap: 25px;
  }

  .ultrasonido-texto3 {
    flex: 1 1 100%;
  }

  .ultrasonido-texto3 h3 {
    font-size: 1.2em;
  }

  .ultrasonido-texto3 p {
    font-size: 0.95em;
  }

  .ultrasonido-doctora3 img {
    width: 90%;
    max-width: 300px;
    border-radius: 12px 0 50px 0;
  }

  /* Ocultar barra vertical en móvil */
  .ultrasonido-barra3 {
    display: none;
  }
}




/* ===== SECCIÓN ULTRASONIDO 4 ===== */

.ultrasonido-section4 {
  position: relative;
  color: #4a3a3a;
  z-index: 1;
  padding: 50px 0px;
}

/* Capa opcional para oscurecer o suavizar el fondo */
.ultrasonido-section4::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.7); /* ajusta opacidad según necesites */ */
  z-index: -1;
}

.ultrasonido-container4 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 0px 70px 0px 70px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.ultrasonido-imagen4 {
  flex: 1;
}

.ultrasonido-imagen4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0px 20px 20px 20px;
}

.ultrasonido-texto4 {
  flex: 1;
  padding: 50px 60px;
  background: #fff;
}

.ultrasonido-texto4 h2 {
  color: #e87b84;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.ultrasonido-texto4 p {
  color: #4a3a3a;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* BOTÓN CON UNA SOLA IMAGEN */
.ultrasonido-boton4 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.ultrasonido-boton4 img {
  width: 230px;
  height: 57px;
  display: block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (hasta 1024px) */
@media (max-width: 1024px) {
  .ultrasonido-container4 {
    max-width: 95%;
    border-radius: 0px 50px 0px 50px;
  }

  .ultrasonido-texto4 {
    padding: 40px 40px;
  }

  .ultrasonido-texto4 h2 {
    font-size: 1.4rem;
  }

  .ultrasonido-texto4 p {
    font-size: 0.95rem;
  }

  .ultrasonido-boton4 img {
    width: 200px;
    height: 50px;
  }
}

/* Móviles (hasta 768px) */
@media (max-width: 768px) {
  .ultrasonido-container4 {
    flex-direction: column;
    border-radius: 20px;
  }

  .ultrasonido-imagen4 img {
    border-radius: 20px 20px 0px 0px;
    height: auto;
  }

  .ultrasonido-texto4 {
    padding: 30px 25px;
    text-align: center;
  }

  .ultrasonido-texto4 h2 {
    font-size: 1.3rem;
  }

  .ultrasonido-texto4 p {
    font-size: 0.95rem;
  }

  .ultrasonido-boton4 img {
    width: 180px;
    height: 46px;
  }
}

/* Teléfonos pequeños (hasta 480px) */
@media (max-width: 480px) {
  .ultrasonido-texto4 {
    padding: 25px 20px;
  }

  .ultrasonido-texto4 h2 {
    font-size: 1.15rem;
  }

  .ultrasonido-texto4 p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .ultrasonido-boton4 img {
    width: 160px;
    height: 42px;
  }
}




/* --- ESTILOS BASE (ESCRITORIO) --- */
.ultrasonido-genetico6 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #6e3945;
}

/* --- Encabezado --- */
.info-header6 {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.info-header6 h2 {
  color: #6e3945;
  font-size: 22px;
}

.info-header6 p {
  font-size: 15px;
  line-height: 1.6;
}

/* --- Lista de marcadores --- */
.info-container6 {
  flex: 1 1 350px;
  min-width: 300px;
}

.marcadores6 {
  border-radius: 15px;
  margin: 20px 0;
  padding: 10px;
}

.marcadores-titulo6 {
  background-color: #E28693;
  color: #fff;
  font-weight: 600;
  border-radius: 0px 30px 30px 0px;
  padding: 15px 30px;
  display: inline-block;
  margin-bottom: 15px;
  font-size: 18px;
}

.marcadores-lista6 {
  list-style: none;
  padding: 20px;
  margin: 70px 0px 0px 180px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border-radius: 20px;
  max-width: 280px;
}

.marcadores-lista6 li {
  background: #fff;
  border-left: 3px solid transparent;
  padding: 12px 15px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 8px 0;
}

.marcadores-lista6 li.active,
.marcadores-lista6 li:hover {
  background-color: #E28693;
  color: #fff;
}

/* --- Slider --- */
.slider-container6 {
  flex: 1 1 500px;
  position: relative;
  margin-top: 30px;
  min-width: 320px;
}

.slider6 {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px;
  margin: 125px 0 0 -55px;
}

.slider6 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slider6 img.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Dots --- */
.dots6 {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 15px;
  top: 65%;
  transform: translateY(-50%);
  gap: 10px;
}

.dot6 {
  width: 10px;
  height: 10px;
  background: #f1b6c1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot6.active {
  background: #e97b8b;
}

/* --- TABLET (hasta 1024px) --- */
@media (max-width: 1024px) {
  .ultrasonido-genetico6 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .marcadores-lista6 {
    margin: 40px auto 0 auto;
    max-width: 300px;
  }

  .slider6 {
    margin: 60px auto 0 auto;
    width: 90%;
    height: 300px;
  }

  .dots6 {
    flex-direction: row;
    bottom: 15px;
    top: auto;
    right: 50%;
    transform: translateX(50%);
  }
}

/* --- MÓVIL (hasta 768px) --- */
@media (max-width: 768px) {
  .ultrasonido-genetico6 {
    padding: 15px;
    gap: 0px;
  }

  .info-header6 h2 {
    font-size: 18px;
  }

  .info-header6 p {
    font-size: 14px;
  }

  .marcadores-titulo6 {
    font-size: 16px;
    padding: 12px 20px;
  }

  .marcadores-lista6 {
    margin: 30px auto 0 auto;
    padding: 15px;
    max-width: 90%;
  }

  .marcadores-lista6 li {
    font-size: 14px;
    padding: 10px 12px;
  }

  .slider-container6 {
    width: 100%;
    margin-top: 10px;
  }

  .slider6 {
    margin: 30px auto 0 auto;
    width: 100%;
    height: 240px;
  }

  .dots6 {
    flex-direction: row;
    gap: 8px;
    bottom: 10px;
    top: 60%;
    right: 50%;
    transform: translateX(50%);
  }

  .dot6 {
    width: 8px;
    height: 8px;
  }
}





/* --- ESTILOS BASE (ESCRITORIO) --- */

/* Contenedor superior con h2 y p centrados */
.info-header6 {
  text-align: center;
  margin-bottom: 25px;
}

/* Ajuste visual del h2 y p */
.info-header6 h2 {
  color: #6e3945;
  font-size: 24px;
  margin-bottom: 10px;
}

.info-header6 p {
  font-size: 20px;
  line-height: 1.6;
  color: #6e3945;
}

/* Texto principal */
.evaluacion-fetal {
  color: #5e2c2c; /* tono vino */
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.6;
}

/* Texto “ideal para” */
.ideal-para {
  text-align: center;
  font-size: 14px;
  color: #8b8b8b;
  margin-bottom: 20px;
}

.ideal-para span {
  color: #5e2c2c;
  font-weight: 600;
}

/* Bloque informativo */
.bloque-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f2a6;
  border-radius: 50px;
  padding: 0px 0px 0 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.texto {
  flex: 1;
  font-size: 14px;
  color: #666;
}

.texto .resaltado {
  color: #5e2c2c;
  font-weight: 600;
}

.icono img {
  width: 100px;
  height: 100px;
}

/* --- RESPONSIVO TABLET (hasta 1024px) --- */
@media (max-width: 1024px) {
  .info-header6 h2 {
    font-size: 22px;
  }

  .info-header6 p {
    font-size: 18px;
  }

  .evaluacion-fetal {
    max-width: 90%;
    font-size: 15px;
  }

  .bloque-info {
    flex-direction: row;
    padding: 10px 20px;
    border-radius: 40px;
  }

  .icono img {
    width: 90px;
    height: 90px;
  }
}

/* --- RESPONSIVO MÓVIL (hasta 768px) --- */
@media (max-width: 768px) {
  .info-header6 {
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .info-header6 h2 {
    font-size: 20px;
  }

  .info-header6 p {
    font-size: 16px;
    line-height: 1.4;
  }

  .evaluacion-fetal {
    max-width: 95%;
    font-size: 14px;
    margin: 25px auto;
    text-align: justify;
  }

  .ideal-para {
    font-size: 13px;
    margin-bottom: 15px;
	margin-top: -180px;
  }

  .bloque-info {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 20px;
    border-radius: 25px;
	margin-bottom: 85px;
  }

  .texto {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .icono img {
    width: 80px;
    height: 80px;
  }
}







/* =========================================================
   SECCIÓN ULTRASONIDO ESTRUCTURAL 7 (ESCRITORIO)
   ========================================================= */
.ultrasonido-section7 {
  --bg-width: 100%;
  --bg-height: auto;
  background: url('images/Fondo Curva Azul.png') no-repeat center top;
  background-size: var(--bg-width) var(--bg-height);
  padding: 156px 0 140px 20%;
  justify-content: center;
  align-items: center;
  color: #3a3a3a;
  margin: -120px 0 0 0;
}

.ultrasonido-container7 {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}

.ultrasonido-titulo7 {
  font-size: 20px;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 10px;
}

.ultrasonido-descripcion7 {
  font-size: 15px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.ultrasonido-contenido7 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  position: relative;
}

.ultrasonido-imagen7 img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}

.ultrasonido-lista7 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  text-align: left;
}

.ultrasonido-linea7 {
  position: absolute;
  left: -120px;
  top: -54px;
  width: 178px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.ultrasonido-item7 {
  background: #fff;
  border-radius: 40px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  padding: 0px 0px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #444;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.ultrasonido-item7 img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 1);
}

.ultrasonido-info7 {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ultrasonido-recomendacion7 {
  font-size: 14px;
  color: #d44b4b;
  font-weight: 600;
}

/* =========================================================
   ANIMACIONES E ICONOS
   ========================================================= */
.icon-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 14px;
  z-index: 3;
}

.icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  backface-visibility: hidden;
  transform-origin: center;
}

.icon.default { opacity: 1; transform: scale(1); }
.icon.active { opacity: 0; transform: scale(0.95); }

@keyframes imgDefaultAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  10%, 25% { opacity: 0; transform: scale(0.95); }
}
@keyframes imgActiveAnim {
  0%, 100% { opacity: 0; transform: scale(0.95); }
  10%, 25% { opacity: 1; transform: scale(1.1); }
}
@keyframes destacarItem {
  0%, 100% {
    background-color: #fff;
    color: #444;
    transform: scale(1);
  }
  10%, 25% {
    background-color: #FDE6E6;
    color: #774A52;
    transform: scale(1.05);
  }
}

.ultrasonido-item7:nth-of-type(1),
.ultrasonido-item7:nth-of-type(2),
.ultrasonido-item7:nth-of-type(3),
.ultrasonido-item7:nth-of-type(4) {
  animation: destacarItem 8s infinite ease-in-out;
}

.ultrasonido-item7:nth-of-type(1) { animation-delay: 0s; }
.ultrasonido-item7:nth-of-type(2) { animation-delay: 2s; }
.ultrasonido-item7:nth-of-type(3) { animation-delay: 4s; }
.ultrasonido-item7:nth-of-type(4) { animation-delay: 6s; }

.ultrasonido-item7:hover .icon.default { opacity: 0; transform: scale(0.95); transition: .2s; }
.ultrasonido-item7:hover .icon.active  { opacity: 1; transform: scale(1.05); transition: .2s; }
.ultrasonido-item7:hover { background-color: #d44b4b; color: #fff; }

/* =========================================================
   RESPONSIVE DESIGN PROFESIONAL
   ========================================================= */

/* ===== Tablet (1024px - 768px) ===== */
@media (max-width: 1024px) {
  .ultrasonido-section7 {
    padding: 120px 10% 200px 10%;
    margin-top: -80px;
    background-size: cover;
  }

  .ultrasonido-contenido7 {
    flex-direction: column;
    gap: 30px;
  }

  .ultrasonido-imagen7 img {
    width: 260px;
    height: 260px;
	
  }

  .ultrasonido-lista7 {
    align-items: center;
    text-align: center;
  }

  .ultrasonido-item7 {
    width: 90%;
    justify-content: center;
    padding: 8px 20px;
    gap: 16px;
  }

  .ultrasonido-item7 img {
    width: 45px;
    height: 45px;
	box-shadow: 0 4px 10px rgba(238, 144, 144);
  }
}

/* ===== Móvil grande (768px - 480px) ===== */
@media (max-width: 768px) {
  .ultrasonido-section7 {
    padding: 100px 5% 180px 5%;
    background-position: center top;
    background-size: contain;
  }

  .ultrasonido-titulo7 {
    font-size: 18px;
  }

  .ultrasonido-descripcion7 {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .ultrasonido-imagen7 img {
    width: 220px;
    height: 220px;
  }

  .ultrasonido-item7 {
    flex-direction: row;
    font-size: 14px;
    width: 100%;
    max-width: 260px;
  }

  .ultrasonido-linea7 {
    display: none;
  }
}

/* ===== Móvil pequeño (480px o menos) ===== */
@media (max-width: 480px) {
  .ultrasonido-section7 {
    padding: 30px 5% 30px 5%;
  }

  .ultrasonido-titulo7 {
    font-size: 17px;
  }

  .ultrasonido-descripcion7 {
    font-size: 13px;
    line-height: 1.5;
  }

  .ultrasonido-imagen7 img {
    width: 180px;
    height: 180px;
  }

  .ultrasonido-lista7 {
    gap: 16px;
  }

  .ultrasonido-item7 {
    font-size: 13px;
    gap: 12px;
    padding: 8px 12px;
  }

  .ultrasonido-item7 img {
    width: 40px;
    height: 40px;
  }

  .ultrasonido-recomendacion7 {
    font-size: 12px;
  }
}




/* ===== SECCIÓN ULTRASONIDO DOPPLER ===== */
.doppler-section {
  background-color: #ffffff;
  padding: 0px 0px 0px 100px;
  color: #4a3a3a;
  max-width: 1200px;
  margin: auto;
  box-shadow: 0 0 12px rgba(0,0,0,0.18);
  border-radius: 100px 0 100px 0;
  overflow: hidden;
  
}

/* === CONTENEDOR PRINCIPAL === */
.doppler-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* === COLUMNA DE TEXTO === */
.doppler-text {
  flex: 1 1 45%;
}

.doppler-text h2 {
  color: #7d2b3f;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.doppler-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

/* === LISTA DOPPLER === */
.doppler-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

/* === ELEMENTOS === */
.doppler-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 35px;
  padding: 20px 80px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.12), 0 3px 10px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.6s ease, box-shadow 0.6s ease, opacity 0.8s ease;
  will-change: transform, opacity;
}

/* === ANIMACIONES SEGÚN DIRECCIÓN === */
.doppler-item.left {
  transform: translateX(-80px);
}

.doppler-item.right {
  transform: translateX(80px);
}

/* === CUANDO APARECE EN PANTALLA === */
.doppler-item.visible {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
  animation: pulsoInicial 1.5s ease;
}

/* === ANIMACIÓN PULSO INICIAL === */
@keyframes pulsoInicial {
  0% { box-shadow: inset 0 0 0 rgba(0,0,0,0.18); }
  50% { box-shadow: inset 0 0 22px rgba(0,0,0,0.25); }
  100% { box-shadow: inset 0 0 12px rgba(0,0,0,0.18); }
}

/* === EFECTO HOVER SUAVE === */
.doppler-item:hover {
  animation: pulsoSuave 2.5s ease-in-out infinite;
  transform: translateY(-5px) scale(1.02);
}

@keyframes pulsoSuave {
  0%, 100% {
    box-shadow: inset 0 0 12px rgba(0,0,0,0.18);
  }
  50% {
    box-shadow: inset 0 0 22px rgba(0,0,0,0.28);
  }
}

/* === ÍCONOS === */
.doppler-item img {
  position: absolute;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* ÍCONOS EN LA IZQUIERDA */
.doppler-item.left img {
  left: 0px;
}

/* ÍCONOS EN LA DERECHA */
.doppler-item.right img {
  right: 0px;
}

/* TEXTO DEL ITEM */
.doppler-item span {
  font-size: 16px;
  font-weight: 500;
  color: #3a3a3a;
  text-align: center;
}

/* === IMAGEN DEL ULTRASONIDO === */
.doppler-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px 0 95px 0;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* === PARTE INFERIOR === */
.doppler-bottom {
  text-align: center;
  margin-top: -20px;
}

.doppler-bottom-header button {
  background-color: #e96d76;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: default;
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doppler-bottom-header button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .doppler-section {
    padding: 40px 40px;
  }
}

@media (max-width: 768px) {
  .doppler-section {
    padding: 30px 20px;
  }
  .doppler-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .doppler-item {
    padding: 16px 60px;
  }
  .doppler-item img {
    width: 55px;
    height: 55px;
  }
  .doppler-image img {
    max-width: 300px;
  }
}




/* ===== SECCIÓN ARTERIAS ===== */
.arterias-section {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  color: #5a5a5a;
  padding: 60px 20px;
}

/* === CONTENEDOR PRINCIPAL === */
.arterias-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 50px;
}

/* === IMAGEN CON SOMBRA Y BORDE REDONDEADO === */
.arterias-imagen img {
  width: 650px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  margin-left: 150px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto hover sutil */
.arterias-imagen img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* === LISTA DE PUNTOS Y TEXTOS === */
.arterias-lista {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  flex: 1;
  min-width: 260px;
}

/* === ITEM DE ARTERIA === */
.arteria-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* PUNTO COLOREADO */
.punto {
  width: 14px;
  height: 14px;
  background-color: #d86a70;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(216,106,112,0.25);
}

/* TEXTO DE CADA ARTERIA */
.arteria-item p {
  margin: 0;
  font-weight: 600;
  color: #7b4e4d;
  font-size: 15px;
  transition: color 0.3s ease;
}

.arteria-item:hover p {
  color: #a23c3c;
}

/* === TEXTO INFERIOR === */
.arterias-descripcion {
  margin-top: 40px;
  font-size: 20px;
  color: #5f5f5f;
  line-height: 1.5;
}

.arterias-descripcion strong {
  color: #000;
  font-weight: 700;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .arterias-imagen img {
    width: 500px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .arterias-container {
    flex-direction: column;
    gap: 30px;
  }

  .arterias-imagen img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .arterias-lista {
    /* align-items: center; */
    text-align: center;
  }
}

/* ===== SECCIÓN MATERNO-FETAL ===== */
.materno-fetal {
  background-image: url("images/Fondo Curva Rosa Final.png"); /* <-- Imagen de fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 471px 100px 75px 206px;
  max-width: 1920px;
  margin: -244px 0 0 0;
  color: #333;
  position: relative;
  overflow: hidden;
}

/* === CONTENEDOR PRINCIPAL === */
.mf-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
  flex-wrap: wrap;
  margin-top: -162px;
}

/* === BLOQUE DE TEXTO === */
.mf-text {
  flex: 1 1 55%;
}

.mf-text h2 {
  color: #e86a7a;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.mf-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #4b4b4b;
}

.mf-text strong {
  font-weight: 700;
  color: #222;
}

/* === BLOQUE DE IMAGEN === */
.mf-image {
  flex: 1 1 40%;
  border-radius: 25px 120px 0 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mf-image:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.mf-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* === BARRA INFERIOR DE TEXTO === */
.mf-bar {
  background-color: #fff;
  border-radius: 40px;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 18px 25px;
  font-weight: 600;
  color: #d45c6a;
  max-width: 700px;
  margin: 50px auto 0;
  font-size: 1.1rem;
  transition: box-shadow 0.4s ease;
}

.mf-bar:hover {
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.35);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .materno-fetal {
    padding: 350px 60px 60px 100px;
    margin-top: -200px;
  }

  .mf-text h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 992px) {
  .materno-fetal {
    padding: 280px 50px 50px 80px;
  }

  .mf-container {
    flex-direction: column;
    text-align: center;
  }

  .mf-text {
    flex: 1 1 100%;
	margin-top: 120px;
  }

  .mf-image {
    flex: 1 1 100%;
    border-radius: 30px 100px 0 0;
    max-width: 400px;
    margin: 20px auto;
  }

  .mf-bar {
    font-size: 1rem;
    padding: 15px 20px;
    margin-top: 35px;
  }
}

@media (max-width: 600px) {
  .materno-fetal {
    padding: 287px 20px 40px 20px;
    margin-top: -315px;
  }

  .mf-text h2 {
    font-size: 1.4rem;
  }

  .mf-text p {
    font-size: 0.95rem;
  }

  .mf-image {
    border-radius: 20px 70px 0 0;
  }

  .mf-bar {
    font-size: 0.95rem;
    padding: 12px 18px;
    border-radius: 30px;
  }
}
