/* ==========================================================================
   salud-ui.css — Interfaz de Salud ASOMAYOR (reemplaza a estilos.css)
   UBICACIÓN: assets/css/salud-ui.css

   PALETA INSTITUCIONAL (extraída de estilos.css y del logo salud.png):
     Azul marino  #1d2767
     Turquesa     #1e94a6
   Neutros del sitio original: #f0f7ff (fondo suave), #d5e1ed (bordes),
   #075e54 (verde oscuro). WhatsApp usa su verde oficial #25d366.
   Tipografía única: Plus Jakarta Sans (sans-serif). Solo modo claro.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --navy: #1d2767;
  --teal: #1e94a6;

  --font: "Inter", "Segoe UI", Verdana, Arial, sans-serif;

  --bg: #ffffff;
  --bg-soft: #f0f7ff;
  --surface: #ffffff;
  --text: #2a2f52;
  --muted: #474d73;
  --heading: #1d2767;
  --border: #d5e1ed;
  --border-strong: #9fb0c8;
  --link: #1d2767;
  --focus: #1e94a6;

  --btn-bg: #1d2767;
  --btn-bg-hover: #131a4a;
  --wa-bg: #25d366;
  --wa-bg-hover: #1ebe5b;
  --wa-text: #072b18;

  --chip-bg: rgba(30, 148, 166, 0.12);
  --chip-border: rgba(30, 148, 166, 0.5);

  --shadow-sm: 0 1px 2px rgba(29, 39, 103, 0.06), 0 2px 8px rgba(29, 39, 103, 0.05);
  --shadow-md: 0 10px 28px rgba(29, 39, 103, 0.14);
  --shadow-lg: 0 20px 48px rgba(29, 39, 103, 0.2);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --lift: cubic-bezier(0.2, 0.8, 0.2, 1);

  --bs-body-font-family: var(--font);
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-link-color: var(--link);
  --bs-link-hover-color: var(--link);
}

/* ---------- 2. BASE Y ACCESIBILIDAD ---------- */
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { max-width: 70ch; }
a { color: var(--link); font-weight: 400; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
address { font-style: normal; margin: 0; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0.5rem; z-index: 3000;
  background: #fff; color: #1d2767; font-weight: 600;
  padding: 0.8rem 1.2rem; border-radius: var(--r-sm);
}
.skip-link:focus { left: 0.5rem; }

[id] { scroll-margin-top: 5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- 3. BOTONES ---------- */
.btn {
  --bs-btn-border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 2.9rem; padding: 0.55rem 1.2rem;
  font-family: var(--font); font-weight: 500; font-size: 0.95rem; line-height: 1.25;
  border-width: 2px; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-lg { min-height: 3.1rem; font-size: 1rem; padding: 0.65rem 1.5rem; }
.btn-sm { min-height: 2.5rem; font-size: 0.9rem; }
.btn:active { transform: translateY(1px); }

.btn-brand { background: var(--btn-bg); border-color: var(--btn-bg); color: #fff; }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--btn-bg-hover); border-color: var(--btn-bg-hover); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline-brand { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-wa { background: var(--wa-bg); border-color: var(--wa-bg); color: var(--wa-text); }
.btn-wa:hover, .btn-wa:focus-visible { background: var(--wa-bg-hover); border-color: var(--wa-bg-hover); color: var(--wa-text); box-shadow: var(--shadow-md); }

.link-btn { background: none; border: 0; padding: 0.3rem 0; font: inherit; font-weight: 500; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; text-align: left; }

/* ---------- 4. NAVEGACIÓN ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--navy); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.16); }
.site-nav { padding-block: 0.6rem; }
.site-nav .navbar-brand img { display: block; height: auto; width: 170px; }
.site-nav .nav-link {
  color: #fff; font-weight: 400; font-size: 0.95rem; padding: 0.7rem 0.9rem; min-height: 3rem;
  display: inline-flex; align-items: center; gap: 0.4rem; position: relative; opacity: 0.92;
}
.site-nav .nav-link::after {
  content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 2px;
  background: var(--teal); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--lift);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; opacity: 1; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav__toggler { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: var(--r-sm); font-weight: 500; padding: 0.5rem 1rem; min-height: 3rem; }
.site-nav__toggler:focus-visible, .site-nav .nav-link:focus-visible { outline-color: #fff; }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: 0.75rem 0 1rem; }
  .site-nav .nav-link::after { left: 0.9rem; right: auto; width: 2.5rem; }
}

/* ---------- 5. HERO ---------- */
.hero { background: var(--navy); color: #fff; padding: 3.5rem 0 4rem; }
.hero__titulo { color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.5rem); font-weight: 600; line-height: 1.2; margin: 0 0 0.9rem; max-width: 24ch; }
.hero__lead { font-size: 1.05rem; color: #dfe6ff; margin: 0 0 1.75rem; }
.hero__ayuda { margin: 1.25rem 0 0; color: #dfe6ff; }
.hero__ayuda a { color: #fff; font-weight: 400; }

.hero__figura { position: relative; margin: 0; padding: 0 0 1.5rem 1.5rem; }
.hero__figura img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 30% 40%;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: #e8f0f8;
}
.hero__dato {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 0.8rem;
  background: #fff; color: var(--text); border-radius: var(--r-lg); padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-lg); max-width: 14rem;
}
.hero__dato strong { font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--navy); }
.hero__dato span { font-size: 0.85rem; line-height: 1.3; }
@media (max-width: 991.98px) {
  .hero { padding: 2.75rem 0 3.5rem; }
  .hero__figura { max-width: 24rem; margin-inline: auto; }
}

/* ---------- 6. BUSCADOR ---------- */
.buscador {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end;
  background: #fff; color: var(--text);
  border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow-lg);
}
.buscador__campo { min-width: 0; }
.buscador__campo--esp { grid-column: 1 / -1; }
.buscador .form-label { font-weight: 500; font-size: 0.85rem; color: var(--heading); margin-bottom: 0.35rem; }
.buscador .form-control, .buscador .form-select {
  min-height: 3rem; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background-color: #fff; color: var(--text); font-size: 1rem; font-family: var(--font);
}
.buscador .form-select { padding-right: 2.5rem; }
.buscador .form-control:focus, .buscador .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(30, 148, 166, 0.22); }
.buscador__btn { min-height: 3rem; padding-inline: 1.4rem; }

@media (max-width: 575.98px) {
  .buscador { grid-template-columns: 1fr; }
  .buscador__btn { width: 100%; }
}

/* Barra del directorio: 3 columnas en pantallas amplias */
.buscador--barra .buscador__campo--esp { order: -1; }
@media (min-width: 992px) {
  .buscador--barra { grid-template-columns: 1fr 1.25fr auto; }
  .buscador--barra .buscador__campo--esp { grid-column: auto; order: 0; }
}

/* ---------- 7. SECCIONES ---------- */
.seccion { padding: 4.5rem 0; background: var(--bg); }
.seccion--suave { background: var(--bg-soft); }
.seccion__titulo { text-align: center; font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 0 auto 0.7rem; }
.seccion__titulo--izq { text-align: left; margin-inline: 0; }
.seccion__sub { text-align: center; color: var(--muted); font-size: 1rem; margin: 0 auto; }
.seccion__lead { font-size: 1.05rem; color: var(--text); margin: 0 0 1.75rem; }
@media (max-width: 767.98px) { .seccion { padding: 3.5rem 0; } }

/* Tarjetas: movimiento al pasar el cursor (o enfocar con teclado) */
.servicio, .programa, .contacto__bloque, .ficha, .galeria__item {
  transition: transform .3s var(--lift), box-shadow .3s var(--lift), border-color .3s;
  will-change: transform;
}
.servicio:hover, .programa:hover, .contacto__bloque:hover, .ficha:hover, .ficha:focus-within, .galeria__item:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--teal);
}

/* Nosotros */
.about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.lista-datos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.lista-datos li { display: flex; gap: 1rem; align-items: flex-start; }
.lista-datos h3 { font-size: 1rem; margin: 0 0 0.25rem; }
.lista-datos p { margin: 0; color: var(--muted); }
.lista-datos__ico {
  flex: none; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--chip-bg); border: 1.5px solid var(--chip-border); color: var(--heading);
}

