/* ============================================================================
   INTELLI-REHAB · Sitio público de cada centro — /c/{slug}
   ----------------------------------------------------------------------------
   Es el mismo tema del sitio de Intelli-Dental, portado tal cual: marfil de
   fondo, arena para alternar, verde casi negro en las secciones oscuras y
   serif para todo título. Mismo inventario de selectores `.hs-*`, mismos
   valores. Se pidió que se viera exactamente igual y se ve exactamente igual.

   NADA DE SOMBRAS. El relieve lo da un anillo de 1 px: por eso `--hs-shadow`
   no es una sombra sino `0 0 0 1px var(--hs-border)`.

   EL COLOR LO PONE CADA CENTRO. Las variables de abajo son sólo el valor de
   arranque: el layout las pisa con la paleta que `SitioModel::paleta()` calcula
   en PHP a partir del color de acento que el centro eligió en Configuración.
   Se calcula en el servidor y no con `color-mix()`, por lo mismo que en el
   panel: en un centro la computadora de recepción suele ser vieja.

   Iconos: sprite SVG propio (`partials/iconos.php`). Sin CDN — esta página la
   abre gente desde el celular, a veces con mala señal, y a veces buscando a
   dónde llevar a alguien esta misma noche.

   Al final del archivo están las piezas que este sitio tiene y el de Dental
   no: la ficha de datos declarados, los derechos de la persona usuaria y la
   franja de crisis.
   ============================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&family=Libre+Franklin:wght@400;500;600;700&display=swap");

:root {
    --hs-accent:      #1f6f68;   /* teal — lo pisa el layout con el ajuste real */
    --hs-accent-d:    #14201d;
    --hs-accent-soft: #e9f1ef;   /* menta */
    --hs-ink:         #16211e;   /* títulos */
    --hs-deep:        #14201d;   /* secciones oscuras, pie y CTA */
    --hs-text:        #4b564f;
    --hs-muted:       #7a857e;
    --hs-bg:          #fffdf9;   /* marfil */
    --hs-soft:        #f6f4ee;   /* arena */
    --hs-border:      #ece7db;   /* línea fina */
    --hs-line-2:      #d8d2c4;   /* borde de control (botón, input) */
    --hs-on-ink:      #cdd8d3;   /* texto sobre oscuro */
    --hs-on-ink-dim:  #8fa09a;
    --hs-radius:      16px;
    --hs-radius-sm:   11px;
    --hs-shadow:      0 0 0 1px var(--hs-border);
    --hs-shadow-lg:   0 14px 34px rgba(20, 32, 29, .07), 0 0 0 1px var(--hs-border);
    --hs-font:        "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --hs-head:        "Newsreader", Georgia, "Times New Roman", serif;
    --hs-title:       "Newsreader", Georgia, "Times New Roman", serif;
    --hs-green:       #1f7a4d;
    --hs-amber:       #d99b3e;
    --hs-ease:        cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

