:root {
    --blue: #0752a5;
    --blue2: #0b63c6;
    --navy: #061a31;
    --yellow: #ffd000;
    --yellow2: #ffdf44;
    --paper: #f5f7fa;
    --paper2: #eef2f6;
    --ink: #091524;
    --text: #4b5a6b;
    --muted: #7e8996;
    --line: #d9e0e8;
    --line2: #c6d0da;
    --container: 1360px;
    --header: 82px;
    --body: "Inter",system-ui,sans-serif;
    --display: "Barlow Condensed","Arial Narrow",sans-serif;
    --ease: cubic-bezier(.16,1,.3,1);
    --shadow: 0 26px 80px rgba(3,29,57,.12)
}

html[data-theme="dark"] {
    --paper: #07111e;
    --paper2: #0a1727;
    --ink: #f4f7fb;
    --text: #aeb9c7;
    --muted: #77879a;
    --line: #203045;
    --line2: #31445b;
    --navy: #020b15;
    --shadow: 0 28px 90px rgba(0,0,0,.32)
}

*, *:before, *:after {
    box-sizing: border-box
}

* {
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 24px);
    background: var(--paper)
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--text);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background .45s,color .45s
}

    body.menu-open {
        overflow: hidden
    }

a {
    color: inherit;
    text-decoration: none
}

button, input, select, textarea {
    font: inherit
}

button {
    cursor: pointer
}

img, svg {
    display: block;
    max-width: 100%
}

::selection {
    background: var(--yellow);
    color: #07111e
}

:focus-visible {
    outline: 3px solid rgba(255,208,0,.75);
    outline-offset: 4px
}

.site-shell {
    width: min(92%,var(--container));
    margin-inline: auto
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    transform: translateY(-180%);
    background: var(--yellow);
    color: #07111e;
    padding: 10px 16px;
    font-weight: 800;
    transition: .2s
}

    .skip-link:focus {
        transform: none
    }

.page-progress {
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none
}

    .page-progress span {
        display: block;
        width: 0;
        height: 100%;
        background: var(--yellow)
    }

/* Header */
.site-header {
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid transparent;
    transition: transform .5s var(--ease),background .3s,border-color .3s,box-shadow .3s
}

    .site-header.is-scrolled {
        background: color-mix(in srgb,var(--paper) 90%,transparent);
        border-color: var(--line);
        box-shadow: 0 10px 42px rgba(4,28,54,.08);
        backdrop-filter: blur(18px)
    }

    .site-header.is-hidden {
        transform: translateY(-110%)
    }

body.menu-open .site-header {
    transform: none !important
}

.header-rail {
    width: min(96%,1480px);
    min-height: var(--header);
    margin: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 38px
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    min-width: 130px
}

.brand-logo {
    width: 132px;
    height: 66px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(4,41,84,.08));
    transition: transform .4s var(--ease)
}

.brand-lockup:hover .brand-logo {
    transform: translateY(-2px) scale(1.025)
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px,2.2vw,36px)
}

    .main-nav a {
        position: relative;
        color: var(--ink);
        font-size: .75rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-transform: uppercase
    }

        .main-nav a:before {
            content: "";
            position: absolute;
            left: 0;
            bottom: -10px;
            width: 100%;
            height: 2px;
            background: var(--yellow);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform .35s var(--ease)
        }

        .main-nav a:hover:before, .main-nav a.is-active:before {
            transform: scaleX(1);
            transform-origin: left
        }

        .main-nav a:hover, .main-nav a.is-active {
            color: var(--blue2)
        }

.header-tools {
    display: flex;
    align-items: center;
    gap: 14px
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800
}

.lang-option {
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 6px 3px;
    font-size: .7rem;
    font-weight: 900
}

    .lang-option.is-active, .lang-option:hover {
        color: var(--blue2)
    }

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800
}

.theme-toggle-track {
    position: relative;
    width: 35px;
    height: 18px;
    border: 1px solid var(--line2);
    background: var(--paper2)
}

    .theme-toggle-track i {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 10px;
        height: 10px;
        background: var(--blue);
        transition: transform .35s var(--ease),background .3s
    }

html[data-theme="dark"] .theme-toggle-track i {
    transform: translateX(17px);
    background: var(--yellow)
}

.header-cta {
    display: flex;
    min-height: 42px;
    align-items: center;
    padding: 0 18px;
    background: var(--blue);
    color: white;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%)
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--paper)
}

    .menu-toggle span {
        display: block;
        width: 20px;
        height: 1.5px;
        margin: 4px auto;
        background: var(--ink);
        transition: .25s
    }

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    border: 1px solid transparent;
    overflow: hidden;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .25s,background .25s,color .25s,border-color .25s,box-shadow .25s
}

    .btn:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(115deg,transparent 20%,rgba(255,255,255,.35) 48%,transparent 75%);
        transform: translateX(-130%);
        transition: transform .7s var(--ease)
    }

    .btn:hover:after {
        transform: translateX(130%)
    }

    .btn:hover {
        transform: translateY(-3px)
    }

.btn-cut {
    clip-path: polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)
}

.btn-yellow {
    background: var(--yellow);
    color: #07111e;
    box-shadow: 0 18px 38px rgba(255,208,0,.18)
}

    .btn-yellow:hover {
        background: var(--yellow2)
    }

.btn-blue {
    background: var(--blue);
    color: white
}

.btn-dark {
    background: #061a31 url("https://images.pexels.com/photos/5506059/pexels-photo-5506059.jpeg?auto=compress&cs=tinysrgb&w=1800") center 48%/cover no-repeat;
    color: white
}

.btn-line {
    background: rgba(255,255,255,.04);
    color: white;
    border-color: rgba(255,255,255,.4)
}

    .btn-line:hover {
        background: white;
        color: #07111e
    }

.btn-line-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--line2)
}

    .btn-line-dark:hover {
        border-color: var(--blue);
        color: var(--blue)
    }

.btn svg {
    width: 18px;
    height: 18px
}

.text-arrow {
    display: inline-flex;
    width: fit-content;
    color: var(--blue2);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-bottom: 1px solid;
    padding-bottom: 4px
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #061a31;
    color: white;
    padding: calc(var(--header) + 90px) 0 88px
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden
}

    .hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.82) contrast(1.1);
        transform: scale(1.06);
        will-change: transform
    }

.hero-media-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(3,19,38,.96),rgba(3,25,50,.9) 42%,rgba(3,25,50,.48) 69%,rgba(3,25,50,.64)),linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.5))
}

.hero-tech-lines {
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size: 92px 92px;
    mask-image: linear-gradient(90deg,rgba(0,0,0,.45),rgba(0,0,0,.05) 48%,rgba(0,0,0,.5))
}

.hero-scan {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70%;
    width: 1px;
    background: linear-gradient(transparent,rgba(255,208,0,.9),transparent);
    box-shadow: 0 0 28px rgba(255,208,0,.35);
    animation: heroScan 7s ease-in-out infinite
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(330px,.54fr);
    gap: clamp(54px,8vw,120px);
    align-items: end
}

.hero-copy {
    max-width: 870px
}

.hero-overline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.72);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.overline-index {
    color: var(--yellow);
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,.25)
}

.hero-title {
    max-width: 870px;
    font-family: var(--display);
    font-size: clamp(4.9rem,9.6vw,9.7rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .79;
    text-transform: uppercase;
    text-wrap: balance
}

    .hero-title em {
        color: var(--yellow);
        font-style: normal
    }

.hero-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding: .03em 0 .08em
}

    .hero-word > span {
        display: inline-block;
        transform: translateY(115%) rotate(3deg);
        opacity: 0
    }

.hero.is-ready .hero-word > span {
    transform: none;
    opacity: 1;
    transition: transform .95s var(--ease),opacity .5s;
    transition-delay: var(--word-delay,120ms)
}

.hero-lead {
    max-width: 720px;
    margin-top: 32px;
    color: rgba(255,255,255,.76);
    font-size: clamp(1rem,1.3vw,1.16rem);
    line-height: 1.8
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    max-width: 760px;
    margin-top: 58px;
    border-top: 1px solid rgba(255,255,255,.24)
}

.hero-fact {
    display: grid;
    gap: 7px;
    padding: 20px 20px 0 0;
    border-right: 1px solid rgba(255,255,255,.18)
}

    .hero-fact:nth-child(2), .hero-fact:last-child {
        padding-left: 20px
    }

    .hero-fact:last-child {
        border-right: 0
    }

    .hero-fact strong {
        color: white;
        font-family: var(--display);
        font-size: 2.5rem;
        line-height: 1
    }

    .hero-fact span {
        max-width: 160px;
        color: rgba(255,255,255,.57);
        font-size: .7rem;
        font-weight: 700;
        line-height: 1.4;
        text-transform: uppercase;
        letter-spacing: .06em
    }

.hero-part-finder {
    align-self: center;
    color: white;
    background: rgba(5,27,52,.74);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(13px);
    clip-path: polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,0 100%);
    box-shadow: 0 35px 80px rgba(0,0,0,.18)
}

.finder-head, .finder-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 22px;
    color: rgba(255,255,255,.55);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.finder-head {
    border-bottom: 1px solid rgba(255,255,255,.16)
}

    .finder-head i {
        width: 8px;
        height: 8px;
        background: var(--yellow)
    }

.finder-body {
    padding: 34px 30px 38px
}

.finder-label {
    color: var(--yellow);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase
}

.finder-body h2 {
    margin-top: 10px;
    font-family: var(--display);
    font-size: 2.65rem;
    line-height: .95;
    text-transform: uppercase
}

.finder-body > p:not(.finder-label) {
    margin-top: 18px;
    color: rgba(255,255,255,.64);
    font-size: .86rem
}

.finder-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.18);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase
}

    .finder-link svg {
        width: 23px;
        transition: .3s
    }

    .finder-link:hover svg {
        transform: translateX(6px)
    }

.finder-foot {
    border-top: 1px solid rgba(255,255,255,.16)
}

    .finder-foot b {
        color: var(--yellow)
    }

.hero-scroll-cue {
    position: absolute;
    z-index: 3;
    right: 2.4%;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: rotate(90deg);
    transform-origin: right bottom;
    color: rgba(255,255,255,.38)
}

    .hero-scroll-cue span {
        width: 48px;
        height: 1px;
        background: currentColor;
        overflow: hidden
    }

        .hero-scroll-cue span:after {
            content: "";
            display: block;
            width: 18px;
            height: 1px;
            background: var(--yellow);
            animation: scrollCue 1.8s ease-in-out infinite
        }

    .hero-scroll-cue small {
        font-size: .55rem;
        font-weight: 800;
        letter-spacing: .18em
    }

@keyframes heroScan {
    0%,100% {
        transform: translateX(-16vw);
        opacity: 0
    }

    16%,75% {
        opacity: .75
    }

    50% {
        transform: translateX(14vw)
    }
}

@keyframes scrollCue {
    from {
        transform: translateX(-20px)
    }

    to {
        transform: translateX(55px)
    }
}

/* Brand belt */
.brand-belt {
    display: grid;
    grid-template-columns: minmax(220px,.3fr) 1fr;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.brand-belt-title {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 36px;
    border-right: 1px solid var(--line)
}

    .brand-belt-title span {
        color: var(--ink);
        font-size: .72rem;
        font-weight: 900;
        text-transform: uppercase
    }

    .brand-belt-title small {
        color: var(--muted);
        font-size: .66rem
    }

.brand-marquee {
    position: relative;
    overflow: hidden;
    min-width: 0;
    mask-image: linear-gradient(90deg,transparent,black 7%,black 93%,transparent)
}

.brand-marquee-track {
    display: flex;
    width: max-content;
    animation: brandRun 44s linear infinite
}

.brand-chip {
    width: 190px;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    /* Siempre a color */
    filter: none;
    opacity: 1;
    transition: .25s;
}

    .brand-chip:hover {
        opacity: 1;
        filter: none;
        background: var(--paper2);
    }

    .brand-chip img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

    .brand-chip strong {
        font-family: var(--display);
        font-size: 1.2rem;
        text-transform: uppercase;
        white-space: nowrap;
    }

@keyframes brandRun {
    to {
        transform: translateX(-50%)
    }
}

/* Section system */
.section {
    position: relative;
    padding: 132px 0
}

.section-head {
    margin-bottom: 68px
}

.section-head-split {
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(300px,.56fr);
    gap: clamp(50px,8vw,120px);
    align-items: end
}

.section-code {
    margin-bottom: 18px;
    color: var(--blue2);
    font-family: var(--display);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.section-code-on-dark {
    color: var(--yellow)
}

.section-title {
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(3.6rem,6vw,6.9rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: .87;
    text-transform: uppercase
}

    .section-title em {
        color: var(--blue2);
        font-style: normal
    }

.section-title-on-dark {
    color: white
}

    .section-title-on-dark em {
        color: var(--yellow)
    }

.section-intro {
    max-width: 570px;
    font-size: 1rem;
    line-height: 1.85
}

/* Parts browser */
.parts-browser {
    display: grid;
    grid-template-columns: minmax(320px,.65fr) minmax(0,1.35fr);
    border-block: 1px solid var(--line2)
}

.parts-list {
    border-right: 1px solid var(--line2)
}

.part-row {
    position: relative;
    width: 100%;
    min-height: 86px;
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 0 25px 0 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    text-align: left;
    overflow: hidden
}

    .part-row:last-child {
        border: 0
    }

    .part-row:before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--blue);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform .5s var(--ease)
    }

    .part-row > * {
        position: relative;
        z-index: 1
    }

    .part-row.is-active:before, .part-row:hover:before {
        transform: scaleX(1);
        transform-origin: left
    }

    .part-row.is-active, .part-row:hover {
        color: white
    }

.part-index {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    text-align: center
}

.part-row.is-active .part-index, .part-row:hover .part-index, .part-row.is-active .part-arrow, .part-row:hover .part-arrow {
    color: var(--yellow)
}

.part-name {
    font-family: var(--display);
    font-size: clamp(1.35rem,2vw,1.75rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase
}

.part-arrow {
    font-size: 1.1rem;
    transition: .35s
}

.part-row:hover .part-arrow {
    transform: translate(4px,-4px)
}

.part-stage {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(320px,1fr);
    background: var(--paper2);
    overflow: hidden
}

.part-stage-image {
    position: relative;
    overflow: hidden;
    min-height: 520px
}

    .part-stage-image:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,transparent 55%,rgba(6,26,49,.32))
    }

    .part-stage-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.84) contrast(1.06);
        transition: opacity .35s,transform .8s var(--ease),filter .4s
    }

