@font-face {
    font-family: 'Inter-Variable';
    src: url('../fonts/Inter-VariableFont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

@font-face {
    font-family: 'Inter-Italic';
    src: url('../fonts/Inter-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Inter-Bold-Extra';
    src: url('../fonts/static/Inter_28pt-ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body, html {
    font-family: 'Inter-Variable', Arial, Helvetica, sans-serif;
    height: 100%;
    /* overflow-x: hidden; */
  }

    /*header {
    color: white;
    padding: 12px 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    }*/

/* --- Contenedor Responsivo de Ancho Máximo Variable --- */
.container {
  width: 100%;
  padding-right: 1rem; /* Espacio interno para que no se pegue al borde */
  padding-left: 1rem;  /* 1rem = 16px usualmente */
  margin-right: auto;  /* Centra el contenedor */
  margin-left: auto;
}

/* --- Contenedor Fluido (Ancho Completo con Padding) --- */
.container-fluid {
  width: 100%;
  padding-right: 2rem; /* 32px de espacio a los lados */
  padding-left: 2rem;
  margin-right: auto;
  margin-left: auto;
}

/* Breakpoints para ".container" */
@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; } /* Similar al que tenías */
}

@media (max-width: 900px) {
  .container {
    max-width: 100% !important; /* Ocupa todo el ancho */
    padding-right: 1.5rem !important; /* Ajusta el padding si es necesario */
    padding-left: 1.5rem !important;
  }
}

/* --- Estructura General del Header --- */
.site-header {
  position: fixed; /* Clave para que sea pegajoso */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  box-shadow: none;
  color: white;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* --- Barra Superior (Top Bar) --- */
.top-bar {
  background-color: transparent;
  border-bottom: 0px solid rgba(255, 255, 255, 0.2); /* Mantenemos un borde sutil */
  transition: background-color 0.3s ease-in-out;
}

.site-header.scrolled {
  background-color: #203A64; /* El color de fondo sólido que tenías */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* La sombra sutil */
}

.site-header.scrolled .top-bar {
  /* background-color: rgba(0, 0, 0, 0.1); El fondo sutil para el top-bar */
  border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end; /* Alinea el contenido a la derecha */
  align-items: center;
  min-height: 52px;
}

.top-bar-cta {
  display: flex;
  align-items: center;
  gap: 1rem; /* Espacio entre "AGENDAR CITA" y el botón */
}

/* Ajustes a los botones del CTA para que estén en línea */
.top-bar-cta .cta-label a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: white;
}

.top-bar-cta .cta-label a:hover {
  text-decoration: underline;
}

.top-bar-cta .cta-button {
  padding: 10px 10px;
  font-size: 16px;
  background-color: #4B84DC; /* Color original */
  border-radius: 6px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-cta .cta-button:hover {
  background-color: #3a74ca;
}

/* --- Barra Principal (Logo y Menú) --- */
.main-header {
  margin-top: -20px; 
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.main-header .logo img {
  height: 60px;
}

.main-header .nav-menu {
  display: flex; /* Se asegura que sea visible en desktop */
  gap: 2rem;
}

.main-header .nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.main-header .nav-menu a:hover {
  color: #a7d8ff;
}

/* Ocultar hamburguesa en desktop */
.main-header .hamburger {
  display: none;
}

/* --- Estilos para Móvil (Media Query) --- */
@media (max-width: 900px) {
  .main-header {
    margin-top: 5px; 
  }

  .main-header .container {
    align-items: start;
  }
  
  /* Ocultamos la barra superior en móvil para un look más limpio */
  .top-bar {
    display: block;
  }
  
  .top-bar-cta .cta-label {
    display: block; /* Opcional: Ocultar texto "AGENDAR CITA" en móvil */
  }

  .main-header .container-fluid {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  /* Ocultamos el menú principal y mostramos la hamburguesa */
  .main-header .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #e9e9e9; /* Un borde inferior muy suave (el contorno) */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Una sombra ligera y difuminada */
  }
  
  .main-header .nav-menu.active {
      display: flex;
  }
  
  .main-header .nav-menu a {
      color: #203A64;
      padding: 15px;
      text-align: center;
      width: 100%;
  }
  
  .main-header .hamburger {
    display: block;
    font-size: 38px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px 0 10px 0;
  }
}


/*header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}*/

/* LOGO */
/* .logo img {
    height: 70px;
    object-fit: contain;
} */

/* MENÚ */
/*
.nav-menu {
display: flex;
gap: 25px;
flex: 1;
justify-content: end;
margin: 20px;
}

.nav-menu a {
color: white;
text-decoration: none;
font-family: 'Inter-Variable';
font-size: 18px;
font-weight: 500;
transition: color 0.3s;
}

.nav-menu a:hover {
color: #87cefa;
}
*/
/* Mostrar el menú normalmente en pantallas grandes */
/* .nav-menu {
  display: flex;
  gap: 20px;
} */

/* Ocultar el botón hamburguesa en pantallas grandes */
/* cta-mobile {
  display: none;
}

.hamburger {
  display: none;
}*/

/* Escritorio */
/*.nav-menu {
  display: flex;
  gap: 20px;
}

.desktop-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}*/

/* MÓVIL
@media (max-width: 900px) {
  .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
  }

  .cta-mobile {
    display: block;
  }

  .cta-label a {

    background-color: #4B84DC;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .cta-mobile .cta-button {
    background-color: #007BFF;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
  }

  .desktop-cta {
    display: none;   
  }

  .cta {
    background-color: transparent;
    color: #004080;
    padding: 10px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    margin: 0px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 8px 0;
    width: 100%;
    text-align: center;
  }
} */

/* CTA */
/* .cta {
display: flex;
flex-direction: column;
align-items: center;
white-space: nowrap;
}

.cta-label a {
  color: white;
  text-decoration: none;
  font-family: 'Inter-Variable';
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
}

.cta-button {
background-color: #4B84DC;
color: white;
padding: 12px 12px;
border-radius: 6px;
font-weight: 500;
text-decoration: none;
font-size: 18px;
display: inline-block;
transition: background-color 0.3s ease;
}

.cta-button:hover {
background-color: #299A59;
}
*/
/*   .head-about {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .headgeneral {
        min-width: 100%;
        background-size: cover;
        background-position: center;
        position: relative;
        display: inline-block;
        align-items: center;
  }
*/

/* --- Contenedor Principal del Carousel --- */
.carousel {
  position: relative;
  width: 100%;
  height: 600px; /* Altura para desktop, puedes ajustarla */
  overflow: hidden;
  color: white;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

/* --- 2. Estilos de cada Slide (Fondo) --- */
.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  /* Clave: usamos flex para centrar verticalmente el .container interior */
  display: flex;
  align-items: center;
}

/* Imágenes de fondo para cada slide */
.slide-1 { background-image: url('https://drvalladaresangiologo.com/assets/img/home/Slider1.png'); }
.slide-2 { background-image: url('https://drvalladaresangiologo.com/assets/img/home/Slider2-1.jpg'); }
.slide-3 { background-image: url('https://drvalladaresangiologo.com/assets/img/home/Slider3.png'); }

/* --- Imagen exclusiva para tablet / mobile en Slide 2 --- */
@media (max-width: 900px) {
  .slide-2 {
    background-image: url('https://drvalladaresangiologo.com/assets/img/home/Slider2-1-mobile.png') !important;
    background-position: center;
    background-size: cover;
  }
  .slide-2 .slide-content h1,
  .slide-2 .slide-content .subtitle {
    display: none !important;
  }
}

/* Overlay oscuro opcional para mejorar legibilidad del texto */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 58, 100, 0.4); /* Un overlay azul oscuro */
  z-index: 1;
}

/* --- Contenido (Texto) Dentro del Slide --- */
.slide .container {
  position: relative;
  z-index: 2; /* Para que esté por encima del overlay */
}

.slide-content h1 {
  font-family: 'Inter-Bold-Extra', sans-serif;
  font-size: 3rem; /* 48px */
  margin-bottom: 1rem;
  line-height: 1.2;
}

.slide-content p {
  font-size: 1.25rem; /* 20px */
  font-weight: 400;
}

/* Estilo especial para los subtítulos del slide 2 */
.slide-content p.subtitle {
  font-size: 1.5rem; /* 24px */
  font-weight: 500;
  margin: 0.5rem 0;
}

/* --- Modificadores de Alineación --- */
.slide-content.text-left {
  text-align: left;
}

/* Para el texto centrado, también centramos el párrafo */
.slide-content.text-center {
  text-align: center;
}

.slide-content.text-center p {
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.slide-content.text-right {
  text-align: right;
}

/* --- Paginación (Puntos) --- */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
}

.dot.active {
  background: white;
}

/* --- Estilos para Móvil (Media Query) --- */
@media (max-width: 900px) {
  .carousel {
    height: 80vh; /* Altura relativa en móvil */
    min-height: 500px;
  }
  .slide-content h1 {
    font-size: 2.25rem; /* 36px */
  }
  .slide-content p {
    font-size: 1rem; /* 16px */
  }
  .slide-content p.subtitle {
    font-size: 1.25rem; /* 20px */
  }

  /* En móvil, forzamos todo el texto a estar centrado para mejor lectura */
  .slide-content.text-left,
  .slide-content.text-right,
  .slide-content.text-center {
    text-align: center;
  }
  .slide-content.text-right p,
  .slide-content.text-left p {
    margin-left: auto;
    margin-right: auto;
  }
}

.page-hero {
  width: 100%;
  color: white;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: calc(114px + 5rem);
  padding-bottom: 5rem;
  padding-left: 0;
  padding-right: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* Overlay oscuro para legibilidad */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 58, 100, 0.5);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-content h2 {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  color: #8CBCD6;
}

.page-hero-content h1 {
  font-family: 'Inter-Bold-Extra', sans-serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin: 0.5rem 0;
  color: white;
}

.page-hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1rem;
  opacity: 0.9;
  color: white;
}

.page-hero-content p.page-hero-cta {
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: #cce3f3;
}

.page-hero-content.text-left {
  text-align: left;
  margin: 0; /* Quitamos el centrado automático */
}

.page-hero-content.text-right {
  text-align: right;
  margin: 0 0 0 auto; /* Empuja el contenedor a la derecha */
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: calc(110px + 3rem); /* Altura del header móvil + espacio extra */
    padding-bottom: 3rem;
  }
  .page-hero-content h1 {
    font-size: 2.5rem;
  }
  .page-hero-content h2 {
    font-size: 1.2rem;
  }
  .page-hero-content p {
    font-size: 1rem;
  }
}

