:root{
    --ink: #1e1e1e;
    --graphite: #2a2a2a;
    --steel: #3a3a3a;
    --ash: #6b6b6b;
    --fog: #a8a8a8;
    --bone: #ededed;
    --white: #ffffff;
}
/* Empieza Home */
.hero {
    min-height: 650px;
    background: #050505;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--red)
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 78px 78px;
    opacity: .7
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    min-height: 600px;
    width: min(1500px, calc(100% - 80px));
    margin: auto
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--red);
    font: 800 14.4px "League Spartan", monospace;
    letter-spacing: .42em;
    text-transform: uppercase;
    margin-bottom: 24px
}

.dot {
    width: 13px;
    height: 13px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(224, 0, 0, .16)
}

.hero h1 {
    font-size: 88.64px;
    font-weight: 900;
    line-height: .94;
    letter-spacing: -.075em;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #000
}

.underline {
    position: relative;
    display: inline-block
}

.underline::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    bottom: .07em;
    height: .22em;
    background: var(--red);
    z-index: -1
}

.hero .actions {
    margin-top: 42px;
    display: flex;
    gap: 22px
}

.hero-art {
    position: relative;
    height: 650px
}

.truck {
    position: absolute;
    right: -15px;
    top: 15px;
    width: 900px;
    height: 620px;
    background: url('https://static-for-flask-krino.s3.amazonaws.com/improve_bot/static/img/bot/LOrKEDXtHdP6xs.jpg?auto=format&fit=crop&w=1400&q=85') center/cover no-repeat;
    filter: saturate(1.2) contrast(1.08);
    mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 88%, transparent 100%)
}

.truck::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, transparent 0 42%, #050505 78%), linear-gradient(90deg, #050505 0%, transparent 22%, transparent 74%, #050505 100%);
    mix-blend-mode: multiply
}

.strip-track {
    display: flex;
    gap: 32px;
    min-width: max-content;
    animation: marquee 70s linear infinite;
    font: 900 13px Montserrat;
    letter-spacing: .33em;
    text-transform: uppercase;
    align-items: center;
}

.strip-track span {
    font-weight: 400;
    font-size: 16px;
    /* opacity: .85; */
    letter-spacing: 0;
    color: rgba(255,255,255,0.3);
}

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

section {
    position: relative
}

.section-pad {
    padding: 100px 0
}

.title {
    font-size: 56.98px;
    line-height: .94;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase
}

.small-red {
    font: 800 12px "League Spartan";
    letter-spacing: 0.24em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 18px
}

.lead {
    color: #b8b8b8;
    font-size: 17px;
    line-height: 1.75;
    max-width: 600px
}

.featured {
    background: #222
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .2rem;
    margin-top: 55px;
    border-top: 2px solid #e0000000;
}

.truck-card {
    background: #2a2a2a;
    border-right: 1px solid #111;
    border-top: 3px solid #e0000000;
    min-height: 480px;
    transition: all 0.1s ease-in-out
}

.truck-card:hover {
    background: #1f1f1f;
    border-top: 3px solid #e00000;
}

.truck-image {
    height: 370px;
    background: #151515;
    position: relative;
    overflow: hidden
}

@media (min-width: 992px){
    .truck-image {
        height: 450px;
    }
}

.truck-image.real {
    background: url('https://static-for-flask-krino.s3.amazonaws.com/improve_bot/static/img/bot/VZQo0XGpBQKOxp.png') center/cover
}

.truck-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 8px, transparent 8px 18px)
}

.tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--red);
    padding: 13px 18px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 2
}

.shield {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #111;
    padding: 11px 14px;
    font-size: 22px;
    z-index: 2
}

.placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #454545;
    font: 700 13px "League Spartan";
    letter-spacing: .35em;
    text-transform: uppercase
}

.card-body {
    padding: 22px
}

.card-head {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.card-head h3 {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase
}

.year {
    font-family: "League Spartan";
    color: var(--red);
    font-size: 13px
}

.specs {
    font-size: 15px;
    margin-top: 15px;
    color: #bbb;
    line-height: 1.65
}

.price-label {
    margin-top: 28px;
    border-top: 1px solid #3b3b3b;
    padding-top: 22px;
    font: 500 11px "League Spartan";
    color: #898989;
    letter-spacing: .28em;
    text-transform: uppercase
}

.price-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 22px;
}

.price {
    color: var(--red);
    font-size: 24px;
    font-weight: 900
}

.monthly {
    font-size: 12px;
    color: #aaa
}

.details {
    background: var(--red);
    padding: 16px 22px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em
}

.support {
    background: #0d0d0d
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.corp-img {
    height: 410px;
    border-top: 3px solid var(--red);
    background: url("{{ asset('/public/images/Edificio-Zapata.webp') }}") center/cover;
    position: relative
}

.corp-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 50%)
}