.part-stage.is-switching img {
    opacity: .2;
    transform: scale(1.04)
}

.part-stage:hover img {
    transform: scale(1.025);
    filter: saturate(1) contrast(1.06)
}

.part-stage-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .24;
    background-image: linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px);
    background-size: 68px 68px
}

.part-stage-tag {
    position: absolute;
    z-index: 3;
    left: 24px;
    bottom: 22px;
    color: rgba(255,255,255,.75);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em
}

.part-stage-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 55px;
    border-left: 1px solid var(--line)
}

    .part-stage-copy:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 34%;
        background: var(--yellow)
    }

.part-stage-kicker {
    color: var(--blue2);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .14em
}

.part-stage-copy h3 {
    margin-top: 14px;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.3rem,3.4vw,4rem);
    font-weight: 800;
    line-height: .92;
    text-transform: uppercase
}

.part-stage-copy p {
    margin-top: 22px;
    font-size: .9rem;
    line-height: 1.8
}

.part-stage-copy .text-arrow {
    margin-top: 30px
}

.availability-note {
    max-width: 850px;
    margin-top: 24px;
    color: var(--muted);
    font-size: .72rem
}

/* Vehicles */
.vehicles-section {
    min-height: 830px;
    display: flex;
    align-items: center;
    background: #061a31;
    color: white;
    overflow: hidden
}

.vehicles-background {
    position: absolute;
    inset: 0
}

    .vehicles-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: grayscale(.25) saturate(.65) contrast(1.12)
    }

    .vehicles-background:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,rgba(4,18,35,.97) 0 48%,rgba(4,18,35,.82) 67%,rgba(4,18,35,.72))
    }

.vehicles-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(430px,.65fr);
    gap: clamp(70px,9vw,150px);
    align-items: center
}

.vehicles-copy > p:not(.section-code) {
    max-width: 650px;
    margin-top: 30px;
    color: rgba(255,255,255,.7);
    line-height: 1.85
}

.vehicles-copy .btn {
    margin-top: 34px
}

.vehicle-origin-board {
    border-top: 1px solid rgba(255,255,255,.28)
}

.origin-row {
    display: grid;
    grid-template-columns: 52px 140px 1fr;
    align-items: center;
    min-height: 84px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.18);
    transition: .3s
}

    .origin-row:hover {
        background: rgba(255,255,255,.055);
        padding-left: 20px
    }

    .origin-row > span {
        color: var(--yellow);
        font-family: var(--display);
        font-weight: 800
    }

    .origin-row strong {
        color: white;
        font-family: var(--display);
        font-size: 1.45rem;
        font-weight: 800;
        text-transform: uppercase
    }

    .origin-row small {
        color: rgba(255,255,255,.48);
        font-size: .67rem
    }

.origin-row-highlight {
    background: var(--yellow)
}

    .origin-row-highlight > * {
        color: #061a31 !important
    }

/* Story / services */
.story-layout {
    display: grid;
    grid-template-columns: minmax(360px,.8fr) minmax(0,1.05fr);
    gap: clamp(70px,9vw,140px);
    align-items: center
}

.story-visual {
    position: relative;
    padding: 0 0 70px 46px
}

    .story-visual:before {
        content: "";
        position: absolute;
        left: 0;
        top: 46px;
        width: 34%;
        height: calc(100% - 20px);
        background: var(--yellow)
    }

.story-photo {
    position: relative;
    z-index: 2;
    height: min(600px,72vh);
    overflow: hidden;
    box-shadow: var(--shadow)
}

    .story-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.72) contrast(1.04);
        transition: .8s var(--ease)
    }

    .story-photo:hover img {
        transform: scale(1.035);
        filter: saturate(.9)
    }

.story-photo-label {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 13px 18px;
    background: #061a31;
    color: white;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .13em
}

.story-year {
    position: absolute;
    z-index: 3;
    right: -10px;
    bottom: 6px;
    color: var(--blue);
    font-family: var(--display);
    font-size: clamp(5rem,10vw,10rem);
    font-weight: 900;
    line-height: .7;
    letter-spacing: -.06em
}

html[data-theme="dark"] .story-year {
    color: var(--yellow)
}

.story-lead {
    margin-top: 28px;
    max-width: 700px;
    font-size: 1.06rem;
    line-height: 1.88
}

.story-points {
    margin-top: 42px;
    border-top: 1px solid var(--line2)
}

.story-point {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

    .story-point > span {
        color: var(--blue2);
        font-family: var(--display);
        font-weight: 800
    }

    .story-point h3 {
        color: var(--ink);
        font-family: var(--display);
        font-size: 1.45rem;
        line-height: 1;
        text-transform: uppercase
    }

    .story-point p {
        margin-top: 8px;
        font-size: .84rem
    }

.service-strip {
    overflow: hidden;
    background: var(--blue);
    color: white
}

.service-strip-track {
    display: flex;
    width: max-content;
    align-items: center;
    min-height: 74px;
    gap: 24px;
    padding-inline: 24px;
    animation: serviceRun 36s linear infinite;
    font-family: var(--display);
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase
}

    .service-strip-track i {
        color: var(--yellow);
        font-style: normal
    }

@keyframes serviceRun {
    to {
        transform: translateX(-25%)
    }
}

/* Advantages */
.advantage-section {
    background: var(--paper2)
}

.advantage-matrix {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line2);
    border-left: 1px solid var(--line2)
}

.advantage-cell {
    position: relative;
    min-height: 320px;
    padding: 38px 32px;
    border-right: 1px solid var(--line2);
    border-bottom: 1px solid var(--line2);
    overflow: hidden;
    transition: .3s
}

    .advantage-cell:after {
        content: "";
        position: absolute;
        right: -45px;
        bottom: -45px;
        width: 120px;
        height: 120px;
        border: 1px solid var(--line2);
        transform: rotate(45deg);
        transition: .6s var(--ease)
    }

    .advantage-cell:hover {
        background: var(--blue);
        color: rgba(255,255,255,.76)
    }

        .advantage-cell:hover:after {
            transform: rotate(45deg) translate(-20px,-20px);
            border-color: rgba(255,255,255,.28)
        }

.advantage-code {
    color: var(--blue2);
    font-size: .64rem;
    font-weight: 900;
    letter-spacing: .15em
}

.advantage-cell:hover .advantage-code {
    color: var(--yellow)
}

.advantage-cell h3 {
    margin-top: 100px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.85rem;
    line-height: 1;
    text-transform: uppercase
}

.advantage-cell:hover h3 {
    color: white
}

.advantage-cell p {
    margin-top: 14px;
    font-size: .82rem;
    line-height: 1.72
}

/* Campaign winner / annual result */
.campaign-winner[hidden], .campaign-section[hidden] {
    display: none !important
}

.campaign-winner {
    position: relative;
    overflow: hidden;
    background: #061a31;
    color: white;
    padding: calc(var(--header) + 32px) 0 38px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.campaign-winner-grid {
    position: absolute;
    inset: 0;
    opacity: .11;
    background-image: linear-gradient(rgba(255,255,255,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.25))
}

.campaign-winner-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(220px,340px) minmax(0,1fr);
    gap: clamp(28px,5vw,72px);
    align-items: center
}

.campaign-winner-media {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: white;
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 20px 48px rgba(0,0,0,.2);
    clip-path: polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,16px 100%,0 calc(100% - 16px))
}

    .campaign-winner-media img {
        width: 100%;
        max-height: 190px;
        object-fit: contain
    }

.campaign-winner-kicker {
    color: var(--yellow);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.campaign-winner-copy h2 {
    margin-top: 9px;
    color: white;
    font-family: var(--display);
    font-size: clamp(2.5rem,4.5vw,4.8rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.025em;
    text-transform: uppercase
}

.campaign-winner-text {
    max-width: 780px;
    margin-top: 14px;
    color: rgba(255,255,255,.76);
    font-size: .95rem;
    line-height: 1.7
}

/* Campaign */
.campaign-section {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--yellow);
    color: #061a31;
    padding: 110px 0
}

.campaign-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    background-image: linear-gradient(#061a31 1px,transparent 1px),linear-gradient(90deg,#061a31 1px,transparent 1px);
    background-size: 78px 78px;
    mask-image: linear-gradient(90deg,black 0 58%,transparent 85%)
}

.campaign-car {
    position: absolute;
    width: min(65vw,980px);
    right: -5vw;
    bottom: 0;
    color: rgba(6,26,49,.2);
    transform: translateY(4%)
}

.campaign-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(260px,.45fr);
    align-items: center
}

.campaign-copy {
    max-width: 760px
}

.campaign-kicker {
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em
}

    .campaign-kicker span {
        background: #061a31;
        color: white;
        padding: 7px 10px;
        margin-right: 7px
    }

.campaign-copy h2 {
    margin-top: 30px;
    font-family: var(--display);
    font-size: clamp(4.2rem,7.5vw,8.2rem);
    font-weight: 900;
    line-height: .79;
    letter-spacing: -.04em;
    text-transform: uppercase
}

    .campaign-copy h2 em {
        color: var(--blue);
        font-style: normal
    }

.campaign-prize {
    margin-top: 28px;
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase
}

.campaign-text {
    margin-top: 10px;
    max-width: 560px
}

.campaign-meta {
    display: flex;
    margin: 32px 0;
    border-block: 1px solid rgba(6,26,49,.28)
}

    .campaign-meta > div {
        min-width: 190px;
        padding: 16px 24px 16px 0
    }

        .campaign-meta > div + div {
            padding-left: 24px;
            border-left: 1px solid rgba(6,26,49,.28)
        }

    .campaign-meta small {
        display: block;
        font-size: .65rem;
        font-weight: 800;
        text-transform: uppercase;
        opacity: .6
    }

    .campaign-meta strong {
        display: block;
        font-family: var(--display);
        font-size: 1.2rem;
        text-transform: uppercase
    }

.campaign-legal {
    display: block;
    max-width: 650px;
    margin-top: 20px;
    font-size: .68rem;
    opacity: .66
}

.campaign-number {
    justify-self: end;
    align-self: end;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    color: rgba(6,26,49,.15);
    font-family: var(--display);
    font-weight: 900;
    line-height: .7
}

    .campaign-number span:first-child {
        font-size: clamp(9rem,18vw,20rem)
    }

    .campaign-number span:last-child {
        font-size: 4rem;
        padding-bottom: 10px
    }

/* Branches */
.branch-console {
    border: 1px solid var(--line2)
}

.branch-tabs {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-bottom: 1px solid var(--line2)
}

.branch-tab {
    min-height: 106px;
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 3px 12px;
    padding: 0 28px;
    border: 0;
    border-right: 1px solid var(--line2);
    background: var(--paper2);
    color: var(--ink);
    text-align: left;
    transition: .3s
}

    .branch-tab:last-child {
        border-right: 0
    }

    .branch-tab > span {
        grid-row: 1/span 2;
        align-self: center;
        color: var(--blue2);
        font-family: var(--display);
        font-size: 1.15rem;
        font-weight: 800
    }

    .branch-tab strong {
        font-family: var(--display);
        font-size: 1.45rem;
        line-height: 1;
        text-transform: uppercase
    }

    .branch-tab small {
        color: var(--muted);
        font-size: .62rem;
        text-transform: uppercase
    }

    .branch-tab.is-active {
        background: var(--blue);
        color: white
    }

        .branch-tab.is-active > span {
            color: var(--yellow)
        }

        .branch-tab.is-active small {
            color: rgba(255,255,255,.56)
        }