/* Contenedor para centrar los botones (sin cambios, ya lo tienes) */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

/* --- NUEVO: Estilo base para los botones de la sección --- */
.btn-cta {
  display: inline-flex; /* Usamos inline-flex para alinear el ícono y el texto */
  align-items: center;
  gap: 10px; /* Espacio entre el ícono y el texto */
  padding: 12px 30px;
  border-radius: 8px; /* Bordes redondeados se ven más modernos */
  font-size: 18px;   /* Un tamaño de fuente más balanceado */
  font-weight: 600;
  color: white;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(to right, #7dd8be, #507ad8); /* Tu gradiente original */
}

.btn-cta:hover {
  transform: translateY(-2px); /* Efecto sutil al pasar el mouse */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- NUEVO: Estilo específico para el botón de WhatsApp --- */
.btn-cta.btn-whatsapp {
  background: #25D366; /* Color oficial de WhatsApp */
}

.btn-cta.btn-whatsapp:hover {
  background: #1EAE52; /* Un tono más oscuro para el hover */
}


/* CARDS */
/* ============================= */
/* ===== Cards Home Slider ===== */
/* ============================= */

#Cards_Home_Slider {
  padding: 80px 20px;
  background-color: #fff;
}

/* Contenedor principal */
#Cards_Home_Slider .slider-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Texto superior */
#Cards_Home_Slider .slider-text {
  text-align: center;
  max-width: 700px;
}