body.hs {
    margin: 0;
    background: var(--hs-bg);
    color: var(--hs-text);
    font-family: var(--hs-font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.hs h1, body.hs h2, body.hs h3, body.hs h4 {
    font-family: var(--hs-head);
    color: var(--hs-ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.012em;
    margin: 0;
}

body.hs a { color: var(--hs-accent); text-decoration: none; }
body.hs a:hover { text-decoration: underline; }
body.hs img { max-width: 100%; display: block; }
body.hs p { margin: 0 0 1em; }
body.hs p:last-child { margin-bottom: 0; }

svg.icon {
    flex: 0 0 auto; width: 20px; height: 20px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
    vertical-align: -.22em;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hs-container { width: min(100% - 64px, 1180px); margin-inline: auto; }
.hs-section { padding: 112px 0; }
.hs-section.soft { background: var(--hs-soft); }
.hs-section.tight { padding: 72px 0; }

/* El antetítulo es una etiqueta en versalitas, no una píldora. La versión de
   píldora vive abajo, sólo dentro del hero. */
.hs-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--hs-accent); font-size: 12.5px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}

/* Encabezado de sección ALINEADO A LA IZQUIERDA. Es parte del layout que a
   Enrique le gustó: el original no centra ni un título. */
.hs-sec-head { max-width: 62ch; margin: 0 0 52px; text-align: left; }
body.hs .hs-sec-head h2 { font-size: clamp(29px, 3.4vw, 40px); margin-bottom: 18px; }
.hs-sec-head p { color: var(--hs-text); font-size: 17.5px; line-height: 1.68; margin: 0; }
.hs-sec-head.left { margin-inline: 0; text-align: left; }


/* ----------------------------------------------------------------------------
   POR QUÉ TANTO `body.hs` DELANTE DE LOS TÍTULOS
   El reset de arriba —`body.hs h1, body.hs h2, …  { margin: 0 }`— tiene
   especificidad (0,1,2) y le gana a cualquier `.hs-loquesea h2`, que es (0,1,1).
   Resultado: los márgenes por sección NUNCA se aplicaban y todos los títulos
   salían pegados a su párrafo. Calificando la regla de sección con `body.hs`
   sube a (0,2,2) y por fin manda. Lo mismo pasa con el color, y por eso el
   título del cierre y los encabezados del pie salían invisibles sobre oscuro.
   Si agregas un título nuevo con margen o color propio, califícalo igual.
   ---------------------------------------------------------------------------- */

/* ---------------------------------------------------------------- botones */
.hs-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 50px; padding: 0 24px; border: 0; border-radius: var(--hs-radius-sm);
    font-family: var(--hs-font); font-size: 15px; font-weight: 600;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background-color .18s var(--hs-ease), color .18s var(--hs-ease),
                border-color .18s var(--hs-ease), filter .18s var(--hs-ease);
}
.hs-btn:hover { text-decoration: none; }
.hs-btn svg.icon { transition: transform .18s var(--hs-ease); }
/* `body.hs a` gana por especificidad a `.hs-btn-*`, así que los colores de
   texto de los botones se declaran con el mismo peso. */
body.hs .hs-btn-primary, body.hs .hs-btn-dark, body.hs .hs-btn-light,
body.hs .hs-btn-primary:hover, body.hs .hs-btn-dark:hover, body.hs .hs-btn-light:hover { color: #fff; }
body.hs .hs-btn-ghost { color: var(--hs-ink); }
body.hs .hs-btn-ghost:hover { color: var(--hs-ink); }
.hs-btn-primary { background: var(--hs-accent); color: #fff; }
.hs-btn-primary:hover { color: #fff; filter: brightness(.9); }
.hs-btn-dark { background: var(--hs-deep); color: #fff; }
.hs-btn-dark:hover { color: #fff; filter: brightness(1.35); }
.hs-btn-ghost { background: transparent; color: var(--hs-ink); border: 1px solid var(--hs-line-2); }
.hs-btn-ghost:hover { background: #fff; border-color: var(--hs-ink); }
.hs-btn-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .24); }
.hs-btn-light:hover { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .5); }
.hs-btn-sm { height: 42px; padding: 0 20px; font-size: 13.5px; border-radius: 9px; }
.hs-btn-wide { width: 100%; }

/* ------------------------------------------------------------ barra superior */
/* Franja de datos que se va con el scroll; el encabezado se queda pegado.
   Es exactamente el remate del sitio original. */
.hs-topbar { background: var(--hs-deep); color: var(--hs-on-ink); font-size: 13.5px; }
.hs-topbar .hs-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding-block: 9px; line-height: 1.4;
}
.hs-topbar-side { display: flex; align-items: center; gap: 22px; min-width: 0; }
.hs-topbar span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hs-topbar svg.icon { width: 14px; height: 14px; opacity: .6; }
body.hs .hs-topbar a { color: #fff; font-weight: 700; }
body.hs .hs-topbar a:hover { color: var(--hs-accent); text-decoration: none; }

/* ---------------------------------------------------------------- cabecera */
.hs-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 253, 249, .88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hs-border);
}
.hs-header .hs-container { display: flex; align-items: center; gap: 24px; height: 74px; }
.hs-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.hs-logo:hover { text-decoration: none; }
.hs-logo > span:last-child { min-width: 0; }
.hs-logo-mark {
    display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto;
    border-radius: var(--hs-radius-sm); color: var(--hs-accent); background: var(--hs-accent-soft);
}
.hs-logo-mark svg.icon { width: 23px; height: 23px; }
.hs-logo-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hs-logo b {
    display: block; font-family: var(--hs-head); font-size: 20px; font-weight: 600;
    color: var(--hs-ink); line-height: 1.1; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hs-logo small {
    display: block; font-size: 10.5px; color: var(--hs-muted); font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; margin-top: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Navegación sin píldoras: subrayado fino que crece desde la izquierda. */
.hs-nav { display: flex; align-items: center; gap: 24px; }
.hs-nav a {
    position: relative; padding: 6px 0; border-radius: 0;
    color: #3a453f; font-size: 15px; font-weight: 400; text-decoration: none;
    transition: color .16s var(--hs-ease);
}
.hs-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: var(--hs-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .22s var(--hs-ease);
}
.hs-nav a:hover { background: transparent; color: var(--hs-ink); text-decoration: none; }
.hs-nav a:hover::after { transform: scaleX(1); }
.hs-nav a.active { color: var(--hs-ink); background: transparent; font-weight: 600; }
.hs-nav a.active::after { transform: scaleX(1); }

.hs-head-actions { display: flex; align-items: center; gap: 12px; }
.hs-head-phone {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--hs-ink); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.hs-head-phone svg.icon { width: 17px; height: 17px; color: var(--hs-accent); }
.hs-head-phone:hover { color: var(--hs-accent); text-decoration: none; }
.hs-burger {
    display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
    border: 1px solid var(--hs-line-2); border-radius: 10px;
    background: transparent; color: var(--hs-ink); cursor: pointer;
}

/* -------------------------------------------------------------------- hero */
.hs-hero {
    position: relative; overflow: hidden; background: var(--hs-bg);
    padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
}
.hs-hero::before { content: none; }
.hs-hero-grid {
    position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 56px; align-items: center;
}
/* En el hero el antetítulo sí es píldora de menta, como el original. */
.hs-hero .hs-eyebrow {
    background: var(--hs-accent-soft); border-radius: 999px;
    padding: 9px 16px; margin-bottom: 22px;
}
body.hs .hs-hero h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.05; letter-spacing: -.018em; margin-bottom: 18px; }
.hs-hero .lead { font-size: 17.5px; line-height: 1.68; color: var(--hs-text); margin-bottom: 30px; max-width: 52ch; }
.hs-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hs-hero-note {
    display: flex; align-items: center; gap: 9px; color: var(--hs-muted); font-size: 14.5px;
    padding-top: 24px; border-top: 1px solid var(--hs-border);
}
.hs-hero-note svg.icon { width: 17px; height: 17px; color: var(--hs-accent); }

.hs-hero-art { position: relative; }
.hs-hero-art .frame {
    position: relative; overflow: hidden; border-radius: 20px;
    aspect-ratio: 4 / 5; background: linear-gradient(145deg, #dce7e3, #ede7da 55%, #cfdcd7);
    box-shadow: none;
}
.hs-hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hs-hero-badge {
    position: absolute; left: -22px; bottom: 34px;
    display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px;
    padding: 15px 20px 15px 15px; border-radius: var(--hs-radius);
    background: var(--hs-bg); box-shadow: var(--hs-shadow-lg); max-width: 268px;
}
.hs-hero-badge span.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hs-accent-soft); color: var(--hs-accent); }
.hs-hero-badge b { display: block; font-family: var(--hs-head); font-size: 19px; font-weight: 600; color: var(--hs-ink); line-height: 1.15; }
.hs-hero-badge small { color: var(--hs-muted); font-size: 12.5px; }

/* -------------------------------------------------------------- confianza */
.hs-trust { border-block: 1px solid var(--hs-border); background: var(--hs-bg); }
.hs-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 30px 0; }
.hs-trust-item { display: flex; align-items: center; gap: 11px; font-size: 14.5px; font-weight: 500; color: var(--hs-text); }
.hs-trust-item svg.icon { width: 20px; height: 20px; color: var(--hs-accent); }

/* -------------------------------------------------------------- servicios */
.hs-serv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hs-serv {
    display: flex; flex-direction: column; gap: 12px;
    padding: 28px 26px 26px; border-radius: var(--hs-radius);
    background: var(--hs-bg); border: 1px solid var(--hs-border); text-decoration: none;
    transition: transform .2s var(--hs-ease), border-color .2s var(--hs-ease), box-shadow .2s var(--hs-ease);
}
.hs-serv:hover { transform: translateY(-3px); box-shadow: var(--hs-shadow-lg); border-color: var(--hs-accent); text-decoration: none; }
.hs-serv .ic {
    display: grid; place-items: center; width: 50px; height: 50px;
    border-radius: 14px; background: var(--hs-accent-soft); color: var(--hs-accent);
}
.hs-serv .ic svg.icon { width: 25px; height: 25px; }
body.hs .hs-serv h3 { font-family: var(--hs-title); font-size: 20px; font-weight: 600; }
.hs-serv p { color: var(--hs-text); font-size: 14.5px; line-height: 1.6; margin: 0; }
.hs-serv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin-top: auto; padding-top: 12px; }
.hs-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: 999px;
    background: var(--hs-soft); color: var(--hs-muted);
    font-size: 12.5px; font-weight: 600;
}
.hs-chip.price { background: var(--hs-accent-soft); color: var(--hs-accent); }
/* La liga «Ver detalle» baja siempre a su propio renglon: con las fichas de
   precio y duracion al lado, unas veces cabia y otras no, y las tarjetas de
   una misma fila quedaban desalineadas. */
