/* =========================================================
   Transportes RRC — Professional lower-page layout
   Hero composition is intentionally untouched.
   ========================================================= */

:root {
    --rrc-sticky-header: 4.8rem;
    --section-max: 96rem;
    --section-gutter: clamp(1.4rem, 5vw, 5.5rem);
    --section-gold-line: rgba(231, 188, 92, .34);
}

html { scroll-padding-top: 0; }
#inicio,
#servicios,
#nosotros,
#mision-vision,
#contacto { scroll-margin-top: calc(var(--rrc-sticky-header) + 1rem); }

/* ---------- Persistent navigation ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    pointer-events: none;
    transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.site-header .header-inner,
.site-header a,
.site-header button { pointer-events: auto; }

.site-header[data-scrolled] {
    background:
        linear-gradient(180deg, rgba(5,10,14,.48), rgba(2,7,11,.56)),
        radial-gradient(ellipse at 50% 0%, rgba(242,190,78,.12), transparent 54%),
        url("../assets/img/approved-background/road-textile-approved.webp") center/340px 190px repeat;
    border-bottom: 1px solid rgba(231,188,92,.46);
    box-shadow:
        inset 0 1px 0 rgba(255,240,190,.10),
        inset 0 -14px 30px rgba(202,137,28,.035),
        0 12px 32px rgba(0,0,0,.30),
        0 0 34px rgba(189,126,25,.09);
}

.site-header[data-scrolled] .header-inner {
    min-height: var(--rrc-sticky-header);
    transition: min-height .28s ease;
}
.site-header[data-scrolled] .brand-emblem { width: 3.05rem; }
.site-header[data-scrolled] .brand-copy strong { font-size: 1.08rem; }
.site-header[data-scrolled] .brand-copy span { font-size: .68rem; }
.site-header[data-scrolled] .main-navigation a {
    min-height: 3rem;
    font-size: clamp(.88rem, .96vw, 1.03rem);
}
.site-header[data-scrolled] .main-navigation a.is-active {
    color: #f4cd69;
    text-shadow: 0 0 16px rgba(231,174,50,.20);
}


/* ---------- V12 navigation refinement ---------- */
.main-navigation {
    gap: clamp(.95rem, 1.8vw, 2.35rem);
}
.main-navigation a {
    white-space: nowrap;
}
@media (min-width: 48.01rem) {
    .site-header:not([data-scrolled]) .main-navigation {
        gap: clamp(.8rem, 1.45vw, 1.8rem);
    }
    .site-header:not([data-scrolled]) .main-navigation a {
        min-height: 3rem;
        font-size: clamp(.82rem, .92vw, .98rem);
    }
}
@media (max-width: 68rem) and (min-width: 48.01rem) {
    .header-inner { gap: 1.2rem; }
    .main-navigation { gap: clamp(.75rem, 1.35vw, 1.25rem); }
    .main-navigation a { font-size: clamp(.76rem, 1.15vw, .92rem); }
    .brand-copy strong { font-size: clamp(.98rem, 1.35vw, 1.32rem); }
    .brand-copy span { font-size: clamp(.65rem, .8vw, .82rem); }
}

/* ---------- Shared section framing ---------- */
.services-section,
.about-section,
.purpose-section,
.contact-section {
    position: relative;
    overflow: clip;
}

.services-section,
.about-section,
.contact-section {
    min-height: calc(100svh - var(--rrc-sticky-header));
}

/* ---------- Services ---------- */
.services-section {
    display: flex;
    align-items: center;
    margin-top: -1px;
    padding: clamp(1.65rem, 3.2vh, 2.35rem) 0 clamp(2.25rem, 4.2vh, 3.1rem);
    border-top: 1px solid rgba(229,182,79,.30);
    background:
        radial-gradient(circle at 15% 12%, rgba(230,172,62,.10), transparent 27%),
        radial-gradient(circle at 86% 10%, rgba(46,82,105,.13), transparent 29%),
        linear-gradient(180deg, rgba(1,6,10,.86), rgba(1,6,10,.92)),
        url("../assets/img/approved-background/road-textile-approved.webp") center/340px 190px repeat;
}
.services-section::before {
    content: "";
    position: absolute;
    inset: clamp(.6rem, 1.35vw, 1rem) clamp(1rem, 2.2vw, 2.2rem) clamp(.95rem, 1.7vw, 1.35rem);
    border: 1px solid rgba(224,177,77,.32);
    pointer-events: none;
    box-shadow: inset 0 0 70px rgba(0,0,0,.10);
}
.services-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 12% 88%, rgba(0,0,0,.20));
}
.services-section .container {
    position: relative;
    z-index: 1;
    width: min(calc(100% - clamp(2.8rem, 10vw, 11rem)), var(--section-max));
    margin-inline: auto;
}
.services-section .section-eyebrow { margin-bottom: .72rem; }
.services-feature-row {
    display: grid;
    grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.45fr);
    gap: clamp(1.4rem, 2.4vw, 2.5rem);
    align-items: start;
}
.services-heading-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(14rem, 22vw, 17.5rem);
    padding: clamp(.25rem, .9vw, .5rem) 0 0 clamp(.2rem, .7vw, .75rem);
}
.services-section h2 {
    max-width: 16ch;
    margin: 0;
    font-size: clamp(2.5rem, 3.15vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -.02em;
    text-wrap: balance;
    text-shadow: 0 4px 22px rgba(0,0,0,.64);
}
.services-section h2 span { display:inline-block; }
.services-title-line { display:block; }
.services-title-line--sub { margin-top: .22rem; }
.services-media-slot {
    min-width: 0;
    margin-top: .15rem;
    padding: .52rem;
    border-radius: 1.05rem;
    background: linear-gradient(135deg, rgba(105,67,12,.54), rgba(255,222,132,.18) 30%, rgba(105,67,12,.28) 58%, rgba(255,235,176,.16));
    box-shadow: 0 22px 54px rgba(0,0,0,.28), 0 0 32px rgba(197,134,28,.06);
}
.services-media-content {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
}
.services-media-element {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.services-media-element--video {
    background: #02060a;
}
.services-media-slot[data-media-ready="true"] .services-media-slot__inner::after {
    background: linear-gradient(90deg, rgba(0,0,0,.14), transparent 24% 76%, rgba(0,0,0,.10));
}
.services-media-slot[data-media-ready="true"] .services-media-slot__label {
    display: none;
}

.services-media-slot__inner {
    position: relative;
    min-height: clamp(15rem, 24vw, 18rem);
    aspect-ratio: 16 / 6.8;
    overflow: hidden;
    border: 1px solid rgba(239,199,106,.58);
    border-radius: .78rem;
    background:
        radial-gradient(circle at 20% 18%, rgba(236,183,74,.10), transparent 25%),
        linear-gradient(135deg, rgba(4,8,12,.88), rgba(2,6,10,.96)),
        url("../assets/img/approved-background/road-textile-approved.webp") center/340px 190px repeat;
    box-shadow: inset 0 0 0 1px rgba(255,245,208,.035), inset 0 0 60px rgba(0,0,0,.34);
}
.services-media-slot__inner::before,
.services-media-slot__inner::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.services-media-slot__inner::before {
    inset: .75rem;
    border: 1px solid rgba(238,198,105,.18);
    border-radius: .55rem;
}
.services-media-slot__inner::after {
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.32), transparent 22% 78%, rgba(0,0,0,.18));
}
.services-media-slot__ornament {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.services-media-slot__ornament::before,
.services-media-slot__ornament::after {
    content: "";
    position: absolute;
    width: 4.4rem;
    height: 4.4rem;
    border-color: rgba(247,207,111,.72);
}
.services-media-slot__ornament::before {
    top: .72rem;
    left: .72rem;
    border-top: 1px solid;
    border-left: 1px solid;
}
.services-media-slot__ornament::after {
    right: .72rem;
    bottom: .72rem;
    border-right: 1px solid;
    border-bottom: 1px solid;
}
.services-media-slot__label {
    position: absolute;
    z-index: 2;
    right: clamp(1.2rem, 2vw, 1.8rem);
    bottom: clamp(1.1rem, 2vw, 1.6rem);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .3rem;
    text-align: right;
    text-shadow: 0 2px 16px rgba(0,0,0,.65);
}
.services-media-slot__label span {
    color: #efc765;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
}
.services-media-slot__label small {
    color: #c7cdd0;
    font-size: .75rem;
    letter-spacing: .03em;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    align-items: stretch;
    margin-top: clamp(1rem, 1.85vh, 1.35rem);
    border-top: 1px solid rgba(229,188,93,.30);
    border-bottom: 1px solid rgba(229,188,93,.18);
}
.services-grid article {
    min-width: 0;
    min-height: clamp(11.2rem, 14vw, 13.2rem);
    padding: clamp(.95rem, 1.45vw, 1.2rem) clamp(.95rem, 1.35vw, 1.25rem) clamp(1.05rem, 1.7vw, 1.35rem);
    border-right: 1px solid rgba(229,188,93,.18);
    background: linear-gradient(180deg, rgba(255,255,255,.008), transparent 72%);
    transition: background .25s ease, transform .25s ease;
}
.services-grid article:last-child { border-right: 0; }

.services-grid article:hover {
    background: linear-gradient(180deg, rgba(215,164,57,.045), rgba(255,255,255,.004));
    transform: translateY(-2px);
}
.services-grid article > span {
    color: #deb455;
    font-size: .67rem;
    letter-spacing: .14em;
}
.services-grid h3 {
    margin: .82rem 0 .48rem;
    font: 500 clamp(1.28rem, 1.4vw, 1.7rem)/1.08 var(--heading);
    color: #f5ead9;
}
.services-grid p {
    margin: 0;
    color: #b9c0c4;
    font-size: clamp(.80rem, .8vw, .90rem);
    line-height: 1.48;
}

/* ---------- Nosotros ---------- */
.about-section {
    isolation: isolate;
    display: grid;
    padding: 0;
    background:
        radial-gradient(circle at 74% 34%, rgba(213,157,45,.08), transparent 30%),
        linear-gradient(90deg, rgba(2,6,9,.02) 0 48%, rgba(3,7,10,.08) 54%, rgba(1,5,8,.16) 100%),
        url("../assets/img/approved-background/road-textile-approved.webp") center/340px 190px repeat;
    border-top: 1px solid rgba(215,173,88,.28);
}
.about-media {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 0;
    width: 48%;
    background: url("../assets/img/sections/fondo-nosotros.png") 46% 55% / cover no-repeat;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.about-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.015) 0 58%, rgba(2,5,8,.08) 72%, rgba(2,5,8,.36) 100%),
        linear-gradient(180deg, rgba(0,0,0,.02), transparent 54%, rgba(0,0,0,.12));
}
.about-divider {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.about-layout {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: calc(100svh - var(--rrc-sticky-header));
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    padding: 0;
}
.about-copy {
    grid-column: 2;
    width: min(36rem, calc(100% - clamp(5.5rem, 9vw, 9rem)));
    max-width: 36rem;
    margin-inline: auto;
    padding: clamp(1.6rem, 3.1vh, 2.7rem) 0;
}
.about-copy .section-eyebrow { margin-bottom: .62rem; }
.about-copy h2 {
    max-width: 10.7ch;
    margin: 0;
    font-size: clamp(2.6rem, 2.95vw, 3.65rem);
    line-height: .985;
    letter-spacing: -.018em;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0,0,0,.72);
}
.about-introduction {
    max-width: 35rem;
    margin: clamp(1rem, 1.8vh, 1.35rem) 0 0;
    color: #d5d7d8;
    font-size: clamp(.90rem, .93vw, 1rem);
    line-height: 1.58;
    text-shadow: 0 2px 14px rgba(0,0,0,.52);
}
.about-attributes {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0;
    width: 100%;
    margin-top: clamp(1.05rem, 2.1vh, 1.5rem);
    padding: clamp(.55rem, 1.1vh, .85rem) 0;
    border-top: 1px solid rgba(229,187,90,.37);
    border-bottom: 1px solid rgba(229,187,90,.20);
    background: linear-gradient(90deg, rgba(4,7,9,.08), rgba(4,7,9,.18) 50%, rgba(4,7,9,.08));
}
.about-attributes article {
    min-width: 0;
    display: grid;
    grid-template-columns: 2.25rem minmax(0,1fr);
    gap: .52rem;
    align-items: center;
    padding: .38rem .55rem;
    position: relative;
}
.about-attributes article:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: linear-gradient(180deg, transparent, rgba(235,197,105,.40), transparent);
}
.section-icon,
.purpose-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--gold-bright);
    filter: drop-shadow(0 0 5px rgba(231,179,67,.18));
}
.section-icon {
    width: 2rem;
    height: 2rem;
    padding: .33rem;
    border: 1px solid rgba(239,198,101,.47);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, rgba(255,236,164,.07), rgba(102,62,10,.07) 60%, rgba(0,0,0,.08));
}
.about-attributes h3 {
    margin: 0 0 .18rem;
    color: #efca6c;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.24;
    text-transform: uppercase;
}
.about-attributes p {
    margin: 0;
    color: #d4d6d6;
    font-size: .70rem;
    line-height: 1.34;
}