#Cards_Home_Slider .slider-title {
  font-size: 2.5rem;
  font-family: 'Inter-Bold-Extra';
  color: #4B84DC;
  margin-bottom: 0.8rem;
}

#Cards_Home_Slider .slider-description {
  font-size: 1.1rem;
  color: #828282;
  line-height: 1.6;
  font-weight: 500;
}

/* Contenedor scroll horizontal */
#Cards_Home_Slider .slider-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}

#Cards_Home_Slider .slider-card {
  flex: 0 0 320px;
  max-width: 100%;
  background: #f9fbff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  scroll-snap-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

#Cards_Home_Slider .slider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Icono */
#Cards_Home_Slider .slider-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Título y texto */
#Cards_Home_Slider .slider-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d4ea2;
  margin-bottom: 0.5rem;
}

#Cards_Home_Slider .slider-card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Scrollbar minimalista */
#Cards_Home_Slider .slider-cards::-webkit-scrollbar {
  height: 8px;
}
#Cards_Home_Slider .slider-cards::-webkit-scrollbar-thumb {
  background: #c7d5f2;
  border-radius: 10px;
}

#Cards_Home_Slider .slider-cards {
  display: grid;
  grid-template-columns: 1fr; /* mobile por defecto */
  gap: 1.5rem;
  justify-items: center;
}

/* Tablet: 2 columnas */
@media (min-width: 768px) {
  #Cards_Home_Slider .slider-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 4 columnas */
@media (min-width: 992px) {
  #Cards_Home_Slider .slider-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Ajustes generales de cada card */
#Cards_Home_Slider .slider-card {
  width: 100%;
  max-width: 320px; /* controla el ancho sin deformar */
}

  /* //Cards */
  #Cards_Home {
    padding: 80px;
    background-color: white;
  }
  
  .contenedor-principal {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    /* align-items: flex-start; */
    align-items: center
  }
  
  .contenido-texto {
    flex: 1;
    min-width: 280px;
  }
  
  .contenido-texto .titulo {
    font-size: 40px;
    font-family: 'Inter-Bold-Extra';
    margin-bottom: 10px;
    color: #4B84DC;
  }
  
  .contenido-texto .descripcion {
    font-size: 28px;
    color: #828282;
    font-weight: 600;
    font-family:'Inter-Variable';
  }
  
  .contenedor-tarjetas {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 tarjetas por fila */
    gap: 20px;
    min-width: 300px;
  }
  
  .tarjeta {
    background-color: #FAFAFA;
    border-radius: 8px;
    padding: 15px;                /* Reducido */
    box-shadow: 0 0 8px rgba(0,0,0,0.2); /* Suavizado */
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100px;           /* También reducido */
  }

  .icono {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .icono img {
    width: 80px;
    height: 80px;
    object-fit: contain;
  }
  
  .titulo-tarjeta {
    color: #828282;
    margin-top: 110px;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
  }

  /* SECTION3 HOME */

  #dr_Home{
    padding: 20px 40px;
  position: relative; /* Necesario para posicionar la textura */
  overflow: hidden;   /* Oculta lo que se salga */
  background-color: #DBE7F2;
  }

  /* #dr_Home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.2
    z-index: 0;
  }*/

  .s3contenedor-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
  }
  
  .s3info-imagen {
    flex: 1;
    min-width: 280px;
    text-align: center;
  }
  
  .s3info-imagen img {
    width: 100%;
    max-width: 360px; /* Controla el tamaño máximo de la imagen */
    height: auto;
    border-radius: 8px;
  }
  
  .s3info-texto {
    flex: 1;
    min-width: 280px;
  }
  
  .s3info-titulo {
    color: #203A64;
    font-size: 34px;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Inter-Bold-Extra';
  }

  .s3info-subtitulo {
    color: #233D66;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: 'Inter-Bold-Extra';
  }
  
  
  .s3info-descripcion {
    font-size: 18px;
    color: #626262;
    font-weight: 500;  
  }
  
  .s3info-subdescripcion {
    font-size: 18px;
    color: #4B84DC;
    font-weight: 600;  
    margin: 20px 0;
  }

  /* SECCION 4  */
  #Seccion4_Home {
    padding: 60px 40px;
    background-color:#DBE7F2;;
  }
  
  .titulo-seccion3 {
    font-family: 'Inter-Bold-Extra';
    font-size: 45px;
    text-align: center;
    margin-bottom: 20px;
    color: #203A64;
  }
  .subtitulo-seccion4{
    font-family: 'Inter-Variable';
    font-size: 20px;
    text-align: center;
    color: #76787A;
    font-weight: 500; 
    margin-bottom: 20px;
  }
  
  .contenedor-seccion3 {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
  }
  
  .seccion3-textos {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .bloque-texto {
    display: flex;
    align-items: flex-start;
    gap: 29px;
  }
  
  .bloque-texto img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-top: 5px;
  }
  
  .bloque-texto p {
    font-family: 'Inter-Variable';
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin: 0;
  }
  
  .seccion3-imagen {
    flex: 1;
    min-width: 300px;
    text-align: center;
  }
  
  .seccion3-imagen img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    height: auto;
    object-fit: cover;
  }
  

  /* /CARRUSEL DE RESEÑAS  */

  .carrusel-resenas {
    padding: 60px 30px;
    background-color: #f3f7fa;
    text-align: center;
  }
  
  .titulo-carrusel {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
  }
  
  .carrusel-caja {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    gap: 10px;
  }
  
  .carrusel-ventana {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  justify-content: start;
}
  
  .carrusel-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  padding: 10px 0;
  width: fit-content;
}
  
  .cuadro-resena {
  background: white;
  border-radius: 10px;
  padding: 20px;
  min-width: 250px;
  width: 80%;
  max-width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cuadro-resena {
  scroll-snap-align: center;
}
  
  .resena-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .resena-nombre {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
  }
  
  .resena-titulo {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    color: #222;
  }
  
  .resena-subtitulo {
    font-size: 14px;
    margin: 0;
    color: #666;
  }

  .resena-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0077b6; /* Puedes cambiar el color */
  }
  
  .resena-info {
    font-size: 14px;
    color: #555;
    text-align: left;
    margin-bottom: 15px;
  }
  
  .resena-estrellas {
    font-size: 22px;
    color: gold;
    text-align: center;
  }
  
  .carrusel-btn {
    background: #0077b6;
    color: white;
    border: none;
    font-size: 28px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    transition: background 0.3s;
    
    display: flex;
    align-items: center;
    justify-content: center;
}
  .carrusel-btn:hover {
    background: #023e8a;
  }

  .resena-estrellas {
    /* display: flex; */
    gap: 5px;
  }
  
  .estrella svg {
    width: 24px;
    height: 24px;
  }
  
  .estrella.activa svg {
    color: #0077b6; /* azul */
  }
  
  .estrella.inactiva svg {
    color: #ccc; /* gris claro */
  }
  
  /* Oculta botones en pantallas pequeñas */
