.service-card {
  width: 400px;
  height: 400px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.service-card:hover {
  transform: scale(1.05);
}

.icon i {
  color: #007bff;
}
.read-more-btn {
  display: block;
  width: 70px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff; /* Color azul Bootstrap */
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.read-more-btn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.read-more-btn svg {
  fill: currentColor;
}

.read-more-btn .arrow-icon {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.read-more-btn:hover .arrow-icon {
  transform: translateX(4px);
}

.service-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #001845;
  margin-bottom: 15px;
}

  /* Colores personalizados */
  .text-primary-custom {
    color: #001845 !important;
  }

  .social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #001845;
    color: white;
    transition: background-color 0.3s ease;
    text-decoration: none;
  }

  .social-icon:hover {
    background-color: #0152ea;
    color: white;
  }

  .footer-link {
    color: #001845;
    text-decoration: none;
    font-weight: 100;
	padding: 0 10px;
  }

  .footer-link:hover {
    color: #4c6ef5;
  }
.ciudad-footer-link{
	
}
.container-topbar{
	width: 95%;
	margin: auto;
	padding: 10px;
	/*background-color: #f3f5f9;*/
}

/* slider o carrusel principal */
.carousel-caption {
  bottom: 20%;
  left: 10%;
  right: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}
.contenedor-slider{
	/*width: 80%;*/
	border-radius: 15px;
}
.hijo-slider{
/*width: 90% !important;
align-content: center;
align-items: center;
align-self: center;
*/
box-shadow: 0px 22px 19px -20px rgba(0, 0, 0, 0.15) !important;
/*border: solid 2pex red !important;*/
}
.contenedor-slider {
  /*height: 95vh !important;*/ /* Que ocupe toda la pantalla */
  margin: auto !important;
  
}
.contenedor-segundo-slider{
  padding-top: 50px;
  adding-bottom: 50px;
 
}
.swiper-slide {
  position: relative !important;
  height: 80% !important;
  align-items: center !important;
  
}

img.slide-image, .swiper-slide img {
  height: 60vh !important;
  object-fit: cover !important; /* Para que la imagen se vea bien sin deformarse */
  border-radius: 15px 15px 15px 15px !important;
}
/* botones swiper */
.swiper2-button-next, .swiper2-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;  
  cursor: pointer;
  color: #001845;
  user-select: none;
  font-weight: 900; /* Más grueso */
  font-size: 3.5rem; /* Más grande */
  
  
}
.swiper2-button-next {
  right: 10px;
}
.swiper2-button-prev {
  left: 10px;
}
/* evitar que seleccionen la img */
.swiper-slide {
  user-select: none;         /* 👈 Evita selección */
  -webkit-user-drag: none;   /* 👈 Evita que se arrastre en Safari */
}
.swiper-slide img {
  pointer-events: none;      /* 👈 Opcional, evita clic sobre la imagen */
  user-select: none;
  -webkit-user-drag: none;
}


