/* ==========================================================================
   Pedaleando por un Sueño 2026 — Landing
   Diseño base: 1282px (PDF). Tipografía fluida con clamp().
   ========================================================================== */

/* ---------- Fuentes (Montserrat, auto-alojada) ---------- */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
    --pd-navy: #121141;
    --pd-cyan: #13ace4;
    --pd-blue: #0d77a6;
    --pd-magenta: #d81b7a;
    --pd-coral: #f0506a;
    --pd-purple: #3b1258;
    --pd-white: #ffffff;
    --pd-gradient: linear-gradient(90deg, #e0206c 0%, #f1584b 52%, #fa9a17 100%);

    --pd-container: 1180px;
    --pd-gutter: clamp(1rem, 4vw, 2.25rem);
    --pd-section-y: clamp(3.5rem, 7vw, 6rem);
    --pd-radius: 1.25rem;
    --pd-shadow: 0 14px 34px rgba(18, 17, 65, 0.12);
    --pd-header-h: 5.5rem;
    --pd-ease: cubic-bezier(0.22, 1, 0.36, 1);

    --bs-body-font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--pd-navy);
    --bs-body-bg: var(--pd-white);
}

/* ---------- Base ---------- */
html { scroll-padding-top: var(--pd-header-h); }
body { font-family: var(--bs-body-font-family); color: var(--pd-navy); background: var(--pd-white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.text-cyan { color: var(--pd-cyan) !important; }
.text-coral { color: var(--pd-coral) !important; }

.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 2000; padding: 0.6rem 1rem; border-radius: 0.5rem; background: var(--pd-white); color: var(--pd-navy); font-weight: 700; transform: translateY(-160%); transition: transform 0.2s; }
.skip-link:focus { transform: none; }

:focus-visible { outline: 3px solid var(--pd-cyan); outline-offset: 3px; }

.pd-container { width: 100%; max-width: calc(var(--pd-container) + var(--pd-gutter) * 2); margin-inline: auto; padding-inline: var(--pd-gutter); }

.pd-title { font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 1rem; }

.section-bg { background-color: var(--pd-navy); background-size: cover; background-position: center; background-repeat: no-repeat; color: var(--pd-white); }
.section-bg--s3 { background-image: url("../img/bg-s3.webp"); }
.section-bg--s5 { background-color: var(--pd-blue); background-image: url("../img/bg-s5.webp"); }
.section-bg--s6 { background-image: url("../img/bg-s6.webp"); }
.section-bg--s7 { background-color: #e8385f; background-image: url("../img/bg-s7.webp"); }
.section-bg--s9 { background-image: url("../img/bg-s9.webp"); }
.section-bg--s10 { background-color: var(--pd-purple); background-image: url("../img/bg-s10.webp"); }
.section-bg--s12 { background-color: var(--pd-blue); background-image: url("../img/bg-s12.webp"); }
.section-bg--s14 { background-color: var(--pd-purple); background-image: url("../img/bg-s14.webp"); }

/* Viñetas redondas del diseño */
.pd-bullets li { position: relative; padding-left: 1.1em; }
.pd-bullets li::before { content: ""; position: absolute; left: 0.1em; top: 0.55em; top: calc(0.5lh - 0.21em); width: 0.42em; height: 0.42em; border-radius: 50%; background: currentColor; }

/* ---------- Botón degradado ---------- */
.btn-pd {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 0.55rem 1.3rem; border: 0; border-radius: 0.8rem; overflow: hidden; isolation: isolate;
    background: var(--pd-gradient); background-size: 160% 100%; background-position: 0 0;
    color: var(--pd-white); font-family: inherit; font-weight: 700; font-size: 1.3rem; line-height: 1.2; white-space: nowrap;
    box-shadow: 0 10px 26px rgba(224, 32, 108, 0.32); cursor: pointer;
    transition: transform 0.35s var(--pd-ease), box-shadow 0.35s var(--pd-ease), background-position 0.6s var(--pd-ease);
}
.btn-pd::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.8s var(--pd-ease);
}
.btn-pd:hover, .btn-pd:focus-visible { transform: translateY(-3px); background-position: 100% 0; box-shadow: 0 16px 34px rgba(224, 32, 108, 0.45); color: var(--pd-white); }
.btn-pd:hover::after { transform: translateX(120%); }
.btn-pd:active { transform: translateY(0); }
.btn-pd--lg { font-size: clamp(1.35rem, 2.35vw, 1.9rem); padding: 1.05rem 1.6rem; border-radius: 1.1rem; min-width: min(100%, 18.75rem); }

/* Botón flotante "Inscríbete": visible en toda la página, abajo a la derecha. */
.btn-pd--float {
    position: fixed; z-index: 1040;
    right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
    font-size: clamp(1.05rem, 1.6vw, 1.25rem); padding: 0.8rem 1.5rem; border-radius: 999px;
    box-shadow: 0 12px 30px rgba(224, 32, 108, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.9);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--pd-navy); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); }