@media (max-width: 768px) {
  .carrusel-btn {
    display: none;
  }

  .cuadro-resena {
    width: 90%;
  }
}
  /* SECCION 5 */
  .section5 {
    display: flex;
    justify-content: space-between; /* Alinea los cuadros horizontalmente */
    gap: 0; /* Elimina cualquier espacio extra entre los cuadros */
    max-width: 80%;
    margin: auto;
  }
  
  .cuadro {
    position: relative;
    overflow: hidden;
    width: 49%;
  }
  
  .cuadro::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(32, 58, 100, 0.4); /* transparente al inicio */
    transition: background-color 0.3s ease;
    z-index: 1;
  }
  
  .cuadro:hover {
    background-color: rgba(152, 209, 202, 0.5)!important;
  }
  
  .cuadro img {
    width: 100%;
    height: auto;
    display: block; /* Elimina cualquier espacio debajo de la imagen */
  }
  
  .texto {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-size: 30px;
    z-index: 2;
    transition: opacity 0.3s;
    font-family: 'Inter-Variable';
  }
  
  .hover-info {
    display: flex;
  flex-direction: column;
  align-items: center;    /* Centra horizontalmente */
  justify-content: center; /* Centra verticalmente (si es necesario) */
  text-align: center;     /* Centra el texto dentro de los elementos */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(80, 165, 155, 0.8)!important; /* Fondo oscuro con transparencia */
    color: white;
    text-align: center;
    padding: 50px;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 0.3s, visibility 0.3s;
  }
  
  .cuadro:hover .texto {
    opacity: 0; /* El texto pequeño se desvanece cuando hay hover */
  }
  
  .cuadro:hover .hover-info {
    opacity: 1; /* El nuevo texto aparece */
    visibility: visible;
  }
  
  button {
    background-color: #0077b6;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s;
  }
  
  button:hover {
    background-color: #005f8a;
  }

  .name-hosp{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .ubi-hosp{
    margin-bottom: 20px;
  }

  .hover-info a {
    color: white;
    text-decoration: none;
  }

  .fas.fa-phone{
    margin-right: 10px;
  }

  /* SECCION 7 */
  .seccion-empresas {
    padding: 40px 20px;
    text-align: center;
  }
  
  .titulo-seccion {
    font-size: 24px;
    margin-bottom: 20px;
    color: #023e8a;
  }
  
  .fila-empresas, .fila-otros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* gap: 20px; */
    /* margin-bottom: 30px; */
}

.fila-otros{
    margin-top: 50px;
}
/* Aplicamos estilos directamente a las imágenes */
.fila-empresas img{
    width: 180px;  /* o el ancho que desees para el "cuadro" */
    height: 100px;
    object-fit: contain;  /* asegura que no se distorsionen */
    padding: 10px;          /* opcional: para que la imagen no quede pegada al borde */
    box-sizing: border-box;
}

.fila-otros img {
    width: 100px;  /* o el ancho que desees para el "cuadro" */
    height: 100px;
    object-fit: contain;  /* asegura que no se distorsionen */
    padding: 10px;          /* opcional: para que la imagen no quede pegada al borde */
    box-sizing: border-box;
}

  
  .fila-empresas img:hover,
  .fila-otros img:hover {
    transform: scale(1.1);
  }
  
  /* --- INICIO ESTILOS SWIPER TESTIMONIALS (MOVIDOS DEL HEADER) --- */

#Seccion5_Home .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.swiper {
    width: 100%;
    padding: 40px 0;
}

.swiper-slide {
    display: flex; /* Asegura que el contenido se centre */
    justify-content: center; /* Centra la tarjeta horizontalmente */
    align-items: stretch;
    height: auto;
    box-sizing: border-box;
}

.swiper-button-next,
.swiper-button-prev {
    color: #0077b6;
    z-index: 10;
}

.swiper-pagination-bullet-active {
    background: #0077b6;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%; /* La tarjeta ocupa el ancho del slide */
    max-width: 400px;
    margin: auto;
    box-sizing: border-box;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #4B84DC;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: bold;
    font-size: 14px;
    color: #203A64;
}

.testimonial-location,
.testimonial-date {
    font-size: 8px;
    color: #9ABCD6;
    font-weight: 600;
}

.testimonial-stars {
    margin-top: 5px;
    color: #203A64;
    font-size: 10px;
}

.testimonial-text {
    font-style: italic;
    font-size: 12px;
    color: #333;
}

@media (max-width: 900px) {
  .swiper-container-wrapper {
    padding: 0 16px; /* Reduce el padding para dar más espacio a la tarjeta */
  }
  .swiper-button-next, .swiper-button-prev {
      display: none; /* Oculta flechas en móvil si estorban */
  }
}

/* --- FIN ESTILOS SWIPER TESTIMONIALS --- */
.swiper-container-wrapper {
  margin: auto;
}

