/* =========================================================
   OBRA — RESET + BASE
========================================================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--obra-bg);
    color: var(--obra-text);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    font-optical-sizing: auto;
}



strong,
b {
    font-weight: inherit;
}

em {
    font-style: inherit;
}

/* =========================================================
   OBRA — VARIABLES
========================================================= */
:root {
    /* Base */
    --obra-bg: #000;
    --obra-text: #fff;

    /* Grises */
    --obra-bg-1: #070707;
    --obra-bg-2: #0c0c0c;
    --obra-bg-3: #111111;
    --obra-line: rgba(255, 255, 255, .08);

    /* Texto */
    --obra-muted: rgba(255, 255, 255, .78);
    --obra-muted-2: rgba(255, 255, 255, .62);
    --obra-muted-3: rgba(255, 255, 255, .48);

    /* Bordes */
    --obra-border: rgba(255, 255, 255, .14);
    --obra-border-strong: rgba(255, 255, 255, .26);

    /* Radios */
    --obra-radius: 14px;
    --obra-card-radius: 12px;

    /* Tipografía */
    --obra-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}

/* =========================================================
   OBRA — DISPLAY FONT
========================================================= */
@font-face {
    font-family: "Stretch Pro";
    src: url("/fonts/StretchPro.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.obra-display {
    font-family: "Stretch Pro", sans-serif;
    font-feature-settings: "liga" 1, "calt" 1;
    font-weight: 400;
    letter-spacing: .08em;
}



/* =========================
   HERO
========================= */
.fs-hero {
    font-size: clamp(64px, 12vw, 220px);
    line-height: .95;
    padding: 0;
    margin: 0;
}

/* =========================
   DISPLAY
========================= */
.fs-display {
    font-size: clamp(44px, 7vw, 96px);
    line-height: 1.0;
    padding: 0;
    margin: 0;
}

/* =========================
   XXL
========================= */
.fs-xxl {
    font-size: clamp(36px, 5.8vw, 78px);
    line-height: 1.02;
    padding: 0;
    margin: 0;
}

/* =========================
   XL
========================= */
.fs-xl {
    font-size: clamp(30px, 4.6vw, 60px);
    line-height: 1.06;
    padding: 0;
    margin: 0;
}

/* =========================
   LG
========================= */
.fs-lg {
    font-size: clamp(24px, 3.4vw, 44px);
    line-height: 1.12;
    padding: 0;
    margin: 0;
}

/* =========================
   MD
========================= */
.fs-md {
    font-size: clamp(18px, 1.9vw, 22px);
    line-height: 1.55;
    padding: 0;
}

/* =========================
   BASE (texto largo)
========================= */
.fs-base {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.75;
    padding: 0;
    margin: 0;
}

/* =========================
   SM
========================= */
.fs-sm {
    font-size: clamp(14px, 1.25vw, 16px);
    line-height: 1.7;
    padding: 0;
    margin: 0;
}

/* =========================
   XS
========================= */
.fs-xs {
    font-size: clamp(12px, 1.05vw, 14px);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* =========================
   MICRO / KICKER
========================= */
.fs-micro {
    font-size: clamp(10px, .9vw, 12px);
    line-height: 1.3;
    letter-spacing: .22em;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

/* =========================================================
   UTILIDAD — QUITAR AIRE CUANDO SE NECESITE
========================================================= */
.no-padding {
    padding: 0 !important;
}
.no-margin {
    margin: 0 !important;
}


/* Enfasis */
.em {
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
}

.em-hard {
    font-weight: 800;
    color: rgba(255, 255, 255, .96);
}

.em-max {
    font-weight: 900;
    color: rgba(255, 255, 255, 1);
}

.muted {
    color: rgba(255, 255, 255, .62);
}

.italic {
    font-style: italic;
}

.kicker {
    letter-spacing: .22em;
    text-transform: uppercase;
}

.white {
    color: rgba(255, 255, 255, .92);
}

/* Pesos */
.fw-900 {
    font-weight: 900;
}

.fw-800 {
    font-weight: 800;
}

.fw-700 {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

.fw-500 {
    font-weight: 500;
}

.fw-400 {
    font-weight: 400;
}

.fw-300 {
    font-weight: 300;
}

.fw-200 {
    font-weight: 200;
}

.fw-100 {
    font-weight: 100;
}

/* =========================================================
   OBRA — LAYOUT UTILITIES
   (Opcional, pero te limpia anchos repetidos)
========================================================= */
.container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.container-md {
    width: min(1100px, 90vw);
    margin: 0 auto;
}

.container-sm {
    width: min(980px, 90vw);
    margin: 0 auto;
}

.center {
    text-align: center;
}

.stack-10 {
    display: grid;
    gap: 10px;
}

.stack-18 {
    display: grid;
    gap: 18px;
}

.stack-26 {
    display: grid;
    gap: 26px;
}

.stack-60 {
    display: grid;
    gap: 60px;
}

/* =========================================================
   OBRA — PRELOADER
========================================================= */
.obra-preloader {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background: #000;

    display: grid;
    place-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .38s ease;
}

.obra-preloader.is-on {
    opacity: 1;
    pointer-events: auto;
}

.obra-preloader.is-off {
    opacity: 0;
    pointer-events: none;
}

.obra-preloader-inner {
    display: grid;
    place-items: center;
    gap: 18px;
    text-align: center;
    padding: 40px;
}

.obra-preloader-mark {
    font-family: var(--obra-font);
    font-weight: 900;
    font-size: clamp(66px, 12vw, 140px);
    line-height: .95;
    text-transform: uppercase;
}

.obra-preloader-mark span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-12px);
    animation: obraPreLetter .55s cubic-bezier(.2, .9, .2, 1) forwards;
    animation-delay: calc(var(--i) * 100ms);
}

.obra-preloader-mark span:nth-child(1) {
    --i: 0;
}

.obra-preloader-mark span:nth-child(2) {
    --i: 1;
}

.obra-preloader-mark span:nth-child(3) {
    --i: 2;
}

.obra-preloader-mark span:nth-child(4) {
    --i: 3;
}

@keyframes obraPreLetter {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.obra-preloader-hairline {
    width: 54px;
    height: 1px;
    background: rgba(255, 255, 255, .22);
    opacity: .9;
}

.obra-preloader-tag {
    font-family: var(--obra-font);
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

@media (prefers-reduced-motion: reduce) {
    .obra-preloader-mark span {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   OBRA — TYPO COMPONENTS (solo estructura, sin tamaños)
========================================================= */
.obra-eyebrow {
    font-family: var(--obra-font);
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--obra-muted-2);
    margin: 0 0 .9rem;
    font-weight: 500;
}

.obra-title {
    font-family: var(--obra-font);
    margin: 0 0 .65rem;
    color: var(--obra-text);
    font-weight: 800;
    font-style: normal;
    line-height: 1.06;
    /* Tamaño: usar fs-* en HTML si quieres control total */
}

.obra-sub {
    font-family: var(--obra-font);
    margin: 0;
    color: var(--obra-muted);
    line-height: 1.7;
    font-weight: 450;
    /* Tamaño: usar fs-* en HTML */
}

.obra-quote {
    font-family: var(--obra-font);
    font-style: italic;
    font-weight: 550;
    color: var(--obra-muted);
    line-height: 1.6;
}

/* =========================================================
   OBRA — HERO
========================================================= */
.obra-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--obra-bg);
    color: #fff;
}

/* Imagen filtrada. El contenido queda limpio. */
.obra-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    background-image: url(hero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    filter: grayscale(.60);
    transform: scale(1.02);
}

/* Overlay editorial */
.obra-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 50% 45%,
            rgba(0, 0, 0, .15) 0%,
            rgba(0, 0, 0, .60) 60%,
            rgba(0, 0, 0, .82) 100%),
        rgba(0, 0, 0, .65);
}

.obra-hero-inner {
    position: relative;
    z-index: 2;

    width: min(1200px, 92vw);
    display: grid;
    place-items: center;
    gap: 2px;
    padding: clamp(24px, 6vw, 72px) 0;
}

/* Rotador */
.obra-hero-rotator {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.obra-rot-word {
    position: absolute;
    font-family: var(--obra-font);
    font-weight: 100;
    letter-spacing: .30em;
    text-transform: uppercase;
    font-size: clamp(64px, 13vw, 190px);

    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .2, 1);

    color: rgba(255, 255, 255, .06);
}

.obra-rot-word.is-on {
    opacity: 1;
    transform: translateX(0);
}

/* Logo */
.obra-hero-logo {
    position: relative;
    z-index: 2;
    margin: 0;

    font-family: var(--obra-font);
    font-weight: 900;
    font-size: clamp(88px, 13vw, 220px);
    line-height: .95;
    text-transform: uppercase;
}

.obra-letter {
    display: inline-block;
    opacity: 0;
    transform: translateX(-22px);
    animation: obraLetterIn .55s cubic-bezier(.2, .9, .2, 1) forwards;
    animation-delay: calc(var(--i) * 110ms);
}

@keyframes obraLetterIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Subcopy (si lo usas) */
.obra-hero-sub {
    position: relative;
    z-index: 2;
    margin: 0;
    text-align: center;
    font-family: var(--obra-font);
    font-weight: 450;
    font-size: clamp(.95rem, 1.25vw, 1.05rem);
    color: rgba(255, 255, 255, .72);
    line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
    .obra-letter {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .obra-rot-word {
        transition: none;
    }
}

/* =========================================================
   OBRA — NOT FOR EVERYONE
   Unificado. Sin duplicados.
========================================================= */
.obra-not-for-everyone {
    position: relative;
    background: #000;
    color: #fff;
    padding: clamp(90px, 14vw, 170px) 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
}

/* Tipografía fantasma */
.obra-not-for-everyone::before {
    content: "OBRA";
    position: absolute;
    left: clamp(-40px, -4vw, -10px);
    top: clamp(20px, 6vw, 90px);
    font-family: var(--obra-font);
    font-weight: 900;
    font-size: clamp(120px, 18vw, 360px);
    color: rgba(255, 255, 255, .15);
    pointer-events: none;
    user-select: none;
}

/* Hairline vertical */
.obra-not-for-everyone::after {
    content: "";
    position: absolute;
    left: max(4vw, 24px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.obra-not-inner {
    width: min(1100px, 90vw);
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
}

@media (min-width: 980px) {
    .obra-not-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
        column-gap: 70px;
        row-gap: 18px;
        align-items: start;
    }

    .obra-eyebrow-title,
    .obra-not-lead,
    .obra-not-divider {
        grid-column: 1;
    }

    .obra-not-body,
    .obra-vision-title {
        grid-column: 2;
    }
}

.obra-eyebrow-title {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 900;
    line-height: .95;
    /* Tamaño: en HTML usa fs-xxl / fs-xl según convenga */
}

.obra-lead-emphasis {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 450;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
    max-width: 44ch;
    /* Tamaño: en HTML usa fs-md */
}

.obra-divider-short {
    width: 72px;
    height: 1px;
    background: rgba(255, 255, 255, .22);
    margin: 34px 0 10px;
}

.obra-body-stacked {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 420;
    line-height: 1.95;
    color: rgba(255, 255, 255, .68);
    letter-spacing: .01em;

    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    /* Tamaño: en HTML usa fs-base o fs-sm */
}

.obra-vision-title {
    margin: 22px 0 0;
    font-family: var(--obra-font);
    font-weight: 850;
    line-height: 1.5;
    color: rgba(255, 255, 255, .92);
    letter-spacing: -0.01em;

    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    /* Tamaño: en HTML usa fs-md */
}

.obra-vision-title .obra-vision-body {
    display: inline;
    font-weight: 450;
    color: rgba(255, 255, 255, .70);
}

@media (prefers-reduced-motion: reduce) {
    .obra-not-for-everyone::before {
        transform: none;
    }
}

/* Bullets */
.obra-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.obra-bullets li {
    position: relative;
    padding-left: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

.obra-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
}

.obra-bullets li::after {
    content: "";
    position: absolute;
    left: 2.5px;
    top: 1.1em;
    width: 1px;
    height: calc(100% + 10px);
    background: rgba(255, 255, 255, .12);
}

.obra-bullets li:last-child::after {
    display: none;
}

/* =========================================================
   OBRA — TEAM GRID
========================================================= */
.obra-team-grid {
    background: var(--obra-bg);
    padding: clamp(120px, 16vw, 220px) 0;
    border-top: 1px solid var(--obra-line);
}

.obra-team-grid-inner {
    width: min(1200px, 92vw);
    margin: 0 auto;
    display: grid;
    gap: 60px;
}

/* Título (tamaño via fs-*) */
.obra-team-grid-title {
    font-family: var(--obra-font);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin: 0;
}

/* =========================================================
   OBRA — TEAM (Bootstrap-like centering)
========================================================= */

.obra-team-cards {
    --cols: 3;
    --gap: 34px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* <- centra filas como Bootstrap */
    gap: var(--gap);
}

/* cada card ocupa 1/cols del ancho, respetando gaps */
.obra-team-card {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    max-width: 320px;
    /* control editorial */
}

/* Mobile: 2 columnas */
@media (max-width: 600px) {
    .obra-team-cards {
        --cols: 2;
        --gap: 22px;
    }
}

/* Tablet chica: 2 columnas */
@media (min-width: 601px) and (max-width: 900px) {
    .obra-team-cards {
        --cols: 2;
        --gap: 28px;
    }
}

/* Desktop grande: 3 columnas */
@media (min-width: 1200px) {
    .obra-team-cards {
        --cols: 3;
        --gap: 36px;
    }
}

/* XXL: 4 columnas */
@media (min-width: 1600px) {
    .obra-team-cards {
        --cols: 4;
        --gap: 40px;
    }
}


/* Cards */
.obra-team-card {
    width: 100%;
    max-width: 320px;
}



.obra-team-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--obra-bg-2);
}

.obra-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.05);
    transition: transform .6s cubic-bezier(.2, .9, .2, 1);
}