.site-header .navbar { padding-block: 0.35rem; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; }
.site-header__brand { padding: 0; margin: 0; }
.site-header__logo { width: auto; height: clamp(3.9rem, 7vw, 5.75rem); }
.site-header__toggler { border-color: rgba(255, 255, 255, 0.35); }

.site-menu__link { position: relative; color: var(--pd-white) !important; font-size: 1.35rem; font-weight: 500; }
.site-menu__link::after { content: ""; position: absolute; left: var(--bs-nav-link-padding-x, 0); right: var(--bs-nav-link-padding-x, 0); bottom: 0.2rem; height: 2px; background: var(--pd-cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--pd-ease); }
.site-menu__link:hover::after, .site-menu__link[aria-current="true"]::after { transform: scaleX(1); }

@media (min-width: 992px) {
    .site-menu { flex-grow: 1; }
    .site-menu .offcanvas-body { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; }
    .site-menu__list { gap: 0.4rem; }
    .navbar-expand-lg .site-menu__link { padding-inline: 0.75rem; }
}
@media (max-width: 991.98px) {
    .site-menu { background: var(--pd-navy); color: var(--pd-white); }
    .site-menu .offcanvas-body { display: flex; flex-direction: column; gap: 1.5rem; }
    .site-menu__link { font-size: 1.5rem; }
    .btn-pd--nav { align-self: flex-start; }
}

/* ---------- 1. Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: max(34rem, min(clamp(36rem, 57vw, 52rem), calc(100svh - var(--pd-header-h, 6.4rem)))); overflow: hidden; background: var(--pd-navy); color: var(--pd-white); }
.hero__slider { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero__slider .swiper-slide { height: 100%; overflow: hidden; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7.5s linear; }
.hero__slider .swiper-slide-active .hero__img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: url("../img/hero-shadow.webp") bottom / 100% 75% no-repeat, linear-gradient(180deg, rgba(18, 17, 65, 0) 40%, rgba(18, 17, 65, 0.5) 100%); opacity: 0.9; }

.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(1rem, 3vw, 3rem); padding-block: 3rem clamp(3rem, 6vw, 4.75rem); }
.hero__logo img { width: clamp(9rem, 15vw, 12rem); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)); }
.hero__title { font-weight: 800; font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1; margin-bottom: 1.2rem; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-bottom: 1.2rem; }
.pd-badge { padding: 0.8rem clamp(1.5rem, 2.6vw, 2.25rem); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 0.65rem; background: var(--pd-navy); font-weight: 700; font-size: clamp(0.9rem, 1.3vw, 1.05rem); letter-spacing: 0.02em; }
.hero__date { font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1.3; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding-bottom: 2.6rem; }
.hero__price { font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55); }

@media (max-width: 991.98px) {
    .hero { min-height: calc(100svh - var(--pd-header-h)); }
    .hero__content { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }
    .hero__badges { justify-content: center; }
    .hero__cta { padding-bottom: 0; }
    .hero__shade { background: linear-gradient(180deg, rgba(18, 17, 65, 0.1) 20%, rgba(18, 17, 65, 0.78) 100%); }
}

/* ---------- 2. Aliados ---------- */
.partners { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.partners__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 3.75rem); }
.partners__item { width: var(--logo-w); max-width: 42vw; }
.partners__logo { width: 100%; filter: grayscale(0.15); transition: filter 0.3s, transform 0.4s var(--pd-ease); }
.partners__logo:hover { filter: none; transform: scale(1.05); }

