
/* =========================================
   VAN AUTO — THE NEXT DIGITAL DRIVE
   HERO SECTION
   ========================================= */

.van-auto-offer {
    --van-orange: #ff5b00;
    --van-navy: #08172c;
    --van-muted: #667188;
font-family: var(--avalon-font-primary);
color: var(--van-navy);
    background: #fff;
}

.van-auto-offer *,
.van-auto-offer *::before,
.van-auto-offer *::after {
    box-sizing: border-box;
}

.van-auto-offer .van-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #fff;
}

.van-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.van-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.94) 22%,
        rgba(255,255,255,0.72) 35%,
        rgba(255,255,255,0.15) 51%,
        rgba(255,255,255,0) 65%
    );
}

.van-hero__container {
    width: min(100% - 100px, 1600px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.van-hero__content {
    width: min(100%, 660px);
    padding: 75px 0;
}

.van-hero__eyebrow {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 24px;
}

.van-auto-offer .van-hero__title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: clamp(45px, 5.2vw, 84px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 900;
    color: var(--van-navy);
}

.van-hero__title span {
    white-space: nowrap;
}

.van-hero__title em {
    color: var(--van-orange);
    font-style: normal;
}

.van-hero__accent {
    width: 65px;
    height: 4px;
    margin: 30px 0;
    background: var(--van-orange);
}

.van-auto-offer .van-hero__subtitle {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--van-navy);
}

.van-hero__description {
    max-width: 520px;
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 30px;
    color: var(--van-navy);
}

.van-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.van-auto-offer .van-hero__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    min-height: 56px;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}

.van-hero__button:hover {
    transform: translateY(-3px);
}

.van-auto-offer .van-hero__button--primary {
    background: var(--van-orange);
    color: #fff;
    box-shadow: 0 12px 28px rgba(255,91,0,.18);
}

.van-auto-offer .van-hero__button--secondary {
    background: rgba(255,255,255,.88);
    color: var(--van-navy);
    border: 1px solid #d7dde5;
}

.van-hero__play {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--van-navy);
    color: white;
    font-size: 11px;
}

/* SIX FEATURE COLUMNS */

.van-features {
    background: #fff;
    padding: 28px 35px 45px;
}

.van-features__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 1600px;
    margin: 0 auto;
}

.van-features__item {
    min-width: 0;
    padding: 12px 15px;
    text-align: center;
    border-right: 1px solid #e1e5eb;
}

.van-features__item:last-child {
    border-right: 0;
}

.van-features__icon {
    display: block;
    color: var(--van-orange);
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.van-auto-offer .van-features__item h3 {
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--van-navy);
}

.van-auto-offer .van-features__item p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: var(--van-muted);
}

/* TABLET */

@media (max-width: 1100px) {
    .van-hero__container {
        width: min(100% - 60px, 1000px);
    }

    .van-hero__content {
        width: min(100%, 540px);
    }

    .van-auto-offer .van-hero__title {
        font-size: clamp(42px, 5.5vw, 65px);
        letter-spacing: -2px;
    }

    .van-hero__background {
        background-position: 57% center;
    }

    .van-features__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 30px;
    }

    .van-features__item:nth-child(3) {
        border-right: 0;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .van-auto-offer .van-hero {
        min-height: 0;
        display: block;
        padding-top: 260px;
    }

    .van-hero__background {
        bottom: auto;
        height: 300px;
        background-size: cover;
        background-position: 66% center;
    }

    .van-hero__overlay {
        background: linear-gradient(
            0deg,
            #fff 0%,
            #fff 46%,
            rgba(255,255,255,.92) 60%,
            rgba(255,255,255,0) 78%
        );
    }

    .van-hero__container {
        width: calc(100% - 36px);
    }

    .van-hero__content {
        width: 100%;
        padding: 20px 0 45px;
    }

    .van-hero__eyebrow {
        font-size: 11px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .van-auto-offer .van-hero__title {
        font-size: clamp(32px, 8vw, 56px);
        letter-spacing: -1.5px;
    }

    .van-hero__accent {
        margin: 22px 0;
    }

    .van-auto-offer .van-hero__subtitle {
        font-size: 22px;
    }

    .van-hero__description {
        font-size: 15px;
    }

    .van-hero__actions {
        align-items: stretch;
    }

    .van-auto-offer .van-hero__button {
        min-height: 50px;
        font-size: 13px;
    }

    .van-features {
        padding: 20px 15px 35px;
    }

    .van-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .van-features__item {
        padding: 22px 8px;
        border-bottom: 1px solid #e1e5eb;
    }

    .van-features__item:nth-child(3) {
        border-right: 1px solid #e1e5eb;
    }

    .van-features__item:nth-child(even) {
        border-right: 0;
    }

    .van-features__item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 380px) {
    .van-auto-offer .van-hero__title {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .van-hero__actions {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .van-hero__button {
        transition: none;
    }
}



/* =========================================
   VAN AUTO — BACKGROUND IMAGE CORRECTION
   ========================================= */

/* Desktop */
@media (min-width: 1101px) {

    .van-auto-offer .van-hero {
        min-height: 0;
        aspect-ratio: 16 / 7;
    }

    .van-auto-offer .van-hero__background {
        background-size: 100% 100%;
        background-position: center center;
    }

    .van-auto-offer .van-hero__content {
        padding: 45px 0;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {

    .van-auto-offer .van-hero__background {
        background-size: auto 100%;
        background-position: 65% center;
    }
}


/* =========================================
   VAN AUTO — PREMIUM SVG FEATURE ICONS
   ========================================= */

.van-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    color: #ff5b00;
}

.van-features__icon svg {
    width: 43px;
    height: 43px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease,
                filter 0.3s ease;
}

.van-features__item {
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .van-features__item:hover {
        transform: translateY(-5px);
    }

    .van-features__item:hover svg {
        transform: scale(1.1);
        filter: drop-shadow(0 0 5px rgba(255,91,0,.22));
    }
}

@media (max-width: 767px) {
    .van-features__icon {
        width: 48px;
        height: 48px;
    }

    .van-features__icon svg {
        width: 36px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .van-features__item,
    .van-features__icon svg {
        transition: none;
    }
}




/* =========================================
   AVALON MASTER TEMPLATE — HERO TITLE FIX
   Keep the heading within the left text area.
   The original VAN Auto page remains unchanged.
   ========================================= */
.avalon-master-offer .van-hero__content {
    max-width: 600px;
}

.avalon-master-offer .van-hero__title {
    max-width: 600px;
    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.04;
    letter-spacing: -2px;
}

.avalon-master-offer .van-hero__title span {
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: balance;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .avalon-master-offer .van-hero__content,
    .avalon-master-offer .van-hero__title {
        max-width: 480px;
    }
    .avalon-master-offer .van-hero__title {
        font-size: clamp(36px, 4.5vw, 50px);
    }
}

@media (max-width: 767px) {
    .avalon-master-offer .van-hero__content,
    .avalon-master-offer .van-hero__title {
        max-width: 100%;
    }
    .avalon-master-offer .van-hero__title {
        font-size: clamp(32px, 8vw, 48px);
        letter-spacing: -1.5px;
    }
}

@media (max-width: 380px) {
    .avalon-master-offer .van-hero__title {
        font-size: 29px;
        letter-spacing: -1px;
    }
}