.swiper {
  width: 100%;
  padding: 60px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
}

/* --- Tarjeta de testimonio --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ← CORREGIDO */
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* ← IMPORTANTE */
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* --- Encabezado --- */
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.testimonial-img {
  border-radius: 50%;
  width: 90px;
  height: 90px;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid #4B84DC;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-name {
  font-weight: 800;
  font-size: 18px;
  color: #203A64;
}

.testimonial-location {
  font-size: 11px;
  color: #5B7DA1;
  font-weight: 600;
}

.testimonial-date {
  font-size: 12px;
  color: #A5B7C5;
}

.testimonial-stars {
  margin-top: 5px;
  color: #4B84DC;
  font-size: 13px;
}

/* --- Texto del testimonio --- */
.testimonial-text {
  font-style: italic;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-top: 16px; /* ← CORREGIDO: antes estaba auto */
}

/* --- Paginación y navegación --- */
.swiper-button-next,
.swiper-button-prev {
  color: #4B84DC;
  z-index: 10;
}

.swiper-pagination-bullet-active {
  background: #4B84DC;
}

@media (max-width: 900px) {
  .swiper-container-wrapper {
    padding: 0 20px;
  }

  .testimonial-card {
    max-width: 100%;
  }

  .testimonial-name {
    font-size: 16px;
  }

  .testimonial-text {
    font-size: 13px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* --- Igualar alturas del Swiper --- */
.mySwiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.mySwiper .swiper-slide {
  display: flex;
  align-items: stretch;
}

.mySwiper .testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ← CORREGIDO */
}
 
  /* FOOTER */
  .footer {
    background-color: #4B84DC;
    padding: 50px 20px;
    text-align: center;
    font-family: 'Inter-Variable', sans-serif;
  }
  
  .social-icons {
    margin-bottom: 30px;
  }
  
  .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: white;
    color: #203A64;
    text-decoration: none;
    font-size: 24px;
    transition: background-color 0.3s;
  }

.icon i,
.icon img {
  font-size: 30px;
  height: 30px;
  width: 30px;
  object-fit: contain;
}
  
  .icon:hover {
    background-color: #203A64;
    color: white;
  }
  
  .footer-links {
    font-size: 16px;
    color: white;
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .apartado {
    display: flex;
    justify-content: center;
    align-items: stretch; /* hace que la línea se estire al nivel del contenido más alto */
    gap: 60px;
    padding: 60px 20px;
  }
  
  .texto-izquierda, .texto-derecha {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* text-align: center; */
    /* font-family: Arial, sans-serif; */
    gap: 10px;
  }
  
  .linea-vertical {
    width: 2px;
    background-color: #4E86DC;
  }

  .title-MV{
    font-family: 'Inter-Bold-Extra';
    font-size: 30px;
    /* text-align: center; */
    color: #203A64;
  }

  .slide3 {
    min-width: 100%;
    /* height: 100vh; */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex
;
    align-items: center;
    justify-content: flex-end;
  }
  .aboutcontenedor-info {
    display: flex;
    /* flex-wrap: wrap; */
    align-items: center;
    gap: 30px;
    padding-left: 150px;
    padding-right: 150px;
  }

  .aboutinfo-imagen img{
    width: 100%;
    height: auto;
    border-radius: 8px;
  }
  
  #MisionVision{
    background-color: #DBE8F2;
  }
 

  /* //ABOUT CARD */
  #aboutseccion-valores{
    background-color: #DBE8F2;
    padding: 60px;
  }
  .card-about {
    background: radial-gradient(farthest-corner at top left, #98D1CA, #5686C5);
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
    width: 160px; 
    text-align: center; 
    padding: 20px;
  }

  .card-about img {
    height: 80px; 
  }

  .txt-valores{
    margin-top: 40px;
    font-size: 18px;
    font-weight: 500;
    color: white;
  }
  #aboutseccion-valores h2 {
    font-size: 30px;
    font-family: 'Inter-Bold-Extra';
    margin-bottom: 40px;
    color: #4C8DDC
  }

  /* TITULOS Y RECONOCIMIENTOS */
  #titulos-reconocimientos {
    padding: 60px;
    text-align: center;
    background-color: #203A64;
  }
  
  #titulos-reconocimientos h2 {
    font-size: 30px;
    font-family: 'Inter-Bold-Extra';
    margin-bottom: 40px;
    color: white;
  }
  
  .contenedor-cuadros {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
  }
  
  .cuadrotit {
    width: 30%;
    border: 4px solid #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
  }
  
  .circulos {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
  }
  
  .circulo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* overflow: hidden;
    border: 2px solid #ddd; */
  }
  
  .circulo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .ver-mas {
    background: radial-gradient(farthest-corner at top left, #98D1CA, #5686C5);
    color: white;
    /* padding: 10px; */
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .ver-mas:hover {
    background-color: #45a049;
  }
  
  .informacion {
    display: none;
    margin-top: 10px;
    padding: 20px;
    font-size: 16px;
    color: white;
    text-align: start;
  }

  .informacion li {
    margin-bottom: 10px;
  }

  #info3 {
    font-size: 10px;
  }

  .txt-Academica {
    font-weight: 600;
    margin-top: 60px;
    margin-bottom: 20px;
    font-size: 24px;
    color: #99BBD5;
  }
  
  @media (max-width: 768px) {
    .contenedor-cuadros {
      flex-direction: column;
      align-items: center;
    }
    
    .cuadrotit {
      width: 80%;
      margin-bottom: 20px;
    }
  }
  

  /*ENFERMEDADES*/

  .enfermedades {
    background-color: #DAE8F2;
    text-align: center;
    padding: 40px 20px 60px;
    position: relative;
    color: white;
  }
  
  .enfermedades h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }
  
  .diseases-contenedor-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos tarjetas por fila */
    gap: 30px;
    justify-content: center;
    position: relative;
    top: -60px;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .diseases-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 480px;
    display: flex; /* horizontal layout */
    gap: 15px;
    padding: 20px;
    align-items: center;
  }
  
  .diseases-card img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
  }
  
  .diseases-texto {
    display: flex;
    flex-direction: column;

        text-align: left;
    
    flex: 1;
  }
  
  .diseases-texto h3 {
    margin: 0 0 5px 0;
    color: #4682d0;
    font-size: 24px;
  }
  
  .diseases-texto h3 a {
    margin: 0 0 5px 0;
    color: #4682d0;
    font-size: 24px;
  }
  
  .diseases-texto p {
    margin: 0 0 40px 0;
    font-size: 18px;
    color: #333;
  }
  
  .diseases-texto a {
    align-self: flex-end;
    color: #23487C;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
  }
  
  .vermas-diseases {
    display: inline-block;
    /* margin: 10px auto 30px;*/
    background: linear-gradient(to right, #7dd8be, #507ad8);
    border-radius: 0px;
    padding: 10px 40px;
    font-size: 24px;
    font-weight: 600;
  }

  /*ENFERMEDADES VARIAS */
  .head-diseases {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
  }

  .headgeneral-diseases {
    min-width: 100%;
    /* height: 100vh; */
    background-size: cover;
    background-position: center;
    position: relative;
    display: inline-block;
    align-items: center;
    /* justify-content: flex-end; */
  }

  .slide-content-diseases {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px;
    margin-top: 100px;
    max-width: 700px;
  }

  .slide-content-diseases h2{
    font-size: 18px;
    margin-top: 20px;
    color: #8CBCD6;
  }

  .slide-content-diseases p{
    font-size: 16px;
    margin-top: 20px;
  }

  .title-diseases{
    font-family: 'Inter-Bold-Extra';
    font-size: 50px !important;
    font-weight: 900;
    color: #8DBDD7;
  }

  .apartado-diseases{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 60px;
    padding: 20px 20px 30px;
}

#Diseases-Principal{
    background-color: white;
}