.hs-serv-more { display: inline-flex; align-items: center; gap: 7px; color: var(--hs-accent); font-weight: 600; font-size: 14px; flex: 1 0 100%; padding-top: 2px; }
.hs-serv:hover .hs-serv-more svg.icon { transform: translateX(3px); }
.hs-serv-more svg.icon { width: 16px; height: 16px; transition: transform .18s var(--hs-ease); }
.hs-sec-foot { margin-top: 40px; text-align: left; }

/* --------------------------------------------------------------- nosotros */
.hs-about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hs-about-art { position: relative; }
.hs-about-art .frame {
    overflow: hidden; border-radius: 20px; aspect-ratio: 5 / 4;
    background: linear-gradient(145deg, #dce7e3, #ede7da 55%, #cfdcd7); box-shadow: none;
}
.hs-about-art .frame img { width: 100%; height: 100%; object-fit: cover; }
body.hs .hs-about h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 22px; }
.hs-about p { font-size: 16.5px; line-height: 1.7; }
.hs-check { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.hs-check li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: 14.5px; color: var(--hs-text); font-weight: 400; line-height: 1.5; }
.hs-check li svg.icon { width: 18px; height: 18px; padding: 0; margin-top: 3px; border-radius: 0; background: none; color: var(--hs-accent); stroke-width: 2.2; }

/* ---------------------------------------------------------------- proceso */
/* Sin tarjetas: cada paso es un renglón con línea fina arriba y un número
   grande en serif. Es el bloque «cómo funciona» del sitio original. */
.hs-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 40px; position: relative; }
.hs-step { position: relative; padding: 26px 0 0; border-radius: 0; background: transparent; box-shadow: none; border-top: 1px solid rgba(22, 33, 30, .12); }
.hs-step .num {
    display: block; width: auto; height: auto; margin-bottom: 14px;
    border-radius: 0; background: none; color: var(--hs-accent);
    font-family: var(--hs-font); font-weight: 600; font-size: 13px; letter-spacing: .06em;
    box-shadow: none;
}
body.hs .hs-step h3 { font-family: var(--hs-title); font-size: 20px; font-weight: 600; margin-bottom: 9px; }
.hs-step p { font-size: 14.5px; line-height: 1.6; color: var(--hs-text); margin: 0; }
.hs-step::after { content: none; }
.hs-step:last-child::after { display: none; }