/* intentar aumentar tamaño a  servicios */
.contenedor-slide-servicios{
	
}
.contenedor-slide-servicios img{
	
}
/* ANIMACIONES TEXTO MENU */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
	opacity: 1;
  animation: fadeUp 1s ease-out forwards;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(+30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.fade-left {
  opacity: 0; /* <- aseguramos que esté oculto antes de animar */
  animation: fadeLeft 1s ease-out both; /* <- el 'both' asegura que empieza invisible */
  
}
.fade-right {
  opacity: 0; /* <- aseguramos que esté oculto antes de animar */
  animation: fadeRight 1s ease-out both; /* <- el 'both' asegura que empieza invisible */
  
}
.delay-05 {
  animation-delay: 0.5s;
}
.delay-10 {
  animation-delay: 1.0s;
}
.delay-15 {
  animation-delay: 1.5s;
}
.elemento-animado {
  opacity: 0;
  
}

.btn-clinica {
  background-color: #001845;
  color: #ffffff;
  border-radius: 25px;
  border: none;
  padding: 8px 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-clinica:hover {
  background-color: #002b66; /* un azul un poco más claro para el hover */
  color: #ffffff !important;
  transform: translateY(-2px);
}
/* Carrusel */
.section-carrusel{
	width:90%;
	margin: auto;
}
.caja-blur-carrusel{
	/* hacerlo menos alto?w*/
}
.titulo-carrusel{
	font-size: 20px;
	color: #001845;
}
.boton-carrusel{
	color: #ffffff;
	background-Color: #001845;
	border-radius: 25px;
	padding: 5px 10px;
}
.boton-carrusel:hover{
	color: #ffffff;
	background-color: #001845;
	background-color: #002b66; /* un azul un poco más claro para el hover */
	color: #ffffff !important;
	transform: translateY(-2px);
}

/*CLIENTES */

.clientes img{
	border-radius: 50% 50% 50% 50% !important;
	
}
.boton-testimonios{
	color: #001845;
	border-radius: 25px !important;
	padding: 10px;
}
.boton-testimonios:hover{
	color: #ffffff !important;
	background-color: #001845 !important;
}
.circulo-testimonio img{
	order:5px solid #6d84ae !important;
}
/* pie de pagina*/
.enlaces-interes-caja a{
	 all: unset;
	text-decoration: none;
	cursor: pointer;
	color: #7d7d7d !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 24px;
}
.enlaces-interes-caja a:hover{
	color: #001845 !important;
}
.enlaces-interes{
	text-decoration: none;
	color: #7d7d7 !important;
	
}
.enlaces-interes a{
	text-decoration: none;
	color: #7d7d7 !important;
	
}
/* MENU */
.activa{
	border-bottom: solid 4px #001845 !important;
}

/* info servicios */
.informacion {
        background-color: #f8f9fa; /* Fondo claro */
    }
.informacion-texto p {
	font-size: 1.1rem;
	line-height: 1.6;
}

/* acordeon en servicios */

.acordeon-container {
            max-width: 800px;
            margin: 0 auto;
            font-family: 'Arial', sans-serif;
        }
        
        .acordeon-titulo {
            background-color: #f0f8ff;
            color: #2c3e50;
            padding: 15px 20px;
            cursor: pointer;
            border: 1px solid #d6e9f8;
            border-radius: 5px;
            margin-bottom: 10px;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
        }
        
        .acordeon-titulo:hover {
            background-color: #e1f0fa;
        }
        
        .acordeon-titulo.active {
            background-color: #001845;
            color: white;
            /*border-color: #0a58ca;*/
        }
        
        .acordeon-contenido {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
            border-left: 1px solid #eee;
            border-right: 1px solid #eee;
            margin-bottom: 10px;
        }
        
        .acordeon-contenido-interno {
            padding: 20px;
            background-color: #fff;
            border-radius: 0 0 5px 5px;
            border: 1px solid #eee;
            border-top: none;
        }
        
        .acordeon-icono {
            transition: transform 0.3s ease;
        }
        
        .acordeon-titulo.active .acordeon-icono {
            transform: rotate(180deg);
        }
		/* opcion 2*/
		
		.timeline {
  position: relative;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 3px solid #001845;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -30px;
  top: 5px;
  width: 16px;
  height: 16px;
  background-color: #001845;
  border-radius: 50%;
}

.timeline-content {
  background-color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,24,69,0.1);
  font-family: 'Poppins', sans-serif;
  color: #333;
  text-align: justify;
}

.timeline-content h4 {
  margin-bottom: 10px;
  color: #001845;
  font-weight: 600;
}

/* Grid de tarjetas */
.tarjetas-quienes-somos{
	
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columnas de igual ancho */
  gap: 20px; /* Espacio entre tarjetas */
  padding-bottom:10px;
}

.info-card {
  background-color: white;
  padding: 20px;
  border-left: 5px solid #001845;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,24,69,0.1);
  font-family: 'Poppins', sans-serif;
  text-align: justify;
}

.info-card h5 {
  color: #001845;
  margin-bottom: 10px;
  font-weight: 600;
}

.info-card ul {
  padding-left: 20px;
  color: #001845;
}

/*contacto.html */

.contacto-section {
  font-family: 'Poppins', sans-serif;
  padding: 4rem 0;
  color: #001845;
  background-color: #f9f9f9;
}

.titulo-seccion {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #001845;
}

.descripcion-seccion {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contacto-grid {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.info-contacto,
.formulario-contacto {
  flex: 1 1 45%;
  padding-left: 10px;
	padding-right: 10px;
}

.subtitulo {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #001845;
}

.info-contacto ul {
  list-style: none;
  padding-left: 0;
}

.info-contacto ul li {
  margin-bottom: 0.5rem;
}

.formulario-contacto form {
  display: flex;
  flex-direction: column;
}

.formulario-contacto input,
.formulario-contacto textarea {
  font-family: 'Poppins', sans-serif;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.formulario-contacto button {
  background-color: #001845;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulario-contacto button:hover {
  background-color: #00306e;
}

/* ginecologia */

.ginecologia-section {
  font-family: 'Poppins', sans-serif;
  padding: 4rem 0;
  background-color: #f9f9f9;
  color: #001845;
}

.titulo-seccion {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #001845;
}

.descripcion-seccion {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ginecologia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.bloque-gine {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 24, 69, 0.1);
}

.subtitulo {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #001845;
}

.bloque-gine ul {
  list-style: none;
  padding-left: 0;
}

.bloque-gine ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2.2rem;
}

.bloque-gine ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
}
/* submenu sub.especialidades*/

.sub-especialidades {
  background-color: #001845;
  text-align: center;
  padding: 10px 0;
  font-family: Poppins, sans-serif;
}

.sub-especialidades a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-size: 14px;
  transition: color 0.3s;
}

.sub-especialidades a:hover {
  color: #d0e1ff;
}

.menu-inferior-mobile {
  display: none;
}

/*Menu fijo arriba scroll down*/
/* Transición para mostrar/ocultar el navbar */

/*
#mainNavbar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 7.3s ease, top 7.3s ease !important;
}

#mainNavbar.hidden {
  transform: translateY(-100%);
}
*/
/* Estado base del navbar */
#mainNavbar {
  position: relative;
  width: 100%;
  transition: transform 0.4s ease, opacity 0.4s ease;
  will-change: transform, opacity;
  z-index: 999;
}