.obra-team-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    transition: opacity .6s cubic-bezier(.2, .9, .2, 1);
}

.obra-team-card:hover img {
    transform: scale(1.04);
}

.obra-team-card:hover .obra-team-overlay {
    opacity: 0;
}

.obra-team-meta {
    display: grid;
    gap: 0px;
}


.obra-team-meta p {
    margin: 8px 0 0;
    font-family: var(--obra-font);
    line-height: 1.55;
    max-width: 36ch;
}

/* =========================================================
   OBRA — TEAM HEADER
========================================================= */
.obra-team-header {
    padding: 50px;
    border-bottom: 1px solid var(--obra-line);
}

.obra-team-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

/* =========================================================
   OBRA — TEAM SCENE
========================================================= */
.obra-team {
    background: var(--obra-bg);
}

.obra-scene {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--obra-bg-2);
    border-top: 1px solid var(--obra-line);
}

.obra-bg {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
    filter: contrast(1.02) brightness(.92);
}

.obra-people {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: center;

    gap: 1px;
    padding: 0 var(--obra-padX, 28px) var(--obra-padB, 40px);
}

.obra-person {
    width: var(--obra-personW, 220px);
    aspect-ratio: 3 / 5;
    flex: 0 0 auto;

    transform: translate3d(0, 115%, 0);
    opacity: 0;
    filter: blur(10px);
    will-change: transform, opacity, filter;
}

