/* Keep the theme control adjacent to the contact action after all header breakpoints. */
.site-header .desktop-nav {
    margin-right: 0
}

/* The header sits over every hero at the top, then becomes a solid navigation bar on scroll. */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    background: linear-gradient(180deg,rgb(8 10 14 / .86),rgb(8 10 14 / .54));
    border-bottom-color: transparent;
    transition: background-color var(--transition),border-color var(--transition),box-shadow var(--transition)
}

:root[data-theme="light"] .site-header {
    background: linear-gradient(180deg,rgb(244 246 250 / .88),rgb(244 246 250 / .62));
    border-bottom-color: transparent;
    box-shadow: none
}

.site-header.is-scrolled, .site-header:has(.mobile-navigation[open]) {
    background: var(--bg);
    border-bottom-color: var(--line-strong);
    box-shadow: 0 1px 0 rgb(0 0 0 / .08)
}

:root[data-theme="light"] .site-header.is-scrolled, :root[data-theme="light"] .site-header:has(.mobile-navigation[open]) {
    background: var(--bg);
    border-bottom-color: var(--line);
    box-shadow: 0 1px 0 rgb(23 32 51 / .08)
}

@media(hover:hover) and (pointer:fine) {
    :root[data-theme="light"] .kiosku-route > span:hover {
        border-color: #8D72B5;
        color: var(--text)
    }
}

/* Home hero: fixed proposition over the provided photographic carousel. */
.hero.hero-photo {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-height: 100dvh;
    padding: 0;
    overflow: hidden;
    background: #080a0e;
    color: #fff
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: inherit;
    align-items: center;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 120px;
    pointer-events: none
}

.hero-photo .hero-copy {
    max-width: 760px;
    animation: appear 600ms var(--ease) both;
    pointer-events: auto
}

.hero-photo .eyebrow {
    margin-bottom: 24px;
    color: #d4d9e2;
    font-size: 11px;
    letter-spacing: .15em;
    text-shadow: 0 1px 18px #000
}

.hero-photo h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(50px,min(5.4vw,8.1dvh),78px);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -.057em;
    text-shadow: 0 2px 30px rgb(0 0 0 / .45)
}

.hero-photo .hero-description {
    max-width: 650px;
    margin-top: 28px;
    color: #eef1f6;
    font-size: clamp(16px,1.35vw,18px);
    line-height: 1.72;
    text-shadow: 0 1px 20px #000
}

.hero-photo .hero-actions {
    gap: 14px;
    margin-top: 32px
}

.hero-photo .button {
    min-height: 54px;
    padding-inline: 23px
}

.hero-photo .button-secondary {
    border-color: rgb(255 255 255 / .62);
    background: rgb(8 10 14 / .26);
    color: #fff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .08)
}

    .hero-photo .button-secondary:hover {
        border-color: #fff;
        background: rgb(255 255 255 / .1);
        color: #fff
    }

.hero-carousel {
    position: absolute;
    inset: 0
}

.hero-carousel-stage, .hero-photo-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden
}

.hero-photo-slide {
    opacity: 0;
    transform: scale(1);
    transition: opacity 1200ms linear;
    pointer-events: none
}

    .hero-photo-slide.is-active {
        opacity: 1;
        z-index: 1
    }

        .hero-photo-slide.is-active img {
            transform: scale(1.025)
        }

    .hero-photo-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: saturate(.88) contrast(1.04) brightness(.82);
        transform: scale(1);
        transition: transform 8s var(--ease);
        -webkit-user-drag: none;
        user-select: none
    }

.hero-photo-slide-0 img {
    object-position: 60% center
}

.hero-photo-slide-1 img {
    object-position: 62% center
}

.hero-photo-slide-2 img {
    object-position: 64% center
}

.hero-photo-slide-3 img {
    object-position: 60% center
}

.hero-photo-slide-4 img {
    object-position: 62% center
}