/* ---------- Misión / Visión ---------- */
.purpose-contact-surface {
    position: relative;
    z-index: 2;
    isolation: isolate;
    background: #03080d url("../assets/img/sections/fondo-mision-vision.png") center / cover no-repeat;
}
.purpose-contact-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(1,6,10,.12), rgba(1,6,10,.28) 64%, rgba(1,6,10,.76) 100%),
        linear-gradient(90deg, rgba(1,6,10,.50), rgba(1,6,10,.18) 48%, rgba(1,6,10,.46));
}
.purpose-section {
    min-height: calc(100svh - var(--rrc-sticky-header));
    display: flex;
    align-items: center;
    padding: clamp(2.2rem, 4.5vw, 4rem) 0;
    background: transparent;
}
.purpose-grid {
    width: min(calc(100% - clamp(2.8rem, 10vw, 11rem)), var(--section-max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
}
.purpose-card {
    min-width: 0;
    display: grid;
    grid-template-columns: clamp(3rem, 3.7vw, 3.8rem) minmax(0,1fr);
    gap: clamp(1rem, 1.8vw, 1.65rem);
    align-items: start;
    padding: clamp(1rem, 2vw, 1.9rem) clamp(1.35rem, 3.2vw, 3.2rem);
    text-shadow: 0 2px 18px rgba(0,0,0,.95);
}
.purpose-card + .purpose-card { border-left: 1px solid rgba(225,184,91,.34); }
.purpose-icon { width: clamp(2.9rem, 3.8vw, 3.8rem); height: auto; margin-top: .2rem; }
.purpose-card .section-eyebrow { margin-bottom: .58rem; }
.purpose-card h2 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(1.9rem, 2.55vw, 3rem);
    line-height: 1.01;
}
.purpose-card p:last-child {
    max-width: 56ch;
    margin: clamp(.85rem, 1.4vw, 1.25rem) 0 0;
    color: #d3d6d6;
    font-size: clamp(.84rem, .90vw, .96rem);
    line-height: 1.58;
}

/* ---------- Contact ---------- */
.contact-section {
    display: flex;
    align-items: center;
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    border-top: 1px solid rgba(226,183,84,.40);
    background: linear-gradient(180deg, rgba(1,6,10,.58), rgba(1,6,10,.91));
}
.contact-section::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: min(92%, 1500px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255,228,148,.68), transparent);
    box-shadow: 0 0 12px rgba(211,147,31,.26);
}
.contact-layout {
    width: min(calc(100% - clamp(2.8rem, 10vw, 11rem)), var(--section-max));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(18rem,.72fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}
.contact-section h2 {
    max-width: 10.5ch;
    margin: 0;
    font-size: clamp(3rem, 4.6vw, 5rem);
    line-height: .98;
}
.contact-action p {
    max-width: 34rem;
    margin: 0;
    color: #d0d3d4;
    font-size: clamp(.98rem, 1.12vw, 1.12rem);
    line-height: 1.72;
}
.contact-action .btn { min-width: 13.5rem; margin-top: 1.7rem; }

.site-footer {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, rgba(1,7,13,.96), #01070d);
}

/* ---------- Desktop with limited height ---------- */
@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-section { padding-block: 2.15rem 2.45rem; }
    .services-feature-row { gap: 1.5rem; }
    .services-heading-block { min-height: 11.5rem; }
    .services-section h2 { font-size: clamp(2.45rem, 3.2vw, 3.55rem); max-width: 15ch; }
    .services-media-slot__inner { min-height: 11.5rem; }
    .services-grid { margin-top: 1.35rem; }
    .services-grid article { min-height: 11.9rem; padding-block: .95rem 1.05rem; }
    .services-grid h3 { margin-top: .82rem; font-size: clamp(1.25rem, 1.5vw, 1.55rem); }
    .services-grid p { font-size: .82rem; line-height: 1.43; }

    .about-copy { width: min(34rem, calc(100% - 6.4rem)); max-width: 34rem; padding-block: .7rem; }
    .about-copy .section-eyebrow { margin-bottom: .45rem; }
    .about-copy h2 { font-size: clamp(2.25rem, 2.55vw, 2.95rem); }
    .about-introduction { margin-top: .72rem; font-size: .82rem; line-height: 1.46; }
    .about-attributes { margin-top: .72rem; padding-block: .42rem; }
    .about-attributes article { grid-template-columns: 1.98rem minmax(0,1fr); gap: .42rem; padding: .28rem .38rem; }
    .section-icon { width: 1.78rem; height: 1.78rem; padding: .27rem; }
    .about-attributes h3 { font-size: .56rem; }
    .about-attributes p { font-size: .65rem; line-height: 1.28; }

    .purpose-section { padding-block: 1.35rem; }
    .purpose-grid { width: min(calc(100% - 5.5rem), 90rem); }
    .purpose-card {
        grid-template-columns: 2.75rem minmax(0,1fr);
        gap: .9rem;
        padding: .85rem 2rem;
    }
    .purpose-icon { width: 2.65rem; }
    .purpose-card .section-eyebrow { margin-bottom: .4rem; }
    .purpose-card h2 { font-size: clamp(1.8rem, 2.3vw, 2.55rem); line-height: 1; }
    .purpose-card p:last-child { margin-top: .7rem; font-size: .80rem; line-height: 1.45; }

    .contact-section { padding-block: 2.8rem; }
}

