@import '@fontsource-variable/archivo/wdth.css';

/* ==========================================================================
   Deprisa · "Señalética urbana"
   Asfalto, concreto, azul de señal "E" y amarillo de pintura de piso.
   ========================================================================== */

:root {
    --asfalto: #23272c;
    --asfalto-2: #2f353c;
    --linea: #454c55;
    --muro: #f2f3f0;
    --concreto: #e3e5e0;
    --papel: #ffffff;
    --texto: #23272c;
    --texto-2: #565d66;
    --azul: #1f5fae;
    --amarillo: #f2c230;
    --rojo: #b3402a;
    --verde: #2c7a4b;
    --radius-sign: 10px;
    --radius: 6px;
    --wrap: 1200px;
    --font: 'Archivo Variable', 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --step-0: 1.0625rem;
    --step-1: 1.25rem;
    --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    --step-3: clamp(2.2rem, 1.4rem + 3.6vw, 4.25rem);
    --space: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--texto);
    background: var(--muro);
    font-variant-numeric: tabular-nums;
    padding-bottom: 64px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amarillo); color: var(--asfalto); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--texto-2); font-weight: 400; }

/* Tipografía ------------------------------------------------------------- */
.display {
    font-stretch: 125%;
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.015em;
    margin: 0;
}
.h2 { font-size: var(--step-2); font-stretch: 118%; font-weight: 750; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -0.01em; }
.h3 { font-size: var(--step-1); font-stretch: 110%; font-weight: 700; line-height: 1.2; margin: 1.6em 0 .6em; }
.lead { font-size: 1.2rem; line-height: 1.55; margin-top: 0; }
p { margin: 0 0 1em; max-width: 68ch; }
.link-strong { font-weight: 700; color: inherit; }