/* ---------- 3. Impacto ---------- */
.impact { padding-block: var(--pd-section-y); }
.impact__title { max-width: 52rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; font-weight: 800; font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.2; }

.video-box { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--pd-cyan); border-radius: 1.6rem; background: var(--pd-navy); transition: box-shadow 0.4s var(--pd-ease), transform 0.4s var(--pd-ease); }
.video-box:not(.is-playing):hover { transform: translateY(-4px); box-shadow: 0 0 0 6px rgba(19, 172, 228, 0.15), 0 18px 40px rgba(0, 0, 0, 0.35); }
.video-box__media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.video-box.is-playing .video-box__media { object-fit: contain; background: #000; }
.video-box__cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 0.9rem; padding: 1rem; border: 0; background: rgba(18, 17, 65, 0.45); color: var(--pd-white); font-family: inherit; cursor: pointer; transition: background-color 0.3s, opacity 0.35s, visibility 0.35s; }
.video-box__cover:hover { background-color: rgba(18, 17, 65, 0.25); }
.video-box.is-playing .video-box__cover { opacity: 0; visibility: hidden; }
.video-box__play { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--pd-cyan); box-shadow: 0 0 0 0 rgba(19, 172, 228, 0.6); animation: pd-pulse 2.4s infinite; }
.video-box__label { font-weight: 900; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: 0.02em; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 1.75rem; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; padding: 0.5rem 0.75rem; text-align: center; }
.stats__item + .stats__item { border-left: 3px solid var(--pd-cyan); }
.stats__value { margin: 0; font-weight: 600; font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats__label { font-weight: 500; font-size: clamp(0.85rem, 1.55vw, 1.25rem); line-height: 1.1; text-transform: uppercase; }
.impact__text { max-width: 38rem; margin-inline: auto; text-align: center; font-weight: 500; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.4; }

@media (max-width: 575.98px) {
    .stats { grid-template-columns: 1fr; gap: 1.25rem; }
    .stats__item + .stats__item { border-left: 0; border-top: 3px solid var(--pd-cyan); padding-top: 1.25rem; }
}

/* ---------- Grid a sangre (fotos que tocan el borde) ---------- */
.split {
    display: grid; align-items: center;
    grid-template-columns: minmax(var(--pd-gutter), 1fr) minmax(0, calc(var(--pd-container) / 2)) minmax(0, calc(var(--pd-container) / 2)) minmax(var(--pd-gutter), 1fr);
}
.split > * { grid-column: 2 / 4; }
.split > .split__bleed-left { grid-column: 1 / 4; }
.split > .split__bleed-right { grid-column: 2 / 5; }
.bleed-img { display: block; width: 100%; }
.split__bleed-left .bleed-img { margin-right: auto; }

@media (min-width: 992px) {
    .split > .split__col-left { grid-column: 2 / 3; }
    .split > .split__col-right { grid-column: 3 / 4; }
    .split > .split__bleed-left { grid-column: 1 / 3; }
    .split > .split__bleed-right { grid-column: 3 / 5; }
    .split__body { padding-left: clamp(1.5rem, 3vw, 2.5rem); }
}

/* ---------- 4. Causas ---------- */
.causes { padding-block: var(--pd-section-y); row-gap: 2rem; align-items: start; }
.causes__title { max-width: 6.6em; font-size: clamp(2.5rem, 5vw, 4rem); }
.causes__text { max-width: 30rem; font-weight: 500; font-size: clamp(1.1rem, 1.9vw, 1.55rem); line-height: 1.3; }
.causes__media .bleed-img { max-width: 37.5rem; }
.causes__cards { display: grid; gap: clamp(1.25rem, 3vw, 3rem); }

.cause-card { display: grid; grid-template-columns: 9.5rem 1fr; align-items: center; gap: 1.25rem; min-height: 9.5rem; padding: 1.25rem 1.5rem; border-radius: var(--pd-radius); background: var(--pd-white); box-shadow: var(--pd-shadow); transition: transform 0.4s var(--pd-ease), box-shadow 0.4s var(--pd-ease); }
.cause-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(18, 17, 65, 0.18); }
.cause-card__logo { display: flex; align-items: center; justify-content: center; }
.cause-card__logo img { height: clamp(5.5rem, 8vw, 7rem); width: auto; max-width: 100%; object-fit: contain; }
.cause-card__label { color: var(--pd-magenta); font-weight: 800; font-size: 0.95rem; line-height: 1.2; text-transform: uppercase; }
.cause-card__text { font-weight: 600; font-size: clamp(0.95rem, 1.35vw, 1.1rem); line-height: 1.3; }