/* ---------- Mid-size desktop / landscape tablet ---------- */
@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-feature-row { grid-template-columns: minmax(16rem, .85fr) minmax(0, 1.15fr); gap: 1.25rem; }
    .services-heading-block { min-height: 12rem; }
    .services-section h2 { font-size: clamp(2.35rem, 3.7vw, 3.35rem); max-width: 14ch; }
    .services-media-slot__inner { min-height: 12rem; }
    .services-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
    .services-grid article { min-height: 12.8rem; padding-inline: .85rem; }
    .services-grid h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
    .services-grid p { font-size: .80rem; }

    .about-copy { width: calc(100% - clamp(3.2rem, 6vw, 4.5rem)); max-width: 33rem; }
    .about-copy h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); }
    .about-introduction { font-size: .86rem; line-height: 1.5; }
    .about-attributes article { grid-template-columns: 2rem minmax(0,1fr); gap: .42rem; padding-inline: .4rem; }
    .section-icon { width: 1.82rem; height: 1.82rem; padding: .28rem; }
    .about-attributes h3 { font-size: .56rem; }
    .about-attributes p { font-size: .65rem; }
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 56rem) {
    :root { --rrc-sticky-header: 4.45rem; }

    .site-header[data-scrolled] .header-inner {
        min-height: calc(var(--rrc-sticky-header) + env(safe-area-inset-top));
    }
    .site-header[data-scrolled] .brand-emblem { width: 2.7rem; }
    .site-header[data-scrolled] .brand-copy strong { font-size: 1rem; }
    .site-header[data-scrolled] .brand-copy span { font-size: .66rem; }
    .site-header[data-scrolled] .main-navigation {
        background:
            linear-gradient(180deg, rgba(5,10,14,.70), rgba(2,7,11,.78)),
            radial-gradient(circle at 50% 0, rgba(242,190,78,.10), transparent 55%),
            url("../assets/img/approved-background/road-textile-approved.webp") center/340px 190px repeat;
        border-color: rgba(215,173,88,.40);
        box-shadow: 0 16px 34px rgba(0,0,0,.34);
    }

    .services-section,
    .about-section,
    .contact-section { min-height: 0; }

    .services-section { padding: 4rem 0 3.35rem; }
    .services-section::before { inset: .75rem; }
    .services-section .container { width: min(calc(100% - 2rem), 48rem); }
    .services-feature-row { grid-template-columns: 1fr; gap: 1rem; }
    .services-heading-block { min-height: 0; padding: 0; }
    .services-section h2 { max-width: 14ch; font-size: clamp(2.2rem, 7.6vw, 3.35rem); }
    .services-media-slot { margin-top: 0; padding: .35rem; }
    .services-media-slot__inner { min-height: clamp(11rem, 43vw, 16rem); }
    .services-media-slot__label span { font-size: .62rem; }
    .services-media-slot__label small { font-size: .7rem; }
    .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 2rem; }
    .services-grid article { min-height: 0; border-bottom: 1px solid rgba(229,188,93,.17); }
    .services-grid article:nth-child(2n) { border-right: 0; }
    .services-grid article:last-child { grid-column: 1 / -1; border-right: 0; }

    .about-section { display: block; padding-bottom: 0; }
    .about-media {
        position: relative;
        width: 100%;
        height: clamp(19rem, 58vw, 27rem);
        background-position: center 53%;
        clip-path: polygon(0 0,100% 0,100% 86%,0 100%);
    }
    .about-divider { display: none; }
    .about-media::after {
        content: "";
        position: absolute;
        left: -2%;
        right: -2%;
        bottom: 7%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(246,208,115,.94) 12% 88%, transparent);
        box-shadow: 0 0 9px rgba(213,147,31,.26);
        transform: rotate(-3.2deg);
        transform-origin: center;
    }
    .about-layout {
        min-height: 0;
        display: block;
        padding: 0;
    }
    .about-copy {
        width: min(calc(100% - 2rem), 42rem);
        max-width: none;
        margin-inline: auto;
        padding: 2rem 0 3.4rem;
    }
    .about-copy h2 { max-width: 12ch; font-size: clamp(2.5rem, 8vw, 3.7rem); }
    .about-introduction { max-width: none; font-size: .95rem; line-height: 1.62; }
    .about-attributes { grid-template-columns: 1fr; gap: 0; }
    .about-attributes article { grid-template-columns: 2.5rem minmax(0,1fr); padding: .75rem .15rem; }
    .about-attributes article:not(:last-child)::after {
        top: auto;
        right: 4%;
        bottom: 0;
        left: 4%;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(235,197,105,.32), transparent);
    }
    .section-icon { width: 2.1rem; height: 2.1rem; }
    .about-attributes h3 { font-size: .68rem; }
    .about-attributes p { font-size: .82rem; }

    .purpose-section { min-height: 0; padding: 3.8rem 0; }
    .purpose-grid { width: min(calc(100% - 2rem), 44rem); grid-template-columns: 1fr; }
    .purpose-card { padding: 2rem 0; }
    .purpose-card + .purpose-card { border-top: 1px solid rgba(225,184,91,.34); border-left: 0; }
    .purpose-card h2 { max-width: 17ch; font-size: clamp(2.25rem, 7vw, 3.15rem); }

    .contact-section { padding: 4.5rem 0 4rem; }
    .contact-layout { width: min(calc(100% - 2rem), 44rem); grid-template-columns: 1fr; gap: 2rem; align-items: start; }
    .contact-section h2 { font-size: clamp(2.8rem, 9vw, 4.2rem); }
    .contact-action .btn { width: 100%; min-width: 0; }
}

@media (max-width: 34rem) {
    .site-header[data-scrolled] .brand-copy span { display: none; }
    .services-section h2 { max-width: 11.5ch; }
    .services-media-slot__inner { min-height: 10.2rem; }
    .services-media-slot__ornament::before,
    .services-media-slot__ornament::after { width: 3rem; height: 3rem; }
    .services-grid { grid-template-columns: 1fr; }
    .services-grid article,
    .services-grid article:nth-child(2n),
    .services-grid article:last-child { grid-column: auto; border-right: 0; }
    .services-grid article { padding-inline: .65rem; }
}

@media (max-height: 31rem) and (orientation: landscape) and (max-width: 56rem) {
    .services-section { padding-top: 5rem; }
    .about-media { height: 24rem; }
}

/* =========================================================
   V18 — Servicios: encuadre completo + presentación premium
   Conserva el resto de las secciones aprobadas sin cambios.
   ========================================================= */
@media (min-width: 56.01rem) {
    .services-section {
        min-height: calc(100svh - var(--rrc-sticky-header));
        height: calc(100svh - var(--rrc-sticky-header));
        padding: clamp(.8rem, 1.8vh, 1.15rem) 0 clamp(1rem, 2vh, 1.35rem);
        align-items: stretch;
    }

    .services-section::before {
        inset: .35rem clamp(1rem, 2.2vw, 2.2rem) .45rem;
        border-color: rgba(231,185,83,.42);
        box-shadow:
            inset 0 0 64px rgba(0,0,0,.10),
            0 0 18px rgba(192,128,20,.035);
    }

    .services-section .container {
        height: 100%;
        width: min(calc(100% - clamp(2.8rem, 9vw, 9rem)), var(--section-max));
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-inline: auto;
    }

    .services-feature-row {
        grid-template-columns: minmax(22rem, .82fr) minmax(0, 1.48fr);
        gap: clamp(1.45rem, 2.35vw, 2.4rem);
        align-items: center;
    }

    .services-heading-block {
        min-height: 0;
        padding: 0 0 0 clamp(.25rem, .7vw, .7rem);
        justify-content: center;
    }

    .services-section .section-eyebrow {
        margin-bottom: clamp(.6rem, 1.2vh, .85rem);
    }

    .services-section h2 {
        max-width: none;
        margin: 0;
        font-family: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
        font-size: clamp(2.45rem, 3.05vw, 3.55rem);
        font-weight: 500;
        line-height: .98;
        letter-spacing: -.035em;
        text-wrap: nowrap;
        text-shadow: 0 4px 24px rgba(0,0,0,.66);
    }

    .services-title-line {
        display: block;
        white-space: nowrap;
    }

    .services-title-line--sub {
        margin-top: .34rem;
        color: #ead9b7;
        font-size: .78em;
        font-weight: 400;
        letter-spacing: -.018em;
    }

    .services-media-slot {
        margin-top: 0;
        padding: .42rem;
        border-radius: .95rem;
    }

    .services-media-slot__inner {
        min-height: 0;
        height: clamp(12.8rem, 30vh, 15.8rem);
        aspect-ratio: auto;
        border-radius: .7rem;
    }

    .services-media-slot__inner::before {
        inset: .62rem;
        border-radius: .48rem;
    }

    .services-media-slot__ornament::before,
    .services-media-slot__ornament::after {
        width: 3.5rem;
        height: 3.5rem;
    }

    .services-grid {
        position: relative;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        margin-top: clamp(.8rem, 1.6vh, 1.15rem);
        border: 0;
        isolation: isolate;
    }

    .services-grid::before,
    .services-grid::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        pointer-events: none;
        background: linear-gradient(90deg,
            transparent,
            rgba(215,159,49,.42) 8%,
            rgba(255,226,144,.72) 26%,
            rgba(197,132,23,.56) 50%,
            rgba(255,226,144,.65) 74%,
            rgba(215,159,49,.38) 92%,
            transparent);
        box-shadow: 0 0 9px rgba(208,145,32,.12);
    }

    .services-grid::before { top: 0; }
    .services-grid::after { bottom: 0; opacity: .58; }

    .services-grid article {
        position: relative;
        min-height: 0;
        height: clamp(9.6rem, 22vh, 11.4rem);
        padding: clamp(.8rem, 1.35vh, 1rem) clamp(.8rem, 1.1vw, 1.05rem) clamp(.75rem, 1.2vh, .95rem);
        border-right: 0;
        background:
            linear-gradient(180deg, rgba(246,208,115,.035), transparent 24%),
            linear-gradient(135deg, rgba(255,255,255,.012), rgba(0,0,0,.05));
        transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
    }

    .services-grid article:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 12%;
        right: 0;
        width: 1px;
        height: 76%;
        background: linear-gradient(180deg,
            transparent,
            rgba(231,188,93,.22) 16%,
            rgba(255,225,139,.46) 50%,
            rgba(231,188,93,.20) 84%,
            transparent);
        box-shadow: 0 0 7px rgba(211,147,31,.08);
    }

    .services-grid article:hover {
        background:
            linear-gradient(180deg, rgba(238,191,91,.065), rgba(255,255,255,.01) 34%, transparent 80%),
            linear-gradient(135deg, rgba(255,255,255,.018), rgba(0,0,0,.04));
        transform: translateY(-2px);
        box-shadow: inset 0 1px 0 rgba(255,231,164,.035);
    }

    .service-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 1.75rem;
        gap: .75rem;
    }

    .service-number {
        color: #e0b453;
        font-size: .66rem;
        font-weight: 600;
        letter-spacing: .16em;
    }

    .service-mini-icon {
        width: 1.42rem;
        height: 1.42rem;
        flex: 0 0 auto;
        fill: none;
        stroke: #e9bd58;
        stroke-width: 1.55;
        stroke-linecap: round;
        stroke-linejoin: round;
        filter: drop-shadow(0 0 4px rgba(230,174,54,.15));
        opacity: .92;
    }

    .services-grid h3 {
        margin: clamp(.55rem, 1vh, .72rem) 0 .36rem;
        font: 500 clamp(1.18rem, 1.28vw, 1.52rem)/1.08 var(--heading);
        color: #f6ead7;
    }

    .services-grid p {
        margin: 0;
        color: #bdc4c8;
        font-size: clamp(.73rem, .73vw, .82rem);
        line-height: 1.42;
    }
}

