/* Fit the existing long service name on 320px screens without changing brand colors or typefaces. */
@media(max-width:360px){#servicios .oferta-text{min-width:0}#servicios .oferta-titulo{font-size:1.65rem}}

/* Keep root overflow unchanged: overriding it creates a body scroll container
   and breaks the original hero's position:sticky scroll sequence. */

/* Visible social proof, using the original components and brand variables. */
#trayectoria .home-social{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--line);text-align:center}
#trayectoria .home-social p{margin:.6rem 0 1rem;color:var(--muted)}
#trayectoria .home-social .actions{justify-content:center}

.page-hero h1{overflow-wrap:normal}
@media(max-width:400px){.page-hero h1{font-size:clamp(1.65rem,8.3vw,2.1rem)}}
:focus-visible{outline:3px solid #00ff1d;outline-offset:5px}

/* The original long words overflowed narrow desktop hero columns. Preserve font, frames and sticky ancestors. */
@media(min-width:900px){#recorrido .chapter.narrow > *{max-width:min(40vw,520px)}}

/* Let narrow FAQ headings and related-page cards shrink inside their own grid. */
.section-head,.rel-body{min-width:0}
.rel-body .h3{overflow-wrap:anywhere}
.prose a.btn--solid{color:var(--black)}
@media(max-width:360px){.section-head .title{font-size:clamp(1.5rem,7.5vw,1.7rem)}}

.split-text,.prose{min-width:0}
@media(max-width:360px){.split-text .title{font-size:clamp(1.5rem,7.5vw,1.7rem)}}
.research-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:800px;margin:3rem auto 0}
.research-videos .play-card{width:100%;aspect-ratio:9/16}
@media(max-width:600px){.research-videos{grid-template-columns:minmax(0,1fr);max-width:420px}}
