/* Home hero v2: full-viewport background and editable overlay copy.
   Original black/VI-green rectangular buttons come from css/index.css. */
.page-home #site-header {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
}

.page-home .site-header:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.page-home .site-header:not(.is-scrolled) .site-header__logo-default {
    display: block;
}

.page-home .site-header:not(.is-scrolled) .site-header__logo-scrolled {
    display: none;
}

.page-home .site-header__menu a,
.page-home .site-header__lang {
    color: #fff;
}

.page-home .site-header__menu a:hover,
.page-home .site-header__menu a:focus-visible,
.page-home .site-header__lang a:hover,
.page-home .site-header__lang a:focus-visible {
    color: #a0eb1d;
}

.page-home .site-header__toggle {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
}

.page-home .site-header__toggle span {
    background: #fff;
}

.hero-robot,
.hero-robot .hero-fullscreen-swiper,
.hero-robot .hero-fullscreen__slide,
.hero-robot .hero-fullscreen__inner {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    max-height: none;
}

.hero-robot {
    isolation: isolate;
    background: #080a0d;
    color: #fff;
}

.hero-robot .hero-fullscreen__picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-robot .hero-fullscreen__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
}

.hero-robot .hero-fullscreen__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(88px, 10vh, 116px) 32px 0;
    text-align: center;
}

.hero-robot .hero-fullscreen__content {
    width: min(100%, 1100px);
    max-width: none;
}

.hero-robot .hero-fullscreen__label {
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.13em;
    color: #fff;
}

.hero-robot .hero-fullscreen__label::before {
    display: block;
    width: 36px;
    height: 2px;
    background: #a0eb1d;
}