.tratamiento-section {
    background-color: #d9eaf7;
    padding: 80px 40px;
    font-family: sans-serif;
  }
  
  .tratamiento-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .tratamiento-imagen img {
    width: 350px;
    border-radius: 20px;
    object-fit: cover;
  }
  
  .tratamiento-texto {
    max-width: 600px;
  }
  
  .tratamiento-texto h2 {
    font-family: 'Inter-Bold-Extra';
    font-size: 30px;
    /* text-align: center; */
    color: #203A64;
    margin-bottom: 15px;
  }
  
  .tratamiento-texto p {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
  }
  
  .btn-tratamiento {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    background: linear-gradient(to right, #7dd8be, #507ad8);
  }

  .title-Aneurisma {
    font-family: 'Inter-Bold-Extra';
    font-size: 30px;
    /* text-align: center; */
    color: #203A64;
    text-align: center;
  }
  
  .texto-izquierdaaneurisma, .texto-derechaaneurisma{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* text-align: center; */
    /* font-family: Arial, sans-serif; */
    gap: 10px;
    /* text-align: center; */
  }

   .slide-content-treatments {
    position: relative;
    z-index: 2;
    color: white;
    padding: 80px;
    margin-top: 100px;
    /* max-width: 700px; */
  }

  .slide-content-treatments h2{
    font-size: 18px;
    margin-top: 20px;
    color: #8CBCD6;
    text-align: center;
    font-family: 'Inter-Bold-Extra';
  }

  .slide-content-treatments p{
    font-size: 20px;
    margin: 20px 0px;
    text-align: center;
  }

  .title-treatments{
    font-family: 'Inter-Bold-Extra';
    font-size: 50px !important;
    font-weight: 900;
    color: #8DBDD7;
    text-align: center;
    margin-bottom: 40px;
  }

  .imagen-treatments-left {
    flex: 1;
    min-width: 280px;
    text-align: left;
  }

  .imagen-treatments-right {
    flex: 1;
    min-width: 280px;
    text-align: right;
  }

  .imagen-treatments-left img {
    max-width: 500px;
  }
  .imagen-treatments-right img {
    max-width: 500px;
  }
  .titulo-treatments {
    font-family: 'Inter-Bold-Extra';
    color: #203A64;
    font-size: 42px;
    margin-bottom: 8px;
    font-weight: 600;
  }

  .treatments-footer {
      display: flex;
      flex-wrap: wrap;
      height: 100vh;
    }

    .treatfooter-text-container {
      background-color: #dbe7f2;
      flex: 1;
      min-width: 300px;
      padding: 60px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .treatfooter-text-container h1 {
      font-size: 3rem;
      color: #1f335a;
      margin-bottom: 20px;
      font-family: 'Inter-Bold-Extra';
    }

    .treatfooter-text-container p {
      font-size: 1.2rem;
      color: #4b4b4b;
      margin-bottom: 30px;
      line-height: 1.6;
      max-width: 500px;
    }

    .treatfooter-cta {
      background: linear-gradient(to right, #65c7a3, #6ba9f3);
      color: white;
      font-size: 1.5rem;
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      width: fit-content;
      cursor: pointer;
      font-weight: bold;
    }

    .treatfooter-image-container-varices {
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/Varices-Footer.png');
      background-size: cover;
      background-position: center;
    }
    .treatfooter-image-container-trombosis{
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/Trombosis-Footer.png');
      background-size: cover;
      background-position: center;
    }
     .treatfooter-image-container-ulceras{
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/Ulceras-Footer.png');
      background-size: cover;
      background-position: center;
    }

     .treatfooter-image-container-arterial{
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/Arterial-Footer.png');
      background-size: cover;
      background-position: center;
    }

     .treatfooter-image-container-carotida{
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/Carotida-Footer.png');
      background-size: cover;
      background-position: center;
    }

     .treatfooter-image-container-aneurisma{
      flex: 1;
      min-width: 300px;
      background-image: url('../img/treatments/escleroterapia-con-laser.jpg');
      background-size: cover;
      background-position: center;
    }

    /* AVISO DE PRIVACIDAD */

      .head-AvPriv {
    width: 100%;
    position: relative;
    overflow: hidden;
  }

    .AvPriv-section {
  background-color: #f9f9f9;
  padding: 30px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.AvPriv-container {
  max-width: 800px;
  margin: 0 auto;
}

.AvPriv-container p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 16px;
}

.AvPriv-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #004080;
  border-bottom: 2px solid #004080;
  padding-bottom: 6px;
}
.AvPriv-list {
  list-style: none; /* Quitar los bullets por defecto */
  padding-left: 0;
}

.AvPriv-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.AvPriv-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #333;
}

.AvPriv-list-letras {
  padding-left: 20px;
  margin-bottom: 20px;
}

.AvPriv-list-letras li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.AvPriv-subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #004080;
  margin-left: 30px;
}