/* Pantallas de escritorio bajas: todo Servicios queda visible al primer clic. */
@media (min-width: 75.01rem) and (max-height: 50rem) {
    .services-section {
        padding-top: .55rem;
        padding-bottom: .72rem;
    }
    .services-section::before { top: .2rem; }
    .services-section .container { justify-content: center; }
    .services-feature-row { gap: 1.25rem; }
    .services-section h2 { font-size: clamp(2.25rem, 2.7vw, 3.05rem); }
    .services-media-slot__inner { height: clamp(10.6rem, 27vh, 12.4rem); }
    .services-grid { margin-top: .7rem; }
    .services-grid article { height: clamp(8.4rem, 20vh, 9.7rem); padding-top: .62rem; padding-bottom: .62rem; }
    .services-grid h3 { margin-top: .45rem; font-size: clamp(1.08rem, 1.16vw, 1.34rem); }
    .services-grid p { font-size: .69rem; line-height: 1.34; }
    .service-mini-icon { width: 1.25rem; height: 1.25rem; }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-feature-row {
        grid-template-columns: minmax(18rem, .88fr) minmax(0, 1.12fr);
        gap: 1.2rem;
    }
    .services-section h2 {
        font-size: clamp(2.15rem, 3.25vw, 2.85rem);
        text-wrap: balance;
    }
    .services-title-line { white-space: normal; }
    .services-media-slot__inner { height: clamp(11rem, 27vh, 13.25rem); }
    .services-grid article { height: clamp(9.4rem, 20vh, 10.6rem); padding-inline: .68rem; }
    .services-grid p { font-size: .70rem; }
}

@media (max-width: 56rem) {
    .services-section h2 {
        font-family: "Bodoni Moda", "Cormorant Garamond", Georgia, serif;
        max-width: 14ch;
        font-weight: 500;
        letter-spacing: -.025em;
    }
    .services-title-line { white-space: normal; }
    .services-title-line--sub { color: #ead9b7; font-size: .82em; }
    .service-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }
    .service-number { color:#e0b453; font-size:.67rem; letter-spacing:.15em; }
    .service-mini-icon {
        width:1.45rem;
        height:1.45rem;
        fill:none;
        stroke:#e9bd58;
        stroke-width:1.55;
        stroke-linecap:round;
        stroke-linejoin:round;
    }
}


/* =========================================================
   V19 — Servicios: composición editorial premium
   Objetivos: media protagonista, título legible en dos líneas,
   tarjetas de servicio elegantes y todo el bloque visible al entrar.
   ========================================================= */
@media (min-width: 56.01rem) {
    .services-section {
        min-height: calc(100svh - var(--rrc-sticky-header));
        height: calc(100svh - var(--rrc-sticky-header));
        padding: 0;
        align-items: stretch;
    }

    .services-section::before {
        inset: .35rem clamp(1rem, 2.2vw, 2.2rem) .45rem;
        border-color: rgba(231,185,83,.42);
    }

    .services-section .container {
        height: 100%;
        width: min(calc(100% - clamp(2.8rem, 8vw, 8.5rem)), var(--section-max));
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-inline: auto;
        padding-top: clamp(2.6rem, 5.6vh, 4.1rem);
        padding-bottom: clamp(1.4rem, 2.8vh, 2rem);
    }

    .services-feature-row {
        display: grid;
        grid-template-columns: minmax(24rem, .78fr) minmax(0, 1.52fr);
        gap: clamp(1.5rem, 2.5vw, 2.6rem);
        align-items: center;
    }

    .services-heading-block {
        min-height: 0;
        padding: 0 0 0 clamp(.25rem, .65vw, .65rem);
        justify-content: center;
        align-self: stretch;
    }

    .services-section .section-eyebrow {
        margin-bottom: clamp(.7rem, 1.25vh, .95rem);
    }

    .services-section h2 {
        max-width: 13.2ch;
        margin: 0;
        font-family: "Cormorant Garamond", Georgia, serif;
        font-size: clamp(2.7rem, 3.15vw, 3.75rem);
        font-weight: 500;
        line-height: .98;
        letter-spacing: -.028em;
        text-wrap: balance;
        text-shadow: 0 4px 24px rgba(0,0,0,.68);
    }

    .services-title-line {
        display: block;
        white-space: nowrap;
    }

    .services-title-line--sub {
        margin-top: .25rem;
        color: #ead8b5;
        font-size: .86em;
        font-weight: 400;
        letter-spacing: -.015em;
    }

    .services-media-slot {
        margin-top: 0;
        padding: .48rem;
        border-radius: 1rem;
        background: linear-gradient(135deg, rgba(110,71,13,.56), rgba(255,222,132,.20) 30%, rgba(105,67,12,.28) 60%, rgba(255,235,176,.17));
        box-shadow: 0 22px 54px rgba(0,0,0,.28), 0 0 32px rgba(197,134,28,.07);
    }

    .services-media-slot__inner {
        min-height: 0;
        height: clamp(16.2rem, 34vh, 19.4rem);
        aspect-ratio: auto;
        border-radius: .72rem;
    }

    .services-media-slot__inner::before { inset: .68rem; }

    .services-media-slot__ornament::before,
    .services-media-slot__ornament::after {
        width: 3.8rem;
        height: 3.8rem;
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(5, minmax(0,1fr));
        gap: clamp(.55rem, .8vw, .85rem);
        margin-top: clamp(1rem, 1.9vh, 1.35rem);
        border: 0;
        background: none;
    }

    .services-grid::before,
    .services-grid::after { display: none; }

    .services-grid article {
        position: relative;
        min-width: 0;
        min-height: 0;
        height: clamp(10rem, 21vh, 11.4rem);
        padding: clamp(.8rem, 1.25vh, .95rem) clamp(.8rem, .95vw, 1rem) clamp(.8rem, 1.25vh, 1rem);
        border: 1px solid rgba(226,181,83,.17);
        border-radius: .55rem;
        background:
            linear-gradient(180deg, rgba(235,188,88,.055), rgba(255,255,255,.008) 26%, rgba(0,0,0,.045) 100%),
            rgba(4,8,11,.18);
        box-shadow:
            inset 0 1px 0 rgba(255,236,183,.025),
            0 10px 26px rgba(0,0,0,.08);
        overflow: hidden;
        transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
    }

    .services-grid article::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(246,207,111,.65) 18%, rgba(185,118,19,.35) 72%, transparent);
        opacity: .8;
    }

    .services-grid article:not(:last-child)::after { display: none; }

    .services-grid article:hover {
        transform: translateY(-3px);
        border-color: rgba(235,190,92,.34);
        background:
            linear-gradient(180deg, rgba(239,195,99,.09), rgba(255,255,255,.012) 34%, rgba(0,0,0,.04) 100%),
            rgba(4,8,11,.20);
        box-shadow: 0 14px 30px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,235,178,.04);
    }

    .service-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 1.9rem;
        gap: .75rem;
    }

    .service-number {
        color: #dcae49;
        font-size: .64rem;
        font-weight: 650;
        letter-spacing: .18em;
    }

    .service-mini-icon {
        width: 1.62rem;
        height: 1.62rem;
        flex: 0 0 auto;
        fill: none;
        stroke: #edc15a;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        filter: drop-shadow(0 0 5px rgba(232,178,54,.15));
        opacity: .96;
    }

    .services-grid h3 {
        margin: clamp(.52rem, .9vh, .68rem) 0 .32rem;
        font: 500 clamp(1.13rem, 1.22vw, 1.45rem)/1.08 var(--heading);
        color: #f7ead7;
        letter-spacing: -.01em;
    }

    .services-grid p {
        margin: 0;
        color: #c0c7ca;
        font-size: clamp(.70rem, .70vw, .79rem);
        line-height: 1.38;
    }
}

