
/* =====================================
   PREMIUM B2B HERO FADE SLIDER
===================================== */

.hero-section {
    width: 100%;
    padding: clamp(42px, 6vw, 85px) 24px 30px;
    background: var(--body-color);
    color: var(--text-color);
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.hero-slides {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

/* Each slide occupies the same grid area */

.hero-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(30px, 5vw, 75px);

    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.65s ease,
        visibility 0s linear 0.65s;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;

    transition:
        opacity 0.65s ease,
        visibility 0s;
}

/* CONTENT */

.hero-section .hero-details {
    min-width: 0;
}

.hero-section .hero-tag {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.75;
}

.hero-section .title {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

.hero-section .title span {
    display: block;
}

.hero-section .subtitle {
    margin: 19px 0 0;
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 500;
    line-height: 1.5;
}

.hero-section .description {
    max-width: 540px;
    margin: 18px 0 28px;
    font-size: 14px;
    line-height: 1.9;
    opacity: 0.82;
}

/* BUTTONS */

.hero-section .buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-section .button {
    min-height: 49px;
    padding: 12px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid var(--text-color);
    border-radius: 4px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.hero-section .order-now {
    background: var(--text-color);
    color: var(--body-color);
}

.hero-section .order-now:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

.hero-section .contact-us {
    background: transparent;
    color: var(--text-color);
}

.hero-section .contact-us:hover {
    background: var(--nav-colr);
    transform: translateY(-2px);
}

/* FEATURES */

.hero-section .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 26px;
}

.hero-section .hero-features span {
    font-size: 11px;
    line-height: 1.8;
    font-weight: 500;
    opacity: 0.8;
}

/* IMAGE */

.hero-section .hero-image-wrapper {
    width: 100%;
    min-width: 0;
    max-width: 540px;
    justify-self: end;
    overflow: hidden;
    border-radius: 4px;
    background: var(--nav-colr);
}

.hero-section .hero-image {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 5.2;
    object-fit: cover;
}

@media (hover: hover) and (pointer: fine) {
    .hero-section .hero-image {
        transition: transform 0.6s ease;
    }

    .hero-section .hero-image-wrapper:hover .hero-image {
        transform: scale(1.025);
    }
}

/* SLIDER CONTROLS */

.hero-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.hero-slider-dots,
.hero-slider-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-section .hero-dot {
    width: 24px;
    height: 24px;
    padding: 0;
    display: grid;
    place-items: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.hero-section .hero-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    display: block;
    border-radius: 50%;
    background: var(--text-color);
    opacity: 0.3;
    transition:
        width 0.25s ease,
        border-radius 0.25s ease,
        opacity 0.25s ease;
}

.hero-section .hero-dot.is-active::before {
    width: 23px;
    border-radius: 5px;
    opacity: 1;
}

.hero-section .hero-slider-arrows {
    gap: 9px;
}

.hero-section .hero-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color, currentColor);
    border-radius: 50%;
    background: transparent;
    color: var(--text-color);
    font: inherit;
    font-size: 18px;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.hero-section .hero-arrow:hover {
    background: var(--text-color);
    color: var(--body-color);
}

.hero-section button:focus-visible,
.hero-section a:focus-visible {
    outline: 2px solid var(--text-color);
    outline-offset: 4px;
}

.hero-slider-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* TABLET */

@media (max-width: 900px) {
    .hero-section {
        padding: 50px 22px 26px;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 28px;
    }

    .hero-section .title {
        font-size: clamp(31px, 4.5vw, 44px);
        letter-spacing: -0.8px;
    }

    .hero-section .description {
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-section .hero-features {
        gap: 7px 12px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .hero-section {
        padding: 38px 20px 25px;
    }

    .hero-slide {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }

    .hero-section .hero-tag {
        margin-bottom: 15px;
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .hero-section .title {
        font-size: clamp(32px, 8vw, 44px);
        line-height: 1.15;
        letter-spacing: -0.7px;
    }

    .hero-section .subtitle {
        margin-top: 13px;
        font-size: 18px;
    }

    .hero-section .description {
        margin: 14px 0 23px;
        font-size: 13px;
        line-height: 1.85;
    }

    .hero-section .buttons {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .hero-section .button {
        width: 100%;
        min-height: 48px;
    }

    .hero-section .hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 21px;
    }

    .hero-section .hero-image-wrapper {
        max-width: none;
        justify-self: stretch;
    }

    .hero-section .hero-image {
        aspect-ratio: 4 / 3;
    }

    .hero-slider-controls {
        margin-top: 22px;
    }

    .hero-section .hero-arrow {
        width: 39px;
        height: 39px;
    }
}

/* SMALL MOBILE */

@media (max-width: 360px) {
    .hero-section {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hero-section .title {
        font-size: 30px;
    }

    .hero-section .hero-tag {
        letter-spacing: 0.8px;
    }
}

/* ACCESSIBILITY: REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-section .button,
    .hero-section .hero-dot::before,
    .hero-section .hero-arrow,
    .hero-section .hero-image {
        transition: none !important;
    }
}