/*CCONTACTO*/
.contactus-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-family: 'Inter-Variable', sans-serif;
  margin: 2rem 10rem; /* Márgenes a los lados */
}

.contactus-section {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

/* Línea divisoria vertical */
.contactus-section:first-child {
  border-right: 5px solid #cbd5e1;
}

/* Título */
.contactus-title {
  font-family: 'Inter-Bold-Extra';
  font-size: 40px;
  color: #4a8df1;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Estilo de ubicaciones */
.contactus-location h3 {
  font-size: 30px;
  color: #22314d;
  margin-bottom: 0.3rem;
}

.contactus-location p {
  font-size: 16px;
  color: #555;
  margin: 0.6rem 0;
}

.contactus-location {
  margin-bottom: 30px;
}
.contactus-icon {
  margin-right: 0.4rem;
}

/* Instrucciones y campos de cita */
.contactus-instructions {
  font-size: 16px;
  margin-bottom: 1rem;
  color: #333;
}

.contactus-input {
  width: 100%;
  background: #e0ecf8;
  border: none;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
  color: #333;
}

.contactus-input::placeholder {
  color: #777;
}

.contactus-section label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: #22314d;
}

.contactus-checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.contactus-checkbox {
  margin-right: 0.5rem;
}

.contactus-button {
  background-color: #4a8df1;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contactus-button:hover {
  background-color: #3677d1;
}

.contactus-map-section {
  margin-top: 3rem;
  padding: 0 1rem;
  text-align: center;
}

.contactus-subtitle {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contactus-icon {
  color: #3677d1; /* Azul */
  margin-right: 6px;
  font-size: 22px;
}

.blog-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background-color: #e6f0f9; /* color de fondo azul claro */
}

.blog-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  text-align: center;
  padding-bottom: 1.5rem;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: #555;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 1rem;
  color: #0f2348;
}

.blog-card-btn {
  background: linear-gradient(to right, #9de0d3, #507cd1);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  margin-top: auto;
  transition: opacity 0.3s;
}

.blog-card-btn:hover {
  opacity: 0.9;
}

.blog-pagination {
  text-align: center;
  margin: 2rem 0;
}

.blog-pagination button {
  background: none;
  border: none;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  cursor: pointer;
  color: #0f2348;
  font-weight: bold;
  transition: color 0.3s;
}

.blog-pagination button.active {
  color: #507cd1;
  text-decoration: underline;
}

.blog-pagination button:hover {
  color: #507cd1;
}

     .headgeneral-blog {
        min-width: 100%;
        /* height: 100vh; */
        background-size: cover;
        background-position: center;
        position: relative;
        display: inline-block;
        align-items: center;
        margin-bottom: 50px;
        /* justify-content: flex-end; */
        /* padding-right: 5%;    */
  }

  /*MEDIA QUERY PARA EL MENU */
@media (min-width: 902px) and (max-width: 1155px) {
  .logo img {
    height: 40px;
  }
  .nav-menu a {
    font-size: 14px;
  }
}

@media (min-width: 1199px) and (max-width: 1300px){
  .imagen-treatments-left img {
    max-width: 400px!important;
  }
   .imagen-treatments-right img {
    max-width: 400px;
  }
  .aboutcontenedor-info {
    padding-left: 50px;
    padding-right: 50px;
}
}

@media (min-width: 630px) and (max-width: 899px){
  .imagen-treatments-left img {
    max-width: 300px!important;
  }
   .imagen-treatments-right img {
    max-width: 300px;
  }
  .titulo-treatments {
    font-size: 16px;
  }
  .s3info-descripcion {
    font-size: 14px;
  }
  .treatfooter-text-container h1 {
    font-size: 30px;
}
.treatments-footer
{
    height: auto;
}
.treatfooter-text-container p {
    font-size: 16px;
}

.treatfooter-cta {
    font-size: 18px;
}
}

@media (max-width: 629px){
  .imagen-treatments-left img {
    display: none;
  }
   .imagen-treatments-right img {
    display: none;
  }
  .titulo-treatments {
    font-size: 16px;
  }
  .s3info-descripcion {
    font-size: 14px;
  }
  .treatfooter-text-container h1 {
    font-size: 20px;
}
.treatments-footer
{
    height: auto;
}
.treatfooter-text-container p {
    font-size: 16px;
}

.treatfooter-cta {
    font-size: 18px;
}

.aboutcontenedor-info
 {
    display: contents;
}

.s3info-texto {
    margin-top: 20px;
}
}

@media (min-width: 900px) and (max-width: 1199px){
  .imagen-treatments-left img {
    max-width: 300px!important;
  }
   .imagen-treatments-right img {
    max-width: 300px;
  }
  .titulo-treatments {
    font-size: 30px;
}
.s3info-descripcion {
    font-size: 14px;
    color: #626262;
    font-weight: 500;
}
.aboutcontenedor-info {
    padding-left: 90px;
    padding-right: 90px;
}

.treatfooter-text-container h1 {
    font-size: 30px;
}
.treatments-footer
{
    height: auto;
}
}

@media (max-width: 980px) {
  .contactus-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-family: 'Inter-Variable', sans-serif;
    margin: .5rem 1rem;
}
.slide-content-treatments{
  padding: 60px 0px!important;
}
}
@media (max-width: 900px) {
  .logo img {
    height: 40px;
  }
  .nav-menu a {
    color: #4b84dc!important;
  }
  .carousel {
    height: 70vh; /* Altura relativa al viewport */
    min-height: 500px; /* Altura mínima para que no sea muy pequeño */
  }
  .slide {
    padding: 0 20px; /* Padding horizontal para el contenido */
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .slide-1, .slide-2 {
    justify-content: center; /* Centrar contenido en móvil */
    text-align: center;
    padding-right: 20px; /* Resetear padding específico de desktop */
  }
  .slide-1 {
    background-position: 40% center; /* Ajusta la imagen para que se vea mejor */
  }
  .slide-2 {
    background-position: 70% center;
  }
  .slide-content, .slide-content2 {
    max-width: 100%;
    padding: 0;
  }
 .slide-content2 p {
    margin: 30px 0 !important;
  }
  .title-slider {
    font-size: 28px !important;
  }
  .title-slider2 {
    font-size: 32px !important;
  }
  .slider1-content, .slider1-content2 {
    font-size: 18px !important;
  }
  .slide-content3 {
    margin-top: 0;
    padding: 20px;
  }
  .slide-content3 p {
    font-size: 16px !important;
    padding: 0 !important;
    margin: 20px 0 !important;
  }
  .contenedor-seccion3{
    padding: 0px;
  }
  .top-bar{
    padding: 0px;
  }
  #Cards_Home{
    padding: 40px 20px;
  }
  .contenedor-tarjetas {
    grid-template-columns: repeat(1, 1fr);
  }
  #Seccion5_Home {
    margin: 40px 0 !important; /* Ajusta márgenes */
  }
  .section5 {
    display: block; /* O flex con flex-direction: column */
  }
  .cuadro {
    width: 100%;
    margin-bottom: 10px;
  }
  .contenido-texto .titulo {
    font-size: 35px;
  }
  .footer {
    padding: 50px 0px;
  }
  .title-slider {
    font-size: 35px !important;
    font-weight: bold;
}
.title-slider2 {
    font-size: 40px !important;
}
.slider1-content {
    font-size: 20px !important;
}
.slide-content2 {
  /* margin-left: 40px;*/
  margin-left: 0px;
}
.slide-content3{
  padding: 80px 0px;
}
.slide-content3 p{
    margin: 20px!important;
    font-size: 16px!important;
    padding-left: 0px!important;
    padding-right: 0px!important;
}
.cta-btn {
  font-size: 20px !important;
}
.contenedor-tarjetas{
grid-template-columns: repeat(1, 1fr);
}
.contenedor-tarjetas{
  min-width: auto;
}
.section5{
  display: contents;
}
.cuadro {
    width: 100%;
}
#Seccion6_Home{
      margin: 40px!important;
}