@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-section .container {
        padding-top: clamp(1.55rem, 3.4vh, 2.15rem);
        padding-bottom: .95rem;
    }
    .services-feature-row {
        grid-template-columns: minmax(23rem, .76fr) minmax(0, 1.54fr);
        gap: 1.45rem;
    }
    .services-section h2 {
        font-size: clamp(2.35rem, 2.7vw, 3.15rem);
        max-width: 13ch;
    }
    .services-media-slot__inner { height: clamp(13.6rem, 31vh, 15.8rem); }
    .services-grid { margin-top: .75rem; gap: .55rem; }
    .services-grid article { height: clamp(8.3rem, 18.5vh, 9.4rem); padding: .58rem .72rem .62rem; }
    .service-card-top { min-height: 1.45rem; }
    .service-mini-icon { width: 1.35rem; height: 1.35rem; }
    .services-grid h3 { margin-top: .34rem; font-size: clamp(1.02rem, 1.08vw, 1.25rem); }
    .services-grid p { font-size: .66rem; line-height: 1.3; }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-feature-row {
        grid-template-columns: minmax(18.5rem, .84fr) minmax(0, 1.16fr);
        gap: 1.15rem;
    }
    .services-section h2 {
        font-size: clamp(2.2rem, 3.4vw, 2.95rem);
        max-width: 12.5ch;
    }
    .services-title-line { white-space: normal; }
    .services-media-slot__inner { height: clamp(12.8rem, 29vh, 14.5rem); }
    .services-grid { gap: .45rem; }
    .services-grid article { height: clamp(8.8rem, 19vh, 9.8rem); padding-inline: .6rem; }
    .services-grid h3 { font-size: clamp(1rem, 1.45vw, 1.22rem); }
    .services-grid p { font-size: .66rem; }
}

@media (max-width: 56rem) {
    .services-section h2 {
        font-family: "Cormorant Garamond", Georgia, serif;
        max-width: 13ch;
        font-weight: 500;
        letter-spacing: -.022em;
    }
    .services-title-line { white-space: normal; }
    .services-title-line--sub { color: #ead8b5; font-size: .88em; }

    .services-grid {
        gap: .7rem;
        border: 0;
    }
    .services-grid article {
        border: 1px solid rgba(226,181,83,.17);
        border-radius: .5rem;
        background: linear-gradient(180deg, rgba(235,188,88,.05), rgba(0,0,0,.035));
    }
    .services-grid article:not(:last-child)::after { display:none; }
    .service-mini-icon { width:1.5rem; height:1.5rem; }
}


/* =========================================================
   V21 — Servicios: ajuste puntual solicitado sobre V19
   - conserva tamaño y diseño de las tarjetas
   - desplaza la fila de servicios hacia abajo
   - extiende solamente el borde inferior del multimedia
   - mantiene aire respecto al borde inferior exterior
   ========================================================= */
@media (min-width: 56.01rem) {
    .services-section .container {
        justify-content: flex-start;
        padding-top: clamp(.9rem, 1.8vh, 1.2rem);
        padding-bottom: clamp(1.2rem, 2.2vh, 1.55rem);
    }

    .services-feature-row {
        align-items: start;
    }

    /* Mantiene el título visualmente en la misma zona que V19. */
    .services-heading-block {
        align-self: start;
        padding-top: clamp(4.15rem, 8.1vh, 4.9rem);
    }

    /* La parte superior no se mueve: solo crece hacia abajo. */
    .services-media-slot {
        align-self: start;
    }

    .services-media-slot__inner {
        height: clamp(16.4rem, 36vh, 19.4rem);
    }

    /* Mismas tarjetas de V19, únicamente más abajo. */
    .services-grid {
        margin-top: clamp(2.65rem, 5.2vh, 3.45rem);
    }
}

/* Pantallas similares a la captura del usuario: conservar margen inferior visible. */
@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-section .container {
        padding-top: .72rem;
        padding-bottom: 1.05rem;
    }
    .services-heading-block {
        padding-top: clamp(3.2rem, 7.2vh, 3.8rem);
    }
    .services-media-slot__inner {
        height: clamp(14.1rem, 33vh, 16.1rem);
    }
    .services-grid {
        margin-top: clamp(2rem, 4.3vh, 2.65rem);
    }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-heading-block {
        padding-top: clamp(3rem, 6.5vh, 3.6rem);
    }
    .services-media-slot__inner {
        height: clamp(13.8rem, 32vh, 15.8rem);
    }
    .services-grid {
        margin-top: clamp(1.8rem, 4vh, 2.35rem);
    }
}


/* =========================================================
   V22 CORREGIDA — ajuste exacto según captura del usuario
   - conserva V21 como base visual
   - solo extiende hacia abajo el multimedia
   - desplaza las tarjetas hacia la franja inferior roja
   - conserva tamaño de las tarjetas y ancho completo de la fila
   ========================================================= */
@media (min-width: 56.01rem) {
    /* Mantener la estructura V21 y el título en su posición aprobada. */
    .services-heading-block {
        padding-top: clamp(4.05rem, 7.9vh, 4.7rem);
    }

    /* El borde superior queda donde estaba; solo crece hacia abajo. */
    .services-media-slot__inner {
        height: clamp(24rem, 52vh, 28rem);
    }

    /* Las tarjetas conservan su tamaño de V19/V21, pero pasan a la banda inferior. */
    .services-grid {
        width: 100%;
        margin-top: clamp(.7rem, 1.15vh, .95rem);
        align-self: stretch;
    }
}

/* Resoluciones de escritorio similares a la captura (aprox. 1366–1920 x 768–900). */
@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-heading-block {
        padding-top: clamp(3.2rem, 6.8vh, 3.8rem);
    }
    .services-media-slot__inner {
        height: clamp(24rem, 52vh, 27.8rem);
    }
    .services-grid {
        margin-top: clamp(.55rem, .95vh, .8rem);
    }
}

/* Notebook / tablet horizontal: misma lógica, escalada. */
@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-media-slot__inner {
        height: clamp(19rem, 43vh, 23rem);
    }
    .services-grid {
        margin-top: clamp(.6rem, 1.05vh, .85rem);
    }
}


/* =========================================================
   V24 — ajuste exacto solicitado
   Base: V22 CORREGIDA
   - conserva exactamente tamaño/estilo de las tarjetas V22
   - no altera título ni posición superior
   - extiende únicamente el multimedia hacia abajo
   - al crecer el multimedia, desplaza la fila de tarjetas la misma distancia
     para mantener su altura original y acercar su borde inferior al de V23
   ========================================================= */
@media (min-width: 56.01rem) {
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 28rem) + 5.25rem);
    }
}

@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 27.8rem) + 5.25rem);
    }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-media-slot__inner {
        height: calc(clamp(19rem, 43vh, 23rem) + 4rem);
    }
}

/* =========================================================
   V25 — microajuste solicitado
   - agrega unos píxeles de aire bajo las tarjetas de servicios
   - no mueve el título ni altera el crecimiento del multimedia
   ========================================================= */
@media (min-width: 56.01rem) {
    .services-section .container {
        padding-bottom: calc(clamp(1.2rem, 2.2vh, 1.55rem) + .45rem);
    }
}

@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-section .container {
        padding-bottom: calc(1.05rem + .45rem);
    }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-section .container {
        padding-bottom: calc(clamp(1.2rem, 2.2vh, 1.55rem) + .35rem);
    }
}


/* =========================================================
   v26 CORREGIDA — bloque izquierdo Servicios sobre v25
   Se modifica únicamente el contenido/tipografía del bloque izquierdo.
   ========================================================= */
.services-heading-block--commitment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    min-height: inherit;
    max-width: 32rem;
    padding-right: clamp(.35rem, 1vw, 1.25rem);
}

.services-commitment-eyebrow {
    margin: 0 0 1rem;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: clamp(.82rem, .88vw, .96rem);
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #e7c565;
}

.services-commitment-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    font-family: "Montserrat", "Manrope", sans-serif;
    font-weight: 800;
    font-size: clamp(2.05rem, 3.15vw, 3.8rem);
    line-height: .97;
    letter-spacing: .025em;
    text-transform: uppercase;
    text-wrap: balance;
}

.services-commitment-title__line {
    display: block;
}

.services-commitment-title__line--light {
    color: #f6f1e6;
}

.services-commitment-title__line--gold {
    color: #e4bf63;
}

.services-commitment-copy {
    margin: 1.35rem 0 0;
    max-width: 27rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(.9rem, .94vw, 1rem);
    line-height: 1.62;
    font-weight: 400;
    color: rgba(241, 238, 231, 0.9);
    text-wrap: pretty;
}

@media (max-width: 64rem) {
    .services-heading-block--commitment {
        max-width: 100%;
        padding-right: 0;
    }
    .services-commitment-title {
        font-size: clamp(1.85rem, 4.4vw, 3rem);
    }
    .services-commitment-copy {
        max-width: 100%;
    }
}