/* Servicios del plan */
.servicio {
  display: flex; gap: 1.1rem; height: 100%; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.servicio__ico {
  flex: none; width: 3.4rem; height: 3.4rem; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--navy); color: #fff; transition: transform .3s var(--lift), background-color .3s;
}
.servicio:hover .servicio__ico { transform: rotate(-6deg) scale(1.08); background: var(--teal); }
.servicio__titulo { font-size: 1.025rem; margin: 0 0 0.35rem; }
.servicio p { margin: 0; color: var(--muted); }

/* Programas (abren modal) */
.programa {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.programa img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s var(--lift); }
.programa:hover img { transform: scale(1.05); }
.programa__cuerpo { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.25rem; flex: 1; background: var(--surface); position: relative; }
.programa__titulo { font-size: 1rem; margin: 0; }
.programa__titulo i { color: var(--teal); margin-right: 0.35rem; }
.programa p { margin: 0; color: var(--muted); }

/* ---------- 8. FICHA DE ESPECIALISTA (vertical) ---------- */
.ficha {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.ficha__foto { position: relative; aspect-ratio: 5 / 4; background: var(--bg-soft); overflow: hidden; }
.ficha__foto img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block;
  transition: transform .6s var(--lift);
}
.ficha:hover .ficha__foto img { transform: scale(1.06); }
.avatar-iniciales {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--navy); background: var(--chip-bg);
}
.ficha__verificado {
  position: absolute; top: 0.8rem; left: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; color: var(--navy); font-size: 0.75rem; font-weight: 500; line-height: 1;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.ficha__verificado i { color: var(--teal); font-size: 1rem; }

.ficha__cuerpo { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 1.25rem 1.35rem 1.35rem; }
.ficha__nombre { font-size: 1.1rem; margin: 0 0 0.65rem; overflow-wrap: anywhere; }

.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0; }
.badge-esp {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.7rem; font-weight: 500; line-height: 1.25;
  padding: 0.35rem 0.7rem; border-radius: 999px;
  background: var(--chip-bg); border: 1px solid var(--chip-border); color: var(--navy);
}
.badge-esp--mas { text-transform: none; letter-spacing: 0; background: transparent; border-style: dashed; }