.hero-robot .hero-fullscreen__title {
    margin-bottom: 12px;
    font-size: clamp(34px, 3vw, 50px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-robot .hero-fullscreen__title-main,
.hero-robot .hero-fullscreen__title-sub {
    display: inline;
    color: #fff;
}

.hero-robot .hero-fullscreen__desc {
    max-width: 1060px;
    margin: 0 auto 18px;
    font-size: 13px;
    line-height: 1.55;
    color: #fff;
    text-wrap: pretty;
}

.hero-robot .hero-fullscreen__label,
.hero-robot .hero-fullscreen__title,
.hero-robot .hero-fullscreen__desc {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-robot .hero-fullscreen__actions {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: clamp(12px, 1.5vw, 28px);
}

/* Keep the original button colors, shape, hover, and sweeping shine. */
.hero-robot .hero-fullscreen__btn:focus-visible {
    outline: 2px solid #a0eb1d;
    outline-offset: 5px;
}

.hero-robot .hero-fullscreen__footer {
    position: absolute;
    inset: auto 32px 30px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin: 0;
    text-align: left;
    pointer-events: none;
}

.hero-robot .hero-fullscreen__stat-num {
    margin-bottom: 5px;
    font-size: 28px;
    color: #a0eb1d;
}

.hero-robot .hero-fullscreen__stat-text,
.hero-robot .hero-fullscreen__location {
    font-size: 10px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-robot .hero-fullscreen__location {
    display: block;
    text-align: right;
}

.hero-robot.is-single-slide .hero-fullscreen__prev,
.hero-robot.is-single-slide .hero-fullscreen__next,
.hero-robot.is-single-slide .hero-fullscreen__pagination,
.hero-robot [hidden] {
    display: none !important;
}

@media (max-width: 1199px) {
    .page-home .site-header__nav {
        background: #15181d;
        border-color: rgba(255, 255, 255, 0.12);
    }
}

@media (max-width: 767px) {
    .hero-robot .hero-fullscreen__inner {
        padding: 86px 20px 0;
    }

    .hero-robot .hero-fullscreen__label {
        margin-bottom: 12px;
        font-size: 9px;
        gap: 8px;
        letter-spacing: 0.08em;
    }

    .hero-robot .hero-fullscreen__label::before {
        width: 24px;
    }

    .hero-robot .hero-fullscreen__title {
        margin-bottom: 12px;
        font-size: clamp(28px, 7.2vw, 40px);
        line-height: 1.06;
    }

    .hero-robot .hero-fullscreen__title-main,
    .hero-robot .hero-fullscreen__title-sub {
        display: block;
    }

    .hero-robot .hero-fullscreen__desc {
        max-width: 450px;
        margin-bottom: 14px;
        font-size: 11px;
        line-height: 1.6;
    }

    .hero-robot .hero-fullscreen__actions {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hero-robot .hero-fullscreen__btn {
        padding: 12px 14px;
        font-size: 10px;
        letter-spacing: 0.025em;
    }

    .hero-robot .hero-fullscreen__footer {
        inset: auto 20px 20px;
    }

    .hero-robot .hero-fullscreen__stat-num {
        font-size: 24px;
    }

    .hero-robot .hero-fullscreen__stat-text,
    .hero-robot .hero-fullscreen__location {
        font-size: 8px;
        letter-spacing: 0.07em;
    }
}

@media (max-width: 374px) {
    .hero-robot .hero-fullscreen__btn {
        padding-right: 10px;
        padding-left: 10px;
    }
}

@media (max-height: 650px) {
    .hero-robot .hero-fullscreen__inner {
        padding-top: 78px;
    }

    .hero-robot .hero-fullscreen__label {
        margin-bottom: 8px;
    }

    .hero-robot .hero-fullscreen__title {
        margin-bottom: 10px;
        font-size: clamp(26px, 3.5vw, 36px);
    }

    .hero-robot .hero-fullscreen__desc {
        margin-bottom: 10px;
    }

    .hero-robot .hero-fullscreen__footer {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-robot *,
    .hero-robot *::before,
    .hero-robot *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Home hero v3: three image scenes, synchronized progress and header contrast. */
.hero-robot { --hero-control-ink: #fff; touch-action: pan-y; }
.hero-robot[data-controls-theme="light"] { --hero-control-ink: #17221c; }
.hero-robot .swiper-wrapper { display: block; height: 100%; transform: none !important; }
.hero-robot .hero-scene {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 950ms ease, visibility 0s linear 950ms;
}
.hero-robot .hero-scene.is-active {
    z-index: 1; opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity 950ms ease, visibility 0s;
}
.hero-robot .hero-scene--outdoor { background: #d5e6ee; }
.hero-robot .hero-scene--family { background: #33251c; }
.hero-robot .hero-scene--family .hero-fullscreen__inner {
    justify-content: flex-start; align-items: center;
    padding: 110px clamp(32px, 5vw, 72px) 100px; text-align: left;
}
.hero-robot .hero-scene--family .hero-fullscreen__content { width: 41%; max-width: 500px; }
.hero-robot .hero-scene--family .hero-fullscreen__label,
.hero-robot .hero-scene--family .hero-fullscreen__actions { justify-content: flex-start; }
.hero-robot .hero-scene--family .hero-fullscreen__title { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.08; }
.hero-robot .hero-scene--family .hero-fullscreen__title-main,
.hero-robot .hero-scene--family .hero-fullscreen__title-sub { display: block; }
.hero-robot .hero-scene--family .hero-fullscreen__desc { margin: 0 0 24px; max-width: 430px; line-height: 1.7; }
.hero-robot .hero-scene--family .hero-fullscreen__image { object-position: 58% center; }
.hero-robot .hero-scene--outdoor .hero-fullscreen__label,
.hero-robot .hero-scene--outdoor .hero-fullscreen__title-main,
.hero-robot .hero-scene--outdoor .hero-fullscreen__title-sub,
.hero-robot .hero-scene--outdoor .hero-fullscreen__desc,
.hero-robot .hero-scene--outdoor .hero-fullscreen__stat-text,
.hero-robot .hero-scene--outdoor .hero-fullscreen__location { color: #17221c; text-shadow: none; }
.hero-robot .hero-scene--outdoor .hero-fullscreen__stat-num { color: #314715; }
.page-home .site-header { transition: background-color 350ms ease, border-color 350ms ease; }
.page-home .site-header:not(.is-scrolled) .site-header__logo-default { display: none; }
.page-home .site-header:not(.is-scrolled) .site-header__logo-scrolled { display: block; }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) { border-bottom-color: rgba(15, 30, 23, 0.10); }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__logo-default { display: block; }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__logo-default { filter: brightness(0); }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__logo-scrolled { display: none; }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__menu a,
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__lang { color: #17221c; }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__toggle { border-color: rgba(15, 30, 23, 0.36); }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__toggle span { background: #17221c; }
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__menu a:hover,
.page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__menu a:focus-visible { color: #496b10; }
.hero-robot .hero-fullscreen__prev,
.hero-robot .hero-fullscreen__next {
    z-index: 5; top: 50%; width: 40px; height: 64px;
    display: grid; place-items: center; border: 0; border-radius: 0;
    color: var(--hero-control-ink); background: rgba(120, 125, 121, 0.10);
    transform: translateY(-50%); transition: color 350ms ease, background-color 200ms ease;
}
.hero-robot .hero-fullscreen__prev { left: 0; }
.hero-robot .hero-fullscreen__next { right: 0; }
.hero-robot .hero-fullscreen__prev svg,
.hero-robot .hero-fullscreen__next svg { width: 24px; height: 24px; }
.hero-robot .hero-fullscreen__prev:hover,
.hero-robot .hero-fullscreen__next:hover { background: rgba(120, 125, 121, 0.24); }
.hero-progress {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 6; display: flex; align-items: center; gap: 18px;
    color: var(--hero-control-ink); transition: color 350ms ease;
}
.hero-progress__segments { display: flex; gap: 8px; }
.hero-progress__button {
    display: flex; align-items: center; width: 58px; height: 30px;
    padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer;
}
.hero-progress__track { display: block; position: relative; width: 100%; height: 2px; overflow: hidden; border-radius: 2px; }
.hero-progress__track::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .30; }
.hero-progress__fill { position: absolute; inset: 0; display: block; background: currentColor; transform: scaleX(var(--hero-progress, 0)); transform-origin: left; }
.hero-progress__pause {
    display: grid; place-items: center; width: 30px; height: 30px;
    padding: 0; border: 1px solid currentColor; border-radius: 50%;
    background: transparent; color: inherit; cursor: pointer;
}
.hero-progress__pause svg { width: 13px; height: 13px; grid-area: 1 / 1; }
.hero-progress__play-icon { display: none; }
.hero-progress__pause.is-paused .hero-progress__play-icon { display: block; }
.hero-progress__pause.is-paused .hero-progress__pause-icon { display: none; }
.hero-robot button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 1199px) {
    .page-home .site-header[data-hero-theme="light"]:not(.is-scrolled) .site-header__nav { background: #f6f7f5; border-color: rgba(15, 30, 23, .10); }
}
@media (max-width: 767px) {
    .hero-robot .hero-scene--family .hero-fullscreen__inner {
        align-items: flex-start; justify-content: center; padding: 86px 20px 0; text-align: center;
    }
    .hero-robot .hero-scene--family .hero-fullscreen__content { width: 100%; max-width: none; }
    .hero-robot .hero-scene--family .hero-fullscreen__label,
    .hero-robot .hero-scene--family .hero-fullscreen__actions { justify-content: center; }
    .hero-robot .hero-scene--family .hero-fullscreen__title { font-size: clamp(28px, 7.2vw, 40px); line-height: 1.06; }
    .hero-robot .hero-scene--family .hero-fullscreen__desc { margin: 0 auto 14px; line-height: 1.6; }
    .hero-robot .hero-scene--family .hero-fullscreen__image { object-position: 64% center; }
    .hero-robot .hero-scene--family .hero-fullscreen__picture::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(180deg, rgba(24, 14, 9, .66) 0%, rgba(24, 14, 9, .32) 29%, transparent 47%);
    }
    .hero-robot .hero-scene--outdoor .hero-fullscreen__image { object-position: 53% center; }
    .hero-robot .hero-fullscreen__footer { bottom: 72px; }
    .hero-robot .hero-fullscreen__stat-text { display: block; max-width: 140px; }
    .hero-progress { bottom: 24px; gap: 15px; }
    .hero-progress__button { width: 48px; }
    .hero-robot .hero-fullscreen__prev,
    .hero-robot .hero-fullscreen__next { width: 25px; height: 48px; }
    .hero-robot .hero-fullscreen__prev svg,
    .hero-robot .hero-fullscreen__next svg { width: 18px; }
}