/* Cuando se hace sticky */
#mainNavbar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: white; /* o el color que uses */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 2.4s ease, opacity 2.4s ease;
  padding: 0px;
}

/* Cuando se oculta */
#mainNavbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}



/* Clase para ocultar el navbar al hacer scroll down */
.navbar-hidden {
  transform: translateY(-100%);
}

/* Clase para cambiar el color de fondo al hacer scroll */
.navbar-scrolled {
  background-color: #343a40 !important; /* Color oscuro */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


/* bocaditos links del especialidades */

.bocaditos-links a:hover{
	color: #000000 !important;
	
}
.flechita-margen-izquierdo{
	margin-left: 6px;
}

#menu-1-478bd43 li a{
   font-family: 'Poppins', sans-serif;
   font-weight: 600; /* Más grueso */   
   font-size: 1.0rem; /* Un poco más grande */
   line-height: 1.1; /* Mejor espaciado vertical */
}
#menu-1-478bd43 li ul li a{
   
   font-weight: 400; /* Más grueso */   
   font-size: 1.0rem; /* Un poco más grande */
   line-height: 1.0; /* Mejor espaciado vertical */
}

.subtitulo-somos{
	font-size: 18px;
}

/* MEDIA QUERIES*/

@media (max-width: 991.98px) { /* tablets y celulares en horizontal */
  .service-card {
    width: 300px;
    height: 300px;
  }
    .activa{
	border-bottom: 0px !important;
}
}