.branch-display {
    display: grid;
    grid-template-columns: minmax(0,1.32fr) minmax(330px,.68fr);
    min-height: 540px
}

.branch-map {
    min-height: 540px;
    background: #dce5ed;
    overflow: hidden
}

    .branch-map iframe {
        width: 100%;
        height: 100%;
        min-height: 540px;
        border: 0;
        filter: saturate(.76) contrast(1.02);
        transition: opacity .3s,filter .4s
    }

html[data-theme="dark"] .branch-map iframe {
    filter: grayscale(.45) invert(.88) hue-rotate(170deg) saturate(.65) contrast(1.05)
}

.branch-display.is-switching iframe {
    opacity: .25
}

.branch-info {
    padding: 55px 46px;
    background: var(--paper2);
    border-left: 1px solid var(--line2)
}

.branch-location-code {
    color: var(--blue2);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .14em
}

.branch-info h3 {
    margin-top: 11px;
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(3rem,5vw,5.4rem);
    font-weight: 800;
    line-height: .85;
    text-transform: uppercase
}

.branch-info dl {
    margin-top: 36px;
    border-top: 1px solid var(--line2)
}

    .branch-info dl > div {
        padding: 17px 0;
        border-bottom: 1px solid var(--line)
    }

.branch-info dt {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase
}

.branch-info dd {
    margin-top: 5px;
    color: var(--ink);
    font-size: .9rem
}

    .branch-info dd a {
        color: var(--blue2);
        font-weight: 800
    }

.branch-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px
}

/* Quote */
.quote-section {
    display: grid;
    grid-template-columns: minmax(360px,.7fr) minmax(0,1.3fr);
    background: #061a31;
    color: white
}

.quote-aside {
    position: relative;
    min-height: 950px;
    overflow: hidden
}

.quote-aside-media {
    position: absolute;
    inset: 0
}

    .quote-aside-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(.75) contrast(1.1)
    }

    .quote-aside-media:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(4,20,39,.25),rgba(4,20,39,.91))
    }

.quote-aside-copy {
    position: absolute;
    z-index: 2;
    left: 8%;
    right: 8%;
    bottom: 8%
}

    .quote-aside-copy > span {
        color: var(--yellow);
        font-size: .65rem;
        font-weight: 900;
        letter-spacing: .13em
    }

    .quote-aside-copy h2 {
        margin-top: 14px;
        font-family: var(--display);
        font-size: clamp(3.8rem,6vw,6.5rem);
        font-weight: 800;
        line-height: .85;
        text-transform: uppercase
    }

        .quote-aside-copy h2 em {
            color: var(--yellow);
            font-style: normal
        }

    .quote-aside-copy p {
        max-width: 520px;
        margin-top: 20px;
        color: rgba(255,255,255,.65)
    }

.quote-form-wrap {
    padding: 105px clamp(34px,6vw,90px);
    background: var(--navy)
}

.quote-form-head {
    max-width: 760px
}

    .quote-form-head .section-code {
        color: var(--yellow)
    }

    .quote-form-head h2 {
        font-family: var(--display);
        font-size: clamp(3.6rem,6vw,6.4rem);
        font-weight: 800;
        line-height: .85;
        text-transform: uppercase;
        color: white
    }

    .quote-form-head > p:last-child {
        max-width: 660px;
        margin-top: 20px;
        color: rgba(255,255,255,.6)
    }

.quote-form {
    margin-top: 54px
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px 18px
}

.field {
    display: grid;
    gap: 8px
}

.field-wide {
    grid-column: 1/-1
}

.field label {
    color: rgba(255,255,255,.72);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase
}

.field input, .field select, .field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
    border-radius: 0;
    outline: 0;
    background: rgba(255,255,255,.04);
    color: white;
    padding: 15px 14px;
    transition: .25s
}

.field textarea {
    resize: vertical;
    min-height: 130px
}

.field select {
    color-scheme: dark
}

    .field select option {
        background: #0b213b;
        color: white
    }

.field input::placeholder, .field textarea::placeholder {
    color: rgba(255,255,255,.32)
}

.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--yellow);
    background: rgba(255,255,255,.065);
    box-shadow: inset 3px 0 0 var(--yellow)
}

.field.is-error input, .field.is-error select, .field.is-error textarea {
    border-color: #ff7272
}

.field-hint {
    color: rgba(255,255,255,.35);
    font-size: .65rem
}

.field-error {
    min-height: 14px;
    color: #ff9090;
    font-size: .64rem
}

.photo-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    cursor: pointer;
    width: fit-content
}

    .photo-check input {
        position: absolute;
        opacity: 0;
        pointer-events: none
    }

.photo-check-box {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1px solid rgba(255,255,255,.35);
    margin-top: 2px
}

.photo-check input:checked + .photo-check-box {
    background: var(--yellow);
    border-color: var(--yellow)
}

    .photo-check input:checked + .photo-check-box:after {
        content: "";
        position: absolute;
        left: 5px;
        top: 2px;
        width: 5px;
        height: 10px;
        border: solid #061a31;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg)
    }

.photo-check strong {
    display: block;
    color: white;
    font-size: .8rem
}

.photo-check small {
    display: block;
    color: rgba(255,255,255,.42);
    font-size: .68rem
}

.quote-submit-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 34px
}

.btn-submit {
    min-height: 60px
}

.quote-submit-row > p {
    max-width: 340px;
    color: rgba(255,255,255,.38);
    font-size: .67rem
}

/* FAQ / closing / footer */
.faq-layout {
    display: grid;
    grid-template-columns: minmax(310px,.68fr) minmax(0,1.1fr);
    gap: clamp(65px,9vw,140px);
    align-items: start
}

.faq-intro {
    position: sticky;
    top: calc(var(--header) + 45px)
}

    .faq-intro .text-arrow {
        margin-top: 32px
    }

.faq-list {
    border-top: 1px solid var(--line2)
}

.faq-item {
    border-bottom: 1px solid var(--line2)
}

.faq-question {
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-family: var(--display);
    font-size: clamp(1.5rem,2.4vw,2.25rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase
}

    .faq-question i {
        position: relative;
        width: 23px;
        height: 23px;
        flex: 0 0 23px
    }

        .faq-question i:before, .faq-question i:after {
            content: "";
            position: absolute;
            top: 11px;
            left: 2px;
            width: 19px;
            height: 2px;
            background: var(--blue2);
            transition: .3s var(--ease)
        }

        .faq-question i:after {
            transform: rotate(90deg)
        }

    .faq-question[aria-expanded="true"] i:after {
        transform: none
    }

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease)
}

    .faq-answer > div {
        overflow: hidden
    }

    .faq-answer p {
        max-width: 720px;
        padding: 0 50px 28px 0
    }

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr
}

.closing-section {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue);
    color: white;
    padding: 90px 0
}

.closing-track {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    gap: 30px;
    transform: translateY(-50%);
    opacity: .08;
    white-space: nowrap;
    animation: closingRun 40s linear infinite
}

    .closing-track span {
        font-family: var(--display);
        font-size: 30vw;
        font-weight: 900;
        line-height: .65
    }

.closing-content {
    position: relative;
    z-index: 2
}

    .closing-content > p {
        color: var(--yellow);
        font-size: .7rem;
        font-weight: 900;
        text-transform: uppercase
    }

    .closing-content h2 {
        max-width: 1000px;
        margin-top: 18px;
        font-family: var(--display);
        font-size: clamp(4.5rem,8vw,9rem);
        font-weight: 900;
        line-height: .8;
        text-transform: uppercase
    }

        .closing-content h2 em {
            color: var(--yellow);
            font-style: normal
        }

    .closing-content > div {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 38px
    }

@keyframes closingRun {
    to {
        transform: translate(-25%,-50%)
    }
}

.site-footer {
    position: relative;
    background: #041120;
    color: rgba(255,255,255,.62);
    padding: 72px 0 24px
}

.footer-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg,var(--blue) 0 66%,var(--yellow) 66%)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3,.75fr);
    gap: 60px
}

.footer-brand img {
    width: 170px;
    height: 84px;
    object-fit: contain;
    filter: brightness(1.18)
}

.footer-brand p {
    margin-top: 18px;
    color: white;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase
}

.footer-brand small {
    color: rgba(255,255,255,.38)
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px
}

    .footer-col h3 {
        margin-bottom: 10px;
        color: var(--yellow);
        font-size: .65rem;
        font-weight: 900;
        text-transform: uppercase
    }

    .footer-col a {
        font-size: .8rem;
        transition: .3s
    }

        .footer-col a:hover {
            color: white;
            transform: translateX(5px)
        }

.footer-contact-col {
    gap: 12px
}

.footer-contact-branch {
    width: 100%;
    display: grid;
    gap: 3px;
    padding: 10px 0 12px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

    .footer-contact-branch strong {
        color: rgba(255,255,255,.9);
        font-family: var(--display);
        font-size: .92rem;
        font-weight: 800;
        letter-spacing: .035em;
        text-transform: uppercase
    }

    .footer-contact-branch a {
        width: fit-content
    }

.footer-contact-emails {
    display: grid;
    gap: 5px;
    margin-top: 4px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.34);
    font-size: .66rem
}

.noventra-credit {
    font-size: .9rem;
    color: rgba(255,255,255,.34);
    transition: color .3s ease, text-shadow .3s ease;
}

    .noventra-credit strong {
        color: rgba(255,255,255,.72);
        transition: color .3s ease, text-shadow .3s ease;
    }

    /* Hover: se "enciende" en blanco */
    .noventra-credit:hover {
        color: rgba(255,255,255,.82);
        text-shadow: 0 0 8px rgba(255,255,255,.22), 0 0 16px rgba(255,255,255,.10);
    }

        .noventra-credit:hover strong {
            color: #fff;
        }

/* Floating + motion */
.floating-quote {
    position: fixed;
    z-index: 2500;
    right: max(18px,env(safe-area-inset-right));
    bottom: max(18px,env(safe-area-inset-bottom));
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    background: #18b862;
    color: white;
    box-shadow: 0 16px 40px rgba(11,92,50,.28);
    clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,0 100%);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase
}

    .floating-quote svg {
        width: 18px
    }

.toast {
    position: fixed;
    z-index: 6000;
    left: 50%;
    bottom: 28px;
    max-width: min(92vw,460px);
    padding: 14px 18px;
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow);
    transform: translate(-50%,30px);
    opacity: 0;
    pointer-events: none;
    transition: .35s var(--ease);
    font-size: .78rem
}

    .toast.is-visible {
        opacity: 1;
        transform: translate(-50%,0)
    }

.js .reveal {
    opacity: 0;
    transform: translate3d(0,28px,0);
    filter: blur(5px);
    transition: opacity .75s,transform .85s var(--ease),filter .75s;
    transition-delay: var(--reveal-delay,0ms)
}

    .js .reveal[data-reveal="left"] {
        transform: translate3d(-32px,0,0)
    }

    .js .reveal[data-reveal="right"] {
        transform: translate3d(32px,0,0)
    }

    .js .reveal.is-visible {
        opacity: 1;
        transform: none;
        filter: none
    }

html[data-theme="dark"] .toast {
    background: var(--yellow);
    color: #061a31
}

/* Responsive */
@media(max-width:1180px) {
    .header-rail {
        gap: 18px
    }

    .main-nav {
        gap: 18px
    }

        .main-nav a {
            font-size: .68rem
        }

    .theme-toggle-label {
        display: none
    }

    .hero-layout {
        grid-template-columns: 1fr minmax(300px,.42fr);
        gap: 42px
    }

    .advantage-matrix {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        gap: 35px
    }
}

