/* ===== Banner Principal ===== */
.banner-principal {
    position: relative;
    width: 100%;
    height: 70vh; /* Altura adaptable */
    background-image: url("../img/main-slider/servicio-de-neumologia-en-cdmx.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  
  /* Capa difuminada para mejorar contraste */
  .banner-principal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.60); /* Oscurece ligeramente el fondo */
    backdrop-filter: blur(1px); /* Difuminado sutil */
    z-index: 1;
  }
  
  /* Contenido centrado */
  .banner-contenido {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
  }
  
  .banner-contenido h1 {
    font-size:3em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
  }
  
  .banner-contenido p {
    font-size: 2rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
  }
  
  /* ===== Responsividad ===== */
  
  /* Tablets y pantallas medianas */
  @media screen and (max-width: 992px) {
    .banner-principal {
      height: 60vh;
    }
  
    .banner-contenido h1 {
      font-size: 2.2rem;
    }
  
    .banner-contenido p {
      font-size: 1.5rem;
    }
  }
  
  /* Móviles */
  @media screen and (max-width: 576px) {
    .banner-principal {
      height: 55vh;
      padding: 20px;
    }
  
    .banner-contenido h1 {
      font-size: 20px;
    }
  
    .banner-contenido p {
      font-size: 1.3rem;
    }
  }

  /* SECCION BIOGRAFIA */
  .seccion-info {
    width: 100%;
    padding: 60px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
  }
  
  .contenedor-info {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  /* Bloque de texto */
  .info-texto {
    flex: 1;
  }
  
  .info-texto h2 {
    font-size: 3rem;
    color: #53C5D4; /* Color actualizado */
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .info-texto p {
    font-size: 1.5rem;
    color: #252c35; /* Color actualizado */
    line-height: 1.7;
  }
  
  /* Imagen */
  .info-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 280px;
  }
  
  .info-imagen img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* ===== RESPONSIVIDAD ===== */
  
  /* Tablets */
  @media screen and (max-width: 992px) {
    .contenedor-info {
      flex-direction: column;
      text-align: center;
      gap: 30px;
      padding: 0 40px; /* Más espacio lateral en tablets */
    }
  
    .info-texto h2 {
      font-size: 2rem;
    }
  
    .info-texto p {
      font-size: 1.5rem;
    }
  }
  
  /* Móviles */
  @media screen and (max-width: 576px) {
    .seccion-info {
      padding: 40px 25px; /* Más espacio lateral */
    }
  
    .contenedor-info {
      padding: 0 10px; /* Centrado interno */
    }
  
    .info-texto {
      text-align: center;
    }
  
    .info-texto h2 {
      font-size: 30px;
    }
  
    .info-texto p {
      font-size: 1.5rem;
    }
  
    .info-imagen {
      justify-content: center;
    }
  }
    /* Móviles */
/* Dispositivos muy pequeños: hasta 320px */
@media screen and (max-width: 320px) {
  .seccion-info {
    padding: 35px 15px; /* Menos espacio lateral */
  }

  .contenedor-info {
    padding: 0 5px; /* Centrado interno más compacto */
  }

  .info-texto {
    text-align: center;
  }

  .info-texto h2 {
    font-size: 2rem; /* Más pequeño para pantallas chicas */
  }

  .info-texto p {
    font-size: 1.5rem;
  }

  .info-imagen {
    justify-content: center;
  }
}

/* SECCION BENEFICIOS */
/* Contenedor principal para mantener alineación vertical */
.about_team_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Contenedor del ícono */
.about_team_img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px; /* Espacio entre el icono y el texto */
}

/* Estilo responsive del ícono */
.about_team_icon {
  max-width: 120px;   /* Tamaño máximo en escritorio */
  width: 100%;
  height: auto;
  display: block;
}

/* Ajuste para tablets */
@media (max-width: 992px) {
  .about_team_icon {
      max-width: 100px;
  }
}

/* Ajuste para móviles */
@media (max-width: 576px) {
  .about_team_icon {
      max-width: 80px;
  }
}

.h2-seo{
  text-align: center;
 color: #53C5D4; 
 font-weight: 500;
}


/* preguntas frecuentes */
.faq-section {
  padding: 48px 16px;
  max-width: 1290px;
  margin: 0 auto;
}
.faq-section h2 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
  color: #53C5D4;
}
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  color: #000000;
}
.faq-accordion {
  width: 100%;
}
.faq-accordion-item {
  margin-bottom: 16px;
}
.faq-accordion-button {
  width: 100%;
  text-align: left;
  background-color: #53C5D4;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
  border: none;
}
.faq-accordion-button::after {
  content: '\25BC';
  position: absolute;
  right: 16px;
  transition: transform 0.3s ease;
}
.faq-accordion-button.faq-active::after {
  transform: rotate(180deg);
}
.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 16px;
  background-color: #ffffff;
  color: #333;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.4rem;
}

.faq-accordion-content a {
  color:#53C5D4;
}
.faq-accordion-content.faq-active {
  max-height: 250px; 
  padding: 16px;
}
@media (min-width: 1024px) {
  .faq-container {
    flex-direction: row;
  }
  .faq-accordion {
    width: 60%;
  }
}
@media (max-width: 480px) {
  .faq-accordion-button {
    font-size: 1.3rem;
  }
  .faq-accordion-content {
    font-size: 1.3rem;
  }
}

/* Ajuste para tablets */
@media (max-width: 992px) {
  .faq-section h2 {
    font-size: 20px;
  }
}

/* Ajuste para móviles */
@media (max-width: 576px) {
  .faq-section h2 {
    font-size: 25px;
  }
}


/* seccion testimonios seo */
.testimonials-section {
  padding: 40px 20px;
  background-color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.testimonials-section .sec-title h2 {
 font-size: 30px;
 color: #ffffff;
 text-align:center;
 font-weight: bold;
}

.testimonials-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.1);
  padding: 25px 20px;
  max-width: 350px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgb(0 0 0 / 0.15);
}

.testimonial-name {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #333;
}


.testimonial-text {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
  min-height: 72px; 
}

.testimonial-stars {
  font-size: 2rem;
  color: #f5a623; 
  user-select: none;
}

@media (max-width: 768px) {
  .testimonials-container {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 20px 15px;
  }
}
@media (max-width: 480px) {
.testimonials-section .sec-title h2 {
  font-size: 25px;
 }
}

.int-seo {
  color: #53C5D4; /* Texto en blanco */
  cursor: pointer;
}

.int-seo:hover {
  color: #10515a; /* Mantiene el texto en blanco */
}