@media (max-width: 767.98px) { /* celulares */
  .service-card {
    width: 220px;
    height: 220px;
}
   .titulo-slider-movil{
	   ont-size: 15px !important;
	   
   }	
  .subtitulo-slider-movil{
	   font-size: 13px !important;
	   
   }
  .top-var-contenedor{
	  display: none;
	  
  }
  .activa{
	border-bottom: 0px !important;
}
.contenedor-slider {
    height: 100% !important;
    
}

/* quienes somos*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* 2 columnas de igual ancho */
  gap: 20px; /* Espacio entre tarjetas */
  padding-bottom:10px;
}

 .quienes-somos-section {
    padding: 2rem 1rem;
    text-align: center;
  }

  .quienes-somos-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .quienes-somos-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .equipo-card {
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }

  .equipo-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
  }

  .equipo-card .info {
    text-align: center;
  }

  .equipo-card .info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }

  .equipo-card .info p {
    font-size: 0.95rem;
  }

  .valores-section ul {
    padding-left: 1rem;
  }

  .valores-section li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  /* contacto.html */
   .contacto-grid {
    flex-direction: column;
  }
  .info-contacto,
  .formulario-contacto {
    flex: 1 1 100%;
	
  }

  .titulo-seccion {
    font-size: 1.6rem;
  }

  .subtitulo {
    font-size: 1.1rem;
  }

  .formulario-contacto input,
  .formulario-contacto textarea {
    font-size: 1rem;
  }

  .formulario-contacto button {
    font-size: 1rem;
  }
  
  /* ginecologia.hytml */
  
   .ginecologia-grid {
    grid-template-columns: 1fr;
  }

  .titulo-seccion {
    font-size: 1.6rem;
  }

  .subtitulo {
    font-size: 1.1rem;
  }

  .bloque-gine {
    padding: 1.2rem;
  }

  .descripcion-seccion {
    font-size: 1rem;
  }
  .sub-especialidades{
	  display: none;
  }
  
  .menu-inferior-mobile {
    /*position: fixed;*/
	display: block;
    bottom: 0;
    width: 100%;
    background-color: #001845;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
  }

  .menu-inferior-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-inferior-mobile li {
    border-bottom: 1px solid #ffffff;
  }

  .menu-inferior-mobile a {
    display: block;
    padding: 12px 16px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    text-align: left;
  }

  .menu-inferior-mobile a:hover {
    background-color: #001845;
  }
  
  img.slide-image, .swiper-slide img {
  eight: 65vh !important;
  height: auto !important;
  idth: 100% !important;
  object-fit: cover !important; /* Para que la imagen se vea bien sin deformarse */
  aspect-ratio: 4/3 !important; /* más cuadrada en móviles */
  overflow: hidden !important;  
}
/*centrar imagen a la derecha en celulares */
  .superderecha img{
  /*object-position: right center !important;*/ /* 👈 Esta es la clave */ 
  /*object-position: 50% center !important; /* 👈 Solo un poquito a la derecha */
}
.contenedor-segundo-slider{
  padding-top: 5px; 
}

.clientes img{
	border-radius: 50% 50% 50% 50% !important;
	aspect-ratio: 1 / 1 !important;
}
#menu-2-478bd43 li a{
   font-family: 'Poppins', sans-serif;
   font-weight: 600; /* Más grueso */   
   font-size: 1.0rem; /* Un poco más grande */
   line-height: 1.1; /* Mejor espaciado vertical */
}
#menu-2-478bd43 li ul li a{
   
   font-weight: 200; /* Más grueso */   
   font-size: 1.0rem; /* Un poco más grande */
   line-height: 1.0; /* Mejor espaciado vertical */
}

.flechita-margen-izquierdo{
	margin-left: 6px;
}

}