/* Botones ---------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 46px; padding: .65rem 1.25rem; border-radius: var(--radius);
    font: inherit; font-weight: 700; font-stretch: 108%; font-size: 1rem; line-height: 1.1;
    text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 54px; padding-inline: 1.6rem; font-size: 1.06rem; }
.btn--yellow { background: var(--amarillo); color: var(--asfalto); }
.btn--yellow:hover { background: #ffd448; }
.btn--blue { background: var(--azul); color: #fff; }
.btn--blue:hover { filter: brightness(1.1); }
.btn--dark { background: var(--asfalto); color: #fff; }
.btn--dark:hover { background: var(--asfalto-2); }
.btn--outline-light { border-color: rgb(255 255 255 / .55); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn--ghost { color: inherit; border-color: currentColor; background: transparent; }

/* Marca ------------------------------------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: #fff; margin: 0; }
.brand img { height: 40px; width: auto; }
.brand__sign {
    display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 7px;
    background: var(--azul); color: #fff; font-weight: 900; font-stretch: 100%; font-size: 1.45rem; line-height: 1;
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / .9);
}
.brand__sign--sm { width: 28px; height: 28px; font-size: 1.05rem; border-radius: 5px; }
.brand__word { font-weight: 800; font-stretch: 125%; font-size: 1.5rem; letter-spacing: -0.02em; }

/* Encabezado ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--asfalto); color: #fff; border-bottom: 4px solid var(--amarillo); }
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.site-header__cta { display: none; white-space: nowrap; }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 600; padding: .5rem .7rem; border-radius: var(--radius); display: block; }
.site-nav a:hover { background: var(--asfalto-2); }
.site-nav a[aria-current='page'] { box-shadow: inset 0 -3px 0 var(--amarillo); border-radius: 0; }
.site-nav__secondary { display: flex; gap: .25rem; font-size: .92rem; }
.site-nav__secondary a { color: #c9cdd2; font-weight: 500; }
.site-nav__phone { color: #fff !important; font-weight: 700 !important; white-space: nowrap; }
.site-nav__secondary a { white-space: nowrap; }
.nav-toggle { margin-left: auto; background: none; border: 0; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; color: #fff; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 3px; background: currentColor; border-radius: 2px; position: relative; content: ''; transition: transform .2s; }
.nav-toggle__bars::before { position: absolute; top: -8px; }
.nav-toggle__bars::after { position: absolute; top: 8px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
.nav-open .site-nav { display: block; position: absolute; inset: 76px 0 auto 0; background: var(--asfalto); padding: 1rem 1.25rem 1.5rem; border-bottom: 4px solid var(--amarillo); }
.nav-open .site-nav ul { flex-direction: column; }
.nav-open .site-nav a { font-size: 1.2rem; padding: .7rem .3rem; }
.nav-open .site-nav__secondary { flex-wrap: wrap; margin-top: 1rem; border-top: 1px solid var(--linea); padding-top: 1rem; }
@media (min-width: 1100px) {
    .nav-toggle { display: none; }
    .site-nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
    .site-header__cta { display: inline-flex; }
}

/* Barra de acciones en móvil -------------------------------------------- */
.action-bar {
    position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; background: var(--asfalto);
    border-top: 3px solid var(--amarillo); padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { flex: 1; color: #fff; text-decoration: none; text-align: center; font-weight: 700; padding: .95rem .25rem; font-size: .95rem; border-right: 1px solid var(--linea); }
.action-bar a:last-child { border-right: 0; }
.action-bar__main { background: var(--amarillo); color: var(--asfalto) !important; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Secciones -------------------------------------------------------------- */
.section { padding-block: var(--space); }
.section--concrete { background: var(--concreto); }
.section--dark { background: var(--asfalto); color: #fff; }
.section--dark a:not(.btn) { color: #fff; }
.section--blue { background: var(--azul); color: #fff; }
.section--blue a:not(.btn) { color: #fff; }
.section__head { margin-bottom: 2.2rem; max-width: 62ch; }
.section__head p { color: var(--texto-2); }
.section--dark .section__head p, .section--blue .section__head p { color: #d4d8dd; }
.section__head--row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; max-width: none; flex-wrap: wrap; }

/* Hero de inicio: el mapa es el protagonista ---------------------------- */
.hero { background: var(--asfalto); color: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); overflow: hidden; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.hero__title { font-size: var(--step-3); max-width: 13ch; }
.hero__lead { font-size: 1.2rem; color: #d4d8dd; margin: 1.4rem 0 2rem; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 2.5rem 0 0; border-top: 2px dashed var(--amarillo); padding-top: 1.25rem; }
.hero__facts div { padding-right: 2rem; margin-right: 2rem; border-right: 1px solid var(--linea); }
.hero__facts div:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts dt { font-size: .9rem; color: #b8bec5; }
.hero__facts dd { margin: 0; font-size: 1.9rem; font-weight: 800; font-stretch: 120%; line-height: 1.1; }

/* Mapa esquemático ------------------------------------------------------- */
.city-map { margin: 0; }
.city-map svg { width: 100%; height: auto; display: block; }
.city-map figcaption { font-size: .85rem; color: #9fa6ae; margin-top: .4rem; }
.city-map .road-base { fill: none; stroke: #3a4148; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; }
.city-map .road-line { fill: none; stroke: var(--amarillo); stroke-width: 2.5; stroke-dasharray: 14 12; stroke-linecap: round; opacity: .85; }
.city-map .road-label { fill: #9fa6ae; font-size: 19px; font-family: var(--font); font-style: italic; }
.station { cursor: pointer; }
.station__sign { fill: var(--azul); stroke: #fff; stroke-width: 2.5; transition: transform .15s; transform-box: fill-box; transform-origin: center; }
.station__e { fill: #fff; font-weight: 900; font-size: 20px; font-family: var(--font); pointer-events: none; }
.station__label { fill: #fff; font-size: 23px; font-weight: 650; font-family: var(--font); dominant-baseline: middle; paint-order: stroke; stroke: var(--asfalto); stroke-width: 6px; stroke-linejoin: round; }
.station__leader { stroke: #8a929b; stroke-width: 1.5; fill: none; }
.station:hover .station__sign, .station:focus-visible .station__sign, .station.is-current .station__sign { fill: var(--amarillo); stroke: var(--asfalto); }
.station:hover .station__label, .station:focus-visible .station__label { fill: var(--amarillo); }
.station.is-current .station__e { fill: var(--asfalto); }
.station:focus-visible { outline: none; }
.city-map--light .road-base { stroke: #d2d5cf; }
.city-map--light .station__label { fill: var(--asfalto); stroke: var(--muro); }

/* Zonas (lista tipo tablero) -------------------------------------------- */
.zones { display: grid; gap: 2rem 3rem; }
@media (min-width: 900px) { .zones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zone__name { font-size: 1rem; font-stretch: 112%; font-weight: 750; margin: 0 0 .4rem; padding-bottom: .4rem; border-bottom: 3px solid var(--asfalto); }
.zone__list { list-style: none; margin: 0; padding: 0; }
.zone__row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.25rem; align-items: center; padding: .85rem .25rem; border-bottom: 1px solid #cfd2cc; text-decoration: none; color: inherit; }
.zone__row:hover { background: var(--papel); }
.zone__loc strong { display: block; font-size: 1.12rem; font-stretch: 108%; }
.zone__loc span { display: block; color: var(--texto-2); font-size: .92rem; line-height: 1.4; }
.zone__price { text-align: right; font-weight: 750; font-size: 1.1rem; white-space: nowrap; }
.zone__label { display: block; font-weight: 500; font-size: .78rem; color: var(--texto-2); }
@media (max-width: 560px) { .zone__row { grid-template-columns: 1fr auto; } .zone__row .zone__price:last-child { display: none; } }

/* Ofertas ---------------------------------------------------------------- */
.offers { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .offers { grid-template-columns: 1.2fr 1.2fr .9fr; } }
.offer { padding: 2rem; border-radius: var(--radius-sign); }
.offer p { margin-bottom: 1.5rem; }
.offer--pension { background: var(--azul); color: #fff; box-shadow: inset 0 0 0 3px rgb(255 255 255 / .85), 0 0 0 4px var(--azul); margin: 4px; }
.offer--pension .btn--blue { background: #fff; color: var(--azul); }
.offer--events { background: var(--amarillo); color: var(--asfalto); background-image: repeating-linear-gradient(135deg, transparent 0 22px, rgb(35 39 44 / .06) 22px 44px); }
.offer--app { background: var(--papel); }
.offer--app .h3 { margin-top: 0; }
.offer__links { display: flex; gap: 1.25rem; font-weight: 700; }

/* Confianza -------------------------------------------------------------- */
.trust { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .trust { grid-template-columns: 1.2fr 1fr; } }
.trust__year { font-size: 1.2rem; max-width: 30ch; margin: 0; }
.trust__year .display { display: block; font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--azul); margin-bottom: .5rem; }
.trust__list { list-style: none; margin: 0; padding: 0; }
.trust__list li { padding: .8rem 0 .8rem 2.2rem; border-bottom: 1px solid #cfd2cc; position: relative; font-weight: 600; }
.trust__list li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 18px; height: 10px; border-left: 3px solid var(--verde); border-bottom: 3px solid var(--verde); transform: rotate(-45deg); }

/* Encabezado de página -------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem); background: var(--muro); border-bottom: 1px solid #d4d7d1; }
.page-hero--dark { background: var(--asfalto); color: #fff; border: 0; }
.page-hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .page-hero__grid { grid-template-columns: 1fr 1fr; } .page-hero__grid--solo { grid-template-columns: 1fr; } }
.page-hero__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); max-width: 16ch; }
.page-hero__lead { font-size: 1.2rem; margin-top: 1.25rem; color: var(--texto-2); max-width: 52ch; }
.page-hero--dark .page-hero__lead { color: #d4d8dd; }
.page-hero__img { border-radius: var(--radius-sign); width: 100%; }

/* Filtros y tarjetas ----------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.chip { font: inherit; font-weight: 650; font-size: .95rem; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--asfalto); background: transparent; color: var(--asfalto); cursor: pointer; min-height: 42px; }
.chip.is-on { background: var(--asfalto); color: #fff; }
.chip--near { border-color: var(--azul); color: var(--azul); }
.chip--near.is-on { background: var(--azul); color: #fff; }
.filters__status { color: var(--texto-2); font-size: .95rem; min-height: 1.6em; }
.loc-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.loc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.loc-card { background: var(--papel); border-radius: var(--radius-sign); overflow: hidden; border: 1px solid #d4d7d1; }
.loc-card[hidden] { display: none; }
.loc-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.loc-card__link:hover .loc-card__name { color: var(--azul); }
.loc-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--concreto); }
.loc-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; border-top: 4px solid var(--azul); }
.loc-card__zone { font-size: .88rem; color: var(--texto-2); margin: 0; display: flex; justify-content: space-between; }
.loc-card__distance { font-weight: 700; color: var(--azul); }
.loc-card__name { font-size: 1.4rem; font-stretch: 115%; font-weight: 780; margin: .1rem 0 .35rem; line-height: 1.1; }
.loc-card__where { font-size: .95rem; color: var(--texto-2); margin-bottom: 1rem; line-height: 1.45; }
.loc-card__prices { display: flex; gap: 1.5rem; margin: auto 0 .9rem; padding-top: .8rem; border-top: 2px dashed #cfd2cc; }
.loc-card__prices dt { font-size: .8rem; color: var(--texto-2); }
.loc-card__prices dd { margin: 0; font-weight: 800; font-size: 1.25rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.tags li { font-size: .8rem; font-weight: 650; background: var(--muro); border: 1px solid #d0d3cd; padding: .15rem .55rem; border-radius: 4px; }
.tags--post { margin-block: 1.5rem 0; }

/* Ficha de sucursal ----------------------------------------------------- */
.loc-hero { position: relative; color: #fff; background: var(--asfalto); min-height: min(78vh, 640px); display: grid; align-items: end; }
.loc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.loc-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(35 39 44 / .1) 0%, rgb(35 39 44 / .92) 78%); }
.loc-hero__inner { position: relative; z-index: 1; padding-block: 3rem 2.75rem; }
.crumbs { font-size: .92rem; color: #c9cdd2; margin-bottom: 1rem; }
.crumbs a { color: #fff; }
.loc-hero__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); max-width: 14ch; }
.loc-hero__pre { display: block; font-size: .32em; font-stretch: 110%; font-weight: 650; letter-spacing: 0; margin-bottom: .5rem; color: var(--amarillo); }
.loc-hero__where { font-size: 1.2rem; margin: 1rem 0 .3rem; max-width: 50ch; color: #e1e4e7; }
.loc-hero__address { color: #c9cdd2; }
.loc-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.loc-main { display: grid; gap: 3rem; }
@media (min-width: 980px) { .loc-main { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }

/* Boleto de tarifas: el elemento que identifica a la marca */
.ticket {
    background: var(--papel); border-radius: 8px; padding: 1.4rem 1.6rem 1.2rem; position: relative;
    box-shadow: 0 1px 0 #d4d7d1, 0 14px 30px -18px rgb(35 39 44 / .45);
    -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.ticket__head { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 2px dashed #c9ccc6; }
.ticket__title { margin: 0; font-weight: 780; font-stretch: 112%; font-size: 1.15rem; }
.ticket__rows { margin: .6rem 0 0; }
.ticket__rows div { display: flex; align-items: baseline; gap: .5rem; padding: .55rem 0; }
.ticket__rows dt { flex: none; }
.ticket__rows div::after { content: ''; order: 1; flex: 1; border-bottom: 2px dotted #c3c6c0; transform: translateY(-.3em); }
.ticket__rows dd { order: 2; margin: 0; font-weight: 800; font-size: 1.3rem; }
.ticket__rows div:first-child dd { font-size: 1.9rem; font-stretch: 118%; color: var(--azul); }
.ticket__lost dd { color: var(--rojo); }
.ticket__foot { margin: .9rem 0 0; padding-top: .9rem; border-top: 2px dashed #c9ccc6; font-weight: 650; font-size: .95rem; }

.passes { display: grid; gap: 1rem; margin-top: 1.25rem; }
.pass { background: var(--azul); color: #fff; border-radius: 8px; padding: 1.2rem 1.4rem; border-left: 10px solid var(--amarillo); }
.pass__kind { font-size: .85rem; color: #cfe0f5; margin: 0; }
.pass__name { font-weight: 750; font-stretch: 112%; font-size: 1.15rem; margin: 0 0 .3rem; }
.pass__price { font-size: 2rem; font-weight: 850; font-stretch: 118%; margin: 0; line-height: 1.1; }
.pass__price span { font-size: .95rem; font-weight: 500; font-stretch: 100%; }
.pass__cond { margin: .4rem 0 0; color: #e3ecf7; font-size: .95rem; }

.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.service { padding: .8rem 0; border-bottom: 1px solid #d4d7d1; }
.service strong { display: block; font-stretch: 108%; }
.service span { color: var(--texto-2); font-size: .95rem; line-height: 1.45; display: block; }
.nearby { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nearby li { background: var(--papel); border: 1px solid #d4d7d1; border-radius: 4px; padding: .35rem .7rem; font-weight: 600; font-size: .95rem; }

.tour__launch { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; position: relative; border-radius: var(--radius-sign); overflow: hidden; }
.tour__launch img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; opacity: .75; transition: opacity .2s; }
.tour__launch:hover img { opacity: .9; }
.tour__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--amarillo); color: var(--asfalto); font-weight: 800; font-stretch: 120%; font-size: clamp(1.1rem, .8rem + 1.5vw, 1.6rem); padding: 1rem 1.8rem; border-radius: 999px; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 1.5rem; }
.gallery img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.media-row { display: grid; gap: 2rem; }
@media (min-width: 900px) { .media-row { grid-template-columns: 1fr 1fr; } }
.media-row .h3 { margin-top: 0; }
.embed { position: relative; aspect-ratio: 16 / 10; background: var(--concreto); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; text-align: center; }
.embed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.embed__btn { position: relative; z-index: 1; font: inherit; font-weight: 700; background: var(--asfalto); color: #fff; border: 0; border-radius: var(--radius); padding: .8rem 1.3rem; cursor: pointer; }
.embed__note { position: absolute; bottom: .5rem; left: 0; right: 0; font-size: .82rem; color: var(--texto-2); margin: 0 auto; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.embed-dialog { width: min(1200px, 96vw); height: min(780px, 90vh); padding: 0; border: 0; border-radius: var(--radius-sign); background: var(--asfalto); color: #fff; }
.embed-dialog::backdrop { background: rgb(20 22 25 / .8); }
.embed-dialog[open] { display: flex; flex-direction: column; }
.embed-dialog__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .6rem .6rem 1.2rem; }
.embed-dialog__title { margin: 0; font-weight: 700; }
.embed-dialog__frame { flex: 1; position: relative; }
.embed-dialog__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.split-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.split-cta .h3 { margin-top: 0; }
.split-cta p { margin: 0; }

/* Tabla de pensiones ---------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--papel); border-radius: var(--radius); min-width: 640px; }
.price-table th, .price-table td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid #dcdfd9; vertical-align: top; }
.price-table thead th { background: var(--asfalto); color: #fff; font-size: .92rem; font-weight: 650; }
.price-table tbody th a { font-weight: 750; font-size: 1.08rem; color: var(--texto); }
.price-table .num { text-align: right; white-space: nowrap; }
.price-table .num strong { font-size: 1.3rem; }
.price-table__cond { display: block; font-size: .85rem; color: var(--texto-2); }
.price-table tbody tr:hover { background: #fafaf7; }

/* Formularios ----------------------------------------------------------- */
.form-layout { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } }
.lead-form { background: var(--papel); color: var(--texto); border-radius: var(--radius-sign); padding: clamp(1.25rem, 3vw, 2.25rem); }
.lead-form a { color: var(--azul) !important; }
.form-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-weight: 650; font-size: .95rem; }
.field__opt { font-weight: 400; color: var(--texto-2); }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 2px solid #c5c8c2; border-radius: var(--radius); background: #fff; color: var(--texto); min-height: 48px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azul); outline: 2px solid transparent; box-shadow: 0 0 0 3px rgb(31 95 174 / .25); }
.field__hint { font-size: .85rem; color: var(--texto-2); margin: 0; }
.field__error, .form-error { color: var(--rojo); font-size: .9rem; font-weight: 650; margin: 0; }
.form-error { background: #fbeae6; padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1.25rem 0 1rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--azul); }
.field--check .field__error { flex-basis: 100%; }
.recaptcha { margin-bottom: 1rem; min-height: 78px; }
.form-note { font-size: .9rem; color: var(--texto-2); margin: .9rem 0 0; }
.form-sent { background: #e7f3eb; border-left: 6px solid var(--verde); padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: var(--radius); }
.form-sent__title { font-weight: 750; margin-bottom: .2rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { position: relative; }

/* Contenido libre ------------------------------------------------------- */
.prose { max-width: 70ch; }
.prose--narrow { margin-inline: auto; }
.prose h2 { font-size: 1.6rem; font-stretch: 115%; line-height: 1.15; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.25rem; font-stretch: 110%; margin: 1.8rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose blockquote { border-left: 5px solid var(--amarillo); margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; font-size: 1.15rem; }
.prose--steps ol { list-style: none; padding: 0; counter-reset: paso; display: grid; gap: 1rem; }
@media (min-width: 800px) { .prose--steps ol { grid-template-columns: repeat(3, 1fr); } }
.prose--steps ol li { counter-increment: paso; background: var(--papel); border-radius: var(--radius); padding: 1.25rem; padding-top: 3.6rem; position: relative; }
.prose--steps ol li::before { content: counter(paso); position: absolute; top: 1rem; left: 1.25rem; width: 34px; height: 34px; border-radius: 6px; background: var(--azul); color: #fff; display: grid; place-items: center; font-weight: 800; }

.events-intro { display: grid; gap: 2rem; }
@media (min-width: 900px) { .events-intro { grid-template-columns: 1.4fr 1fr; } }
.event-types { list-style: none; margin: 0; padding: 0; }
.event-types li { font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem); font-weight: 800; font-stretch: 120%; padding: .5rem 0; border-bottom: 3px solid var(--asfalto); }
.chips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-list a { display: inline-block; padding: .5rem 1rem; border-radius: 999px; background: var(--papel); border: 2px solid var(--asfalto); color: var(--asfalto); font-weight: 700; text-decoration: none; }
.chips-list a:hover { background: var(--asfalto); color: #fff; }

.about { display: grid; gap: 3rem; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.6fr; } }
.about__facts { margin: 0; }
.about__facts div { padding: 1rem 0; border-bottom: 1px solid #d4d7d1; }
.about__facts dt { color: var(--texto-2); font-size: .92rem; }
.about__facts dd { margin: 0; font-size: 1.9rem; font-weight: 820; font-stretch: 118%; line-height: 1.15; }

.faq { max-width: 820px; }
.faq__item { border-bottom: 1px solid #d4d7d1; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; position: absolute; right: .4rem; top: 1.55rem; width: 12px; height: 12px; border-right: 3px solid var(--azul); border-bottom: 3px solid var(--azul); transform: rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(-135deg); top: 1.85rem; }
.faq__q { font-size: 1.2rem; margin: 0; font-stretch: 108%; }
.faq__item p { padding-bottom: 1.2rem; margin: 0; }

.contact { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.contact__big { font-size: clamp(2rem, 1.4rem + 3vw, 3.2rem); font-weight: 850; font-stretch: 122%; color: var(--texto); text-decoration: none; line-height: 1; }
.contact__mail { font-weight: 700; font-size: 1.15rem; }
.stores { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* Blog ------------------------------------------------------------------ */
.post-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card a { color: inherit; text-decoration: none; display: block; }
.post-card img { border-radius: var(--radius); aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; background: var(--concreto); }
.post-card__date { font-size: .88rem; color: var(--texto-2); margin: .9rem 0 .2rem; }
.post-card__title { font-size: 1.3rem; font-stretch: 110%; line-height: 1.2; margin: 0 0 .5rem; }
.post-card a:hover .post-card__title { color: var(--azul); }
.post-card__sum { color: var(--texto-2); font-size: .98rem; }
.post__head { padding-block: 3rem 2rem; max-width: 900px; }
.post__head .crumbs, .post__head .crumbs a { color: var(--azul); }
.post__title { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
.post__meta { color: var(--texto-2); margin-top: 1rem; }
.post__img { width: min(1200px, 100%); margin: 0 auto 2.5rem; }
.post__body { padding-bottom: 2rem; }
.pagination { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 3rem; font-weight: 650; }
.empty { font-size: 1.15rem; color: var(--texto-2); }

/* Pie ------------------------------------------------------------------- */
.site-footer { background: var(--asfalto); color: #c9cdd2; padding-block: 4rem 2rem; border-top: 6px solid var(--amarillo); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer__title { color: #fff; font-size: 1rem; font-stretch: 110%; margin: 0 0 .8rem; }
.site-footer__list, .social { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.social { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; }
.brand--footer { margin-bottom: 1rem; }
.iso { font-weight: 700; color: #fff; }
.site-footer__legal { border-top: 1px solid var(--linea); margin-top: 3rem; padding-top: 1.5rem; font-size: .9rem; }

/* Aviso de cookies ------------------------------------------------------ */
.cookies { position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 76px; max-width: 560px; background: var(--papel); color: var(--texto); border-radius: var(--radius-sign); padding: 1.1rem 1.25rem; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .45); border-top: 5px solid var(--amarillo); }
@media (min-width: 900px) { .cookies { bottom: 1.25rem; } }
.cookies p { font-size: .95rem; }
.cookies__actions { display: flex; gap: .6rem; justify-content: flex-end; }

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

/* Entrada de la portada: un solo momento, la barrera se levanta */
@media (prefers-reduced-motion: no-preference) {
    .page-home .hero__title { animation: barrera .7s cubic-bezier(.2, .8, .2, 1) both; transform-origin: left bottom; }
    .page-home .station { animation: aparece .4s ease-out both; animation-delay: calc(.35s + var(--i, 0) * 60ms); }
}
@keyframes barrera { from { clip-path: inset(0 0 100% 0); transform: translateY(14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes aparece { from { opacity: 0; } to { opacity: 1; } }
