/* MASTER-PACK 0.7.103 — structural visual baseline after owner review 2026-08-18.
 * This layer intentionally comes after 0.7.99 / 0.7.102.
 * It fixes geometry and usability only; richer Yucca-inspired choreography is a later phase.
 */

:root {
    --mp103-header-height: 76px;
    --mp103-ease: cubic-bezier(.22, .78, .22, 1);
}

/* Native page scroll is authoritative. Horizontal rails may snap only on X. */
html,
html.mp-motion-capable,
.mp-design-0799 {
    scroll-snap-type: none !important;
}

.mp-design-0799 .mp-screen,
.mp-design-0799 [data-mp-section] {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

/* --------------------------------------------------------------------------
   GLOBAL HEADER — ONE GEOMETRY ON EVERY MANAGED ROUTE
   -------------------------------------------------------------------------- */
.mp-design-0799 .mp-site-header,
.mp-design-0799 .mp-site-header.is-scrolled {
    --mp-header-height: var(--mp103-header-height);
    min-height: var(--mp103-header-height) !important;
    height: var(--mp103-header-height);
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: clamp(18px, 2.3vw, 38px) !important;
    padding: 10px clamp(18px, 3.5vw, 58px) !important;
    background: rgba(255, 255, 255, .965) !important;
    transition: box-shadow .28s ease, background .28s ease !important;
}

.mp-design-0799 .mp-site-header.is-scrolled {
    box-shadow: 0 12px 40px rgba(12, 29, 39, .08) !important;
}

.mp-design-0799 .mp-site-header .mp-main-nav {
    width: 100%;
    min-width: 0;
    margin-left: 0 !important;
    justify-self: stretch;
    justify-content: flex-end !important;
}

.mp-design-0799 .mp-header-tools {
    justify-self: end;
    flex: 0 0 auto;
}

.mp-design-0799 .mp-header-catalogue,
.mp-design-0799 .mp-discovery-trigger.mp-header-catalogue {
    min-width: 110px;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   CATALOGUE DRAWER — MUST NEVER ENTER NORMAL DOCUMENT FLOW
   -------------------------------------------------------------------------- */
.mp-design-0799 .mp-discovery-shell {
    position: fixed !important;
    inset: 0 !important;
    z-index: 500 !important;
    display: block !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.mp-design-0799 .mp-discovery-shell.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* --------------------------------------------------------------------------
   RU / EN HOME — SAME FULL-SCALE HERO LANGUAGE AS THE SELECTED UA HOME
   -------------------------------------------------------------------------- */
.mp-design-0799.mp-localized-home #company.mp-hero {
    position: relative;
    min-height: 100svh !important;
    height: auto !important;
    display: block !important;
    overflow: hidden;
    padding: var(--mp103-header-height) 0 0 !important;
    color: #fff;
    background: #101d25;
}

.mp-design-0799.mp-localized-home #company.mp-hero::before {
    position: absolute;
    z-index: 1;
    inset: var(--mp103-header-height) 0 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(6, 13, 18, .88) 0%, rgba(6, 13, 18, .72) 34%, rgba(6, 13, 18, .34) 62%, rgba(6, 13, 18, .11) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .30) 0%, transparent 42%);
    pointer-events: none;
}

.mp-design-0799.mp-localized-home .mp-hero-media-carousel {
    position: absolute;
    z-index: 0;
    inset: var(--mp103-header-height) 0 0;
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - var(--mp103-header-height));
    overflow: hidden;
}

.mp-design-0799.mp-localized-home .mp-hero-visual {
    position: absolute !important;
    inset: 0 !important;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.mp-design-0799.mp-localized-home .mp-hero-visual[hidden] {
    display: none !important;
}

.mp-design-0799.mp-localized-home .mp-hero-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
}