.obra-person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.18);
    transform-origin: 50% 100%;
}

.obra-spacer {
    height: 1px;
    background: var(--obra-bg);
}

@media (max-width: 900px) {
    .obra-people {
        --obra-gap: 12px;
        --obra-padX: 16px;
        --obra-padB: 5vw;
    }
}

@media (max-width: 700px) {
    .obra-people {
        --obra-gap: 10px;
        --obra-padX: 12px;
        --obra-padB: 22px;
    }
}

/* =========================================================
   OBRA — ENTRY POINT
========================================================= */
.obra-entry {
    background: var(--obra-bg);
    padding: clamp(140px, 18vw, 260px) 0;
    border-top: 1px solid var(--obra-line);
}

.obra-entry-inner {
    width: min(900px, 90vw);
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 10px;
}

.obra-entry-with-figure .obra-entry-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: center;
    gap: clamp(5px, 8vw, 20px);
}

/* Tipos (tamaño por fs-*) */
.obra-entry-title {
    font-family: var(--obra-font);
    font-weight: 900;
    margin: 0;
}

.obra-entry-body {
    font-family: var(--obra-font);
    line-height: 1.8;
    color: var(--obra-muted);
    margin: 0;
}

.obra-entry-link {
    margin: 40px auto 0;
    display: inline-block;
    font-family: var(--obra-font);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--obra-text);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color .35s ease, opacity .35s ease;
}

