@charset "UTF-8";
/* CSS Document */
:root {
  --color-blue: #0F3D91;
  --color-teal: #00C1A4;
  --color-orange: #FF9D3B;
  --color-light-blue: #CFE7FE;
  --color-white: #FFFFFF;
  --color-gray: #3A3A3A;
  --color-gray-light: #F5F5F5;
  --focus-color: #60ADF7;
}

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray);
	margin: 0;
	padding: 0;
}

main {
  margin-top: 136px;
}

h1, h2, h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: var(--color-blue);
}

.site-header {
  background-color: var(--color-white);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-light-blue);
  position: fixed;
  top: 0px;
  z-index: 99;
  width: 100%;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-img {
  height: 5rem; /* 144px basado en 1rem = 16px */
  max-width: none;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 1.125rem;
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--focus-color);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--focus-color);
  outline: none;
}

  .hamburger {
    display: none;
  }


/*HERO*/

.hero {
  background-image: url('../images/hero-somosmas.jpg'); /* reemplaza con tu ruta real */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px; /* altura más horizontal */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
}

.hero-overlay {
  max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);
}

.hero p {
  font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  font-family: 'Work Sans', sans-serif;
  text-decoration: none;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--focus-color);
  outline: none;
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-light-blue);
  outline: none;
}

/*a quien esta dirigido*/
.target-section {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--color-white);
}

.target-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-gray);
}