.mp-design-0799.mp-localized-home .mp-hero-copy-carousel {
    position: relative;
    z-index: 2;
    width: min(860px, 70vw) !important;
    max-width: none !important;
    min-height: calc(100svh - var(--mp103-header-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 !important;
    padding: clamp(68px, 8vw, 118px) clamp(26px, 5.2vw, 92px) clamp(118px, 13vh, 164px);
}

.mp-design-0799.mp-localized-home .mp-hero-slide-stack {
    width: 100%;
    min-height: 0 !important;
}

.mp-design-0799.mp-localized-home .mp-hero-slide:not([hidden]) {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 100%;
}

.mp-design-0799.mp-localized-home #company .mp-eyebrow {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 12px;
    letter-spacing: .18em;
}

.mp-design-0799.mp-localized-home #company .mp-hero-title,
.mp-design-0799.mp-localized-home #company h1 {
    max-width: 790px;
    margin: 0 0 24px;
    color: #fff !important;
    font-size: clamp(46px, 5vw, 78px) !important;
    font-weight: 520;
    line-height: .98 !important;
    letter-spacing: -.045em !important;
    text-wrap: balance;
}

.mp-design-0799.mp-localized-home #company .mp-lead {
    max-width: 680px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .88) !important;
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.56;
}

.mp-design-0799.mp-localized-home #company .mp-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    max-width: 760px;
    margin: 30px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .28);
}

.mp-design-0799.mp-localized-home #company .mp-hero-proof li {
    min-height: 0;
    padding: 0;
    color: rgba(255, 255, 255, .76);
    background: transparent;
    border: 0;
    font-size: 12px;
}

.mp-design-0799.mp-localized-home .mp-hero-media-meta {
    position: absolute;
    z-index: 4;
    right: clamp(24px, 4vw, 72px);
    bottom: 88px;
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, .82);
}

.mp-design-0799.mp-localized-home .mp-hero-controls {
    position: absolute;
    z-index: 4;
    right: clamp(24px, 4vw, 72px);
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   PRODUCT RAILS — HORIZONTAL ONLY, BOUNDED INDICATORS, OPTICAL MEDIA CENTRE
   -------------------------------------------------------------------------- */
.mp-design-0799 .mp-slider {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x pan-y;
}

.mp-design-0799 .mp-slide-media > img:first-child {
    translate: 0 var(--mp103-subject-shift, 0px);
}

.mp-design-0799 .mp-slider-pagination,
.mp-design-0799 .mp-slider-dots {
    width: auto;
    max-width: 210px !important;
    overflow: visible !important;
}

.mp103-rail-indicator {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
}

.mp103-rail-indicator span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: rgba(22, 31, 37, .24);
    border-radius: 999px;
    transition: width .2s ease, background .2s ease;
}

.mp103-rail-indicator span.is-active {
    width: 24px;
    flex-basis: 24px;
    background: #17242c;
}

.mp103-rail-position {
    min-width: 52px;
    color: #68737a;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .08em;
    white-space: nowrap;
}

/* SVG controls are optically centred independent of the active font. */
.mp-design-0799 .mp-hero-arrow svg,
.mp-design-0799 .mp-slider-controls button svg,
.mp-design-0799 .mp-slider-arrow svg,
.mp-design-0799 .mp-slider-prev svg,
.mp-design-0799 .mp-slider-next svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   MARQUEE — ONE MEASURED CYCLE, ENOUGH COPIES TO COVER WIDE VIEWPORTS
   -------------------------------------------------------------------------- */
.mp0799-marquee-track.mp103-marquee-ready {
    animation-name: mp103-marquee !important;
    animation-duration: 34s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
}

@keyframes mp103-marquee {
    to { transform: translate3d(calc(var(--mp103-marquee-cycle, 1200px) * -1), 0, 0); }
}

/* --------------------------------------------------------------------------
   CONTACT MAP + FOOTER — COMPLETE, READABLE CORPORATE FINISH
   -------------------------------------------------------------------------- */
.mp-design-0799 .mp-map-shell {
    background: #dfe5e4;
}

.mp-design-0799 .mp-map-shell iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: block;
    border: 0;
}

.mp-design-0799 .mp-site-footer-grid {
    grid-template-columns: minmax(260px, .9fr) minmax(330px, 1.15fr) minmax(250px, .8fr);
    gap: clamp(30px, 4vw, 72px);
}