@media (max-width: 48rem) {
    .services-commitment-eyebrow {
        margin-bottom: .8rem;
        font-size: .78rem;
        letter-spacing: .24em;
    }
    .services-commitment-title {
        gap: .18rem;
        font-size: clamp(1.65rem, 7.5vw, 2.4rem);
        line-height: .99;
    }
    .services-commitment-copy {
        margin-top: 1rem;
        font-size: .92rem;
        line-height: 1.58;
    }
}

/* v27 — ajuste del mensaje dentro del área izquierda de Servicios. */
.services-heading-block--commitment {
    box-sizing: border-box;
}

.services-commitment-title {
    gap: .12em;
    font-size: clamp(1.95rem, 2.15vw, 2.75rem);
    line-height: 1.04;
    letter-spacing: .005em;
    text-wrap: initial;
}

.services-commitment-title__line {
    white-space: nowrap;
}

.services-commitment-divider {
    display: block;
    flex: 0 0 auto;
    width: clamp(5.25rem, 9vw, 8rem);
    height: 1px;
    margin: clamp(1.1rem, 2.2vh, 1.5rem) 0 clamp(.85rem, 1.65vh, 1.15rem);
    background: linear-gradient(90deg, rgba(239,201,111,.85), rgba(229,184,88,.34) 72%, transparent);
    box-shadow: 0 0 12px rgba(224,170,55,.13);
}

.services-commitment-copy {
    margin: 0;
    max-width: 30rem;
    font-size: clamp(.88rem, .85vw, .98rem);
    line-height: 1.55;
}

@media (min-width: 56.01rem) {
    .services-heading-block--commitment {
        padding-top: 0;
        padding-bottom: clamp(4rem, 10vh, 6.25rem);
    }
    .services-commitment-eyebrow {
        margin-bottom: clamp(.85rem, 1.7vh, 1.2rem);
    }
}

@media (max-width: 56rem) {
    .services-heading-block--commitment {
        padding-bottom: 0;
    }
    .services-commitment-title {
        font-size: clamp(1.5rem, 5vw, 2.45rem);
    }
}

@media (max-width: 48rem) {
    .services-commitment-title {
        font-size: clamp(1.45rem, 6.4vw, 2.2rem);
    }
    .services-commitment-divider {
        margin-top: 1rem;
        margin-bottom: .85rem;
    }
    .services-commitment-copy {
        font-size: .9rem;
        line-height: 1.55;
    }
}

/* v28 — balance óptico del texto frente al recuadro multimedia. */
@media (min-width: 56.01rem) {
    .services-heading-block--commitment {
        padding-bottom: 0;
    }

    .services-section .services-commitment-title__line--gold {
        font-size: .86em;
        letter-spacing: .008em;
    }

    .services-heading-block--commitment .services-commitment-copy {
        max-width: 27rem;
    }
}

/* v29 — Nosotros: centrar el contenido del panel derecho. */
@media (min-width: 56.01rem) {
    .about-layout {
        gap: 0;
    }
}

/* v30 — marco continuo en el contorno de toda la sección Nosotros. */
.about-section::before {
    inset: 2px;
    z-index: 4;
    border-radius: 2px;
}

/* v31 — marco uniforme y tapiz aprobado en el exterior de cada sección. */
:root {
    --rrc-frame-x: clamp(.75rem, 2vw, 2.4rem);
    --rrc-frame-y: clamp(.75rem, 1.7vh, 1.1rem);
}

.services-section::before,
.about-section::before,
.purpose-section::before,
.contact-section::before {
    inset: var(--rrc-frame-y) var(--rrc-frame-x);
    z-index: 4;
    border-radius: .2rem;
}

.services-section,
.about-section,
.purpose-contact-surface,
.purpose-section,
.contact-section {
    background: transparent;
}

.services-section,
.about-section,
.contact-section { border-top: 0; }

.site-footer { background: transparent; }

.purpose-contact-surface::before { display: none; }

.services-section::after,
.about-section::after,
.purpose-section::after,
.contact-section::after {
    content: "";
    position: absolute;
    inset: var(--rrc-frame-y) var(--rrc-frame-x);
    z-index: 0;
    pointer-events: none;
}

.services-section::after {
    background:
        radial-gradient(circle at 15% 12%, rgba(230,172,62,.10), transparent 27%),
        radial-gradient(circle at 86% 10%, rgba(46,82,105,.13), transparent 29%),
        linear-gradient(180deg, rgba(1,6,10,.86), rgba(1,6,10,.92)),
        url("../assets/img/approved-background/road-textile-approved.webp") center / 340px 190px repeat;
}

.about-section::after {
    background:
        radial-gradient(circle at 74% 34%, rgba(213,157,45,.08), transparent 30%),
        linear-gradient(90deg, rgba(2,6,9,.02) 0 48%, rgba(3,7,10,.08) 54%, rgba(1,5,8,.16) 100%),
        url("../assets/img/approved-background/road-textile-approved.webp") center / 340px 190px repeat;
}

.purpose-section::after,
.contact-section::after {
    background-image:
        linear-gradient(180deg, rgba(1,6,10,.12), rgba(1,6,10,.28) 64%, rgba(1,6,10,.76)),
        linear-gradient(90deg, rgba(1,6,10,.50), rgba(1,6,10,.18) 48%, rgba(1,6,10,.46)),
        url("../assets/img/sections/fondo-mision-vision.png");
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 100%, cover;
}

.contact-section::after {
    background-image:
        linear-gradient(180deg, rgba(1,6,10,.58), rgba(1,6,10,.91)),
        linear-gradient(90deg, rgba(1,6,10,.50), rgba(1,6,10,.18) 48%, rgba(1,6,10,.46)),
        url("../assets/img/sections/fondo-mision-vision.png");
}

.services-section .container,
.purpose-section .container,
.contact-section .container { position: relative; z-index: 1; }

@media (min-width: 56.01rem) {
    .about-media {
        top: var(--rrc-frame-y);
        bottom: var(--rrc-frame-y);
        left: var(--rrc-frame-x);
        width: calc(48% - var(--rrc-frame-x));
        z-index: 1;
    }
    .about-divider {
        clip-path: inset(var(--rrc-frame-y) var(--rrc-frame-x));
    }

    .purpose-section::after,
    .contact-section::after {
        background-size:
            100% 100%, 100% 100%,
            auto calc(200svh - var(--rrc-sticky-header) - var(--rrc-sticky-header));
    }
    .purpose-section::after { background-position: center, center, center top; }
    .contact-section::after { background-position: center, center, center bottom; }

    .services-section,
    .about-section,
    .purpose-section,
    .contact-section { min-height: calc(100svh - var(--rrc-sticky-header)); }

    /* Recupera el aire inferior al interior del marco de Servicios. */
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 28rem) + 3.6rem);
    }
}

@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 27.8rem) + 3.6rem);
    }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-media-slot__inner {
        height: calc(clamp(19rem, 43vh, 23rem) + 2.5rem);
    }
}

@media (max-width: 56rem) {
    .about-media {
        width: calc(100% - 2 * var(--rrc-frame-x));
        margin-inline: var(--rrc-frame-x);
        margin-top: var(--rrc-frame-y);
    }
    .purpose-section::after,
    .contact-section::after { background-position: center; }
}

/* v32 — aire entre el marco de Servicios y el multimedia, sin mover las tarjetas. */
@media (min-width: 56.01rem) {
    .services-section { --services-media-air: clamp(.55rem, 1.2vh, .8rem); }
    .services-media-slot { margin-top: var(--services-media-air); }
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 28rem) + 3.6rem - var(--services-media-air));
    }
}

@media (min-width: 75.01rem) and (max-height: 54rem) {
    .services-media-slot__inner {
        height: calc(clamp(24rem, 52vh, 27.8rem) + 3.6rem - var(--services-media-air));
    }
}

@media (max-width: 75rem) and (min-width: 56.01rem) {
    .services-media-slot__inner {
        height: calc(clamp(19rem, 43vh, 23rem) + 2.5rem - var(--services-media-air));
    }
}