.ficha__sede { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0 0 1.15rem; color: var(--muted); font-size: 0.9rem; }
.ficha__sede i { color: var(--teal); margin-top: 0.3rem; }
.ficha__acciones { margin-top: auto; }
.ficha__acciones .btn { width: 100%; }

/* ---------- 9. DIRECTORIO ---------- */
.dir-hero { background: var(--navy); color: #fff; padding: 2.5rem 0 4.75rem; }
.dir-hero__ruta { font-size: 0.9rem; color: #dfe6ff; margin-bottom: 1rem; }
.dir-hero__ruta a { color: #fff; }
.dir-hero__ruta i { font-size: 0.65rem; margin-inline: 0.35rem; }
.dir-hero__titulo { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin: 0 0 0.6rem; }
.dir-hero__lead { color: #dfe6ff; font-size: 1rem; margin: 0; }

.dir-buscar { margin-top: -2.75rem; position: relative; z-index: 2; }
.dir-resultados { padding-top: 3.5rem; }
.dir-resultados__cab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.dir-resultados__titulo { font-size: 1.25rem; margin: 0; }
.dir-resultados__titulo:focus { outline: none; }
.filtros-activos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.filtro-chip { padding: 0.35rem 0.8rem; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; }

.vacio {
  text-align: center; padding: 3rem 1.5rem; border: 2px dashed var(--border-strong);
  border-radius: var(--r-xl); background: #fff; max-width: 40rem; margin: 2rem auto 0;
}
.vacio > i { font-size: 2.4rem; color: var(--teal); margin-bottom: 0.75rem; }
.vacio h3 { font-size: 1.35rem; }
.vacio p { margin-inline: auto; color: var(--muted); }

/* Enlaces por especialidad (navegación y SEO interno) */
.esp-links { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.esp-links__titulo { font-size: 1.05rem; margin: 0 0 1.1rem; }
.esp-links__lista { list-style: none; display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 0; padding: 0; }
.esp-link {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  font-size: 0.7rem; font-weight: 500; line-height: 1.25; color: var(--navy);
  padding: 0.55rem 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--border-strong);
  transition: transform .25s var(--lift), background-color .2s, border-color .2s, box-shadow .25s;
}
.esp-link:hover, .esp-link[aria-current="page"] { background: var(--chip-bg); border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.esp-link[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 10. GALERÍA ---------- */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 0.9rem; margin-top: 2.5rem; }
.galeria__item { padding: 0; border: 1px solid transparent; background: #fff; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--lift); }
.galeria__item:hover img { transform: scale(1.06); }
@media (max-width: 575.98px) { .galeria { grid-template-columns: repeat(2, 1fr); } }

.modal-content--foto { background: #070a22; border: 0; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.modal-content--foto .carousel-item img { max-height: 82vh; object-fit: contain; background: #070a22; }
.galeria-cerrar {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10; opacity: 1;
  background-color: rgba(7, 10, 34, 0.8); border-radius: 50%; padding: 0.9rem; background-size: 1rem;
}
.carousel-control-prev, .carousel-control-next { width: 4.5rem; opacity: 1; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  width: 3rem; height: 3rem; border-radius: 50%; background-color: rgba(7, 10, 34, 0.8); background-size: 55%;
}

/* ---------- 11. MODALES ---------- */
.modal-content { background: #fff; color: var(--text); border: 0; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.modal-header, .modal-footer { border-color: var(--border); padding: 1.15rem 1.5rem; }
.modal-header { align-items: flex-start; }
.modal-body { padding: 1.5rem; }
.modal-title { font-size: 1.2rem; margin: 0; }
.modal-footer { gap: 0.6rem; flex-wrap: wrap; }
.modal-footer .btn { flex: 1 1 14rem; margin: 0; }
.btn-close { width: 1.5rem; height: 1.5rem; padding: 0.75rem; opacity: 0.8; border-radius: 50%; }
.modal-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 1.25rem; }
.modal-body p { font-size: 1rem; max-width: none; }

.mm-cabecera { display: flex; align-items: center; gap: 1.1rem; }
.mm-foto { flex: none; width: 5.5rem; height: 5.5rem; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); }
.mm-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.mm-foto .avatar-iniciales { font-size: 1.8rem; }
.mm-h { font-size: 1rem; margin: 0 0 0.8rem; }
.mm-h i { color: var(--teal); margin-right: 0.4rem; }
.mm-consulta { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1rem 1.1rem; margin-bottom: 0.8rem; }
.mm-consulta .badges { margin-bottom: 0.6rem; }
.mm-consulta p { margin: 0; font-size: 1rem; line-height: 1.6; }
.mm-vacio { color: var(--muted); font-size: 1rem; }
.mm-sedes { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.5rem; }
.mm-sedes li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 1rem; }
.mm-sedes i { color: var(--teal); margin-top: 0.35rem; }
#mmSedesWrap { margin-top: 1.5rem; }
.mm-aviso { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.25rem 0 0; padding: 0.85rem 1rem; border-radius: var(--r-sm); background: var(--chip-bg); font-size: 0.95rem !important; }
.mm-aviso i { margin-top: 0.3rem; color: var(--teal); }
@media (max-width: 575.98px) { .modal-body, .modal-header, .modal-footer { padding-inline: 1.1rem; } }

/* ---------- 12. CONTACTO ---------- */
.contacto { padding: 4.5rem 0; background: var(--bg); }
.contacto__bloque { height: 100%; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.contacto__h { font-size: 1.05rem; margin: 0 0 0.9rem; }
.contacto__h i { color: var(--teal); margin-right: 0.45rem; }
.contacto__txt { font-size: 1rem; margin: 0 0 0.6rem; }
.contacto__link { font-weight: 400; font-size: 1rem; overflow-wrap: anywhere; }
.mapa { margin-top: 2.5rem; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); height: 24rem; box-shadow: var(--shadow-sm); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 13. PIE ---------- */
.site-footer { background: var(--navy); color: #e6eafa; }
.site-footer__in { display: grid; gap: 2.5rem; padding-block: 3.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__marca img { width: 170px; height: auto; margin-bottom: 0.9rem; }
.site-footer__marca p { color: #d6dcf5; margin: 0; }
.site-footer__h { font-family: var(--font); font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 0.8rem; letter-spacing: 0; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.site-footer a, .site-footer .link-btn { color: #fff; font-weight: 400; display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer :focus-visible { outline-color: #fff; }
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a {
  width: 3rem; height: 3rem; justify-content: center; border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%; font-size: 1.15rem; text-decoration: none; transition: background-color .2s, color .2s, transform .3s var(--lift);
}
.social a:hover { background: #fff; color: var(--navy); transform: translateY(-4px); }
.site-footer__credito { background: #131a47; padding: 1.1rem 0; text-align: center; font-size: 0.92rem; }
.site-footer__credito p { margin: 0 auto; color: #d6dcf5; max-width: none; }
.site-footer__credito a { min-height: 0; display: inline; font-weight: 400; }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 1040;
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 3.5rem; min-width: 3.5rem; justify-content: center;
  padding: 0 1.2rem; background: var(--wa-bg); color: var(--wa-text); border-radius: 999px;
  font-weight: 500; text-decoration: none; box-shadow: 0 8px 24px rgba(7, 43, 24, 0.35);
  transition: transform .3s var(--lift), background-color .2s;
}
.wa-flotante i { font-size: 1.7rem; }
.wa-flotante:hover { background: var(--wa-bg-hover); color: var(--wa-text); transform: translateY(-4px); }
.wa-flotante:focus-visible { outline-color: var(--wa-text); outline-offset: 3px; }
@media (max-width: 575.98px) { .wa-flotante { padding: 0; } .wa-flotante span { display: none; } }

/* Impresión */
@media print {
  .site-header, .wa-flotante, .buscador, .mapa, .ficha__acciones { display: none !important; }
  body { background: #fff; color: #000; }
  .ficha { break-inside: avoid; box-shadow: none; }
}