.caption {
    position: absolute;
    left: 32px;
    bottom: 34px;
    z-index: 1;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.caption small {
    display: block;
    color: #aaa;
    font-family: "League Spartan";
    font-weight: 400;
    margin-top: 12px;
    letter-spacing: .35em
}

.stats {
    background: var(--red);
    display: grid;
    grid-template-columns: repeat(4, 1fr)
}

.stat {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .18)
}

.stat::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.08) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.08) 75%);
    background-size: 30px 30px;
    opacity: 0.1;
}

.stat b {
    font-size: 88.64px;
    line-height: .8;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.stat span {
    font: 700 12px "League Spartan";
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-top: 25px
}

.backing {
    background: #292929
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 70px;
    /* border-top: 2px solid #e0000000; */
}

.benefit {
    min-height: 260px;
    padding: 45px 38px;
    border-right: 1px solid #111;
    background: #292929;
    border-top: 2px solid #e0000000;
}
.benefit.border-top-red{
    border-top: 2px solid var(--red);
}

.benefit:hover {
    background: #1d1d1d;
    border: 1px solid #101010;
    border-top: 2px solid var(--red)
}

.benefit .num {
    font-size: 76px;
    font-weight: 900;
    color: var(--red);
    line-height: .9
}

.benefit .subtitle{
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 5px;
    letter-spacing: 0.18em;
}

.benefit h3 {
    font-size: 17px;
    margin-top: 22px;
    text-transform: uppercase;
    font-weight: 900
}

.benefit p {
    margin-top: 16px;
    color: #bcbcbc;
    line-height: 1.55
}

.icon-red {
    font-size: 32px;
    color: var(--red);
    margin-bottom: 28px
}

.note {
    margin-block: 45px;
    color: #777;
    font-size: 13px
}

.right-cta {
    text-align: right;
    margin-top: -30px
}

.branches {
    background: #2b2b2b
}

.branches-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 38px;
    margin-top: 55px;
    align-items: start;
}

.branch-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--black);
}

.branch {
    padding: 22px 26px;
    min-height: 86px;
    border: 1px solid #0e0e0e;
    cursor: pointer
}

.branch-item {
    background: var(--ink);
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all .18s;
    min-height: 88px;
    text-align: left;
    border: none;
    width: 100%;
    color: var(--white);
}

.branch-item:hover {
    background: var(--black);
    padding-left: 30px;
}

.branch-item__name {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    line-height: 1.05;
}

.branch-item__state {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--fog);
    letter-spacing: 0.04em;
}

.branch-item__count-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.branch-item__num {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--red);
    line-height: 1;
}

.branch-item__unit {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fog);
    margin-top: 2px;
}

.branch.active {
    background: var(--red);
    border-color: var(--red);
    padding-left: 30px;
}

.branch-top {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.branch b {
    font-weight: 900;
    text-transform: uppercase
}

.branch .count {
    font-size: 26px;
    color: var(--red)
}

.branch.active .count {
    color: #fff
}

.branch p {
    margin-top: 9px;
    font: 500 13px "League Spartan";
    color: #999
}

.branch.active p {
    color: #fff
}

.branch-detail {
    background: #181818;
    padding: 42px
}

.map {
    height: 260px;
    margin-top: 28px;
    background: #262626;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 22px 22px;
    position: relative
}

.pin {
    position: absolute;
    left: 50%;
    top: 42%;
    width: 32px;
    height: 32px;
    background: var(--red);
    transform: rotate(45deg);
    box-shadow: 0 0 0 12px rgba(224, 0, 0, .14)
}

.detail-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 35px
}

.detail-stats b {
    color: var(--red);
    font-size: 32px
}

.detail-stats span {
    display: block;
    margin-top: 8px;
    color: #999;
    font: 700 11px "League Spartan";
    letter-spacing: .24em;
    text-transform: uppercase
}

.branch-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px
}

.branch-actions a {
    background: #2d2d2d;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase
}

.wide {
    grid-column: 1/-1;
    background: var(--red) !important;
    text-align: center
}

.footer-cta {
    background: #101010;
    border-bottom: 4px solid var(--red);
    padding: 76px 0
}

.footer-cta .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.footer-cta h2 {
    font-size: 52px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.04em;
    text-transform: uppercase
}

@media (max-width:1100px) {

    .nav,
    .advisor,
    .header-cta {
        display: none
    }

    .hero-inner,
    .support-grid,
    .branches-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .hero-art {
        display: none
    }

    .cards-grid,
    .benefits,
    .stats {
        grid-template-columns: 1fr 1fr
    }

    .footer-cta .wrap {
        display: block
    }

    .footer-cta .actions {
        margin-top: 30px
    }

    .wrap,
    .header-inner,
    .hero-inner {
        width: min(100% - 36px, 1400px)
    }
    .right-cta {
        text-align: start;
    }

}