.obra-entry-link:hover {
    border-color: rgba(255, 255, 255, .8);
    opacity: .85;
}

.obra-entry-note {
    margin-top: 18px;
    font-family: var(--obra-font);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--obra-muted-3);
    line-height: 1.6;
}

/* Parallax control */
.obra-entry-with-figure {
    --obra-parallax-start: 0.05;
    --obra-parallax-end: 0.92;
    --obra-parallax-x: 500;
}

@media (max-width: 820px) {
    .obra-entry-with-figure {
        --obra-parallax-start: 0.12;
        --obra-parallax-end: 0.98;
        --obra-parallax-x: 220;
    }
}

.obra-entry-figure {
    perspective: 1000px;
    position: relative;
    height: min(80vh, 820px);
    overflow: hidden;
    opacity: .85;
}

.obra-entry-figure img {
    position: absolute;
    bottom: -10%;
    height: 110%;
    width: auto;
    object-fit: contain;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@media (min-width: 821px) {
    .obra-entry-figure img {
        right: 15%;
    }
}

@media (max-width: 820px) {
    .obra-entry-figure img {
        right: -30%;
    }
}

/* =========================================================
   OBRA — RITUAL
========================================================= */
.obra-ritual {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;

    display: grid;
    place-items: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.obra-ritual.is-active {
    opacity: 1;
    pointer-events: auto;
}

.obra-ritual-inner {
    text-align: center;
    max-width: 560px;
    padding: 40px;
}

/* Tamaños por fs-* */
.obra-ritual-title {
    font-family: var(--obra-font);
    font-weight: 900;
    margin-bottom: 22px;
}

.obra-ritual-body {
    font-family: var(--obra-font);
    line-height: 1.8;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 18px;
}

.obra-ritual-continue {
    margin-top: 30px;
    background: none;
    border: none;
    color: #fff;

    font-family: var(--obra-font);
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .28em;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(255, 255, 255, .35);
    padding-bottom: 6px;

    cursor: pointer;
}

.obra-ritual-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.obra-ritual-close svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255, 255, 255, .45);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: stroke .25s ease, opacity .25s ease;
}