.target-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.target-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 280px;
  min-height: 200px;
  border-radius: 1rem;
  padding: 2rem 1rem;
  text-align: center;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.target-card img {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.target-card span {
  font-size: 1.5rem;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
}

.card-blue {
  background-color: var(--color-blue);
}

.card-blue:hover,
.card-blue:focus {
  background-color: #265bbf;
}

.card-green {
  background-color: var(--color-teal);
}

.card-green:hover,
.card-green:focus {
  background-color: #3cdac1;
}

.card-orange {
  background-color: var(--color-orange);
}

.card-orange:hover,
.card-orange:focus {
  background-color: #ffbc75;
}

.target-card:focus {
  outline: 3px solid var(--focus-color);
  outline-offset: 4px;
}



/* SECCIÓN: ¿Qué condición estás buscando? */
.seccion-patologias {
  text-align: center;
	    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.seccion-patologias h2 {
  font-size: 2rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--color-blue);
}

/* Contenedor del abecedario */
.filtro-alfabetico-wrapper {
  background-color: var(--color-blue);
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  margin-bottom: 2rem;
}

/* Abecedario */
.filtro-alfabetico {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.filtro-alfabetico .letra {
  background: transparent;
  color: var(--color-white);
  border: none;
  padding: 1rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.filtro-alfabetico .letra:last-child {
  border-right: none;
}

.filtro-alfabetico .letra:hover,
.filtro-alfabetico .letra:focus {
  background-color: var(--color-light-blue);
  color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  outline: none;
}

.filtro-alfabetico .letra.activa {
  background-color: var(--color-light-blue);
  color: var(--color-blue);
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Lista de patologías */
.lista-patologias {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas fijas */
  gap: 1rem;
  margin-bottom: 2rem;
}

.patologia {
  border: 2px solid var(--color-blue);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  color: var(--color-blue);
  background-color: var(--color-white);
  transition: background-color 0.2s ease;
}

.patologia:hover {
  background-color: var(--color-light-blue);
  cursor: pointer;
}

/* Botón final */
.ver-todas-container {
  margin-top: 1rem;
}

.ver-todas-container .btn-primary {
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.ver-todas-container .btn-primary:hover,
.ver-todas-container .btn-primary:focus {
  background-color: var(--focus-color);
}
/*buscador*/
.buscador-inteligente {
  background-color: var(--color-teal);
  padding: 6rem 1rem;
  border-radius: 1rem;
  margin-top: 2rem;
}

.buscador-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.buscador-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
}

.logo-somos img {
  height: 4rem;
}

.buscador-barra {
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  gap: 1rem;
}

.buscador-barra input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
}

.acciones {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.acciones button {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--color-blue);
  cursor: pointer;
}

.divider {
  width: 1px;
  height: 24px;
  background-color: #ccc;
}

.buscador-filtros {
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
}

.buscador-filtros a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 500;
}
/*historias*/

.historias {
  padding: 3rem 1rem;
  background-color: var(--color-blanco);
}

.historias .contenedor {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.historias h2 {
  font-size: 2rem;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 2rem;
}

.historias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.tarjeta-historia {
  display: flex;
  flex-direction: column;
}

.imagen-historia {
  height: 200px;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
}

.imagen-historia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.tarjeta-historia p {
  margin: 1rem 0;
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
}

.tarjeta-historia a {
  color: var(--color-blue);
  text-decoration: underline;
  font-weight: 500;
}

/*mensjae final*/
.mensaje-final {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--color-blue);
  font-size: 1.2rem;
  font-family: 'Work Sans', sans-serif;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/*footer*/
.footer {
  background-color: var(--color-teal);
  padding: 3rem 1rem;
  color: white;
  text-align: center;
}

.footer-contenido {
  max-width: 1240px;
  margin: 0 auto;
}

.logo-footer {
  height: 110px;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
}

.divider {
  height: 1px;
  background-color: #CCCCCC;
  border: none;
  margin: 1.5rem auto;
  width: 90%;
}

.divider2 {
  height: 1px;
  background-color: #CCCCCC;
  border: none;
  margin: 1.5rem auto;
  width: 100%;
}
.footer-social {
  margin-bottom: 20px;
}

.footer-social p {
  margin-bottom: 10px;
  font-size: 14px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 50px;
  height:50px;
  filter: brightness(0) invert(1);
}

/* === ESTILOS PARA DIRECTORIO SOMOS+ === */

/* HERO */
.hero-directorio {
  background-image: url('../images/hero-directorio.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	 height: 600px; /* altura más horizontal */
	display: flex;
  align-items: center;
  justify-content: flex-start;
    padding: 0 6rem;
   color: var(--color-white);
  position: relative;
  text-align: center;
 
}


.hero-directorio .overlay-hero {
  background-color: rgba(15, 61, 145, 0.7);
  padding: 4rem;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 1rem;
}

.hero-directorio h1 {
     font-family: 'Nunito', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-directorio p {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
}

/* FILTROS DE BÚSQUEDA */
.buscador-directorio {
  background-color: #F7F9FA;
  padding: 2rem;
  text-align: center;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.filtros select,
.filtros button {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
}

.filtros button {
  background-color:  var(--color-teal);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.filtros button:hover {
  background-color: var(--focus-color);
}

.mensaje-no-resultados {
  background-color: #EDF1F5;
  padding: 1rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  border-radius: 0.5rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

/* TARJETAS DE APOYO */
.cards-directorio {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem;
  flex-wrap: wrap;
}

.card-directorio {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  text-align: center;
  max-width: 300px;
  flex: 1 1 280px;
}

.card-directorio img {
  width: 64px;
  height: auto;
  margin-bottom: 1rem;
}

.card-directorio h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #0F3D91;
}

.card-directorio p {
  font-family: 'Work Sans', sans-serif;
  color: #444;
  font-size: 1rem;
}

/* Estilos para las tarjetas del directorio */
.target-card h3 {
  font-size: 1.25rem;      /* 20px */
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
  line-height: 1.4;
  color: #fff;          /* Texto oscuro, accesible */
}

.target-card p {
  font-size: 1rem;         /* 16px */
  font-weight: 400;
  line-height: 1.5;
  color: #fff;          /* Gris oscuro */
  margin: 0;
}

/* SECCIÓN DE RESULTADOS */
.resultados-directorio {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* MIGAS DE PAN */
.breadcrumb ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  padding: 0;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb li::after {
  content: ">";
  margin: 0 0.5rem;
  color: #888;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  text-decoration: none;
  color: var(--color-blue);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* FILTROS SELECCIONADOS */
.filtros-seleccionados {
  background-color: #EDF1F5;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: #333;
}

/* GRID DE TARJETAS Y PUBLICIDAD */
.grid-resultados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* TARJETA DE ESPECIALISTA */
.tarjeta-especialista {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  font-family: 'Work Sans', sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tarjeta-especialista .foto {
  width: 80px;
  height: 80px;
  background: linear-gradient(to right, #ddd, #eee);
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.tarjeta-especialista h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #0F3D91;
  font-family: 'Nunito', sans-serif;
}

.tarjeta-especialista .nombre {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tarjeta-especialista .descripcion {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.5rem;
}

.tarjeta-especialista .ciudad {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.tarjeta-especialista .btn-ver-perfil {
  background-color: var(--color-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.tarjeta-especialista .btn-ver-perfil:hover {
  background-color: var(--focus-color);
}

/* TARJETA PUBLICIDAD */
.tarjeta-publicidad {
  border: 2px dashed #ccc;
  border-radius: 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  color: #111;
  text-align: center;
  padding: 1rem;
}

/* PAGINADOR */
.paginador {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.paginador button {
  background-color: white;
  border: 1px solid #ccc;
  color: #0F3D91;
  padding: 0.5rem 0.9rem;
  font-family: 'Work Sans', sans-serif;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.paginador button[aria-current="page"],
.paginador button:hover {
  background-color: var(--color-blue);
  color: white;
}

.hero-patologias {
  background-image: url('../images/hero-patologias.jpg'); /* cambia esta ruta a tu nueva ilustración */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
  
}

.hero-patologias .hero-overlay {
max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero-patologias h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);

}

.hero-patologias p {
 font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

.footer-contenido a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contenido a:hover {
  text-decoration: underline;
}
.terminos-condiciones {
  max-width: 900px;
  margin: 4rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.7;
  color: #333;
}

.terminos-condiciones h1 {
  font-size: 2rem;
  font-family: 'Nunito', sans-serif;
  color: var(--color-blue); /* #0F3D91 */
  margin-bottom: 1.5rem;
  text-align: center;
}

.terminos-condiciones h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Nunito', sans-serif;
}

.terminos-condiciones p,
.terminos-condiciones li {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.terminos-condiciones ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.terminos-condiciones a {
  color: var(--color-blue);
  text-decoration: underline;
}

.terminos-condiciones a:hover {
  color: var(--focus-color); /* #60ADF7 */
}

.terminos-condiciones .fecha-actualizacion {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
}

.buscador-patologias {
  background-color: var(--color-blue);
  padding: 2rem 1rem;
}

.buscador-patologias-container {
  max-width: 1100px;
  margin: 0 auto;
}

.buscador-patologias-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}

.logo-somos-patologias img {
  height: 64px;
}

.barra-busqueda-patologias {
  flex: 1;
  min-width: 280px;
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.barra-busqueda-patologias input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 999px;
}

.acciones-patologias {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.acciones-patologias button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--color-blue);
}

.divider-patologias {
  width: 1px;
  height: 24px;
  background-color: #ccc;
}

.resultado-patologia {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  padding: 0;
  margin-bottom: 2rem;
  gap: 0.5rem;
}

.breadcrumb li::after {
  content: "/";
  margin: 0 0.5rem;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  text-decoration: none;
  color: var(--color-blue);
}

.contenedor-resultado {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.columna-izquierda {
  flex: 1 1 35%;
}

.columna-derecha {
  flex: 1 1 60%;
}

.columna-izquierda h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.imagen-patologia {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.publicidad-box {
  background-color: #f5f5f5;
  padding: 1rem;
  text-align: center;
  border-radius: 1rem;
}

.publicidad-box img {
  max-width: 100%;
  border-radius: 0.5rem;
}

.bloque-info {
  margin-bottom: 2rem;
}

.bloque-info h2 {
  font-size: 1.25rem;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
  font-family: 'Nunito', sans-serif;
}

.bloque-info p,
.bloque-info ul {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  color: #333;
}

.bloque-info ul {
  padding-left: 1.2rem;
  list-style: disc;
}

.bloque-info.especialistas ul {
  list-style: none;
  padding-left: 0;
}

.bloque-info.especialistas li {
  margin-bottom: 0.5rem;
}

.bloque-info.especialistas a {
  color: var(--color-teal);
  text-decoration: underline;
}

.resultados-busqueda {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.resumen-busqueda {
  background-color: #f2f6fd;
  padding: 1rem 1.5rem;
  border-left: 5px solid var(--color-blue);
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
}

.bloque-resultados {
  margin-bottom: 3rem;
}

.bloque-resultados h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.resultado-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.resultado-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.contenido-resultado h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.contenido-resultado h3 a {
  color: var(--color-blue);
  text-decoration: none;
}

.contenido-resultado p {
  font-size: 0.95rem;
  color: #333;
  font-family: 'Work Sans', sans-serif;
}
.sin-resultados {
  background-color: #fef9f6;
  border-left: 6px solid var(--color-orange); /* Usa el color de identidad coral/dorado si aplica */
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 1rem;
  font-family: 'Work Sans', sans-serif;
  color: #333;
}

.sin-resultados h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.sin-resultados p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.formulario-sugerencia {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.formulario-sugerencia label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-blue);
}

.formulario-sugerencia textarea,
.formulario-sugerencia input[type="email"] {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  resize: vertical;
}

.formulario-sugerencia .btn-primary {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.resultados-categoria {
  margin-top: 3rem;
  padding: 1rem;
}

.resultados-categoria h3 {
  font-size: 1.5rem;
  font-family: 'Nunito', sans-serif;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.lista-resultados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tarjeta-resultado {
  display: flex;
  gap: 1rem;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-resultado:hover,
.tarjeta-resultado:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  outline: none;
}

.tarjeta-resultado img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.tarjeta-resultado .contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tarjeta-resultado h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  color: var(--color-blue);
}

.tarjeta-resultado p {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: #444;
  margin: 0;
}
.contenido-especialista {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem 6%;
}

.columna-info {
  flex: 2;
  min-width: 300px;
}

.tarjeta-especialista {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.info-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.foto-especialista {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid #ccc;
}

.info-detalles h2 {
  font-size: 1.5rem;
  font-family: 'Nunito', sans-serif;
  margin-bottom: 0.3rem;
}

.info-detalles .especialidad,
.info-detalles .ubicacion {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  margin: 0.2rem 0;
  color: #444;
}

.btn-contactar {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: var(--color-blue);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.mensaje-recuerdo {
  background-color: #FFF5DA;
  padding: 1rem;
  border-left: 4px solid #F5B300;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  font-weight: 600;
  color: #333;
  font-size: 1rem;
  font-family: 'Work Sans', sans-serif;
}

.pestanas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pestana {
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
}

.pestana.activa {
  background-color: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

.contenido-pestana {
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  color: #444;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.columna-publicidad {
  flex: 1;
  min-width: 250px;
}

.bloque-publicidad {
  background-color: #EDF1F5;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  font-weight: bold;
  color: #333;
  font-family: 'Work Sans', sans-serif;
  border: 2px dashed #bbb;
}

.otros-especialistas {
  padding: 3rem 6%;
  background-color: #F9FAFB;
}

.otros-especialistas h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
  font-family: 'Nunito', sans-serif;
}

.grid-especialistas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card-especialista {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.card-especialista:hover {
  transform: translateY(-5px);
}

.card-especialista img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-especialista .info {
  padding: 1rem;
  text-align: center;
}

.card-especialista h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-family: 'Nunito', sans-serif;
  color: var(--color-dark);
}

.card-especialista p {
  font-size: 0.95rem;
  margin: 0.2rem 0;
  color: #666;
  font-family: 'Work Sans', sans-serif;
}

.card-especialista .btn-ver {
  margin-top: 0.8rem;
  display: inline-block;
  background-color: var(--color-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-familias {
  background-image: url('../images/hero-familias.jpg'); /* cambia esta ruta a tu nueva ilustración */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
  
}

.hero-familias .hero-overlay {
max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero-familias h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);

}

.hero-familias p {
 font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

.hero-profesionales {
  background-image: url('../images/hero-profesionales.jpg'); /* cambia esta ruta a tu nueva ilustración */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
  
}

.hero-profesionales .hero-overlay {
max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero-profesionales h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);

}

.hero-profesionales p {
 font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

.hero-blog {
  background-image: url('../images/hero-blog.png'); /* cambia esta ruta a tu nueva ilustración */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
  
}

.hero-blog  .hero-overlay {
max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero-blog  h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);

}

.hero-blog  p {
 font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

/* === SECCIÓN FAMILIAS === */

.seccion-familias {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.texto-familias h2 {
  font-size: 2rem;
  color: #00C1A4;
  margin-bottom: 1rem;
}

.texto-familias p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.lista-familias {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.lista-familias li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: #444;
}

.acordeon-familias h3 {
  color: #00C1A4;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.acordeon-familias details {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.acordeon-familias summary {
  font-weight: 600;
  cursor: pointer;
  color: #00C1A4;
}

.acordeon-familias p {
  margin-top: 0.5rem;
  color: #333;
  font-size: 0.95rem;
}

/* Botón ya incluido previamente */

.seccion-profesionales {
  padding: 3rem 1rem;
  background-color: #f7f9fc;
}

.contenedor-dos-columnas {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.columna {
  flex: 1;
  min-width: 300px;
}

.texto-profesionales h2 {
  font-size: 2rem;
  color: #0F3D91;
  margin-bottom: 1rem;
}

.texto-profesionales p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.lista-especialidades {
  columns: 2;
  gap: 2rem;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.lista-especialidades li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: #444;
}

.acordeon-profesionales details {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.acordeon-profesionales summary {
  font-weight: 600;
  cursor: pointer;
  color: #0F3D91;
}

.acordeon-profesionales p {
  margin-top: 0.5rem;
  color: #333;
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .contenedor-dos-columnas {
    flex-direction: column;
  }

  .lista-especialidades {
    columns: 1;
  }
}

.acordeon-familias {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: #f0fcfa;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.acordeon-familias h2 {
  color: var(--color-verde);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.acordeon-familias details {
  background: white;
  border: 1px solid #c3eae0;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.acordeon-familias summary {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-verde);
  cursor: pointer;
  outline: none;
}

.acordeon-familias details[open] summary {
  color: var(--color-azul);
}

.acordeon-familias p {
  margin-top: 0.75rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}
.registro-boton-contenedor {
  text-align: center;
  margin-top: 3rem;
}

.boton-registro {
  background-color: var(--color-blue);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.boton-registro:hover,
.boton-registro:focus {
  background-color:var(--focus-color);
  outline: none;
}

.boton-registro-aliados {
    background-color: #FF9D3B;
    color: #fff;
}

.boton-registro-aliados:hover,
.boton-registro-aliados:focus {
  background-color: var(--color-blue);
  outline: none;
}

.acordeon-profesionales{
margin-top: 2rem;
}
.seccion-blog {
  padding: 3rem 1rem;
  background-color: #f8fafc;
}

.titulo-blog {
  text-align: center;
  font-size: 2rem;
  color: #0F3D91;
  margin-bottom: 2rem;
}

.filtros-categorias {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.boton-categoria {
  background-color: #e5e7eb;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-categoria.activo,
.boton-categoria:hover {
  background-color: #0F3D91;
  color: white;
}

.historias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tarjeta-historia {
  background-color: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.tarjeta-historia:hover {
  transform: translateY(-5px);
}

.imagen-historia {
  height: 160px;
  background-color: #ddd;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
}

.historia-1 { background-image: url('/ruta/a/imagen1.jpg'); }
.historia-2 { background-image: url('/ruta/a/imagen2.jpg'); }
.historia-3 { background-image: url('/ruta/a/imagen3.jpg'); }
.historia-4 { background-image: url('/ruta/a/imagen4.jpg'); }

.tarjeta-historia p {
  font-size: 1rem;
  color: #333;
}

.tarjeta-historia a {
  color: #0F3D91;
  font-weight: 600;
  text-decoration: none;
}

.meta-post {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.meta-post .fecha-publicacion,
.meta-post .autor-publicacion {
  display: inline-block;
  margin-right: 0.5rem;
}

.sugerencias-articulos {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.sugerencias-articulos h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #0F3D91;
}

.sugerencias-articulos ul {
  padding-left: 1rem;
  list-style-type: disc;
}

.sugerencias-articulos li {
  margin-bottom: 0.5rem;
}

.sugerencias-articulos a {
  color: #0F3D91;
  text-decoration: none;
  font-weight: 500;
}

.sugerencias-articulos a:hover {
  text-decoration: underline;
}
.pagina-blog {
  padding: 2rem 1rem;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
  color: #666;
  padding: 0;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 0.5rem;
  color: #aaa;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: #0F3D91;
  text-decoration: none;
}

.contenedor-post {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.columna-izquierda {
  flex: 1;
  min-width: 280px;
}

.columna-derecha {
  flex: 2;
  min-width: 300px;
}

.titulo-post {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0F3D91;
}

.imagen-post {
  width: 100%;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.publicidad-box {
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
}

.contenido-post {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

.contenido-post a{
  font-size: 1rem;
  line-height: 1.7;
  text-decoration: none;
  color: var(--color-teal);
}

.boton-leer-mas {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #0F3D91;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-leer-mas:hover {
  background-color: #0d337a;
}

.pagina-blog{
     padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

#formulario.form-section {
  padding-top: 30px;
  background: #e2e9ef;
}

#formulario.form-section h2{
  background: #e2e9ef;
  margin: 0px;
}

#label-ter-cond {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

#label-ter-cond input{
  width: auto;
}

#label-ter-cond a{
  color: var(--color-gray);
  line-height: 1.6;
  font-size: 12px;
  text-decoration: none;
}

#label-ter-cond a:hover{
  color: var(--color-teal);
}

#btn-send-reg {
  margin-top: 20px;
}


.hero-aliados {
  background-image: url('/images/hero-aliados.jpg'); /* cambia esta ruta a tu nueva ilustración */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 6rem;
  color: var(--color-white);
  position: relative;
  
}

.hero-aliados .hero-overlay {
max-width: 480px;
  background-color: rgba(15, 61, 145, 0.7); /* fondo azul translúcido para mejorar contraste */
  padding: 2rem;
  border-radius: 1rem;
}

.hero-aliados h1 {
  font-size: 2.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-white);

}

.hero-aliados p {
 font-size: 1.125rem;
  font-family: 'Work Sans', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--color-white);
}

.seccion-aliados {
  padding: 3rem 1rem;
  background-color: #fffdf8; /* leve tono cálido */
}

.texto-aliados h2 {
  font-size: 2rem;
  color: #FF9D3B; /* dorado alianzas */
  margin-bottom: 1rem;
}

.texto-aliados p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.lista-aliados {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.lista-aliados li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: #444;
}

.acordeon-aliados h3 {
  color: #FF9D3B;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.acordeon-aliados details {
  background-color: #fff;
  border: 1px solid #f0d9bd; /* borde cálido */
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.acordeon-aliados summary {
  font-weight: 700;
  cursor: pointer;
  color: #FF9D3B;
}

.acordeon-aliados p,
.acordeon-aliados li {
  color: #333;
  font-size: 0.95rem;
}


.popup-overlay.active {
  display: flex;
}

.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 61, 145, 0.75); /* azul institucional con transparencia */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Caja del pop-up */
.popup-contenido {
  background: #fff;
  color: #333;
  max-width: 600px;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  animation: fadeIn 0.4s ease;
}

/* Botón cerrar */
.popup-cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #666;
}

.popup-cerrar:hover {
  color: #000;
}

/* Botones de acción */
.popup-boton {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.popup-boton {
  background: #0F3D91;
  color: #fff;
}

.popup-boton:hover {
  background: #0d337a;
}

.popup-boton.secundario {
  background: #00C1A4;
  color: #fff;
}

.popup-boton.secundario:hover {
  background: #009680;
}


/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Responsive: ya cubierto por tu .contenedor-dos-columnas; si necesitas ajuste: */
@media (max-width: 768px) {
  .seccion-aliados { padding: 2rem 1rem; }
}


/* Responsive */
@media (max-width: 768px) {
  .contenedor-profesionales {
    flex-direction: column;
  }
}


@media screen and (max-width: 768px) {
  .contenedor-post {
    flex-direction: column;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .contenedor-profesionales {
    flex-direction: column;
  }
}

/* ========================================================
   RESPONSIVE SOMOS+ (Versión móvil)
   ======================================================== */

/* General */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
    text-align: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
	  padding: 0.75rem 0.4rem;        
  }

  /* ============ HEADER ============ */
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo-img {
    height: 5rem;
    margin-bottom: 0.5rem;
  }

  /* .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0.5rem;
  } */

  .main-nav li {
    margin-bottom: 0.5rem;
  }

  .btn-primary {
    margin-top: 0.5rem;
  }

  /* Menú hamburguesa */
  .hamburger {
    display: block;
    cursor: pointer;
    margin-left: auto;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--color-blue);
  }

  .main-nav.open {
    display: flex;
  }

  /* ============ HERO ============ */
  .hero-overlay h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  /* ============ SECCIÓN OBJETIVO ============ */
/* OCULTAR el filtro alfabético en pantallas pequeñas */

  .filtro-alfabetico-wrapper {
    display: none;
  }
	
	.ver-todas-container .btn-primary {
    background-color: var(--color-blue);
    color: var(--color-white);
    font-size: 1rem;
		padding: 0.75rem 0.2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}


  /* ============ PATOLOGÍAS ============ */
  .filtro-alfabetico {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .letra {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }

  .lista-patologias {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  /* ============ BUSCADOR INTELIGENTE ============ */
	
	.buscador-inteligente {
    background-color: var(--color-teal);
    padding: 2rem 1rem;
    border-radius: 1rem;
    margin-top: 2rem;
}
  .buscador-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .buscador-container {
    padding: 1rem;
  }

  .logo-somos {
    text-align: center;
  }

  .buscador-barra input {
    width: 100%;
    font-size: 1rem;
  }

  /* ============ HISTORIAS REALES ============ */
  .historias-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
	/* Historias verticales */
  .historias-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .tarjeta-historia {
    width: 100%;
  }

  .tarjeta-historia .imagen-historia {
    height: 180px; /* Ajusta según lo que quieras mostrar */
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
  }

  .tarjeta-historia p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.4;
  }

  .tarjeta-historia a {
    margin-top: 0.5rem;
    display: inline-block;
    color: var(--color-primary);
    font-weight: 600;
  }


  /* ============ MENSAJE FINAL ============ */
  .mensaje-final p {
    font-size: 1rem;
    text-align: center;
  }

  /* ============ FOOTER ============ */
  .footer-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }


/* ======================
   BOTÓN HAMBURGUESA JS
   ====================== */
=
  .hamburger {
    display: block;
  }

/* HERO */
  .hero-directorio {
    height: auto;
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-directorio .overlay-hero {
    padding: 1rem;
    width: 100%;
  }

  .hero-directorio h1 {
    font-size: 2rem;
  }

  .hero-directorio p {
    font-size: 0.85rem;
  }

  /* FILTROS */
  .filtros {
    flex-direction: column;
    gap: 0.75rem;
  }

  .filtros select,
  .filtros button {
    width: 100%;
  }

  /* TARJETAS APOYO */
  .cards-directorio {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .card-directorio {
    max-width: 100%;
    width: 100%;
  }

  /* RESULTADOS */
  .filtros-seleccionados {
    flex-direction: column;
    gap: 0.75rem;
  }

  .grid-resultados {
    grid-template-columns: 1fr;
  }

  .tarjeta-publicidad {
    order: 999;
  }

  /* PAGINADOR */
  .paginador {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .paginador button {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  /* MIGAS DE PAN */
  .breadcrumb ul {
    flex-direction: column;
    gap: 0.3rem;
  }

  .breadcrumb li::after {
    content: "";
  }

  .seccion-familias {
    flex-direction: column;
    padding: 2rem;
  }

  .familias-bienvenida,
  .formulario-familias {
    width: 100%;
  }
}

#btn-whatsapp {
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 40px;
	right: 10px;
	z-index: 111111;
	background-color: #32ba46;
	border-radius: 50%;
	transition: ease all 0.4s;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
		0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

#btn-whatsapp:hover {
	box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14),
		0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -7px rgba(0, 0, 0, 0.2);
	right: 20px;
	transform: scale(1.05, 1.05);
}

@media screen and (max-width: 1024px) {
  .site-header {
      padding: 0px ;
  }

  .site-header .container {
    padding: 0px;
    gap: 8px;
  }

  .logo-img {
      height: 50px;
      margin-bottom: 0;
  }

  .logo {
      margin: 0px !important;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .hero {
      height: auto;
      width: 100%;
      padding: 0px;
  }

  .hero-overlay {
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 0px;
  }

  #btn-registro-desk {
    font-size: 16px;
    padding: 4px 8px;
    width: auto;
  }

  .site-header .container {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
  }

  nav {
    display: none;
  }
  nav.active {
    display: flex;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0px;
    background-color: #fff;
    border-radius: 0px 0px 10px 10px;
    padding: 0px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
        box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  }
  nav.active ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 0px;
  }
  nav.active li{
    margin: 0px;
  }
  nav.active li,
  nav.active a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  nav.active a {
    text-align: center;
    padding: 10px 0px;
  }

  header {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hamburger {
      margin-left: unset;
  }

  main {
      margin-top: 70px;
  }

  .buscador-inteligente {
      border-radius: 0px;
  }

  .tarjeta-historia {
      padding: 0px;
  }

  .tarjeta-historia p {
    margin: 0px;
    padding: 0px 15px;
  }

  .tarjeta-historia a {
    margin: 0px;
    padding: 0px 15px;
    padding-bottom: 15px;
  }

  .hero-directorio {
      padding: 0px;
  }

  .hero-directorio .overlay-hero {
      padding: 0px;
      margin: 0px;
      border-radius: 0px;
      width: 100%;
      max-width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 0px;
  }

  .filtros {
      width: 90%;
  }

  .hero-patologias {
      height: auto;
      padding: 0px;
  }

  .hero-patologias .hero-overlay {
      padding: 20px;
      border-radius: 0rem;
  }

  .hero-familias {
      height: auto;
      padding: 0px;
  }

  .hero-familias .hero-overlay {
      padding: 20px;
      border-radius: 0rem;
  }

  .seccion-familias {
      padding: 0px;
  }

  .contenedor-dos-columnas {
      flex-wrap: unset;
      max-width: 100%;
      margin: 0px;
      padding: 20px;
      gap: 0px;
  }

  .columna {
    flex: none;
    min-width: auto;
  }

  .acordeon-familias {
      padding: 10px;
  }

  .hero-profesionales {
      height: auto;
      padding: 0px;
  }

  .hero-profesionales .hero-overlay {
      padding: 20px;
      border-radius: 0px;
  }

    .seccion-profesionales {
      padding: 0px;
  }

  .texto-profesionales h2 {
    margin: 0px;
  }

  .boton-registro {
      padding: 6px 20px;
      font-size: 18px;
  }

  .hero-blog {
      height: auto;
      padding: 0px;
  }

  .hero-blog  .hero-overlay {
      padding: 20px;
      border-radius: 0px;
  }

  .seccion-blog {
      padding: 0px;
  }

  .historias-grid {
      padding: 20px;
  }

  .breadcrumb {
    display: block;
  }

  .breadcrumb ul {
      flex-direction: row;
      gap: 0.3rem;
  }

  .breadcrumb li::after {
      content: "/";
  }

  .pagina-blog {
      padding: 20px;
  }

  .hero-aliados {
      height: auto;
      padding: 0px;
  }

  .hero-aliados  .hero-overlay {
      padding: 20px;
      border-radius: 0px;
  }

  .seccion-aliados {
      padding: 0px;
  }

  .resultados-busqueda {
      padding: 20px;
  }

  .resumen-busqueda {
      margin-bottom: 0rem;
  }

  .contenido-especialista {
      padding: 10px 0px;
  }

  .tarjeta-especialista {
    padding: 15px;
  }

  .info-header {
      flex-direction: column;
  }

  .foto-especialista {
      width: 100%;
      height: 130px;
      object-fit: cover;
  }

  .info-header {
      gap: 0px;
  }

  .info-detalles h2 {
      margin: 10px 0px 0px;
  }

  .otros-especialistas {
      padding: 20px;
  }

  .otros-especialistas h3 {
      margin: 10px 0px 0px;
  }
}