@media (min-width: 992px) {
    .causes > .causes__cards { grid-row: 1 / span 2; align-self: center; padding-left: clamp(1.5rem, 4vw, 4rem); }
    .causes__media { padding-right: 2rem; }
}
@media (max-width: 575.98px) {
    .cause-card { grid-template-columns: 1fr; text-align: center; }
}

/* ---------- 5. Elige tu reto ---------- */
.challenge { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.challenge__grid { display: grid; grid-template-columns: 1fr auto 1.1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.challenge__head { text-align: center; }
.challenge__title { margin-bottom: 0.25rem; font-weight: 800; font-size: clamp(2.75rem, 5.3vw, 4.25rem); }
.challenge__subtitle { font-weight: 500; font-size: clamp(1.1rem, 1.9vw, 1.55rem); }
.challenge__divider { width: 3px; align-self: stretch; min-height: 6.5rem; border-radius: 2px; background: var(--pd-cyan); }
.challenge__categories-title { font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }
.challenge__categories { font-weight: 500; font-size: clamp(1.05rem, 1.9vw, 1.55rem); line-height: 1.35; }

@media (max-width: 767.98px) {
    .challenge__grid { grid-template-columns: 1fr; text-align: center; }
    .challenge__divider { width: 6rem; min-height: 3px; height: 3px; justify-self: center; }
}

/* ---------- 6 y 7. Recorridos ---------- */
.route { padding-block: clamp(3rem, 5vw, 4rem); }
.route__name { font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 2.9rem); margin-bottom: 1.75rem; }
.route__start { font-weight: 700; font-size: clamp(1.3rem, 2.1vw, 1.75rem); margin-bottom: 0.9rem; }
.route__label { font-size: clamp(1.1rem, 1.9vw, 1.5rem); margin-bottom: 0.25rem; }
.route__path { font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.3; }
.route__arrow { font-size: 0.7em; vertical-align: 0.1em; }
.route__rule { width: min(19rem, 100%); margin-block: 1.75rem; border: 0; border-top: 3px solid var(--pd-white); opacity: 1; }
.route__schedule-title { font-weight: 700; font-size: clamp(1.3rem, 2.1vw, 1.75rem); margin-bottom: 1rem; }
.route__schedule { display: grid; gap: 0.4rem; font-size: clamp(1.1rem, 1.9vw, 1.55rem); }
.route__map { margin: 0; overflow: hidden; border-radius: 1rem; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3); }
.route__map img { display: block; width: 100%; transition: transform 0.9s var(--pd-ease); }
.route__map:hover img { transform: scale(1.03); }

/* ---------- 8. Premiación ---------- */
.awards { padding-block: var(--pd-section-y); }
.awards__img { display: block; width: 100%; border-radius: 1.6rem; }
.awards__title { margin-bottom: 0.2rem; font-weight: 800; font-size: clamp(2.4rem, 3.7vw, 3rem); }
.awards__subtitle { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin-bottom: 2.25rem; }
.prizes { display: grid; gap: 1.4rem; max-width: 23rem; margin-inline: auto; margin-bottom: 2.25rem; }
.prize { display: flex; flex-direction: column; padding: 0.55rem 1rem; border: 1.5px solid var(--pd-navy); border-radius: 0.9rem; line-height: 1.2; transition: background-color 0.35s, color 0.35s, transform 0.35s var(--pd-ease); }
.prize:hover { background: var(--pd-navy); color: var(--pd-white); transform: scale(1.03); }
.prize__place { font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.prize__amount { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }
.awards__note { color: var(--pd-magenta); font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; }

/* ---------- 9. Kit ---------- */
.kit { padding-block: var(--pd-section-y); }
.kit__title { font-weight: 900; font-size: clamp(2.5rem, 4.2vw, 3.35rem); margin-bottom: 2rem; }
.kit__shirt { display: block; width: 100%; max-width: 36rem; }
.kit__block + .kit__block { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1.5px solid rgba(255, 255, 255, 0.7); }
.kit__label { font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 0.4rem; }
.kit__price { font-size: clamp(2.1rem, 3.3vw, 2.6rem); line-height: 1.1; }
.kit__text { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.35; }
.kit__items { column-count: 2; column-gap: 1.5rem; margin-top: 1.25rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.25; }
.kit__items li { break-inside: avoid; margin-bottom: 0.3rem; }

/* ---------- 10. Jersey ---------- */
.jersey { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.jersey__title { max-width: 21rem; font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 1.8rem); line-height: 1.2; margin-bottom: 0.4rem; }
.jersey__text { font-size: clamp(1rem, 1.5vw, 1.2rem); margin-bottom: 0.2rem; }
.jersey__price { font-size: clamp(2.4rem, 3.5vw, 2.8rem); }
.jersey__img { display: block; width: 100%; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35)); }