@media (max-width:700px) {

    .cards-grid,
    .benefits,
    .stats,
    .branch-list {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: auto
    }

    .hero-inner {
        min-height: auto;
        padding: 70px 0
    }

    .hero .actions {
        flex-direction: column
    }

    .title {
        font-size: 46px
    }

    .hero h1 {
        font-size: 54px
    }

    .footer-cta h2 {
        font-size: 38px
    }

    .logo {
        font-size: 14px
    }

    .stat b {
        font-size: 76px
    }

    .right-cta {
        text-align: start;
    }

}

.brand-logo{
    width: auto;
    height: 34px;
}

.map-container {
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 260px;
    border: 0;
    display: block;
}

@media (min-width: 768px) {
    .map-container iframe {
        height: 260px;
    }
}

.hero-scroll { position: relative; height: 200vh; background: #0a0a0a; }
.hero-scroll__sticky {
position: sticky; top: 0; height: 100vh;
display: flex; flex-direction: column; overflow: hidden; background: #0a0a0a;
}
.hero-scroll__layout {
position: absolute; inset: 0; bottom: 130px;
display: grid; grid-template-columns: 1fr 4fr; align-items: center;
padding: 80px 0 20px 56px; z-index: 2;
}
.hero-scroll__left {
    padding-right: 0;overflow: visible;position: relative;z-index: 10;opacity: 0;transform: translateY(50px);will-change: opacity, transform;
}

.hero-scroll__right { position: relative; height: 100%; min-height: 360px; overflow: visible; }
.hero-canvas {
position: absolute; top: 0; right: 0; bottom: 0;
width: 70vw; height: 100%; display: block; z-index: 2;
}
/* Barra de progreso roja arriba */
.hero-scroll__progress-bar {
position: fixed; top: 78px; left: 0; right: 0; height: 3px;
background: #ce0000; transform-origin: left; transform: scaleX(0); z-index: 100;
}

.hero-scroll__eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--red);
    margin-bottom: 20px;
    font-family: 'League Spartan', sans-serif;
    font-weight: 700;
    font-size: 14.4px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-scroll__eyebrow .dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(206, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.hero-scroll__left h1 {
    font-family: 'League Spartan', 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(44px, 7vw, 100px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: 50vw;
}

.hero-scroll__left h1 .hl {
    display: inline-block;
    position: relative;
    color: var(--white);
}

.hero-scroll__left h1 .hl::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    top: 22%;
    bottom: 8%;
    background: var(--red);
    z-index: -1;
    transform: skewX(-8deg);
}

.btn--premium {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--red);
    color: var(--white);
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 20px 44px;
    border: none;
    cursor: pointer;
    border-radius: 0;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
    box-shadow: 0 0 40px rgba(206, 0, 0, 0.4), 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: all 0.22s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn--premium {
    font-size: 13px;
    padding: 16px 32px;
}

.hero__marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    transform: translateY(-87vh);

    background: #ce0000;
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;

    will-change: transform;
}

.hero__marquee-track {
    display: inline-flex; gap: 32px;
    animation: marquee-scroll 36s linear infinite;
}
.hero__marquee:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-track span { display: inline-flex; align-items: center; gap: 32px; }
.hero__marquee-track b { color: rgba(255,255,255,0.3); font-weight: 400; font-size: 16px; }
.hero__marquee-track img {
height: 34px; width: auto; object-fit: contain;
vertical-align: middle; display: inline-block; flex-shrink: 0;
}
@keyframes marquee-scroll {
from { transform: translateX(0); }
to   { transform: translateX(-50%); }  /* -50% porque el contenido está duplicado */
}

@media (max-width: 768px) {

    .hero-scroll__left h1 {
        font-size: clamp(32px, 7vw, 56px);
    }

    /* Hero completamente estático en mobile */
    .hero-scroll {
        height: auto !important;
    }

    .hero-scroll__sticky {
        position: relative !important;
        height: auto !important;
        min-height: 100svh;
        overflow: visible;
    }

    .hero-scroll__layout {
        position: relative !important;
        inset: auto !important;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        padding: 100px 20px 20px;
        height: auto;
        bottom: auto;
    }

    .hero-scroll__left {
        grid-column: 1;
        grid-row: 1;
        text-align: start;
        max-width: 500px;
        margin: 0 auto;
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-scroll__right {
        grid-column: 1;
        grid-row: 2;
        min-height: 300px;
    }

    .hero-canvas {
        width: 100%;
        height: 100%;
        right: auto;
    }

    .hero-scroll__progress-bar {
        display: none;
    }

    .hero__marquee {
        position: relative !important;
        transform: none !important;
        bottom: auto;
        margin-top: 20px;
    }
}