.obra-ritual-close:hover svg {
    stroke: rgba(255, 255, 255, .85);
}

.obra-ritual-divider {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, .25);
    margin: 26px auto 28px;
}

/* =========================================================
   OBRA — CIERRE
========================================================= */
.obra-close {
    background: #000;
    padding: clamp(48px, 8vh, 96px) 24px;
    border-top: 1px solid rgba(255, 255, 255, .06);

    display: grid;
    place-items: center;
    text-align: center;
}

.obra-close-inner {
    width: min(1100px, 92vw);
}

/* Tamaño por fs-* */
.obra-close-text {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 350;
    line-height: 1.15;
    letter-spacing: .02em;
    color: rgba(255, 255, 255, .82);
}


/* =========================================================
   OBRA — QUÉ EJECUTAMOS (HORIZONTAL + SCROLLBAR)
   - NO takeover
   - Scroll horizontal nativo con barra
   - Hover premium
========================================================= */

.obra-exec {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 80px 0 0;
}

/* =========================
   HEAD
========================= */
.obra-exec-head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 34px;
}




/* =========================
   VIEWPORT (scroll horizontal)
========================= */
.obra-exec-viewport {
    min-height: 60vh;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 22px 24px 28px;

    scroll-snap-type: none;
    scroll-padding: 24px;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-gutter: stable both-edges;

    /* gesto visual suave (opcional) */
    background: radial-gradient(70% 60% at 50% 30%, rgba(255, 255, 255, .05), transparent 60%);
}

/* Barra (sobria) */
.obra-exec-viewport::-webkit-scrollbar {
    height: 10px;
}

.obra-exec-viewport::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .05);
    border-radius: 999px;
}

.obra-exec-viewport::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
}

.obra-exec-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .28);
}

/* Firefox */
.obra-exec-viewport {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .18) rgba(255, 255, 255, .05);
}

/* =========================
   RAIL
========================= */
.obra-exec-rail {
    display: flex;
    align-items: stretch;
    gap: 18px;

    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* =========================
   CARDS
========================= */
.obra-exec-card {
    width: min(420px, 82vw);
    min-width: min(420px, 82vw);
    height: min(520px, 70vh);
    border-radius: 22px;

    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45);

    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;

    scroll-snap-align: start;
    transform: translate3d(0, 0, 0);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    will-change: transform;
}

.obra-exec-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .045);
}

.obra-exec-card-top {
    margin: 0 0 auto;
    font-family: var(--obra-font);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.obra-exec-card-title {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, .95);
}

.obra-exec-card-body {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 350;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .75);
}

.obra-exec-card-meta {
    margin: 4px 0 0;
    font-family: var(--obra-font);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

/* =========================
   OUTRO
========================= */
.obra-exec-outro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 90px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.obra-exec-outro-text {
    margin: 0;
    font-family: var(--obra-font);
    font-weight: 350;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, .72);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .obra-exec-card,
    .obra-exec-card:hover {
        transition: none;
        transform: none;
    }
}


/* Drag UX */
.obra-exec-viewport {
    cursor: grab;
    user-select: none;
}

.obra-exec-viewport.is-dragging {
    cursor: grabbing;
}

.obra-exec-card {
    user-select: none;
}

/* =========================
   EXEC — HEAD (composición)
========================= */
.obra-exec-head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 28px;
    gap: 14px;
}


/* =========================================================
   OBRA — FOOTER
========================================================= */
.obra-footer {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 48px 0 40px;
    background: #000;
}

.obra-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

/* Marca */
.obra-footer-brand p {
    margin: 0;
}

/* Redes */
.obra-footer-social {
    display: flex;
    gap: 18px;
}

.obra-footer-social a {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, .55);
    transition: color .25s ease, transform .25s ease;
}

.obra-footer-social svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Hover */
.obra-footer-social a:hover {
    color: rgba(255, 255, 255, .92);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 640px) {
    .obra-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}