/* ---------- 11. Entrega de kits ---------- */
.delivery { padding-top: 0.6rem; row-gap: 2.5rem; }
.delivery__media .bleed-img { max-width: 34.5rem; }
.delivery__title { margin-bottom: 0.15rem; font-weight: 800; font-size: clamp(2.3rem, 3.7vw, 3rem); }
.delivery__subtitle { color: var(--pd-magenta); font-weight: 500; font-size: 1.1rem; margin-bottom: 1.5rem; }
.delivery__list { margin: 0; }
.delivery__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 1.25rem; padding: 1.4rem 0.75rem; }
.delivery__row + .delivery__row { border-top: 1.5px solid var(--pd-navy); }
.delivery__date { font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.2; }
.delivery__place { margin: 0; font-weight: 500; font-size: clamp(0.98rem, 1.35vw, 1.1rem); line-height: 1.3; }

@media (max-width: 991.98px) {
    .delivery { padding-bottom: var(--pd-section-y); }
}
@media (max-width: 575.98px) {
    .delivery__row { grid-template-columns: 1fr; gap: 0.4rem; padding-inline: 0; }
}

/* ---------- 12. Familia ---------- */
.family { row-gap: 2.5rem; margin-top: 0.4rem; }
.family__body { padding-block: clamp(3rem, 6vw, 4rem); }
.family__title { font-weight: 900; font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: 1.5rem; }
.family__text { max-width: 32rem; font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.45; }
.family__media { align-self: stretch; }
.family__media .bleed-img { height: 100%; object-fit: cover; object-position: left center; }

@media (min-width: 992px) {
    .family__body { padding-right: 2rem; }
}

/* ---------- 13. Operación ---------- */
.operation { padding-top: 2rem; row-gap: 2.5rem; }
.operation__media .bleed-img { max-width: 37rem; }
.operation__title { font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 2.95rem); margin-bottom: 1rem; }
.operation__text { max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.3; margin-bottom: 1.5rem; }
.operation__list { display: grid; gap: 0.2rem; font-size: clamp(0.98rem, 1.45vw, 1.15rem); }

@media (max-width: 991.98px) {
    .operation { padding-bottom: var(--pd-section-y); }
}
@media (min-width: 992px) {
    .operation__body { padding-block: 1rem 2rem; }
}

/* ---------- 14. Cierre ---------- */
.closing { margin-top: clamp(2.5rem, 4vw, 2.5rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.closing__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.5rem, 3.5vw, 3rem); }
.closing__logo img { width: clamp(9rem, 16vw, 12.5rem); }
.closing__title { font-weight: 800; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1; margin-bottom: 1.4rem; }
.closing__text { max-width: 47rem; font-weight: 500; font-size: clamp(1.05rem, 1.75vw, 1.45rem); line-height: 1.3; }
.closing__text strong { font-weight: 800; }

@media (max-width: 991.98px) {
    .closing__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ---------- Animaciones ---------- */
@keyframes pd-pulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 172, 228, 0.55); }
    70% { box-shadow: 0 0 0 18px rgba(19, 172, 228, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 172, 228, 0); }
}

/* Estado inicial solo con JS activo (ver head.php); GSAP lo anima. */
.js-anim [data-reveal],
.js-anim [data-hero-item] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .hero__img { transform: none !important; }
}