/* La variante de titulares se incluye en el sitio para funcionar como archivo local. */
@font-face {
    font-family: "RRC Cormorant SC";
    src: url("../assets/fonts/CormorantSC-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

/* v34 — composición editorial para frases largas, preservando textos y secciones. */
.about-copy #about-title,
.purpose-card h2,
.contact-section #contact-title {
    color: #f7eddd;
    font-family: "RRC Cormorant SC", Georgia, serif;
    font-weight: 500;
    letter-spacing: -.02em;
    text-transform: none;
    text-wrap: balance;
}

.about-copy #about-title {
    max-width: 100%;
    font-size: clamp(2.5rem, 2.7vw, 3.2rem);
    line-height: 1.02;
}
.about-copy .about-introduction {
    color: #ece6dc;
    font-size: clamp(.96rem, .95vw, 1.05rem);
    line-height: 1.56;
}
.about-attributes h3 { font-size: .7rem; }
.about-attributes p { color: #e9e4dc; font-size: .77rem; }

.purpose-card h2 {
    max-width: 100%;
    font-size: clamp(2rem, 2.2vw, 2.75rem);
    line-height: 1.04;
}
.purpose-card p:last-child {
    color: #e8e3da;
    font-size: clamp(.91rem, .91vw, 1rem);
    line-height: 1.57;
}

.contact-section #contact-title {
    max-width: 100%;
    font-size: clamp(3rem, 3.4vw, 4.1rem);
    line-height: 1.01;
}
.contact-action p { color: #eae4da; }

@media (max-width: 75rem) {
    .editorial-break { display: none; }
}

@media (max-width: 56rem) {
    .about-copy #about-title,
    .purpose-card h2,
    .contact-section #contact-title { max-width: 100%; }
    .about-copy #about-title { font-size: clamp(2.25rem, 6.4vw, 3.2rem); }
    .purpose-card h2 { font-size: clamp(2rem, 5.6vw, 2.8rem); }
    .contact-section #contact-title { font-size: clamp(2.7rem, 7vw, 3.6rem); }
}

/* v40 — composición de Contacto y luz ambiental contenida dentro del marco. */
.contact-section::after {
    inset: var(--rrc-frame-y) var(--rrc-frame-x);
    width: auto;
    height: auto;
    transform: none;
    box-shadow: inset 0 0 88px rgba(0,0,0,.32), inset 0 1px rgba(255,222,150,.12);
    background-image:
        radial-gradient(ellipse 34% 48% at 72% 42%, rgba(247,187,96,.17), transparent 74%),
        radial-gradient(ellipse 43% 28% at 54% 86%, rgba(248,195,116,.13), transparent 78%),
        radial-gradient(ellipse 35% 48% at 19% 30%, rgba(80,120,151,.12), transparent 76%),
        linear-gradient(90deg,
            rgba(2,6,10,.77) 0%, rgba(2,6,10,.61) 31%,
            rgba(2,6,10,.17) 48%, rgba(2,6,10,.24) 61%,
            rgba(2,6,10,.66) 78%, rgba(2,6,10,.78) 100%),
        linear-gradient(180deg, rgba(2,6,10,.07), rgba(2,6,10,.19)),
        url("../assets/img/sections/contacto-h1-nocturno-v37.png");
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, cover;
    background-position: center, center, center, center, center, center 24%;
    background-repeat: no-repeat;
}

.contact-section #contact-title {
    color: #fffaf0;
    text-shadow: 0 2px 18px rgba(0,0,0,.88), 0 0 28px rgba(232,188,104,.14);
}

.contact-action::before {
    content: "";
    display: block;
    width: 3.25rem;
    height: 1px;
    margin: 0 0 1.2rem;
    background: linear-gradient(90deg, #f0cf85, rgba(240,207,133,0));
    box-shadow: 0 0 10px rgba(240,207,133,.36);
}

.contact-action p {
    color: #fffaf2;
    text-shadow: 0 2px 12px rgba(0,0,0,.9);
}

.contact-action .btn-primary {
    color: #fff9ed;
    border-color: #e9c678;
    background: linear-gradient(135deg, rgba(119,82,27,.98), rgba(59,39,12,.98) 58%, rgba(25,20,13,.98));
    box-shadow: inset 0 1px rgba(255,239,189,.28), 0 8px 26px rgba(0,0,0,.48), 0 0 22px rgba(218,163,69,.19);
}

@media (max-width: 56rem) {
    .contact-section::after {
        background-image:
            linear-gradient(180deg, rgba(2,6,10,.85), rgba(2,6,10,.64) 48%, rgba(2,6,10,.88)),
            url("../assets/img/sections/contacto-h1-nocturno-v37.png");
        background-size: 100% 100%, cover;
        background-position: center, 54% center;
    }
}

/* v42 — un solo eje de lectura en el espacio oscuro a la izquierda de la van. */
@media (min-width: 56.01rem) {
    .contact-section .contact-layout {
        position: absolute;
        z-index: 1;
        top: clamp(6.5rem, 13vh, 9rem);
        left: clamp(5rem, 6.7vw, 8.5rem);
        width: min(35rem, 44vw);
        display: block;
        margin: 0;
        transform: none;
    }
}

.contact-layout .contact-copy,
.contact-layout .contact-action { text-align: left; }

.contact-section #contact-title {
    margin: 0 0 clamp(1.1rem, 2.2vh, 1.5rem);
    max-width: 100%;
}

.contact-layout .contact-action::before {
    width: 4rem;
    margin: 0 0 1.1rem;
}

.contact-layout .contact-action p {
    max-width: 30rem;
    margin: 0;
    text-wrap: pretty;
    font-size: clamp(1.02rem, 1.14vw, 1.16rem);
    line-height: 1.62;
}

.contact-layout .contact-action .btn {
    margin: 1.5rem 0 0;
}

@media (max-width: 56rem) {
    .contact-section { padding: 3.5rem 0 clamp(14rem, 48vw, 23rem); }
    .contact-section .contact-layout {
        position: relative;
        inset: auto;
        width: min(calc(100% - 3rem), 44rem);
        display: block;
        margin-inline: auto;
        transform: none;
    }
    .contact-layout .contact-action .btn { width: auto; min-width: 13.5rem; }
    .contact-section::after { background-position: center, 54% bottom; }
}

/* v43 — encuadre a mayor distancia, desplazado a la derecha sin deformar la foto. */
@media (min-width: 56.01rem) {
    .contact-section::after {
        background:
            radial-gradient(ellipse 44% 50% at 19% 35%, rgba(19,42,62,.45), transparent 78%),
            linear-gradient(90deg, #02070d 0%, #06101a 52%, #05090e 100%);
    }

    .contact-scene {
        position: absolute;
        z-index: 1;
        top: var(--rrc-frame-y);
        right: var(--rrc-frame-x);
        bottom: var(--rrc-frame-y);
        left: calc(var(--rrc-frame-x) + 22%);
        pointer-events: none;
        background-image:
            radial-gradient(ellipse 44% 42% at 62% 76%, rgba(245,182,91,.11), transparent 76%),
            linear-gradient(90deg, rgba(2,6,10,.33), rgba(2,6,10,.05) 38%, rgba(2,6,10,.22)),
            linear-gradient(180deg, rgba(2,6,10,.04), rgba(2,6,10,.16)),
            url("../assets/img/sections/contacto-h1-nocturno-v37.png");
        background-size: 100% 100%, 100% 100%, 100% 100%, cover;
        background-position: center;
        background-repeat: no-repeat;
        -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.78) 17%, #000 32%);
        mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.78) 17%, #000 32%);
    }

    .contact-section .contact-layout {
        z-index: 2;
        top: clamp(7.5rem, 17vh, 11rem);
        left: clamp(5rem, 7.3vw, 9rem);
        width: min(34rem, 42vw);
    }

    .contact-section #contact-title {
        font-size: clamp(2.9rem, 3.1vw, 3.9rem);
    }
}

@media (max-width: 56rem) {
    .contact-scene { display: none; }
}

/* v44 — espacio editorial bajo el titular para el mensaje y la llamada a la acción. */
@media (min-width: 56.01rem) {
    .contact-layout .contact-action { margin-top: 1.35rem; }
}

/* v47 — separación inferior del símbolo en el encabezado al desplazarse. */
@media (min-width: 56.01rem) {
    .site-header[data-scrolled] .brand-emblem { transform: translateY(-.6rem); }
}

/* v48 — equilibrio entre los dos bloques de Misión y Visión. */
@media (min-width: 56.01rem) {
    .purpose-grid { align-items: center; }
    .purpose-card:nth-child(2) .editorial-break { display: none; }
}