.hero-carousel-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,rgb(5 7 10 / .97) 0%,rgb(5 7 10 / .9) 28%,rgb(5 7 10 / .66) 48%,rgb(5 7 10 / .2) 75%,rgb(5 7 10 / .08) 100%),linear-gradient(180deg,rgb(5 7 10 / .16) 0%,transparent 48%,rgb(5 7 10 / .88) 100%);
    pointer-events: none
}

.hero-carousel-controls {
    position: absolute;
    z-index: 3;
    left: max(var(--gutter),calc((100vw - var(--container))/2));
    bottom: 60px;
    display: flex;
    align-items: center;
    min-height: 44px;
    border-top: 1px solid rgb(255 255 255 / .22);
    color: #fff
}

    .hero-carousel-controls button {
        border: 0;
        background: transparent;
        color: inherit
    }

.carousel-current {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 190px;
    margin: 0;
    padding-right: 18px;
    color: #fff;
    line-height: 1
}

    .carousel-current span {
        color: #aeb7c4;
        
        font-variant-numeric: tabular-nums;
        letter-spacing: .08em;
    font-size: 11px
;}

    .carousel-current strong {
        
        font-weight: 600;
        letter-spacing: -.01em;
    font-size: 14px
;}

.hero-carousel-controls .carousel-toggle, .hero-carousel-controls .carousel-dot {
    display: grid;
    place-items: center;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 0
}

.hero-carousel-controls .carousel-dot {
    width: 52px
}

.hero-carousel-controls .carousel-toggle {
    grid-auto-flow: column;
    gap: 8px;
    width: auto;
    margin: 0 0 0 6px;
    padding-inline: 12px;
    border-right: 0;
    border-left: 1px solid rgb(255 255 255 / .22);
    
    font-size: 12px
;}

    .hero-carousel-controls .carousel-toggle .icon {
        width: 16px;
        height: 16px
    }

.hero-carousel-controls .carousel-dots {
    display: flex;
    align-items: center
}

.hero-carousel-controls .carousel-dot::after {
    display: block;
    width: 32px;
    height: 1px;
    border: 0;
    border-radius: 0;
    background: rgb(255 255 255 / .34);
    transition: width var(--transition),background-color var(--transition)
}

.hero-carousel-controls .carousel-dot.is-active {
    box-shadow: none;
    background: transparent
}

    .hero-carousel-controls .carousel-dot.is-active::after {
        width: 40px;
        background: #fff
    }

.hero-capabilities {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: #dfe4ec;
    
    font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.5;
    pointer-events: auto;
    font-size: 14px
;}

    .hero-capabilities i {
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: var(--accent-strong);
        flex: 0 0 auto
    }

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 18px;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    transform: translateX(-50%);
    border: 1px solid rgb(255 255 255 / .32);
    border-radius: 50%;
    background: rgb(5 7 10 / .18);
    color: #fff;
    pointer-events: auto;
    transition: background-color var(--transition),border-color var(--transition),transform var(--transition)
}

    .hero-scroll-cue:hover {
        border-color: rgb(255 255 255 / .72);
        background: rgb(5 7 10 / .36);
        color: #fff;
        transform: translate(-50%,-3px)
    }

    .hero-scroll-cue .icon {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
        animation: scroll-cue 1.8s var(--ease) infinite
    }

.scroll-anchor {
    display: block
}

.hero-brand-bridge {
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt)
}

    .hero-brand-bridge p {
        min-height: 68px;
        display: flex;
        align-items: center;
        color: var(--text-muted);
        
        letter-spacing: .01em;
    font-size: 15px
;}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

@media(hover:hover) and (pointer:fine) {
    .hero-carousel-controls .carousel-toggle:hover {
        color: var(--accent-strong)
    }

    .hero-carousel-controls .carousel-dot:hover::after {
        background: #fff
    }
}