.mp-design-0799 .mp-site-footer-brand p {
    color: #aeb9bf;
    font-size: 14px !important;
    line-height: 1.55;
}

.mp-design-0799 .mp-site-footer-contact {
    min-width: 0;
}

.mp-design-0799 .mp-site-footer-contact a {
    font-size: clamp(16px, 1.25vw, 20px);
    white-space: nowrap;
    overflow-wrap: normal;
}

.mp-design-0799 .mp-site-footer-nav a {
    font-size: 14px;
    line-height: 1.45;
}

.mp-design-0799 .mp-site-footer-bottom {
    align-items: center;
    color: #a0adb4;
    font-size: 13px !important;
}

.mp-design-0799 .mp-site-footer-bottom a {
    color: #c6d0d5;
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   INTERNAL PAGE LEGIBILITY
   -------------------------------------------------------------------------- */
.mp-design-0799 .mp-catalog-copy h1 {
    font-size: clamp(36px, 3.45vw, 60px) !important;
    line-height: 1.02 !important;
}

.mp-design-0799 .mp-catalog-lead,
.mp-design-0799 .mp-catalog-detail-card p,
.mp-design-0799 .mp-catalog-extra-card p {
    color: #4f5c63;
}

.mp-design-0799 .mp-catalog-facts li::marker,
.mp-design-0799 .mp-slide-facts li::marker {
    color: #0b6fb3;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
    .mp-design-0799 .mp-site-header,
    .mp-design-0799 .mp-site-header.is-scrolled {
        gap: 14px !important;
    }

    .mp-design-0799 .mp-header-catalogue,
    .mp-design-0799 .mp-discovery-trigger.mp-header-catalogue {
        min-width: 100px;
    }

    .mp-design-0799 .mp-site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mp-design-0799 .mp-site-footer-nav {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1040px) {
    .mp-design-0799 .mp-site-header,
    .mp-design-0799 .mp-site-header.is-scrolled {
        display: flex;
        height: var(--mp103-header-height);
        min-height: var(--mp103-header-height) !important;
    }

    .mp-design-0799 .mp-site-header .mp-main-nav {
        width: auto;
    }
}

@media (max-width: 760px) {
    :root { --mp103-header-height: 68px; }

    .mp-design-0799 .mp-site-header,
    .mp-design-0799 .mp-site-header.is-scrolled {
        padding: 8px 16px !important;
    }

    .mp-design-0799.mp-localized-home #company.mp-hero {
        padding-top: var(--mp103-header-height) !important;
    }

    .mp-design-0799.mp-localized-home #company.mp-hero::before,
    .mp-design-0799.mp-localized-home .mp-hero-media-carousel {
        inset-top: var(--mp103-header-height);
    }

    .mp-design-0799.mp-localized-home .mp-hero-copy-carousel {
        width: 100% !important;
        min-height: calc(100svh - var(--mp103-header-height));
        padding: 62px 22px 126px;
    }

    .mp-design-0799.mp-localized-home #company .mp-hero-title,
    .mp-design-0799.mp-localized-home #company h1 {
        font-size: clamp(38px, 11vw, 54px) !important;
    }

    .mp-design-0799.mp-localized-home .mp-hero-media-meta {
        right: 20px;
        bottom: 82px;
    }

    .mp-design-0799.mp-localized-home .mp-hero-controls {
        right: 20px;
        left: 20px;
        bottom: 24px;
    }

    .mp-design-0799 .mp-site-footer-grid {
        grid-template-columns: 1fr;
    }

    .mp-design-0799 .mp-site-footer-nav {
        grid-column: auto;
    }

    .mp-design-0799 .mp-site-footer-contact a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp0799-marquee-track.mp103-marquee-ready {
        animation: none !important;
        transform: none !important;
    }

    .mp103-rail-indicator span,
    .mp-design-0799 .mp-slide-media > img:first-child {
        transition: none !important;
    }
}