@media(max-width:980px) {
    :root {
        --header: 74px
    }

    .main-nav {
        position: fixed;
        top: calc(var(--header) + env(safe-area-inset-top));
        left: 0;
        width: 100%;
        height: calc(100svh - var(--header));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 44px 6vw;
        background: var(--paper);
        transform: translateX(105%);
        transition: .55s var(--ease);
        overflow-y: auto
    }

    body.menu-open .main-nav {
        transform: none
    }

    .main-nav a {
        padding: 19px 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--display);
        font-size: 2rem
    }

        .main-nav a:before {
            display: none
        }

    .header-tools .header-cta {
        display: none
    }

    .menu-toggle {
        display: block
    }

    body.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg)
    }

    body.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0
    }

    body.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg)
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .hero-part-finder {
        max-width: 520px
    }

    .hero-scroll-cue {
        display: none
    }

    .brand-belt {
        grid-template-columns: 1fr
    }

    .brand-belt-title {
        min-height: 76px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding-inline: 5%
    }

    .section {
        padding: 100px 0
    }

    .section-head-split {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .parts-browser {
        grid-template-columns: 1fr
    }

    .parts-list {
        border-right: 0
    }

    .part-stage {
        grid-template-columns: 1.15fr .85fr
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 58px
    }

    .vehicles-background:after {
        background: rgba(4,18,35,.86)
    }

    .story-layout {
        grid-template-columns: .8fr 1.1fr;
        gap: 52px
    }

    .campaign-content {
        grid-template-columns: 1fr
    }

    .campaign-number {
        position: absolute;
        right: 0;
        bottom: 0
    }

    .branch-tabs {
        grid-template-columns: repeat(2,1fr)
    }

    .branch-tab:nth-child(2n) {
        border-right: 0
    }

    .branch-tab:nth-child(-n+2) {
        border-bottom: 1px solid var(--line2)
    }

    .branch-display {
        grid-template-columns: 1fr
    }

    .branch-info {
        border-left: 0;
        border-top: 1px solid var(--line2)
    }

    .quote-section {
        grid-template-columns: 1fr
    }

    .quote-aside {
        min-height: 520px
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 55px
    }

    .faq-intro {
        position: static
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:720px) {
    .campaign-winner {
        padding: calc(var(--header) + 24px) 0 32px
    }

    .campaign-winner-inner {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .campaign-winner-media {
        width: min(100%,420px);
        min-height: 130px;
        padding: 14px
    }

        .campaign-winner-media img {
            max-height: 160px
        }

    .campaign-winner-copy h2 {
        font-size: clamp(2.7rem,13vw,4rem)
    }

    .campaign-winner-text {
        font-size: .88rem
    }
}

@media(max-width:720px) {
    .language-switch {
        display: none
    }

    .brand-logo {
        width: 112px;
        height: 56px
    }

    .hero {
        min-height: 960px;
        padding: calc(var(--header) + 78px) 0 58px
    }

    .hero-media-shade {
        background: linear-gradient(180deg,rgba(3,20,40,.88),rgba(3,20,40,.98))
    }

    .hero-title {
        font-size: clamp(4.2rem,19vw,7.1rem)
    }

    .hero-overline {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }

    .overline-index {
        border: 0
    }

    .hero-actions {
        display: grid
    }

    .hero-facts {
        grid-template-columns: 1fr 1fr;
        margin-top: 42px
    }

    .hero-fact {
        padding: 18px 14px 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.16)
    }

        .hero-fact:nth-child(2) {
            padding-left: 14px;
            border-right: 0
        }

        .hero-fact:last-child {
            grid-column: 1/-1;
            padding-left: 0;
            border: 0
        }

    .section {
        padding: 84px 0
    }

    .section-title {
        font-size: clamp(3.4rem,15vw,5.4rem)
    }

    .parts-browser {
        margin-inline: -4%
    }

    .part-stage {
        grid-template-columns: 1fr
    }

    .part-stage-image {
        min-height: 340px
    }

    .part-stage-copy {
        padding: 38px 28px 44px;
        border-left: 0
    }

    .origin-row {
        grid-template-columns: 42px 1fr;
        grid-template-rows: auto auto;
        padding: 14px 6px
    }

        .origin-row > span {
            grid-row: 1/span 2
        }

        .origin-row small {
            grid-column: 2
        }

    .story-layout {
        grid-template-columns: 1fr;
        gap: 58px
    }

    .story-visual {
        width: 92%;
        padding-left: 24px
    }

    .story-photo {
        height: 440px
    }

    .advantage-matrix {
        grid-template-columns: 1fr
    }

    .advantage-cell {
        min-height: 240px
    }

        .advantage-cell h3 {
            margin-top: 58px
        }

    .campaign-section {
        min-height: 0;
        padding: 90px 0 130px
    }

    .campaign-car {
        width: 110vw;
        right: -35vw
    }

    .campaign-copy h2 {
        font-size: clamp(4rem,17vw,6.7rem)
    }

    .campaign-meta {
        display: grid
    }

        .campaign-meta > div {
            padding-left: 0 !important;
            border-left: 0 !important
        }

    .campaign-number {
        display: none
    }

    .branch-tabs {
        grid-template-columns: 1fr
    }

    .branch-tab {
        min-height: 78px;
        border-right: 0;
        border-bottom: 1px solid var(--line2)
    }

    .branch-map, .branch-map iframe {
        min-height: 360px
    }

    .branch-info {
        padding: 38px 25px
    }

    .branch-actions {
        display: grid
    }

    .quote-aside {
        min-height: 430px
    }

    .quote-form-wrap {
        padding: 78px 5%
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .field-wide {
        grid-column: auto
    }

    .quote-submit-row {
        align-items: stretch;
        flex-direction: column
    }

        .quote-submit-row .btn {
            width: 100%
        }

    .closing-content h2 {
        font-size: clamp(4rem,17vw,7rem)
    }

    .closing-content > div {
        display: grid
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .floating-quote {
        width: 54px;
        height: 54px;
        min-height: 54px;
        justify-content: center;
        padding: 0
    }

        .floating-quote span {
            display: none
        }
}

@media(max-width:430px) {
    .hero {
        min-height: 900px
    }

    .hero-title {
        font-size: 4.6rem
    }

    .section-title {
        font-size: 3.7rem
    }

    .campaign-copy h2 {
        font-size: 4.6rem
    }

    .branch-info h3 {
        font-size: 3.4rem
    }

    .quote-form-head h2, .quote-aside-copy h2 {
        font-size: 4rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *, *:before, *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }

    .js .reveal, .hero-word > span {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important
    }

    .brand-marquee-track, .service-strip-track, .closing-track {
        animation: none !important
    }
}

/* Runtime resilience for externally hosted imagery. */
.media-unavailable {
    background: linear-gradient(135deg,var(--blue),#061a31) !important
}

    .media-unavailable > img {
        opacity: .12 !important
    }

.hero-part-finder {
    will-change: transform
}


/* =========================================================
   URESA — CORRECCIONES DE INTEGRACIÓN / MOBILE / V2
   Header fijo, tema con iconos SVG, proveedores autocontenidos,
   copy sin cortes y campaña con vehículo PNG.
========================================================= */
.site-header.is-hidden {
    transform: none !important
}

.theme-toggle {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: background .25s,border-color .25s,color .25s,transform .25s
}

    .theme-toggle:hover {
        background: var(--paper2);
        border-color: var(--blue2);
        color: var(--blue2);
        transform: translateY(-1px)
    }

.theme-icon {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 18px
}

    .theme-icon svg {
        width: 18px;
        height: 18px
    }

.theme-icon-moon {
    display: none
}

html[data-theme="dark"] .theme-icon-sun {
    display: none
}

html[data-theme="dark"] .theme-icon-moon {
    display: grid;
    color: var(--yellow)
}

html[data-theme="dark"] .theme-toggle {
    background: var(--paper2)
}

.brand-chip {
    width: 190px;
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 24px;
    border-right: 1px solid var(--line);
    color: var(--ink);
    /* Siempre a color */
    filter: none;
    opacity: 1;
    transition: opacity .25s, background .25s, color .25s;
}

    .brand-chip:hover {
        opacity: 1;
        filter: none;
        background: var(--paper2);
        /* Mantenemos el efecto azul */
        color: var(--blue2);
    }

    .brand-chip strong {
        font-family: var(--display);
        font-size: 1.2rem;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
    }

.brand-placeholder, .brand-logo-slot {
    width: 52px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 52px
}

.brand-placeholder {
    color: var(--blue)
}

html[data-theme="dark"] .brand-placeholder {
    color: var(--yellow)
}

.brand-placeholder svg {
    width: 34px;
    height: 34px
}

.brand-logo-slot img {
    width: 52px;
    height: 42px;
    object-fit: contain
}

.part-stage, .part-stage-copy {
    min-width: 0
}

.part-stage-copy {
    overflow: hidden
}

    .part-stage-kicker, .part-stage-copy h3, .part-stage-copy p {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        -webkit-hyphens: none
    }

    .part-stage-copy h3 {
        text-wrap: balance;
        font-size: clamp(1.95rem,2.75vw,3.3rem);
        line-height: .96
    }

    .part-stage-copy p {
        text-wrap: pretty
    }

.campaign-car {
    width: min(59vw,940px);
    right: -2vw;
    bottom: 4%;
    color: inherit;
    transform: none;
    filter: drop-shadow(0 34px 35px rgba(6,26,49,.24));
    pointer-events: none
}

    .campaign-car img {
        width: 100%;
        height: auto;
        object-fit: contain
    }

.branch-info dd[data-branch-hours] {
    line-height: 1.55;
    text-wrap: pretty
}

    .branch-info dd[data-branch-hours] span {
        display: block
    }

        .branch-info dd[data-branch-hours] span + span {
            margin-top: 6px
        }

@media(max-width:1120px) {
    .header-rail {
        gap: 18px
    }

    .main-nav {
        gap: 18px
    }

    .theme-toggle {
        padding-inline: 8px
    }

    .header-cta {
        padding-inline: 14px
    }
}

@media(max-width:980px) {
    .header-rail {
        width: min(94%,1480px);
        display: flex;
        min-height: var(--header);
        gap: 8px
    }

    .brand-lockup {
        min-width: 0;
        flex: 0 0 auto
    }

    .brand-logo {
        width: 104px;
        height: 52px
    }

    .header-tools {
        margin-left: auto;
        gap: 7px;
        min-width: 0
    }

        .header-tools .header-cta {
            display: none
        }

    .language-switch {
        display: flex !important;
        min-height: 38px;
        padding: 0 7px;
        border: 1px solid var(--line);
        background: var(--paper);
        gap: 3px;
        flex: 0 0 auto
    }

    .lang-option {
        padding: 4px 2px
    }

    .theme-toggle {
        min-height: 38px;
        padding: 0 8px;
        gap: 6px;
        flex: 0 0 auto
    }

    .theme-toggle-label {
        font-size: .62rem
    }

    .menu-toggle {
        display: block;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin-left: 1px
    }

    .main-nav {
        position: fixed;
        top: calc(var(--header) + env(safe-area-inset-top));
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100svh - var(--header) - env(safe-area-inset-top));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 18px 5% 30px;
        background: color-mix(in srgb,var(--paper) 97%,transparent);
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 60px rgba(3,25,50,.16);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .28s ease,transform .4s var(--ease),visibility .28s;
        overflow-y: auto
    }

    body.menu-open .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none
    }

    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--display);
        font-size: 1.55rem;
        line-height: 1.1;
        letter-spacing: .02em
    }

        .main-nav a:last-child {
            border-bottom: 0
        }

        .main-nav a:before {
            display: none
        }

    .part-stage {
        grid-template-columns: minmax(0,1fr) minmax(300px,1fr)
    }

    .part-stage-copy {
        padding: 42px 30px
    }

        .part-stage-copy h3 {
            font-size: clamp(1.85rem,3.35vw,2.75rem)
        }

    .campaign-car {
        width: 78vw;
        right: -20vw;
        bottom: 2%
    }
}

@media(max-width:720px) {
    .language-switch {
        display: flex !important
    }

    .header-rail {
        width: 96%;
        gap: 6px
    }

    .brand-logo {
        width: 96px;
        height: 48px
    }

    .language-switch {
        padding-inline: 6px
    }

    .theme-toggle {
        padding-inline: 7px
    }

    .theme-toggle-label {
        font-size: .58rem
    }

    .theme-icon, .theme-icon svg {
        width: 17px;
        height: 17px
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px
    }

    .part-stage-copy {
        padding: 34px 22px 40px
    }

        .part-stage-copy h3 {
            font-size: clamp(2rem,9.2vw,3rem);
            line-height: .93
        }

        .part-stage-copy p {
            font-size: .88rem;
            line-height: 1.72
        }

    .campaign-section {
        padding-bottom: 230px
    }

    .campaign-car {
        width: 118vw;
        max-width: none;
        right: -24vw;
        bottom: 4px;
        opacity: .98
    }
}

@media(max-width:390px) {
    .header-rail {
        gap: 4px
    }

    .brand-logo {
        width: 88px;
        height: 44px
    }

    .language-switch {
        padding-inline: 4px
    }

    .lang-option {
        font-size: .64rem
    }

    .theme-toggle {
        padding-inline: 6px;
        gap: 4px
    }

    .theme-toggle-label {
        font-size: .54rem
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px
    }
}

/* Mobile typography + keep the Claro/Oscuro label visible at every header width. */
.theme-toggle-label {
    display: inline !important
}

.hero-copy {
    min-width: 0
}

@media(max-width:430px) {
    .hero-title {
        max-width: 100%;
        font-size: 3.9rem;
        line-height: .82
    }

    .hero-lead {
        max-width: 100%;
        overflow-wrap: anywhere
    }
}

@media(max-width:360px) {
    .hero-title {
        font-size: 3.45rem
    }

    .brand-logo {
        width: 82px;
        height: 42px
    }

    .theme-toggle-label {
        font-size: .51rem
    }
}

/* URESA V4 — marquee continuo, sin pausa al hover */
.brand-marquee:hover .brand-marquee-track {
    animation-play-state: running !important
}