@media(max-width:900px) {
    .hero-inner {
        padding-top: calc(var(--header-height) + 16px);
        padding-bottom: 150px
    }

    .hero-photo h1 {
        font-size: clamp(46px,7.3vw,64px)
    }

    .hero-photo .hero-description {
        max-width: 570px
    }

    .hero-carousel-stage {
        height: 100%
    }

    .hero-carousel-shade {
        background: linear-gradient(90deg,rgb(5 7 10 / .96) 0%,rgb(5 7 10 / .83) 48%,rgb(5 7 10 / .3) 100%),linear-gradient(180deg,rgb(5 7 10 / .14) 0%,transparent 40%,rgb(5 7 10 / .9) 100%)
    }
}

@media(max-width:700px) {
    .hero-inner {
        padding-top: calc(var(--header-height) + 18px);
        padding-bottom: 160px;
        align-items: flex-start
    }

    .hero-photo .hero-copy {
        width: 100%
    }

    .hero-photo .eyebrow {
        margin-bottom: 20px;
        font-size: 9px
    }

    .hero-photo h1 {
        max-width: 560px;
        font-size: clamp(40px,min(12vw,6.5dvh),56px);
        line-height: 1.04;
        letter-spacing: -.052em
    }

    .hero-desktop-break {
        display: none
    }

    .hero-photo .hero-description {
        max-width: 500px;
        margin-top: 22px;
        font-size: 15px;
        line-height: 1.65
    }

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

    .hero-photo .button {
        width: 100%;
        min-height: 52px;
        padding-inline: 18px
    }

    .hero-photo-slide img {
        object-position: right center;
        filter: saturate(.84) contrast(1.04) brightness(.72)
    }

    .hero-carousel-shade {
        background: linear-gradient(90deg,rgb(5 7 10 / .91) 0%,rgb(5 7 10 / .7) 70%,rgb(5 7 10 / .4) 100%),linear-gradient(180deg,rgb(5 7 10 / .4) 0%,rgb(5 7 10 / .36) 48%,rgb(5 7 10 / .95) 100%)
    }

    .hero-carousel-controls {
        left: var(--gutter);
        bottom: 88px
    }

    .carousel-current {
        display: none
    }

    .hero-carousel-controls .carousel-dot {
        width: 42px
    }

    .hero-carousel-controls .carousel-toggle {
        width: 44px;
        margin-left: 4px;
        padding: 0
    }

        .hero-carousel-controls .carousel-toggle span {
            display: none
        }

    .hero-capabilities {
        bottom: 18px;
        flex-wrap: wrap;
        gap: 5px;
        padding-right: 56px;
        font-size: 9px
    }

    .hero-brand-bridge p {
        min-height: 62px;
        font-size: 12px
    }
}

@media(max-width:380px) {
    .hero-inner {
        padding-top: calc(var(--header-height) + 14px)
    }

    .hero-photo h1 {
        font-size: 40px
    }

    .hero-photo .hero-description {
        font-size: 14px
    }

    .hero-carousel-controls .carousel-dot {
        width: 39px
    }
}

/* Light mode is a full photographic reinterpretation, not a dark island under a light header. */
:root[data-theme="light"] .hero.hero-photo {
    background: #E9EDF3;
    color: var(--text)
}

:root[data-theme="light"] .hero-photo-slide img {
    filter: saturate(.94) contrast(1.04) brightness(.99)
}

:root[data-theme="light"] .hero-carousel-shade {
    background: linear-gradient(90deg,rgb(233 237 243 / .92) 0%,rgb(233 237 243 / .76) 32%,rgb(233 237 243 / .38) 50%,rgb(233 237 243 / .06) 76%,transparent 100%),linear-gradient(180deg,rgb(233 237 243 / .02) 0%,transparent 56%,rgb(233 237 243 / .56) 100%)
}

:root[data-theme="light"] .hero-photo .eyebrow {
    color: #4D5B6F;
    text-shadow: none
}

:root[data-theme="light"] .hero-photo h1 {
    color: #172033;
    text-shadow: none
}

:root[data-theme="light"] .hero-photo .hero-description {
    color: #334155;
    text-shadow: none
}