/* ----------------------------------------------------------------- equipo */
.hs-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hs-member {
    padding: 28px 22px; text-align: center; border-radius: var(--hs-radius);
    background: var(--hs-bg); border: 1px solid var(--hs-border);
    transition: border-color .2s var(--hs-ease), transform .2s var(--hs-ease);
}
.hs-member:hover { transform: translateY(-3px); box-shadow: none; border-color: var(--hs-accent); }
.hs-member .av {
    display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 16px;
    overflow: hidden; border-radius: 50%; background: var(--hs-accent-soft); color: var(--hs-accent);
    font-family: var(--hs-head); font-weight: 600; font-size: 28px;
}
.hs-member .av img { width: 100%; height: 100%; object-fit: cover; }
body.hs .hs-member b { display: block; font-family: var(--hs-head); font-size: 19px; font-weight: 600; color: var(--hs-ink); }
.hs-member span { display: block; color: var(--hs-muted); font-size: 13.5px; font-weight: 500; margin-top: 4px; }
.hs-member small { display: block; color: var(--hs-muted); font-size: 12.5px; margin-top: 8px; }
.hs-member p { margin: 12px 0 0; font-size: 14px; color: var(--hs-text); line-height: 1.6; }

/* ------------------------------------------------------------ testimonios */
.hs-testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hs-testi {
    display: flex; flex-direction: column; gap: 18px; padding: 28px;
    border-radius: var(--hs-radius); background: var(--hs-bg); box-shadow: var(--hs-shadow);
}
.hs-stars { display: flex; gap: 2px; color: var(--hs-amber); }
.hs-stars svg.icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hs-testi p { font-family: var(--hs-head); font-size: 18px; line-height: 1.5; color: var(--hs-ink); margin: 0; flex: 1; }
.hs-testi footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hs-border); }
.hs-testi footer .av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--hs-accent-soft); color: var(--hs-accent); font-family: var(--hs-head); font-weight: 600; font-size: 16px; }
.hs-testi footer b { display: block; font-size: 14.5px; font-weight: 600; color: var(--hs-ink); font-family: var(--hs-font); }
.hs-testi footer small { color: var(--hs-muted); font-size: 13px; }

/* ------------------------------------------------------------------- FAQ */
.hs-faq { max-width: 860px; margin-inline: 0; display: grid; gap: 10px; }
.hs-faq details {
    border: 1px solid var(--hs-border); border-radius: 14px; background: var(--hs-bg);
    overflow: hidden; transition: border-color .18s var(--hs-ease);
}
.hs-faq details[open] { box-shadow: none; border-color: var(--hs-line-2); }
.hs-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px; cursor: pointer; list-style: none;
    font-family: var(--hs-head); font-size: 19px; font-weight: 600; color: var(--hs-ink);
}
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary svg.icon { color: var(--hs-accent); transition: transform .2s var(--hs-ease); }
.hs-faq details[open] summary svg.icon { transform: rotate(180deg); }
.hs-faq .answer { padding: 0 24px 22px; color: var(--hs-text); font-size: 15.5px; line-height: 1.7; }