/* =========================================================
   CAMPAIGN — FINISHED STATE
   terminoPromicionCarro = "S"
   Keeps #promociones visible and turns it into an elegant
   post-draw / next-edition announcement.
========================================================= */
.campaign-section.is-finished {
    min-height: 720px;
    background: radial-gradient(circle at 82% 34%,rgba(11,99,198,.24),transparent 31%), linear-gradient(125deg,#04111f 0%,#071d35 58%,#0a2b4e 100%);
    color: white
}

    .campaign-section.is-finished:before {
        content: "";
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg,var(--yellow),rgba(255,208,0,.15),transparent 75%)
    }

    .campaign-section.is-finished .campaign-grid {
        opacity: .1;
        background-image: linear-gradient(rgba(255,255,255,.1) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
        mask-image: linear-gradient(90deg,black 0 62%,transparent 96%)
    }

    .campaign-section.is-finished .campaign-copy {
        position: relative;
        z-index: 4;
        max-width: 720px
    }

    .campaign-section.is-finished .campaign-kicker {
        color: rgba(255,255,255,.64)
    }

        .campaign-section.is-finished .campaign-kicker span {
            background: var(--yellow);
            color: #061a31
        }

    .campaign-section.is-finished .campaign-copy h2 {
        color: white
    }

        .campaign-section.is-finished .campaign-copy h2 em {
            color: var(--yellow)
        }

    .campaign-section.is-finished .campaign-prize {
        color: rgba(255,255,255,.94)
    }

    .campaign-section.is-finished .campaign-text {
        max-width: 620px;
        color: rgba(255,255,255,.72);
        font-size: 1rem;
        line-height: 1.8
    }

    .campaign-section.is-finished .campaign-meta {
        border-color: rgba(255,255,255,.18)
    }

        .campaign-section.is-finished .campaign-meta > div + div {
            border-left-color: rgba(255,255,255,.18)
        }

        .campaign-section.is-finished .campaign-meta small {
            color: rgba(255,255,255,.55);
            opacity: 1
        }

        .campaign-section.is-finished .campaign-meta strong {
            color: white
        }

    .campaign-section.is-finished .campaign-legal {
        color: rgba(255,255,255,.52);
        opacity: 1
    }

    .campaign-section.is-finished .campaign-number {
        display: none
    }

    .campaign-section.is-finished .campaign-car {
        z-index: 3;
        width: min(39vw,560px);
        right: max(4vw,36px);
        bottom: 50%;
        transform: translateY(50%);
        filter: none;
        opacity: 1
    }

        .campaign-section.is-finished .campaign-car > img[hidden] {
            display: none !important
        }

.campaign-finished-visual[hidden] {
    display: none !important
}

.campaign-finished-visual {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(30px,4vw,54px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    background: linear-gradient(145deg,rgba(255,255,255,.1),rgba(255,255,255,.025)), rgba(2,13,25,.34);
    box-shadow: 0 34px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(14px);
    clip-path: polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px))
}

    .campaign-finished-visual:before {
        content: "";
        position: absolute;
        top: 30px;
        right: 30px;
        width: 12px;
        height: 12px;
        background: var(--yellow);
        box-shadow: 0 0 24px rgba(255,208,0,.45)
    }

    .campaign-finished-visual:after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg,transparent 49.8%,rgba(255,255,255,.06) 50%,transparent 50.2%), linear-gradient(transparent 49.8%,rgba(255,255,255,.045) 50%,transparent 50.2%);
        background-size: 72px 72px;
        mask-image: linear-gradient(180deg,black,transparent 72%)
    }

    .campaign-finished-eyebrow,
    .campaign-finished-status,
    .campaign-finished-visual p,
    .campaign-finished-next,
    .campaign-finished-year {
        position: relative;
        z-index: 2
    }

.campaign-finished-eyebrow {
    margin-bottom: auto;
    color: rgba(255,255,255,.48);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.campaign-finished-year {
    color: rgba(255,255,255,.08);
    font-family: var(--display);
    font-size: clamp(7rem,13vw,11rem);
    font-weight: 900;
    line-height: .64;
    letter-spacing: -.055em
}

.campaign-finished-status {
    margin-top: 30px;
    color: var(--yellow);
    font-family: var(--display);
    font-size: clamp(2rem,3.2vw,3rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.015em;
    text-transform: uppercase
}

.campaign-finished-visual p {
    max-width: 410px;
    margin-top: 14px;
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    line-height: 1.7
}

.campaign-finished-next {
    width: fit-content;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.17);
    color: white;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase
}

.campaign-section.is-finished [data-campaign-cta] {
    box-shadow: 0 18px 42px rgba(255,208,0,.16)
}

@media(max-width:1100px) {
    .campaign-section.is-finished {
        min-height: 0;
        padding-bottom: 90px
    }

        .campaign-section.is-finished .campaign-content {
            grid-template-columns: minmax(0,1fr) minmax(300px,.7fr);
            gap: 42px
        }

        .campaign-section.is-finished .campaign-car {
            position: relative;
            width: 100%;
            right: auto;
            bottom: auto;
            transform: none;
            grid-column: 2;
            grid-row: 1;
            align-self: center
        }

        .campaign-section.is-finished .campaign-copy {
            grid-column: 1;
            grid-row: 1
        }

        .campaign-section.is-finished .campaign-finished-visual {
            min-height: 390px
        }
}

@media(max-width:820px) {
    .campaign-section.is-finished {
        padding: 90px 0
    }

        .campaign-section.is-finished .campaign-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 54px
        }

        .campaign-section.is-finished .campaign-copy,
        .campaign-section.is-finished .campaign-car {
            grid-column: 1;
            grid-row: auto
        }

        .campaign-section.is-finished .campaign-car {
            width: 100%;
            max-width: 620px;
            margin: 0 auto;
            opacity: 1
        }

        .campaign-section.is-finished .campaign-finished-visual {
            min-height: 350px
        }
}

@media(max-width:520px) {
    .campaign-section.is-finished {
        padding: 78px 0
    }

        .campaign-section.is-finished .campaign-copy h2 {
            font-size: clamp(3.2rem,16vw,5.2rem)
        }

        .campaign-section.is-finished .campaign-prize {
            font-size: 1.75rem
        }

        .campaign-section.is-finished .campaign-meta {
            display: grid
        }

            .campaign-section.is-finished .campaign-meta > div {
                min-width: 0;
                padding: 15px 0
            }

                .campaign-section.is-finished .campaign-meta > div + div {
                    padding-left: 0;
                    border-left: 0;
                    border-top: 1px solid rgba(255,255,255,.18)
                }

    .campaign-finished-visual {
        min-height: 320px;
        padding: 28px 24px
    }

    .campaign-finished-year {
        font-size: clamp(6rem,30vw,8rem)
    }
}

/* =============================================================
   URESA ECOMMERCE / TIENDA ONLINE
   Front-end catalog + cart + WhatsApp checkout
   ============================================================= */

.header-cart {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    padding: 0 10px 0 11px;
    border: 1px solid var(--line2);
    background: var(--paper);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: transform .25s var(--ease),border-color .25s,background .25s,color .25s
}

.header-cart:hover {
    border-color: var(--blue2);
    color: var(--blue2);
    transform: translateY(-2px)
}

.header-cart svg {
    width: 19px;
    height: 19px
}

.header-cart strong {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    padding: 0 5px;
    background: var(--yellow);
    color: #07111e;
    font-size: .68rem;
    line-height: 1
}

.header-cart strong[data-empty] {
    background: var(--paper2);
    color: var(--muted)
}

.header-cart.is-pulsing strong {
    animation: storeCartPulse .55s var(--ease)
}

@keyframes storeCartPulse {
    0% { transform: scale(1) }
    35% { transform: scale(1.35) rotate(-5deg) }
    100% { transform: scale(1) }
}

/* Home: digital store introduction */
.online-store-promo {
    position: relative;
    overflow: hidden;
    padding: clamp(54px,7vw,92px) 0;
    background: #061a31;
    color: white
}

.online-store-promo:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(90deg,#000,transparent 72%)
}

.online-store-promo:after {
    content: "ONLINE";
    position: absolute;
    right: -2vw;
    bottom: -9vw;
    color: rgba(255,255,255,.035);
    font-family: var(--display);
    font-size: clamp(9rem,22vw,24rem);
    font-weight: 900;
    line-height: .75;
    letter-spacing: -.05em;
    pointer-events: none
}

.online-store-promo-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(360px,.72fr);
    gap: clamp(44px,8vw,120px);
    align-items: center
}

.online-store-promo-copy {
    max-width: 790px
}

.online-store-promo-copy .section-code {
    color: var(--yellow)
}

.online-store-promo-copy h2 {
    max-width: 780px;
    margin: 14px 0 20px;
    color: white;
    font-family: var(--display);
    font-size: clamp(3rem,5.5vw,6rem);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.035em;
    text-transform: uppercase
}

.online-store-promo-copy h2 em {
    color: var(--yellow);
    font-style: normal
}

.online-store-promo-copy > p:not(.section-code) {
    max-width: 700px;
    color: #b7c7d9;
    font-size: 1.03rem
}

.online-store-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.online-store-promo-console {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(3,18,35,.72);
    box-shadow: 0 34px 80px rgba(0,0,0,.3);
    backdrop-filter: blur(14px)
}

.online-store-promo-top {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.13);
    color: #9cb0c6;
    font-family: var(--display);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em
}

.online-store-promo-top i {
    width: 8px;
    height: 8px;
    background: var(--yellow);
    box-shadow: 0 0 18px rgba(255,208,0,.6)
}

.online-store-promo-cart {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 30px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.promo-cart-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    background: var(--yellow);
    color: #061a31;
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 700
}

.online-store-promo-cart small,
.online-store-promo-cart strong {
    display: block
}

.online-store-promo-cart small {
    margin-bottom: 3px;
    color: #8fa5bc;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase
}

.online-store-promo-cart strong {
    color: white;
    font-family: var(--display);
    font-size: 1.55rem;
    line-height: 1.05;
    text-transform: uppercase
}

.online-store-promo-cart b {
    padding: 7px 9px;
    background: rgba(255,208,0,.1);
    color: var(--yellow);
    font-size: .67rem;
    letter-spacing: .06em;
    text-transform: uppercase
}

.online-store-promo-lines {
    display: grid;
    gap: 13px;
    padding: 24px
}

.online-store-promo-lines span {
    display: block;
    height: 8px;
    background: rgba(255,255,255,.07)
}

.online-store-promo-lines span:nth-child(1) { width: 88% }
.online-store-promo-lines span:nth-child(2) { width: 68% }
.online-store-promo-lines span:nth-child(3) { width: 76% }
.online-store-promo-lines span:nth-child(4) { width: 48%; background: rgba(255,208,0,.32) }

/* Store page */
.store-page {
    background: var(--paper)
}

.store-hero {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header) + 96px) 0 90px;
    background: #061a31;
    color: white
}

.store-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%,rgba(11,99,198,.36),transparent 36%),radial-gradient(circle at 20% 90%,rgba(255,208,0,.1),transparent 34%),linear-gradient(90deg,rgba(3,16,31,.98) 0%,rgba(6,26,49,.94) 48%,rgba(6,26,49,.72) 72%,rgba(6,26,49,.84) 100%)
}

.store-hero:after {
    content: "SHOP";
    position: absolute;
    right: -1vw;
    bottom: -4vw;
    color: rgba(255,255,255,.03);
    font-family: var(--display);
    font-size: clamp(12rem,30vw,31rem);
    font-weight: 900;
    line-height: .72;
    letter-spacing: -.05em;
    pointer-events: none
}

.store-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .2;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
    background-size: 84px 84px;
    mask-image: linear-gradient(90deg,#000 20%,rgba(0,0,0,.25) 75%,transparent)
}

.store-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0,1.18fr) minmax(350px,.62fr);
    gap: clamp(48px,8vw,116px);
    align-items: end
}

.store-hero-copy {
    max-width: 900px
}

.store-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--yellow);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.store-eyebrow:before {
    content: "";
    width: 42px;
    height: 2px;
    background: currentColor
}

.store-hero h1 {
    max-width: 900px;
    color: white;
    font-family: var(--display);
    font-size: clamp(4rem,7.4vw,8.2rem);
    font-weight: 800;
    line-height: .83;
    letter-spacing: -.045em;
    text-transform: uppercase
}

.store-hero h1 em {
    color: var(--yellow);
    font-style: normal
}

.store-hero-copy > p:not(.store-eyebrow) {
    max-width: 730px;
    margin-top: 26px;
    color: #b7c7d9;
    font-size: clamp(1rem,1.3vw,1.16rem)
}

.store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px
}

.store-trust-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 800px;
    margin-top: 48px;
    border-top: 1px solid rgba(255,255,255,.16)
}

.store-trust-row span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 18px 12px 0 0
}