:root[data-theme="light"] .hero-photo .button-secondary {
    border-color: #728095;
    background: rgb(255 255 255 / .48);
    color: #172033;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .7)
}

    :root[data-theme="light"] .hero-photo .button-secondary:hover {
        border-color: #172033;
        background: rgb(255 255 255 / .75);
        color: #172033
    }

:root[data-theme="light"] .hero-carousel-controls {
    border-top-color: rgb(23 32 51 / .24);
    color: #172033
}

:root[data-theme="light"] .carousel-current {
    color: #172033
}

    :root[data-theme="light"] .carousel-current span,
    :root[data-theme="light"] .hero-carousel-controls .carousel-dot::after {
        background: rgb(23 32 51 / .28)
    }

:root[data-theme="light"] .hero-carousel-controls .carousel-dot.is-active {
    box-shadow: none;
    background: transparent
}

    :root[data-theme="light"] .hero-carousel-controls .carousel-dot.is-active::after {
        background: var(--violet-deep)
    }

:root[data-theme="light"] .hero-carousel-controls .carousel-toggle {
    border-left-color: rgb(23 32 51 / .24)
}

:root[data-theme="light"] .hero-capabilities {
    color: #334155
}

:root[data-theme="light"] .hero-scroll-cue {
    border-color: rgb(23 32 51 / .28);
    background: rgb(255 255 255 / .2);
    color: #172033
}

    :root[data-theme="light"] .hero-scroll-cue:hover {
        border-color: rgb(23 32 51 / .72);
        background: rgb(255 255 255 / .54);
        color: #172033
    }

:root[data-theme="light"] .hero-brand-bridge {
    background: #FFFFFF;
    border-color: #D8DEE8
}

    :root[data-theme="light"] .hero-brand-bridge p {
        color: #526175
    }

@media(hover:hover) and (pointer:fine) {
    :root[data-theme="light"] .hero-carousel-controls .carousel-dot:hover::after {
        background: #172033
    }
}

@media(max-width:900px) {
    :root[data-theme="light"] .hero-carousel-shade {
        background: linear-gradient(90deg,rgb(233 237 243 / .82) 0%,rgb(233 237 243 / .56) 48%,rgb(233 237 243 / .1) 100%),linear-gradient(180deg,rgb(233 237 243 / .16) 0%,transparent 48%,rgb(233 237 243 / .54) 100%)
    }
}

@media(max-width:700px) {
    :root[data-theme="light"] .hero-photo-slide img {
        filter: saturate(.92) contrast(1.05) brightness(.98)
    }

    :root[data-theme="light"] .hero-carousel-shade {
        background: linear-gradient(90deg,rgb(233 237 243 / .82) 0%,rgb(233 237 243 / .58) 70%,rgb(233 237 243 / .12) 100%),linear-gradient(180deg,rgb(233 237 243 / .22) 0%,rgb(233 237 243 / .08) 48%,rgb(233 237 243 / .68) 100%)
    }
}

/* A tighter shared rhythm keeps related content grouped without compressing controls. */
:root {
    --section-space: 96px
}

.section-heading .eyebrow {
    margin-bottom: 20px
}

.section-heading > p:last-child:not(.eyebrow) {
    margin-top: 20px
}

.section-heading-row {
    gap: 56px;
    margin-bottom: 48px
}

.solutions-teaser {
    padding-block: var(--section-space)
}

@media(max-width:1150px) {
    :root {
        --section-space: 80px
    }
}

@media(max-width:900px) {
    :root {
        --section-space: 72px
    }

    .solutions-teaser {
        padding-bottom: var(--section-space)
    }
}

@media(max-width:700px) {
    :root {
        --section-space: 56px
    }

    .solutions-teaser {
        padding-top: 0;
        padding-bottom: var(--section-space)
    }
}

@media(prefers-reduced-motion:reduce) {
    .hero-photo .hero-copy {
        animation: none
    }

    .hero-photo-slide, .hero-photo-slide img, .hero-carousel-controls .carousel-dot::after {
        transition: none !important;
        transform: none !important
    }
}