.subtitulo-seccion4{
  padding-left: 0px!important;
  padding-right: 0px!important;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
}

.icon i,
.icon img {
  font-size: 30px;
  height: 30px;
  width: 30px;
  object-fit: contain;
}

.aboutcontenedor-info {
    padding-left: 0px!important; 
    padding-right: 0px!important;
}
.apartado {
    display: grid;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding: 60px 40px;
}
.texto-izquierda, .texto-derecha{
    width: 100%;
}
.ver-mas {
  font-size: 14px;
}
.txt-Academica {
  font-size: 18px;
}

.diseases-contenedor-cards {
  grid-template-columns: repeat(1, 1fr);
}

.diseases-card {
        width: 100%;
        margin: auto;
    }

.diseases-texto h3 {
  font-size: 18px;
}
.diseases-card img {
    width: 100px!important;
    height: 100px!important;
}
.apartado-diseases{
    display: block;
}

    .texto-izquierda, .texto-derecha {
        margin-top: 20px;
    }

    .title-diseases {
    font-size: 30px !important;
    }
    .slide-content-diseases h2 {
    font-size: 14px;
    }
    .slide-content-diseases p {
    font-size: 14px;
    }
    .head-diseases {
    height: 600px;
    }
    .headgeneral-diseases {
    height: 100%;
    }
    /* .imagen-treatments-left{
      display: none;
    } */
    
    .head-diseases {
    height: 600px;
  }
  .headgeneral-diseases {
    height: 100%;
  }
/*.imagen-treatments-left{
     display: none;
  }*/

  /* ===== CÓDIGO NUEVO ===== */
    .head-diseases,
  .head-treatments,
  .head-about,
  .head-AvPriv {
    /* Nos aseguramos que este contenedor no tenga el padding superior */
    padding-top: 0;
    height: auto;
  }

  /* Y aplicamos el padding directamente al div que tiene la imagen de fondo */
  .headgeneral-diseases,
  .headgeneral-treatments { /* Asumo que la página de tratamientos usa esta clase */
    padding-top: 90px; /* Un poco más de espacio para que respire */
    min-height: 350px; /* Le damos una altura mínima para que se vea bien */
    display: block;
    box-sizing: border-box; /* Para que el padding se calcule correctamente */
  }

  /* Reducimos el padding del texto para que no sea excesivo */
  .slide-content-treatments {
    padding: 10px 20px !important;
  }
  /* ===== FIN DEL CÓDIGO NUEVO ===== */
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  text-decoration: none;
  background: transparent;
}

.whatsapp-content {
  display: flex;
  align-items: center;
  background-color: #25D366;
  border-radius: 40px;
  padding: 8px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease-in-out;
}

.whatsapp-content img {
  width: 54px;
  height: 54px;
}

.whatsapp-label {
  color: #fff;
  font-weight: 600;
  margin-left: 8px;
  font-size: 14px;
  white-space: nowrap;
}

/* Responsive: oculta texto en pantallas pequeñas */
@media screen and (max-width: 480px) {
  /* .whatsapp-label {
    display: none;
  } */
}