.store-trust-row b {
    color: var(--yellow);
    font-family: var(--display);
    font-size: .78rem;
    letter-spacing: .05em
}

.store-trust-row small {
    color: #c0cede;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase
}

.store-hero-panel {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(3,17,32,.72);
    box-shadow: 0 36px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(18px)
}

.store-hero-panel-head {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #a8bacd;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em
}

.store-hero-panel-head i {
    width: 8px;
    height: 8px;
    background: var(--yellow)
}

.store-steps {
    list-style: none
}

.store-steps li {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 19px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1)
}

.store-steps li > span {
    color: var(--yellow);
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 800
}

.store-steps strong {
    display: block;
    margin-bottom: 3px;
    color: white;
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase
}

.store-steps p {
    color: #91a5bb;
    font-size: .78rem;
    line-height: 1.5
}

.store-hero-panel-note {
    padding: 18px 20px;
    background: rgba(255,208,0,.08);
    color: #d8e1ea;
    font-size: .72rem;
    line-height: 1.55
}

.store-catalog-section {
    padding: clamp(82px,9vw,140px) 0;
    background: var(--paper)
}

.store-section-head {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(300px,.65fr);
    gap: clamp(42px,7vw,110px);
    align-items: end;
    margin-bottom: 48px
}

.store-section-head > p {
    max-width: 560px;
    color: var(--text)
}

.store-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--paper2)
}

.store-search {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line2);
    background: var(--paper)
}

.store-search svg {
    width: 21px;
    margin-left: 18px;
    color: var(--blue2)
}

.store-search input {
    width: 100%;
    min-width: 0;
    height: 56px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: .9rem
}

.store-search input::placeholder {
    color: var(--muted)
}

.store-search-clear {
    width: 46px;
    height: 46px;
    margin-right: 5px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.6rem
}

.store-search-clear:hover {
    color: var(--blue2)
}

.store-sort-wrap {
    display: grid;
    min-width: 220px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 12px 0 15px;
    border: 1px solid var(--line2);
    background: var(--paper)
}

.store-sort-wrap span {
    color: var(--muted);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase
}

.store-sort-wrap select {
    height: 44px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: .76rem;
    font-weight: 800
}

.store-filter-strip {
    display: flex;
    gap: 8px;
    padding: 20px 0 6px;
    overflow-x: auto;
    scrollbar-width: thin
}

.store-filter-strip button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--line2);
    background: transparent;
    color: var(--text);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: .2s
}

.store-filter-strip button:hover,
.store-filter-strip button.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: white
}

.store-results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 22px;
    border-bottom: 1px solid var(--line)
}

.store-results-meta p {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 700
}

.store-results-meta strong {
    color: var(--ink)
}

.store-results-meta button {
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--blue2);
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
    padding-top: 30px
}

.store-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 30px rgba(4,28,54,.035);
    transition: transform .35s var(--ease),border-color .25s,box-shadow .35s var(--ease)
}

.store-product-card:hover {
    z-index: 2;
    border-color: color-mix(in srgb,var(--blue) 42%,var(--line));
    box-shadow: 0 26px 54px rgba(4,28,54,.12);
    transform: translateY(-6px)
}

.store-product-media {
    position: relative;
    aspect-ratio: 1.28/1;
    overflow: hidden;
    background: linear-gradient(145deg,var(--paper2),color-mix(in srgb,var(--paper2) 70%,var(--blue) 30%))
}

.store-product-media img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease),filter .4s
}

.store-product-card:hover .store-product-media img {
    transform: scale(1.045)
}

.store-product-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 2px;
    text-align: center;
    background: linear-gradient(135deg,#071d36,#0b3a6b)
}

.store-product-fallback:before,
.store-product-fallback:after {
    content: "";
    position: absolute;
    background: rgba(255,255,255,.07)
}

.store-product-fallback:before {
    width: 1px;
    height: 100%;
    left: 50%
}

.store-product-fallback:after {
    width: 100%;
    height: 1px;
    top: 50%
}

.store-product-fallback span {
    position: relative;
    z-index: 1;
    color: var(--yellow);
    font-family: var(--display);
    font-size: clamp(3.4rem,6vw,5.8rem);
    font-weight: 900;
    line-height: .85;
    letter-spacing: -.05em
}

.store-product-fallback small {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.5);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .24em
}

.store-product-group {
    position: absolute;
    z-index: 3;
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 7px 9px;
    background: rgba(5,25,48,.88);
    color: white;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px)
}

.store-product-copy {
    display: flex;
    min-height: 272px;
    flex: 1;
    flex-direction: column;
    padding: 20px
}

.store-product-topline {
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px
}

.store-product-topline span,
.store-product-topline b {
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase
}

.store-product-topline span { color: var(--muted) }
.store-product-topline b { color: var(--blue2) }

.store-product-copy h3 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: .98;
    text-transform: uppercase
}

.store-product-copy > p {
    margin-top: 10px;
    color: var(--text);
    font-size: .78rem;
    line-height: 1.55
}

.store-product-fit {
    display: block;
    margin-top: auto;
    padding-top: 16px;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 700
}

.store-add-button {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 0 14px;
    border: 1px solid var(--line2);
    background: var(--paper2);
    color: var(--ink);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    transition: .25s
}

.store-add-button svg {
    width: 17px
}

.store-add-button:hover {
    border-color: var(--blue);
    background: var(--blue);
    color: white
}

.store-add-button.is-added {
    border-color: color-mix(in srgb,var(--blue) 40%,var(--line));
    background: color-mix(in srgb,var(--blue) 8%,var(--paper));
    color: var(--blue2)
}

.store-no-results {
    margin-top: 30px;
    padding: 70px 26px;
    border: 1px dashed var(--line2);
    text-align: center
}

.store-no-results > span {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--paper2);
    color: var(--blue2);
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 800
}

.store-no-results h3 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 2rem;
    text-transform: uppercase
}

.store-no-results p {
    max-width: 620px;
    margin: 8px auto 22px
}

.store-assurance {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper2)
}

.store-assurance-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr)
}

.store-assurance article {
    min-height: 230px;
    padding: 38px 28px;
    border-left: 1px solid var(--line)
}

.store-assurance article:last-child {
    border-right: 1px solid var(--line)
}

.store-assurance article > span {
    display: inline-flex;
    min-width: 44px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    background: var(--yellow);
    color: #061a31;
    font-family: var(--display);
    font-size: .75rem;
    font-weight: 900
}

.store-assurance h3 {
    margin: 26px 0 10px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.45rem;
    line-height: 1;
    text-transform: uppercase
}

.store-assurance p {
    font-size: .78rem;
    line-height: 1.55
}

.store-checkout-section {
    padding: clamp(88px,10vw,150px) 0;
    background: var(--paper)
}

.store-checkout-layout {
    display: grid;
    grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
    gap: clamp(48px,8vw,120px);
    align-items: start
}

.store-checkout-copy {
    position: sticky;
    top: calc(var(--header) + 28px)
}

.store-checkout-copy > p:not(.section-code) {
    max-width: 480px;
    margin-top: 20px
}

.store-checkout-summary-card {
    margin-top: 34px;
    border: 1px solid var(--line2);
    background: var(--paper2)
}

.store-checkout-summary-card > div {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid var(--line)
}

.store-checkout-summary-card span {
    color: var(--muted);
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase
}

.store-checkout-summary-card strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.2rem;
    text-transform: uppercase
}

.store-checkout-summary-card .text-arrow {
    margin: 16px 18px;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent
}

.store-payment-note {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid color-mix(in srgb,var(--blue) 25%,var(--line));
    background: color-mix(in srgb,var(--blue) 5%,var(--paper))
}

.store-payment-note svg {
    width: 32px;
    color: var(--blue2)
}

.store-payment-note strong {
    display: block;
    color: var(--ink);
    font-size: .78rem
}

.store-payment-note p {
    margin-top: 4px;
    font-size: .7rem;
    line-height: 1.5
}

.store-checkout-form {
    border: 1px solid var(--line);
    background: var(--paper2)
}

.store-form-section {
    padding: clamp(24px,3.5vw,38px);
    border-bottom: 1px solid var(--line)
}

.store-form-section:last-child {
    border-bottom: 0
}

.store-form-section-head {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 24px
}

.store-form-section-head > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    background: var(--blue);
    color: white;
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 800
}

.store-form-section-head strong {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.25rem;
    line-height: 1;
    text-transform: uppercase
}

.store-form-section-head small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .68rem
}

.store-checkout-form .field input,
.store-checkout-form .field textarea {
    background: var(--paper)
}

.store-checkout-form .field.has-error input,
.store-checkout-form .field.has-error textarea,
.store-checkout-form [aria-invalid="true"] {
    border-color: #d73737 !important;
    box-shadow: 0 0 0 2px rgba(215,55,55,.08)
}

.store-payment-options {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px
}

.store-payment-options label {
    position: relative;
    min-height: 122px;
    cursor: pointer
}

.store-payment-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.store-payment-options span {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line2);
    background: var(--paper);
    transition: .2s
}

.store-payment-options strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.05rem;
    line-height: 1;
    text-transform: uppercase
}

.store-payment-options small {
    margin-top: 9px;
    color: var(--muted);
    font-size: .65rem;
    line-height: 1.45
}

.store-payment-options input:checked + span {
    border-color: var(--blue);
    box-shadow: inset 0 0 0 2px var(--blue)
}

.store-payment-options input:focus-visible + span {
    outline: 3px solid rgba(255,208,0,.75);
    outline-offset: 3px
}

.store-photo-check {
    margin-bottom: 24px
}

.store-consent {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    margin-top: 22px;
    cursor: pointer
}

.store-consent input {
    position: absolute;
    opacity: 0
}

.store-consent > span {
    position: relative;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 1px solid var(--line2);
    background: var(--paper)
}

.store-consent input:checked + span {
    border-color: var(--blue);
    background: var(--blue)
}

.store-consent input:checked + span:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 11px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg)
}

.store-consent p {
    color: var(--text);
    font-size: .7rem;
    line-height: 1.55
}

.store-form-error {
    min-height: 20px;
    margin-top: 18px;
    color: #c72c2c;
    font-size: .72rem;
    font-weight: 800
}

.store-submit {
    width: 100%;
    min-height: 62px;
    margin-top: 10px
}

.store-submit.is-disabled-by-cart {
    filter: saturate(.6)
}

.store-submit-note {
    margin-top: 10px;
    color: var(--muted);
    font-size: .66rem;
    text-align: center
}

.store-closing {
    position: relative;
    overflow: hidden;
    padding: clamp(80px,10vw,150px) 0;
    background: var(--blue);
    color: white;
    text-align: center
}

.store-closing:before {
    content: "URESA";
    position: absolute;
    left: 50%;
    top: 50%;
    color: rgba(255,255,255,.045);
    font-family: var(--display);
    font-size: clamp(14rem,35vw,38rem);
    font-weight: 900;
    line-height: .7;
    transform: translate(-50%,-46%);
    pointer-events: none
}

.store-closing .site-shell {
    position: relative;
    z-index: 1
}

.store-closing .site-shell > p:first-child {
    color: var(--yellow);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em
}

.store-closing h2 {
    margin: 14px 0 18px;
    color: white;
    font-family: var(--display);
    font-size: clamp(3.5rem,7vw,7rem);
    font-weight: 800;
    line-height: .86;
    text-transform: uppercase
}

.store-closing h2 em {
    color: var(--yellow);
    font-style: normal
}

.store-closing .site-shell > p:nth-of-type(2) {
    max-width: 700px;
    margin: 0 auto 28px;
    color: #c5d4e3
}

/* Cart drawer (available site-wide) */
.store-cart-overlay {
    position: fixed;
    z-index: 7000;
    inset: 0;
    background: rgba(2,10,20,.62);
    opacity: 0;
    backdrop-filter: blur(4px);
    transition: opacity .32s var(--ease)
}

.store-cart-drawer {
    position: fixed;
    z-index: 7100;
    top: 0;
    right: 0;
    width: min(94vw,480px);
    height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--paper);
    box-shadow: -30px 0 80px rgba(0,0,0,.25);
    transform: translateX(105%);
    transition: transform .42s var(--ease)
}

body.store-cart-open {
    overflow: hidden
}

body.store-cart-open .store-cart-overlay {
    opacity: 1
}

body.store-cart-open .store-cart-drawer {
    transform: none
}

.store-cart-head {
    display: flex;
    min-height: 94px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: max(18px,env(safe-area-inset-top)) 22px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper)
}

.store-cart-head p {
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase
}

.store-cart-head h2 {
    margin-top: 3px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase
}

.store-cart-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    background: var(--paper2);
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1
}

.store-cart-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain
}

.store-cart-empty {
    display: grid;
    min-height: 100%;
    place-content: center;
    padding: 40px 26px;
    text-align: center
}

.store-cart-empty > span {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--paper2);
    color: var(--blue2);
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 900
}