/* v49 — ventana de contacto sobre el tapiz de carretera aprobado. */
.contact-dialog {
    width: min(43rem, calc(100vw - 2rem));
    max-height: min(49rem, calc(100dvh - 2rem));
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(231,188,92,.76);
    border-radius: .3rem;
    color: #f5eddd;
    background:
        linear-gradient(145deg, rgba(2,7,11,.72), rgba(3,8,12,.79)),
        url("../assets/img/approved-background/road-textile-approved.webp") center / 340px 190px repeat;
    box-shadow: inset 0 0 0 5px rgba(3,7,10,.48), inset 0 1px rgba(255,225,150,.17), 0 24px 85px rgba(0,0,0,.75), 0 0 40px rgba(183,119,29,.13);
}
.contact-dialog::backdrop {
    background: rgba(1,5,9,.78);
    backdrop-filter: blur(7px);
}
.contact-dialog__form {
    position: relative;
    padding: clamp(1.45rem, 4vw, 2.65rem);
    background: radial-gradient(ellipse at 86% 0%, rgba(214,156,59,.14), transparent 47%);
}
.contact-dialog__close {
    position: absolute;
    top: .8rem;
    right: .9rem;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(231,188,92,.34);
    border-radius: 50%;
    background: rgba(3,8,12,.68);
    color: #f0dbad;
    font: 300 1.75rem/1 var(--body);
    cursor: pointer;
}
.contact-dialog__close:hover,
.contact-dialog__close:focus-visible { border-color: #efd089; color: white; }
.contact-dialog .section-eyebrow {
    margin: 0 3rem .45rem 0;
    color: #efcb72;
    font-size: .72rem;
    letter-spacing: .2em;
}
.contact-dialog h2 {
    margin: 0;
    color: #f7eddd;
    font: 500 clamp(2.35rem, 5vw, 3.35rem)/1.05 "RRC Cormorant SC", Georgia, serif;
}
.contact-dialog__description {
    margin: .65rem 0 1.35rem;
    color: #e0ddd5;
    font-size: .94rem;
    line-height: 1.5;
}
.contact-dialog__options {
    min-width: 0;
    margin: 0;
    padding: 1.25rem 0 0;
    border: 0;
    border-top: 1px solid rgba(234,193,101,.38);
}
.contact-dialog__options legend {
    margin: 0 0 .8rem;
    padding: 0;
    color: #f4e9d1;
    font-size: .9rem;
    font-weight: 600;
}
.contact-dialog__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .65rem;
}
.contact-dialog__choices label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 4.2rem;
    gap: .12rem;
    padding: .5rem 2rem .55rem .9rem;
    border: 1px solid rgba(226,181,83,.23);
    border-radius: .55rem;
    background: linear-gradient(180deg, rgba(235,188,88,.055), rgba(255,255,255,.008) 26%, rgba(0,0,0,.045)), rgba(4,8,11,.58);
    color: #f7ead7;
    box-shadow: inset 0 1px rgba(255,236,183,.03), 0 10px 26px rgba(0,0,0,.09);
    font-size: .89rem;
    line-height: 1.25;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.contact-dialog__choices label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246,207,111,.65) 18%, rgba(185,118,19,.35) 72%, transparent);
}
.contact-dialog__choices label::after {
    content: "";
    position: absolute;
    right: .85rem;
    width: .55rem;
    height: .55rem;
    border: 1px solid rgba(236,196,103,.56);
    border-radius: 50%;
}
.contact-dialog__choices label:hover {
    transform: translateY(-2px);
    border-color: rgba(235,190,92,.47);
    background: linear-gradient(180deg, rgba(239,195,99,.1), rgba(255,255,255,.012) 34%, rgba(0,0,0,.04)), rgba(4,8,11,.6);
}
.contact-dialog__choices label:has(input:checked) {
    border-color: #e5bd67;
    background: linear-gradient(180deg, rgba(231,184,83,.18), rgba(6,12,15,.8));
    color: #fff6dc;
    box-shadow: inset 0 0 0 1px rgba(237,199,110,.17), 0 0 19px rgba(204,143,34,.12);
}
.contact-dialog__choices label:has(input:checked)::after { background: #efc765; box-shadow: 0 0 8px rgba(239,199,101,.55); }
.contact-dialog__choices label:focus-within { outline: 2px solid #f2cf7b; outline-offset: 2px; }
.contact-dialog__choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.contact-dialog__number { color: #dcae49; font-size: .65rem; font-weight: 650; letter-spacing: .18em; }
.contact-dialog__choices label > span:last-child { font: 500 1.2rem/1.08 var(--heading); letter-spacing: -.01em; }
.contact-dialog__name {
    display: block;
    margin: 1.25rem 0 0;
    color: #f4e9d1;
    font-size: .9rem;
    font-weight: 600;
}
.contact-dialog__name input {
    display: block;
    width: 100%;
    min-height: 3.15rem;
    margin-top: .5rem;
    padding: .75rem .9rem;
    border: 1px solid rgba(231,188,92,.48);
    border-radius: .18rem;
    outline: none;
    background: rgba(2,7,11,.76);
    color: #fff9ed;
    font: 400 1rem/1.3 var(--body);
}
.contact-dialog__name input::placeholder { color: #a9a9a3; opacity: 1; }
.contact-dialog__name input:focus { border-color: #f2cd75; box-shadow: 0 0 0 3px rgba(218,167,64,.15); }
.contact-dialog__submit { width: 100%; margin-top: 1.2rem; cursor: pointer; }

@media (max-width: 38rem) {
    .contact-dialog__choices { grid-template-columns: 1fr; }
    .contact-dialog__form { padding: 1.35rem; }
    .contact-dialog__choices label { min-height: 3.7rem; }
}

/* v56 — Nosotros: baja el bloque de valores y equilibra el espacio inferior
   sin modificar el contenido, la imagen ni la composición de la portada. */
@media (min-width: 56.01rem) {
    .about-copy {
        transform: translateY(clamp(1rem, 4vh, 2.6rem));
    }

    .about-attributes {
        position: relative;
        margin-top: clamp(2rem, 4.8vh, 3.35rem);
        padding: clamp(.78rem, 1.45vh, 1.05rem) clamp(.35rem, .55vw, .65rem);
        border: 1px solid rgba(235,197,105,.35);
        border-radius: .62rem;
        background:
            linear-gradient(135deg, rgba(255,226,148,.08), rgba(3,7,10,.22) 45%, rgba(224,170,65,.055)),
            rgba(4,8,11,.24);
        box-shadow:
            inset 0 1px rgba(255,239,186,.11),
            inset 0 -1px rgba(211,147,33,.10),
            0 16px 34px rgba(0,0,0,.20);
        backdrop-filter: blur(2px);
    }

    .about-attributes::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 12%;
        right: 12%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,230,157,.85), rgba(211,147,33,.42), transparent);
        box-shadow: 0 0 8px rgba(238,190,81,.25);
        pointer-events: none;
    }

    .about-attributes article {
        padding: .52rem .6rem;
    }
}

/* v61 — Contacto conserva el botón dentro del marco y el lienzo final
   concentra las organizaciones en botones institucionales compactos. */
@media (min-width: 56.01rem) {
    .contact-section {
        min-height: calc(100svh - var(--rrc-sticky-header) - clamp(7rem, 9vh, 8.2rem));
    }
}

.site-footer {
    padding: .5rem 0 .75rem;
    border-top: 0;
    background: transparent;
}

.site-footer__lienzo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    align-items: center;
    width: min(calc(100% - clamp(2rem, 8vw, 8rem)), var(--section-max));
    min-height: clamp(5.4rem, 6.8vh, 6.2rem);
    margin-inline: auto;
    padding: .55rem clamp(1rem, 2.4vw, 2.2rem);
    overflow: hidden;
    border: 1px solid rgba(239, 199, 101, .72);
    border-radius: .3rem;
    background:
        linear-gradient(90deg, rgba(1, 8, 14, .96), rgba(1, 8, 14, .66) 30%, rgba(5, 8, 11, .76) 68%, rgba(2, 7, 12, .92)),
        url("../assets/img/sections/contact-floor-texture.png") 68% 68% / cover no-repeat;
    box-shadow:
        inset 0 1px rgba(255, 242, 190, .16),
        inset 0 -1px rgba(174, 120, 37, .28),
        0 18px 38px rgba(0, 0, 0, .23);
}

.site-footer__lienzo::before {
    content: "";
    position: absolute;
    inset: .26rem;
    z-index: -1;
    border: 1px solid rgba(233, 187, 84, .18);
    border-radius: .16rem;
    pointer-events: none;
}

.site-footer__lienzo::after {
    content: "";
    position: absolute;
    top: 14%;
    bottom: 14%;
    left: calc(20rem + clamp(1rem, 2.4vw, 2.2rem));
    width: 1px;
    background: linear-gradient(transparent, rgba(249, 213, 123, .88) 18%, rgba(185, 130, 38, .62) 82%, transparent);
    box-shadow: 0 0 9px rgba(234, 182, 67, .18);
    pointer-events: none;
}

.site-footer__brand,
.site-footer__content { position: relative; z-index: 1; min-width: 0; }
.site-footer__brand { padding-right: clamp(1rem, 2vw, 1.8rem); }
.site-footer__brand .site-footer__eyebrow {
    margin: 0 0 .34rem;
    color: #ffe3a0;
    font-size: .62rem;
    letter-spacing: .15em;
}
.site-footer__brand-name {
    display: block;
    color: #f3c766;
    font: 500 clamp(1.55rem, 1.9vw, 2.05rem) / .95 var(--heading);
    letter-spacing: .01em;
}
.site-footer__brand-subtitle {
    display: block;
    margin-top: .3rem;
    color: rgba(235, 229, 216, .84);
    font-size: .7rem;
}
.site-footer__content { padding-left: clamp(1rem, 2vw, 1.8rem); }
.site-footer__eyebrow {
    margin: 0 0 .2rem;
    color: #ffe3a0;
    font-size: .62rem;
    letter-spacing: .15em;
}
.site-footer__content h2 {
    margin: 0;
    max-width: 42ch;
    color: #fff8e9;
    font: 500 clamp(1.3rem, 1.65vw, 1.8rem) / 1 var(--heading);
    letter-spacing: .005em;
    text-wrap: balance;
}
.site-footer__copy {
    margin: .12rem 0 0;
    color: rgba(236, 229, 216, .9);
    font-size: .68rem;
    line-height: 1.3;
}
.site-footer__organizations {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: .38rem;
    margin-top: .3rem;
    padding-top: .28rem;
    border-top: 1px solid rgba(244, 203, 110, .68);
    color: #ffe7ad;
    font: 600 clamp(.68rem, .78vw, .82rem) / 1 "Cormorant Garamond", var(--heading);
    letter-spacing: .02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 8px rgba(240, 190, 74, .17);
}
.site-footer__organization-button {
    min-width: 0;
    padding: .22rem .55rem .25rem;
    border: 1px solid rgba(239, 199, 101, .52);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(238, 190, 83, .13), rgba(3, 8, 12, .48));
    box-shadow: inset 0 1px rgba(255, 241, 185, .12), 0 4px 12px rgba(0, 0, 0, .2);
    white-space: nowrap;
}

@media (max-width: 56rem) {
    .site-footer { padding: .45rem 0 .8rem; }
    .site-footer__lienzo {
        grid-template-columns: 1fr;
        gap: .8rem;
        min-height: 0;
        padding-block: .85rem;
    }
    .site-footer__lienzo::after { display: none; }
    .site-footer__brand { padding-right: 0; }
    .site-footer__content { padding-left: 0; }
    .site-footer__organizations { flex-wrap: wrap; row-gap: .45rem; }
    .site-footer__organization-button { flex: 1 1 calc(50% - .38rem); text-align: center; }
}