/* ------------------------------------------------------------------- CTA */
.hs-cta {
    position: relative; overflow: hidden; padding: 64px 56px; border-radius: 20px; color: var(--hs-on-ink);
    background: var(--hs-deep);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center;
}
.hs-cta::after { content: none; }
body.hs .hs-cta h2 { position: relative; font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.hs-cta p { position: relative; color: var(--hs-on-ink); font-size: 17px; line-height: 1.65; margin: 0; max-width: 52ch; }
.hs-cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.hs-cta .hs-btn-light { border-color: rgba(255, 255, 255, .24); }

/* -------------------------------------------------------------- contacto */
.hs-contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; align-items: start; }
.hs-info { display: grid; gap: 12px; }
.hs-info-item {
    display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center;
    padding: 18px 20px; border-radius: var(--hs-radius); background: var(--hs-bg); box-shadow: var(--hs-shadow);
}
.hs-info-item .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--hs-accent-soft); color: var(--hs-accent); }
.hs-info-item > span:not(.ic) { display: grid; gap: 3px; min-width: 0; }
.hs-info-item > span > span { color: var(--hs-muted); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.hs-info-item b, .hs-info-item a { display: block; color: var(--hs-ink); font-size: 15.5px; font-weight: 500; text-decoration: none; text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
.hs-info-item a:hover { color: var(--hs-accent); }
.hs-map { margin-top: 4px; border: 0; width: 100%; height: 260px; border-radius: var(--hs-radius); box-shadow: var(--hs-shadow); }

.hs-form-card { padding: 34px; border-radius: 20px; background: var(--hs-bg); box-shadow: var(--hs-shadow-lg); }
body.hs .hs-form-card h2 { font-size: 28px; margin-bottom: 8px; }
.hs-form-card > p { color: var(--hs-muted); margin-bottom: 26px; }
.hs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--hs-ink); letter-spacing: .01em; }
.hs-form label.wide { grid-column: 1 / -1; }
.hs-form label small { color: var(--hs-muted); font-weight: 400; }
.hs-form input, .hs-form select, .hs-form textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--hs-line-2); border-radius: var(--hs-radius-sm);
    background: #fff; color: var(--hs-ink); font-family: var(--hs-font); font-size: 15px;
    transition: border-color .15s var(--hs-ease), box-shadow .15s var(--hs-ease);
}
.hs-form textarea { min-height: 110px; resize: vertical; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus {
    outline: 0; border-color: var(--hs-accent); box-shadow: 0 0 0 3px var(--hs-accent-soft);
}
.hs-form .hs-btn { grid-column: 1 / -1; }
.hs-form-note { grid-column: 1 / -1; color: var(--hs-muted); font-size: 12.5px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.hs-form-note svg.icon { width: 16px; height: 16px; margin-top: 2px; color: var(--hs-accent); }
.hs-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.hs-alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--hs-radius-sm); margin-bottom: 20px; font-weight: 500; font-size: 14.5px; }
.hs-alert svg.icon { margin-top: 2px; }
.hs-alert.ok { background: var(--hs-accent-soft); color: #1f7a4d; border-left: 3px solid var(--hs-green); }
.hs-alert.err { background: #fbeeea; color: #9b2c2c; border-left: 3px solid #c1503f; }

/* ------------------------------------------------------- páginas internas */
.hs-page-hero { padding: 76px 0 64px; background: var(--hs-soft); border-bottom: 1px solid var(--hs-border); }
body.hs .hs-page-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.08; margin-bottom: 16px; }
.hs-page-hero p { color: var(--hs-text); font-size: 17.5px; line-height: 1.68; max-width: 62ch; margin: 0; }
.hs-crumb { display: flex; align-items: center; gap: 8px; color: var(--hs-muted); font-size: 13px; margin-bottom: 16px; }
.hs-crumb a { color: var(--hs-muted); }
.hs-crumb a:hover { color: var(--hs-accent); }

.hs-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.hs-detail-body { font-size: 16.5px; line-height: 1.75; }
body.hs .hs-detail-body h2 { font-size: 26px; margin: 34px 0 14px; }
.hs-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.hs-aside-card { padding: 26px; border-radius: var(--hs-radius); background: var(--hs-bg); box-shadow: var(--hs-shadow); }
body.hs .hs-aside-card h3 { font-family: var(--hs-title); font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.hs-aside-list { display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.hs-aside-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px solid var(--hs-border); }
.hs-aside-list li:last-child { border: 0; padding-bottom: 0; }
.hs-aside-list span { color: var(--hs-muted); }
.hs-aside-list b { color: var(--hs-ink); font-weight: 600; }

/* -------------------------------------------------------------------- pie */
.hs-footer { background: var(--hs-deep); color: var(--hs-on-ink); padding: 76px 0 0; border-top: 1px solid rgba(255, 255, 255, .08); }
body.hs .hs-footer h4 { font-size: 11.5px; font-family: var(--hs-font); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hs-footer a { color: var(--hs-on-ink); text-decoration: none; }
.hs-footer a:hover { color: #fff; text-decoration: none; }
.hs-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.hs-footer .hs-logo b { color: #fff; }
.hs-footer .hs-logo small { color: var(--hs-on-ink-dim); }
.hs-footer .hs-logo-mark { background: rgba(255, 255, 255, .1); color: #fff; }
.hs-footer-about { margin-top: 18px; font-size: 14.5px; line-height: 1.65; max-width: 40ch; }
.hs-foot-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.hs-foot-contact { display: grid; gap: 12px; font-size: 14.5px; }
.hs-foot-contact div { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.hs-foot-contact svg.icon { width: 17px; height: 17px; margin-top: 3px; color: var(--hs-on-ink-dim); }
.hs-foot-soc { display: flex; gap: 10px; margin-top: 20px; }
.hs-foot-soc a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .08); color: #fff; }
.hs-foot-soc a:hover { background: var(--hs-accent); }
.hs-foot-bottom {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
    padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--hs-on-ink-dim);
}
.hs-legal { padding-bottom: 22px; font-size: 12.5px; color: var(--hs-on-ink-dim); max-width: 90ch; line-height: 1.6; }

/* ------------------------------------------------------- WhatsApp flotante */
.hs-wa {
    position: fixed; right: 20px; bottom: 20px; z-index: 70;
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .32);
    transition: transform .16s var(--hs-ease);
}
.hs-wa:hover { transform: scale(1.06); color: #fff; }
.hs-wa svg.icon { width: 28px; height: 28px; }

/* ============================================================================
   TÍTULOS Y BOTONES DENTRO DE BLOQUES OSCUROS
   ----------------------------------------------------------------------------
   `body.hs h1,h2,h3,h4 { color: var(--hs-ink) }` tiene especificidad (0,1,2) y
   le GANA a `.hs-cta h2` o `.hs-footer h4`, que son (0,1,1). Por eso estas
   reglas van calificadas con `body.hs`: sin eso el título del cierre y los
   encabezados del pie salen del color de los títulos —verde casi negro— sobre
   un fondo verde casi negro, o sea invisibles. Es el mismo error que ya se
   había cometido con los recibos del panel.

   Lo mismo con `.hs-btn-ghost`: en el tema anterior tenía fondo blanco y por
   eso se leía en cualquier parte. Ahora es transparente con borde, así que
   dentro de un bloque oscuro hay que invertirle el color a mano.
   ============================================================================ */
body.hs .hs-cta h1, body.hs .hs-cta h2, body.hs .hs-cta h3 { color: #fff; }
body.hs .hs-footer h4 { color: var(--hs-on-ink-dim); }
body.hs .hs-cta .hs-btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .24); }
body.hs .hs-cta .hs-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .5); }

/* ============================================================================
   EL EFECTO AL DESPLAZAR
   ----------------------------------------------------------------------------
   El sitio original no hace un «aparece y ya»: la opacidad y el desplazamiento
   van ATADOS a la posición del scroll, y las fotos entran con un 6 % de
   acercamiento que se asienta. El JS que lo mueve vive en `site/layout.php` y
   es el que pone estas clases; aquí sólo está el estado inicial, para que no
   haya un parpadeo antes de que corra el script.
   ============================================================================ */
/* El avance se expresa como propiedad personalizada (`--hs-rv` de 0 a 1) en vez
   de escribir `transform` en línea. Así el `:hover` de las tarjetas —que
   también usa transform— sigue ganando por especificidad y no se pelea con el
   revelado. La clase la pone el JS: si el script no corre, nada se esconde. */
.hs-reveal {
    opacity: var(--hs-rv, 0);
    transform: translateY(calc((1 - var(--hs-rv, 0)) * 24px));
    will-change: opacity, transform;
}
.hs-no-anim .hs-reveal { opacity: 1 !important; transform: none !important; }
.hs-no-anim .frame > img { transform: none !important; }
body.hs .frame > img { transform: scale(calc(1.06 - .06 * var(--hs-zm, 1))); will-change: transform; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
    .hs-section { padding: 88px 0; }
    .hs-hero-grid, .hs-about, .hs-contact, .hs-detail { grid-template-columns: 1fr; gap: 38px; }
    .hs-hero-art { max-width: 460px; }
    .hs-hero-badge { left: 0; }
    .hs-aside { position: static; }
    .hs-serv-grid, .hs-testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
    .hs-step::after { display: none; }
    .hs-team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hs-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hs-cta { grid-template-columns: 1fr; padding: 48px 36px; }
}
@media (max-width: 860px) {
    .hs-container { width: calc(100% - 40px); }
    .hs-section { padding: 68px 0; }
    .hs-section.tight { padding: 52px 0; }
    /* La barra superior no cabe: se va la dirección y queda el teléfono. */
    .hs-topbar .hs-container { justify-content: center; }
    .hs-topbar-side.is-address { display: none; }
    .hs-topbar-side { gap: 16px; }
    .hs-nav {
        position: fixed; inset: 74px 0 auto; display: none; flex-direction: column; align-items: stretch;
        gap: 2px; padding: 14px 20px 22px; background: var(--hs-bg); border-bottom: 1px solid var(--hs-border);
        box-shadow: var(--hs-shadow-lg); max-height: calc(100vh - 74px); overflow-y: auto;
    }
    .hs-nav.open { display: flex; }
    .hs-nav a { padding: 13px 2px; border-bottom: 1px solid var(--hs-border); }
    .hs-nav a::after { content: none; }
    .hs-burger { display: inline-flex; }
    .hs-head-phone span { display: none; }
    .hs-head-actions .hs-btn { display: none; }
    .hs-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-check { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hs-container { width: calc(100% - 32px); }
    .hs-serv-grid, .hs-testi-grid, .hs-steps, .hs-team-grid, .hs-trust-grid, .hs-footer-grid { grid-template-columns: 1fr; }
    .hs-form { grid-template-columns: 1fr; }
    .hs-form-card { padding: 24px 20px; }
    .hs-hero { padding: 44px 0 58px; }
    .hs-cta { padding: 36px 24px; }
    .hs-wa { right: 14px; bottom: 14px; }
    .hs-topbar { font-size: 12.5px; }
    .hs-topbar .is-hours { display: none; }
    .hs-logo b { font-size: 17px; }
    .hs-logo small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body.hs *, body.hs *::before, body.hs *::after { transition: none !important; animation: none !important; }
    .hs-reveal { opacity: 1 !important; transform: none !important; }
    body.hs .frame > img { transform: none !important; }
}

/* =========================================================================
   Aviso de privacidad y derechos ARCO — paquete u
   ========================================================================= */

/* Documento legal: columna estrecha y renglón alto. Un aviso de privacidad a
   todo el ancho de la pantalla no lo lee nadie, y ése es justo el reproche
   que la ley le hace a los avisos escondidos. */
.hs-legal-doc { max-width: 78ch; }
body.hs .hs-legal-doc h2 {
    margin: 38px 0 12px; font-size: 22px; line-height: 1.3;
    color: var(--hs-ink);
}
body.hs .hs-legal-doc h2:first-of-type { margin-top: 0; }
.hs-legal-doc p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.78; }

.hs-legal-cta {
    margin: 38px 0 0; padding: 24px; border-radius: var(--hs-radius);
    background: var(--hs-soft); border: 1px solid var(--hs-border); display: flex; flex-wrap: wrap;
    gap: 14px; align-items: center; justify-content: space-between;
}
.hs-legal-cta p { margin: 0; font-weight: 500; color: var(--hs-ink); }
.hs-legal-fine { margin-top: 22px; font-size: 13px; color: var(--hs-muted); }

.hs-info-title { margin: 0 0 6px; font-size: 19px; color: var(--hs-ink); }

/* Aviso simplificado (art. 16) junto al formulario: casilla y texto en línea,
   con el texto a tamaño legible. Una letra chica aquí es exactamente lo que
   la autoridad señala como consentimiento mal recabado. */
.hs-consent {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; line-height: 1.6; font-weight: 400;
}
.hs-consent input[type="checkbox"] { width: auto; margin-top: 3px; flex: none; }
.hs-consent a { text-decoration: underline; }

/* ============================================================================
   LO QUE ESTE SITIO TIENE Y EL DE UNA CLÍNICA DENTAL NO
   ============================================================================ */

/* ------------------------------------------------- la franja de crisis
   Va ARRIBA DE TODO, antes que el nombre del centro. Quien abre la página de
   un centro de adicciones a las tres de la mañana no viene a leer la historia
   del lugar: viene porque algo está pasando ahora. El teléfono de la Línea de
   la Vida es nacional, gratuito y de 24 horas, y no es del centro: por eso
   sale aunque el centro no haya capturado nada. */
.hs-crisis {
    background: #7a1f1f; color: #ffeaea; font-size: 13.5px; line-height: 1.45;
}
.hs-crisis .hs-container {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 8px 18px; padding-block: 10px; text-align: center;
}
.hs-crisis svg.icon { width: 16px; height: 16px; opacity: .8; }
body.hs .hs-crisis a { color: #fff; font-weight: 700; text-decoration: underline; }
body.hs .hs-crisis a:hover { color: #fff; }
.hs-crisis span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------- la ficha declarada
   Los datos duros del centro —modelo, capacidad autorizada, a quién atiende,
   Reconocimiento—, cada uno con su etiqueta. Son los mismos que salen en el
   directorio y salen de las mismas columnas: aquí no hay una segunda verdad. */
.hs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hs-fact {
    padding: 24px 22px; border-radius: var(--hs-radius);
    background: var(--hs-bg); border: 1px solid var(--hs-border);
    display: grid; gap: 8px; align-content: start;
}
.hs-fact .ic {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 13px; background: var(--hs-accent-soft); color: var(--hs-accent);
    margin-bottom: 4px;
}
.hs-fact span {
    color: var(--hs-muted); font-size: 11.5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
}
.hs-fact b {
    font-family: var(--hs-head); font-size: 21px; font-weight: 600;
    color: var(--hs-ink); line-height: 1.2;
}
.hs-fact small { color: var(--hs-muted); font-size: 13px; line-height: 1.5; }

/* El sello de «esto lo declara el centro». Nunca se pinta un Reconocimiento
   sin él: nosotros no cotejamos ese número contra el padrón de CONASAMA y
   publicarlo a secas equivaldría a avalarlo. */
.hs-declared {
    margin-top: 26px; padding: 16px 18px; border-radius: var(--hs-radius-sm);
    background: var(--hs-soft); border: 1px solid var(--hs-border);
    display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start;
    color: var(--hs-muted); font-size: 13px; line-height: 1.65;
}
.hs-declared svg.icon { width: 17px; height: 17px; margin-top: 2px; color: var(--hs-muted); }

/* Cuando un dato no está capturado NO se inventa ni se esconde el renglón:
   se dice que no está. Misma regla del semáforo. */
.hs-fact.sin b { color: var(--hs-muted); font-family: var(--hs-font); font-size: 15px; font-weight: 500; }

/* ------------------------------------------- derechos de la persona usuaria
   Aquí es donde un sitio comercial pondría testimonios. Este no los pone:
   fabricar el testimonio de alguien que estuvo internado por adicciones es
   inventar a un paciente. En su lugar van los derechos que la NOM-028 le
   reconoce a cualquiera que ingresa — que además es información que a una
   familia le sirve mucho más que una reseña de cinco estrellas. */
.hs-rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.hs-right {
    display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
    padding: 20px 22px; border-radius: var(--hs-radius);
    background: var(--hs-bg); box-shadow: var(--hs-shadow);
}
.hs-right .ic {
    display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 10px; background: var(--hs-accent-soft); color: var(--hs-accent);
}
.hs-right .ic svg.icon { width: 18px; height: 18px; }
body.hs .hs-right b {
    display: block; font-family: var(--hs-head); font-size: 17px;
    font-weight: 600; color: var(--hs-ink); margin-bottom: 4px;
}
.hs-right p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--hs-text); }

/* --------------------------------------------------- el folio de la gracias */
.hs-folio {
    display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0;
    padding: 14px 20px; border-radius: var(--hs-radius-sm);
    background: var(--hs-accent-soft); color: var(--hs-accent);
    font-family: var(--hs-head); font-size: 22px; font-weight: 600;
    letter-spacing: .02em;
}

/* Aviso dentro del formulario sobre lo que NO hay que escribir ahí. Va en
   ámbar y no en gris: es una advertencia, no una nota al pie. */
.hs-warn {
    grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 10px;
    padding: 14px 16px; border-radius: var(--hs-radius-sm);
    background: #fdf6e7; border-left: 3px solid var(--hs-amber);
    color: #7a5a17; font-size: 13px; line-height: 1.6; font-weight: 400;
}
.hs-warn svg.icon { width: 16px; height: 16px; margin-top: 2px; color: var(--hs-amber); }

@media (max-width: 1080px) {
    .hs-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .hs-rights { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hs-facts { grid-template-columns: 1fr; }
    .hs-crisis .hs-container { padding-block: 12px; }
}

/* ------------------------------------------------------- el marco sin foto
   Mientras el centro no suba una fotografía, el marco NO se queda como un
   rectángulo gris esperando algo. Lleva el monograma del centro sobre el
   degradado: se lee como una decisión de diseño y no como una imagen que no
   cargó. En cuanto haya foto, la foto lo tapa (`.frame img` va encima). */
.hs-mono {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--hs-head); font-weight: 600;
    font-size: clamp(84px, 12vw, 150px); line-height: 1;
    color: var(--hs-accent); opacity: .16; letter-spacing: -.03em;
    user-select: none;
}
.hs-mono + .hs-mono-mark {
    position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
    color: var(--hs-accent); opacity: .30;
}
.hs-mono-mark svg.icon { width: 34px; height: 34px; }

/* ------------------------------------------------- la casilla del aviso
   ESTO ES UN CHOQUE DE ESPECIFICIDAD, no un capricho.

   `.hs-form label` es (0,2,0) —dos clases— y le gana a `.hs-consent`, que es
   (0,1,0). Resultado: la casilla y su texto se acomodaban como DOS RENGLONES
   de una rejilla, con el cuadrito centrado arriba y el texto en negritas
   abajo. Se veía como un error, y en un consentimiento eso importa: una
   casilla que no se lee como casilla es una casilla que la gente palomea sin
   leer.

   Calificando la regla con `.hs-form` sube a (0,2,0) y, al ir después en la
   hoja, por fin manda. Es el mismo tropiezo que ya documenta el tema de Dental
   con los títulos sobre fondo oscuro. */
.hs-form label.hs-consent {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 13.5px; line-height: 1.6; font-weight: 400; color: var(--hs-text);
}
.hs-form label.hs-consent input[type="checkbox"] {
    width: auto; margin-top: 3px; flex: none; padding: 0;
}

/* La etiqueta y su «(opcional)» en el MISMO renglón. Como cada elemento es un
   ítem de la rejilla, un `<small>` suelto se bajaba solo. Se envuelven juntos
   en un `<span>` en la vista, y este renglón le devuelve el espacio. */
.hs-form label > span:first-child { display: block; }
.hs-form label > span:first-child small { margin-left: 4px; }

/* El degradado del marco, con el color del centro.
   El original de Dental trae tres verdes fijos, que junto a un acento morado
   se ven prestados. Aquí sale del acento suave y de la arena, así que el marco
   pertenece a la paleta del centro sea cual sea el color que eligió. */
body.hs .hs-hero-art .frame,
body.hs .hs-about-art .frame {
    background: linear-gradient(145deg,
        var(--hs-accent-soft) 0%,
        var(--hs-soft) 55%,
        var(--hs-accent-soft) 100%);
}

/* ═══════════════════════════════════════════ LAS FOTOGRAFÍAS (bloque 6.5)
   Los marcos del hero y del «nosotros» ya sabían recibir una imagen desde el
   6.1 (`.frame img`): lo único que faltaba eran las fotos. Aquí van la galería
   de la casa y la foto suelta dentro de un texto largo. */

/* Mientras la foto carga, el degradado del marco se ve; en cuanto entra, la
   cubre. Con `object-fit: cover` no se deforma nada aunque el centro suba
   mañana una foto de otra proporción. */
.hs-galeria {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
    margin-top: 46px;
}
.hs-galeria figure { margin: 0; }
/* ⚠ `height: auto` NO SOBRA.
   Los `<img>` llevan `width` y `height` como atributos —eso evita que la
   página brinque mientras las fotos cargan— pero esa altura entra como estilo
   de presentación, y `aspect-ratio` sólo manda cuando la altura es automática.
   Sin esta línea las fotos salían verticales, de 733 px de alto sobre 378 de
   ancho, en vez del 3:2 que dice la regla de arriba. */
.hs-galeria img {
    width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
    border-radius: 16px; display: block; background: var(--hs-sand);
}
.hs-galeria figcaption {
    margin-top: 11px; font-size: 13.5px; color: var(--hs-muted);
    letter-spacing: .02em;
}

/* La nota de que son ilustrativas. Discreta pero presente: es una nota, no un
   descargo de responsabilidad, y no debe competir con las fotos. */
.hs-galeria-nota {
    display: flex; align-items: center; gap: 9px;
    margin: 30px 0 0; font-size: 13.5px; color: var(--hs-muted);
}
.hs-galeria-nota svg.icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--hs-muted); }

/* Una foto suelta dentro de una columna de texto. */
.hs-foto { margin: 0 0 38px; }
.hs-foto img {
    width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
    border-radius: 18px; display: block; background: var(--hs-sand);
}

@media (max-width: 900px) {
    .hs-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 560px) {
    .hs-galeria { grid-template-columns: 1fr; }
}