.store-cart-empty h3 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.7rem;
    text-transform: uppercase
}

.store-cart-empty p {
    max-width: 290px;
    margin: 7px auto 0;
    font-size: .76rem
}

.store-cart-lines {
    display: grid
}

.store-cart-line {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line)
}

.store-cart-thumb {
    position: relative;
    width: 92px;
    height: 92px;
    overflow: hidden;
    background: linear-gradient(135deg,#071d36,#0b3a6b)
}

.store-cart-thumb img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.store-cart-thumb > span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--yellow);
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 900
}

.store-cart-line-copy > small {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase
}

.store-cart-line-copy h3 {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.15rem;
    line-height: 1;
    text-transform: uppercase
}

.store-cart-line-copy > p {
    margin-top: 4px;
    color: var(--muted);
    font-size: .62rem
}

.store-cart-line-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 13px
}

.store-qty {
    display: inline-grid;
    grid-template-columns: 30px 42px 30px;
    border: 1px solid var(--line2)
}

.store-qty button,
.store-qty input {
    height: 30px;
    border: 0;
    background: var(--paper2);
    color: var(--ink);
    text-align: center
}

.store-qty input {
    width: 42px;
    border-left: 1px solid var(--line2);
    border-right: 1px solid var(--line2);
    background: var(--paper);
    font-size: .7rem;
    font-weight: 800;
    -moz-appearance: textfield
}

.store-qty input::-webkit-outer-spin-button,
.store-qty input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none
}

.store-cart-remove,
.store-cart-clear {
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase
}

.store-cart-remove:hover,
.store-cart-clear:hover {
    color: #c72c2c
}

.store-cart-foot {
    padding: 18px 20px max(20px,env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 -14px 36px rgba(5,28,52,.07)
}

.store-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0
}

.store-cart-total span {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase
}

.store-cart-total strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.2rem;
    text-transform: uppercase
}

.store-cart-total-price {
    padding-top: 0
}

.store-cart-foot > p {
    margin: 7px 0 12px;
    color: var(--muted);
    font-size: .62rem
}

.store-cart-primary {
    width: 100%
}

.store-cart-clear {
    display: block;
    margin: 13px auto 0
}

html[data-theme="dark"] .store-product-card,
html[data-theme="dark"] .store-search,
html[data-theme="dark"] .store-sort-wrap,
html[data-theme="dark"] .store-payment-options span,
html[data-theme="dark"] .store-checkout-form .field input,
html[data-theme="dark"] .store-checkout-form .field textarea,
html[data-theme="dark"] .store-consent > span {
    background: #091727
}

html[data-theme="dark"] .store-product-card {
    box-shadow: 0 14px 34px rgba(0,0,0,.13)
}

/* Store responsive */
@media(max-width:1280px) {
    .header-rail {
        gap: 22px
    }

    .main-nav {
        gap: 17px
    }

    .main-nav a {
        font-size: .66rem
    }

    .header-cart > span {
        display: none
    }

    .store-product-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media(max-width:1080px) {
    .online-store-promo-grid,
    .store-hero-layout {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .online-store-promo-console,
    .store-hero-panel {
        max-width: 680px
    }

    .store-trust-row {
        max-width: 720px
    }

    .store-section-head {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .store-assurance-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .store-assurance article:nth-child(3) {
        border-top: 1px solid var(--line)
    }

    .store-assurance article:nth-child(4) {
        border-top: 1px solid var(--line)
    }

    .store-checkout-layout {
        grid-template-columns: 1fr;
        gap: 48px
    }

    .store-checkout-copy {
        position: static
    }

    .store-checkout-copy > p:not(.section-code) {
        max-width: 720px
    }
}

@media(max-width:980px) {
    .header-tools {
        gap: 9px
    }

    .header-cart {
        min-width: 44px;
        justify-content: center;
        padding: 0 5px
    }

    .header-cart strong {
        position: absolute;
        right: -5px;
        top: -6px;
        min-width: 19px;
        height: 19px;
        font-size: .58rem
    }

    .store-hero {
        min-height: auto;
        padding-top: calc(var(--header) + 72px)
    }

    .store-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .store-payment-options {
        grid-template-columns: 1fr
    }

    .store-payment-options label {
        min-height: 92px
    }
}

@media(max-width:720px) {
    .online-store-promo {
        padding: 62px 0
    }

    .online-store-promo-copy h2 {
        font-size: clamp(3rem,14vw,4.4rem)
    }

    .online-store-promo-console {
        width: 100%
    }

    .online-store-promo-cart {
        grid-template-columns: 52px 1fr;
        padding: 22px 18px
    }

    .promo-cart-icon {
        width: 52px;
        height: 52px
    }

    .online-store-promo-cart b {
        grid-column: 2;
        width: fit-content
    }

    .store-hero {
        padding-bottom: 66px
    }

    .store-hero h1 {
        font-size: clamp(3.8rem,18vw,6.2rem)
    }

    .store-trust-row {
        grid-template-columns: repeat(2,1fr)
    }

    .store-trust-row span:nth-child(3),
    .store-trust-row span:nth-child(4) {
        padding-top: 12px
    }

    .store-toolbar {
        grid-template-columns: 1fr
    }

    .store-sort-wrap {
        min-height: 52px
    }

    .store-product-grid {
        gap: 12px
    }

    .store-product-copy {
        min-height: 254px;
        padding: 16px
    }

    .store-product-copy h3 {
        font-size: 1.3rem
    }

    .store-product-copy > p {
        font-size: .71rem
    }

    .store-assurance-grid {
        grid-template-columns: 1fr
    }

    .store-assurance article,
    .store-assurance article:last-child {
        min-height: 0;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line)
    }

    .store-checkout-section {
        padding: 76px 0
    }

    .store-form-section {
        padding: 24px 18px
    }
}

@media(max-width:540px) {
    .header-tools .language-switch {
        display: none
    }

    .header-tools {
        margin-left: auto
    }

    .store-hero-actions,
    .online-store-promo-actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .store-hero-actions .btn,
    .online-store-promo-actions .btn {
        width: 100%
    }

    .store-hero-panel {
        width: 100%
    }

    .store-steps li {
        grid-template-columns: 38px 1fr;
        padding: 17px 16px
    }

    .store-product-grid {
        grid-template-columns: 1fr
    }

    .store-product-media {
        aspect-ratio: 1.65/1
    }

    .store-product-copy {
        min-height: 236px
    }

    .store-results-meta {
        align-items: flex-start;
        gap: 12px
    }

    .store-checkout-form .form-grid {
        grid-template-columns: 1fr
    }

    .store-checkout-form .field,
    .store-checkout-form .field-wide {
        grid-column: auto
    }

    .store-cart-line {
        grid-template-columns: 76px 1fr;
        padding: 16px 14px
    }

    .store-cart-thumb {
        width: 76px;
        height: 76px
    }

    .store-cart-line-actions {
        align-items: flex-end;
        flex-direction: column
    }

    .store-cart-remove {
        align-self: flex-start
    }
}

/* Preserve the existing mobile navigation after the ecommerce desktop header tuning. */
@media(max-width:980px) {
    .header-rail { gap: 8px }
    .main-nav { gap: 0 }
    .main-nav a { font-size: 1.55rem }
}

@media(max-width:720px) {
    .header-rail { gap: 6px }
}

@media(max-width:390px) {
    .header-rail { gap: 4px }
}

/* =============================================================
   URESA ECOMMERCE — FIX DE LEGIBILIDAD DEL CHECKOUT (LIGHT/DARK)
   El formulario de cotización original vive sobre fondo oscuro y
   comparte .field. La tienda usa .field sobre fondo claro, por eso
   estos estilos quedan limitados exclusivamente al checkout de Tienda.
   ============================================================= */
.store-checkout-form .field label {
    color: var(--ink);
}

.store-checkout-form .field input,
.store-checkout-form .field select,
.store-checkout-form .field textarea {
    border: 1px solid var(--line2);
    border-radius: 0;
    background: var(--paper);
    color: var(--ink);
    caret-color: var(--blue2);
    -webkit-text-fill-color: var(--ink);
    color-scheme: light;
}

.store-checkout-form .field input::placeholder,
.store-checkout-form .field textarea::placeholder {
    color: var(--muted);
    opacity: .72;
    -webkit-text-fill-color: var(--muted);
}

.store-checkout-form .field input:focus,
.store-checkout-form .field select:focus,
.store-checkout-form .field textarea:focus {
    border-color: var(--blue2);
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 0 0 3px color-mix(in srgb,var(--blue) 13%,transparent), inset 3px 0 0 var(--blue2);
}

.store-checkout-form .field-hint {
    color: var(--muted);
}

.store-checkout-form .field-error {
    color: #c72c2c;
}

.store-checkout-form .field input:-webkit-autofill,
.store-checkout-form .field input:-webkit-autofill:hover,
.store-checkout-form .field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink);
    caret-color: var(--ink);
    box-shadow: 0 0 0 1000px var(--paper) inset;
    transition: background-color 9999s ease-out 0s;
}

.store-checkout-form .store-photo-check .photo-check-box {
    border-color: var(--line2);
    background: var(--paper);
}

.store-checkout-form .store-photo-check strong {
    color: var(--ink);
}

.store-checkout-form .store-photo-check small {
    color: var(--muted);
}

.store-checkout-form .store-photo-check input:focus-visible + .photo-check-box {
    outline: 3px solid rgba(255,208,0,.75);
    outline-offset: 3px;
}

html[data-theme="dark"] .store-checkout-form .field input,
html[data-theme="dark"] .store-checkout-form .field select,
html[data-theme="dark"] .store-checkout-form .field textarea {
    color-scheme: dark;
}


/* =============================================================
   URESA STORE — Fotografía de catálogo / Pexels fallback
   ============================================================= */
.store-product-media {
    isolation: isolate;
    background: #0a1d33;
}

.store-product-media:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(3,17,32,.03) 38%,rgba(3,17,32,.72) 100%);
}

.store-product-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.92) contrast(1.04);
    transition: transform .7s var(--ease),filter .5s;
}

.store-product-card:hover .store-product-media img {
    transform: scale(1.055);
    filter: saturate(1) contrast(1.06);
}

.store-product-group {
    z-index: 3;
}

.store-product-fallback {
    z-index: 0;
}


/* =============================================================
   URESA STORE — Cédula + ubicación Costa Rica
   ============================================================= */
.store-id-control {
    position: relative;
}

.store-id-control input {
    padding-right: 52px !important;
}

.store-api-loader {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid color-mix(in srgb,var(--blue) 18%,transparent);
    border-top-color: var(--blue2);
    border-radius: 50%;
    animation: storeApiSpin .7s linear infinite;
}

.store-api-loader[hidden] { display: none !important; }

@keyframes storeApiSpin { to { transform: rotate(360deg); } }

.store-field-status {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .72rem;
    line-height: 1.45;
}

.store-field-status[data-state="ok"] { color: #297348; }
.store-field-status[data-state="error"] { color: #b33434; }
.store-field-status[data-state="loading"] { color: var(--blue2); }

.store-checkout-form .field select {
    width: 100%;
    min-height: 58px;
    padding: 0 48px 0 16px;
    appearance: none;
    background-image:
        linear-gradient(45deg,transparent 50%,var(--ink) 50%),
        linear-gradient(135deg,var(--ink) 50%,transparent 50%);
    background-position:
        calc(100% - 21px) 50%,
        calc(100% - 15px) 50%;
    background-size: 6px 6px,6px 6px;
    background-repeat: no-repeat;
}

.store-checkout-form .field select:disabled {
    cursor: not-allowed;
    opacity: .58;
    background-color: var(--paper2);
}

.store-checkout-form .field select option {
    background: var(--paper);
    color: var(--ink);
}

html[data-theme="dark"] .store-field-status[data-state="ok"] { color: #70d59d; }
html[data-theme="dark"] .store-field-status[data-state="error"] { color: #ff8d8d; }

@media(max-width:720px) {
    .store-checkout-form .field select { min-height: 56px; }
}


/* =============================================================
   URESA STORE LAUNCH — insignia NUEVO + promoción Home
   ============================================================= */
.main-nav a[data-store-nav] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap
}

.store-nav-label {
    position: relative;
    z-index: 2
}

.store-nav-new,
.online-store-new-burst {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    background: #ef1d2b;
    color: #fff;
    font-family: var(--display);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    clip-path: polygon(50% 0%,58% 10%,69% 4%,73% 17%,86% 13%,85% 27%,99% 30%,91% 41%,100% 50%,91% 59%,99% 70%,85% 73%,86% 87%,73% 83%,69% 96%,58% 90%,50% 100%,42% 90%,31% 96%,27% 83%,14% 87%,15% 73%,1% 70%,9% 59%,0% 50%,9% 41%,1% 30%,15% 27%,14% 13%,27% 17%,31% 4%,42% 10%);
    filter: drop-shadow(0 5px 8px rgba(239,29,43,.18))
}

.store-nav-new {
    width: 34px;
    height: 34px;
    padding: 0 3px;
    font-size: .54rem;
    letter-spacing: .015em;
    transform: rotate(-8deg);
    transition: transform .25s var(--ease),filter .25s
}

.main-nav a[data-store-nav]:hover .store-nav-new,
.main-nav a[data-store-nav].is-active .store-nav-new {
    transform: rotate(0deg) scale(1.08);
    filter: drop-shadow(0 7px 11px rgba(239,29,43,.32))
}

.hero-store-notice {
    width: min(100%,690px);
    margin-top: 18px;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) 24px;
    gap: 14px;
    align-items: center;
    padding: 12px 14px 12px 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(3,25,50,.52);
    color: white;
    backdrop-filter: blur(12px);
    transition: transform .25s var(--ease),border-color .25s,background .25s
}

.hero-store-notice:hover {
    transform: translateY(-2px);
    border-color: rgba(255,208,0,.62);
    background: rgba(4,38,75,.7)
}

.hero-store-notice-badge {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    background: #ef1d2b;
    color: #fff;
    font-family: var(--display);
    font-size: .76rem;
    font-weight: 900;
    line-height: 1;
    clip-path: polygon(50% 0%,58% 10%,69% 4%,73% 17%,86% 13%,85% 27%,99% 30%,91% 41%,100% 50%,91% 59%,99% 70%,85% 73%,86% 87%,73% 83%,69% 96%,58% 90%,50% 100%,42% 90%,31% 96%,27% 83%,14% 87%,15% 73%,1% 70%,9% 59%,0% 50%,9% 41%,1% 30%,15% 27%,14% 13%,27% 17%,31% 4%,42% 10%);
    transform: rotate(-8deg)
}

.hero-store-notice-copy {
    min-width: 0
}

.hero-store-notice-copy strong,
.hero-store-notice-copy small {
    display: block
}

.hero-store-notice-copy strong {
    color: var(--yellow);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase
}

.hero-store-notice-copy small {
    margin-top: 1px;
    color: #d7e2ee;
    font-size: .78rem;
    line-height: 1.35
}

.hero-store-notice svg {
    width: 22px;
    height: 22px;
    color: var(--yellow)
}

.online-store-promo-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px
}

.online-store-promo-heading .section-code {
    margin: 0
}

.online-store-new-burst {
    width: 72px;
    height: 72px;
    padding: 0 7px;
    font-size: 1rem;
    letter-spacing: .025em;
    transform: rotate(-8deg);
    box-shadow: 0 0 0 7px rgba(239,29,43,.08)
}

@media(max-width:1280px) {
    .store-nav-new {
        width: 30px;
        height: 30px;
        font-size: .47rem
    }
}

@media(max-width:980px) {
    .main-nav a[data-store-nav] {
        justify-content: flex-start;
        gap: 14px
    }

    .store-nav-new {
        width: 44px;
        height: 44px;
        font-size: .65rem
    }
}

@media(max-width:720px) {
    .hero-store-notice {
        grid-template-columns: 48px minmax(0,1fr) 20px
    }

    .hero-store-notice-badge {
        width: 46px;
        height: 46px;
        font-size: .68rem
    }

    .online-store-promo-heading {
        align-items: flex-start
    }

    .online-store-new-burst {
        width: 62px;
        height: 62px;
        font-size: .86rem
    }
}

@media(max-width:480px) {
    .hero-store-notice {
        grid-template-columns: 44px minmax(0,1fr);
        padding-right: 12px
    }

    .hero-store-notice svg {
        display: none
    }

    .hero-store-notice-badge {
        width: 42px;
        height: 42px;
        font-size: .62rem
    }

    .hero-store-notice-copy strong {
        font-size: .95rem
    }

    .hero-store-notice-copy small {
        font-size: .72rem
    }
}

/* =============================================================
   URESA STORE — envío de pedido por correo + fotografías
   ============================================================= */
.store-photo-upload {
    margin: -8px 0 24px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--paper2)
}

.store-photo-upload[hidden] {
    display: none !important
}

.store-photo-upload .field {
    margin: 0
}

.store-photo-upload input[type="file"] {
    width: 100%;
    min-height: 52px;
    padding: 12px;
    border: 1px dashed var(--line2);
    background: var(--paper);
    color: var(--ink)
}

.store-photo-status {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: var(--blue2);
    font-size: .68rem;
    font-weight: 800
}

.store-submit.is-submitting,
.store-submit:disabled {
    cursor: wait;
    opacity: .72;
    pointer-events: none
}

.store-order-success {
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb,var(--blue) 28%,var(--line));
    border-left: 4px solid var(--blue);
    background: color-mix(in srgb,var(--blue) 7%,var(--paper));
    color: var(--text)
}

.store-order-success[hidden] {
    display: none !important
}

.store-order-success strong {
    display: block;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.15rem;
    text-transform: uppercase
}

.store-order-success p {
    margin-top: 6px;
    font-size: .82rem
}

.store-order-success b {
    color: var(--blue2)
}

.store-order-success small {
    display: block;
    margin-top: 7px;
    font-size: .7rem;
    line-height: 1.5
}

.store-order-success.has-warning {
    border-left-color: #c58b00;
    background: color-mix(in srgb,var(--yellow) 16%,var(--paper))
}

/* Mensaje de seguimiento después de realizar el pedido */
.store-order-success .store-order-followup {
    margin-top: 10px;
    font-size: .82rem;
    line-height: 1.6;
    color: var(--muted)
}

/* =========================================================
   Tienda - confirmación de pedido / correo al cliente
   ========================================================= */
.store-checkout-fields[hidden] {
    display: none !important;
}

.store-email-confirmation {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb,var(--blue) 22%,var(--line));
    background: color-mix(in srgb,var(--blue) 5%,var(--paper));
}

.store-email-confirmation p strong {
    display: block;
    color: var(--ink);
    font-size: .76rem;
    font-weight: 900;
}

.store-email-confirmation p small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.5;
}

.store-order-success-full {
    min-height: 620px;
    margin: 0;
    padding: clamp(42px,6vw,76px) clamp(24px,6vw,72px);
    border: 0;
    background: var(--paper2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-order-success-full[hidden] {
    display: none !important;
}

.store-success-check {
    width: 104px;
    height: 104px;
    margin-bottom: 24px;
}

.store-success-check svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.store-success-check circle {
    fill: var(--blue);
    stroke: var(--blue);
    stroke-width: 2;
}

.store-success-check path {
    fill: none;
    stroke: var(--yellow);
    stroke-width: 5;
    stroke-linecap: square;
    stroke-linejoin: miter;
}

.store-order-success-full .store-success-kicker {
    margin: 0 0 9px;
    color: var(--blue2);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.store-order-success-full > strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: clamp(2.7rem,6vw,4.8rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.store-order-success-full .store-success-number {
    margin-top: 20px;
    color: var(--text);
    font-size: clamp(.9rem,2vw,1.05rem);
    line-height: 1.6;
}

.store-order-success-full .store-success-number b {
    display: block;
    margin-top: 7px;
    color: var(--blue2);
    font-family: var(--display);
    font-size: clamp(1.8rem,4vw,2.65rem);
    line-height: 1;
    letter-spacing: .02em;
}

.store-order-success-full .store-order-followup {
    max-width: 690px;
    margin-top: 20px;
    color: var(--text);
    font-size: .88rem;
    line-height: 1.75;
}

.store-success-important {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    max-width: 690px;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid color-mix(in srgb,var(--yellow) 65%,var(--line));
    background: color-mix(in srgb,var(--yellow) 13%,var(--paper));
    text-align: left;
}

.store-success-important > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: var(--yellow);
    color: var(--blue);
    font-family: var(--display);
    font-size: 1.2rem;
    font-weight: 900;
}

.store-success-important p {
    margin: 0;
    color: var(--text);
    font-size: .76rem;
    line-height: 1.6;
}

.store-success-important p strong {
    display: inline;
    color: var(--ink);
    font-family: inherit;
    font-size: inherit;
    text-transform: none;
}

.store-success-email-status {
    max-width: 690px;
    margin-top: 16px !important;
    color: var(--blue2);
    font-size: .75rem !important;
    font-weight: 800;
    line-height: 1.55;
}

.store-success-email-status.is-warning {
    color: #9a6800;
}

.store-success-email-status.is-muted {
    color: var(--muted);
    font-weight: 700;
}

.store-success-new-order {
    min-width: min(100%,310px);
    margin-top: 30px;
}

.store-order-success-full.has-warning {
    border: 0;
    background: var(--paper2);
}

@media (max-width: 720px) {
    .store-order-success-full {
        min-height: 540px;
        padding: 42px 22px;
    }

    .store-success-check {
        width: 88px;
        height: 88px;
    }

    .store-success-important {
        grid-template-columns: 30px 1fr;
        padding: 14px;
    }

    .store-success-important > span {
        width: 30px;
        height: 30px;
    }
}

/* =============================================================
   URESA HEADER — contraste del menú sobre el hero
   En desktop el header inicia transparente sobre una imagen oscura:
   los enlaces se muestran blancos. Al hacer scroll y activarse
   .is-scrolled (fondo claro), recuperan los colores originales.
   ============================================================= */
@media (min-width: 981px) {
    .site-header:not(.is-scrolled) .main-nav a,
    .site-header:not(.is-scrolled) .main-nav a:hover,
    .site-header:not(.is-scrolled) .main-nav a.is-active {
        color: #fff;
    }

    .site-header.is-scrolled .main-nav a {
        color: var(--ink);
    }

    .site-header.is-scrolled .main-nav a:hover,
    .site-header.is-scrolled .main-nav a.is-active {
        color: var(--blue2);
    }
}

/* =============================================================
   URESA STORE — catálogo móvil compacto: 3 tarjetas por fila
   Reduce la longitud del catálogo en celular sin cambiar desktop.
   ============================================================= */
@media (max-width: 720px) {
    .store-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding-top: 22px;
    }

    .store-product-card {
        box-shadow: 0 7px 18px rgba(4,28,54,.045);
    }

    .store-product-card:hover {
        transform: none;
        box-shadow: 0 7px 18px rgba(4,28,54,.06);
    }

    .store-product-media {
        aspect-ratio: 1.12 / 1;
    }

    .store-product-group {
        left: 6px;
        bottom: 6px;
        max-width: calc(100% - 12px);
        padding: 4px 5px;
        font-size: .43rem;
        line-height: 1.1;
        letter-spacing: .02em;
    }

    .store-product-copy {
        min-height: 214px;
        padding: 9px 7px 7px;
    }

    /* En móvil conservamos toda la información de la tarjeta.
       Solo reducimos tipografías/espacios para que sigan cabiendo 3 por fila. */
    .store-product-topline {
        display: flex;
        min-height: 16px;
        align-items: flex-start;
        gap: 3px;
        margin-bottom: 4px;
    }

    .store-product-topline span,
    .store-product-topline b {
        font-size: .43rem;
        line-height: 1.15;
        letter-spacing: .025em;
    }

    .store-product-copy h3 {
        display: -webkit-box;
        min-height: 2.65em;
        overflow: hidden;
        color: var(--ink);
        font-size: .78rem;
        line-height: .92;
        letter-spacing: -.01em;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .store-product-copy > p {
        display: -webkit-box;
        margin-top: 6px;
        overflow: hidden;
        font-size: .54rem;
        line-height: 1.28;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .store-product-fit {
        display: block;
        margin-top: auto;
        padding-top: 8px;
        font-size: .50rem;
        line-height: 1.25;
    }

    .store-add-button {
        min-height: 34px;
        gap: 3px;
        margin-top: 8px;
        padding: 0 6px;
        font-size: .48rem;
        line-height: 1;
        letter-spacing: .015em;
    }

    .store-add-button span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-add-button svg {
        width: 12px;
        min-width: 12px;
    }
}

@media (max-width: 360px) {
    .store-product-grid {
        gap: 5px;
    }

    .store-product-copy {
        min-height: 208px;
        padding: 8px 5px 6px;
    }

    .store-product-topline span,
    .store-product-topline b {
        font-size: .40rem;
    }

    .store-product-copy h3 {
        font-size: .72rem;
    }

    .store-product-copy > p {
        font-size: .51rem;
    }

    .store-product-fit {
        font-size: .47rem;
    }

    .store-add-button {
        min-height: 32px;
        padding: 0 4px;
        font-size: .44rem;
    }
}


/* =============================================================
   URESA STORE — Evitar parpadeo de imágenes al actualizar carrito
   El fallback azul/amarillo sólo se muestra cuando la imagen falló
   realmente, no durante la carga/decodificación de una imagen válida.
   ============================================================= */
.store-product-fallback {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.store-product-media.is-missing .store-product-fallback {
    opacity: 1;
    visibility: visible;
}

.store-cart-thumb > span {
    opacity: 0;
    visibility: hidden;
}

.store-cart-thumb.is-missing > span {
    opacity: 1;
    visibility: visible;
}
