/* ═══════════════════════════════════════════════════════════════
   Client meeting polish — final shared overrides
   Kept in one late-loaded layer so the confirmed meeting decisions can
   override the older variant files without changing the approved prototypes.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Mobile šanón: flush to the viewport edges ──────────────────────── */
@media (max-width: 991.98px) {
    header.main-header .navbar {
        padding: 0;
    }

    header.main-header .navbar > .container {
        width: 100%;
        max-width: none;
        padding-inline: 0;
    }
}

/* ─── Šanón: secondary links use the same treatment as service links ─── */
.sanon-link--secondary {
    position: absolute;
    isolation: isolate;
    padding: 0.15em 0.45em;
    font-weight: 800;
    color: #f4e0ac;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.sanon-link--secondary::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 50%;
    right: 0.13em;
    bottom: auto;
    left: 0.13em;
    height: calc(1.15em + 0.08em);
    border-radius: 2px;
    background: rgba(244, 224, 172, 0.42);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s var(--ease-out);
    pointer-events: none;
}

.sanon-link--secondary:hover::before,
.sanon-link--secondary:focus-visible::before {
    transform: translateY(-50%) scaleX(1);
}

.sanon-link--secondary:hover,
.sanon-link--secondary:focus-visible {
    color: #fff6de;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7), 0 0 5px rgba(244, 224, 172, 0.4);
}

/* ─── Hero cards: Safari-safe opaque compositing ─────────────────────── */
/* Do not animate the card background. Safari can briefly cross-fade a
   transformed gradient layer and expose the decorative layer underneath. */
.hero-card-slot .hero-service-card {
    opacity: 1 !important;
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-property: -webkit-transform, box-shadow, border-color;
    transition-property: transform, box-shadow, border-color;
}

.hero-card-slot .hero-service-card:hover,
.hero-card-slot .hero-service-card:focus-visible {
    opacity: 1 !important;
    -webkit-transform: translate3d(0, -4px, 0);
    transform: translate3d(0, -4px, 0);
}

.hero-card-slot .hero-service-card::after {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ─── Homepage hero: soften the gold atmosphere ───────────────────────── */
/* Keep the hero distinct from FAQ while borrowing its diffuse gold-light
   language instead of the previous hard diagonal gold band. */
.hero.background-effect {
    background:
        radial-gradient(ellipse 72% 90% at 84% 8%,
            rgba(244, 223, 173, 0.09) 0%,
            rgba(201, 162, 85, 0.035) 40%,
            transparent 74%),
        linear-gradient(135deg,
            #050505 0%,
            #0b0a08 48%,
            rgba(201, 162, 85, 0.07) 56%,
            #030303 100%) !important;
}

.hero.background-effect::before {
    background: radial-gradient(circle, rgba(201, 162, 85, 0.05) 0%, transparent 70%);
}

/* The vault is decorative only. Keeping it as a transparent sibling behind
   the foreground container preserves the softened hero canvas while the D2
   orbit script supplies the regular, non-colliding motion. */
.hero > .hero-vault-bg {
    z-index: 0;
    background: transparent !important;
}

.hero > .hero-vault-bg .vault-object {
    width: clamp(64px, 7.6vw, 124px);
    margin: calc(clamp(64px, 7.6vw, 124px) / -2) 0 0 calc(clamp(64px, 7.6vw, 124px) / -2);
}

.hero > .hero-vault-bg .vault-object:nth-child(2n) {
    width: clamp(58px, 7vw, 110px);
    margin: calc(clamp(58px, 7vw, 110px) / -2) 0 0 calc(clamp(58px, 7vw, 110px) / -2);
}

.hero > .hero-vault-bg .vault-object:nth-child(3n) {
    width: clamp(54px, 6.3vw, 98px);
    margin: calc(clamp(54px, 6.3vw, 98px) / -2) 0 0 calc(clamp(54px, 6.3vw, 98px) / -2);
}

/* Make both hero pictogram treatments read clearly at a glance: the flying
   orbit assets and the service-card tile icons scale independently so neither
   one becomes too small at a narrow viewport. */
.hero > .container .hero-card-icon {
    width: clamp(72px, 4.8vw, 84px);
    height: clamp(72px, 4.8vw, 84px);
    border-radius: 16px;
}

.hero > .container .hero-card-icon img {
    width: 84%;
    height: 84%;
}

/* Keep the title's natural line length while giving the enlarged pictogram
   enough vertical clearance above it. */
.hero > .container .hero-card-title {
    margin-top: clamp(14px, 1.4vw, 20px);
}

/* ─── Homepage scope: service details belong to subpages ───────────── */
.homepage-service .d8-dashboard,
.homepage-service .d8-caption,
.homepage-service .homepage-service-removed,
.homepage-service .service-idea,
.homepage-service .case-study-block {
    display: none !important;
}

.homepage-service-more {
    display: flex;
    justify-content: flex-start;
    margin-top: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(32px, 4vw, 52px);
}

.homepage-service-more .btn-ghost-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 242, 201, 0.68);
    background: linear-gradient(135deg, #f3dfaa 0%, var(--accent) 58%, #b8873c 100%);
    color: var(--ink);
    font-weight: 800;
    box-shadow:
        0 10px 24px rgba(201, 162, 85, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
    transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
        color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.homepage-service-more .btn-ghost-hero:hover,
.homepage-service-more .btn-ghost-hero:focus-visible {
    border-color: #fff2c9;
    background: linear-gradient(135deg, #fff2c9 0%, #dfbb72 58%, #c99a4e 100%);
    color: var(--ink);
    box-shadow:
        0 14px 30px rgba(201, 162, 85, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.homepage-service-more .btn-ghost-hero i {
    font-size: 0.78em;
    transition: transform 0.25s var(--ease-out);
}

.homepage-service-more .btn-ghost-hero:hover i,
.homepage-service-more .btn-ghost-hero:focus-visible i {
    transform: translateX(3px);
}

/* ─── Service selects: dark native control with the agency accent ─────── */
/* This covers both the calendar modal and the footer contact form. Native
   option menus remain keyboard/mobile friendly while the closed control and
   dark color scheme no longer fall back to the browser's blue appearance. */
.d4-field select,
.contact-form select.form-control {
    color-scheme: dark;
    accent-color: var(--accent);
    appearance: none;
    -webkit-appearance: none;
    background-color: #101010 !important;
    color: var(--white) !important;
    border-color: var(--accent-border) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.d4-field select:focus,
.contact-form select.form-control:focus {
    border-color: var(--accent) !important;
    outline: 2px solid rgba(201, 162, 85, 0.2);
    outline-offset: 2px;
}

.d4-field select:required:invalid,
.contact-form select.form-control:required:invalid {
    color: var(--muted) !important;
}

.d4-field select option,
.contact-form select.form-control option {
    background-color: var(--surface-2) !important;
    color: var(--white) !important;
}

.d4-field select option:checked,
.d4-field select option:hover,
.contact-form select.form-control option:checked,
.contact-form select.form-control option:hover {
    background: var(--accent) !important;
    color: var(--ink) !important;
}

/* The enhanced control below replaces only the browser-rendered popup; the
   original select stays in the DOM for native form submission and validation. */
.js-agency-select {
    position: relative;
    width: 100%;
}

.js-agency-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.js-agency-select-trigger {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 44px 13px 16px;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-sm);
    background: #101010;
    color: var(--white);
    font: inherit;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
        background-color 0.25s var(--ease-out);
}

.js-agency-select-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.js-agency-select-trigger.is-placeholder {
    color: var(--muted);
}

.js-agency-select-trigger:hover,
.js-agency-select-trigger:focus-visible,
.js-agency-select.is-open .js-agency-select-trigger {
    border-color: var(--accent);
    background: #14120e;
    box-shadow: 0 0 0 3px rgba(201, 162, 85, 0.14), 0 10px 24px rgba(0, 0, 0, 0.26);
    outline: none;
}

.js-agency-select.is-open .js-agency-select-trigger::after {
    border-color: #fff2c9;
    transform: translateY(-20%) rotate(225deg);
}

.js-agency-select-trigger.is-invalid {
    border-color: #d87862;
    box-shadow: 0 0 0 3px rgba(216, 120, 98, 0.16);
}

.js-agency-select-menu {
    position: absolute;
    z-index: 320;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-sm);
    background: #1e1e1e;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(201, 162, 85, 0.08);
    scrollbar-color: var(--accent) #101010;
}

.js-agency-select-option {
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--white);
    font: inherit;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.js-agency-select-option[aria-selected='true']:not([aria-disabled='true']),
.js-agency-select-option:hover,
.js-agency-select-option:focus-visible {
    background: var(--accent);
    color: var(--ink);
    outline: none;
}

.js-agency-select-option[aria-disabled='true'] {
    color: var(--muted);
    cursor: default;
}

.js-agency-select-option[aria-disabled='true']:hover {
    background: transparent;
    color: var(--muted);
}

.js-agency-select.opens-up .js-agency-select-menu {
    top: auto;
    bottom: calc(100% + 8px);
}

/* ─── Package actions: compact, intentional CTAs ─────────────────────── */
.pricing-card .btn-pricing {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding-inline: 30px;
}

/* ─── O nás stats: visible breathing room between every tile ───────── */
.about-condensed .stats-row {
    gap: clamp(14px, 2.2vw, 28px);
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.about-condensed .stats-row .stat-item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

/* ─── Service subpage hero orbit ───────────────────────────────────── */
.subpage-hero {
    isolation: isolate;
}

/* Match the homepage's masked hero-to-content handoff on every service
   page. The fade is split across the two adjacent surfaces so it never adds
   a layout gap or darkens the foreground content as a separate overlay. */
.subpage-hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--section-edge-mask-depth);
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(2, 2, 2, 0) 0%,
        rgba(2, 2, 2, 0.22) 36%,
        rgba(2, 2, 2, 0.7) 78%,
        var(--agency-canvas) 100%
    );
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 42%, #000 100%);
}

.subpage-hero + .service-section {
    background:
        linear-gradient(
            180deg,
            rgba(2, 2, 2, 1) 0%,
            rgba(2, 2, 2, 0.58) 48%,
            rgba(2, 2, 2, 0) 100%
        ) 0 0 / 100% var(--section-edge-mask-depth) no-repeat,
        linear-gradient(
            180deg,
            rgba(201, 162, 85, 0.025) 0%,
            rgba(2, 2, 2, 0) 112px,
            rgba(2, 2, 2, 0) calc(100% - 112px),
            rgba(0, 0, 0, 0.14) 100%
        ),
        var(--agency-canvas);
}

.subpage-hero > .vault-bg {
    z-index: 0;
    /* Unitless geometry controls consumed by d2-vault-background.js. Keep
       the orbit spread across the central/right visual field on wide screens. */
    --vault-orbit-shift-x: 0.19;
    --vault-orbit-shift-y: 0.045;
    --vault-orbit-radius-x: 0.22;
    --vault-orbit-radius-y: 0.315;
}

/* Service-page pictograms should travel through space without inheriting a
   3D camera tilt. Their position/depth still changes, but each asset stays
   front-facing and visually level. */
.subpage-hero .vault-orbital-world {
    transform: none;
}

.subpage-hero {
    padding-bottom: clamp(110px, 8vw, 120px);
}

.subpage-hero > .container {
    position: relative;
    z-index: 1;
}

.subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object {
    width: clamp(84px, 10vw, 150px);
    margin: calc(clamp(84px, 10vw, 150px) / -2) 0 0 calc(clamp(84px, 10vw, 150px) / -2);
    opacity: 1 !important;
}

.subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(2n) {
    width: clamp(76px, 9.2vw, 138px);
    margin: calc(clamp(76px, 9.2vw, 138px) / -2) 0 0 calc(clamp(76px, 9.2vw, 138px) / -2);
}

.subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(3n) {
    width: clamp(68px, 8.3vw, 126px);
    margin: calc(clamp(68px, 8.3vw, 126px) / -2) 0 0 calc(clamp(68px, 8.3vw, 126px) / -2);
}

/* ─── References: same foil-bevel language, without the old cursor/rotor ─ */
#recenzie.our-testimonials {
    overflow: visible;
    /* Echo the hero's diagonal signature light sweep at a quieter intensity
       so references read as a distinct, related canvas instead of a flat
       black band. */
    background:
        linear-gradient(135deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(15, 15, 15, 0.98) 47%,
            rgba(201, 162, 85, 0.18) 55%,
            rgba(15, 15, 15, 0.98) 80%,
            rgba(8, 8, 8, 0.98) 100%),
        var(--agency-canvas) !important;
}

#recenzie .testimonial-slider {
    padding-top: clamp(14px, 2vw, 24px);
}

#recenzie .swiper {
    overflow: visible;
}

#recenzie .testimonial-item {
    position: relative;
    isolation: isolate;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(155deg, #232323 0%, var(--surface) 55%, #121008 100%);
    border: 1px solid var(--border-hover);
    border-radius: var(--r-lg);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.5),
        0 16px 34px -16px rgba(0, 0, 0, 0.8);
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.35s var(--ease-out);
}

#recenzie .testimonial-item::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: -20%;
    background: linear-gradient(115deg,
        transparent 38%,
        rgba(255, 255, 255, 0.06) 46%,
        rgba(201, 162, 85, 0.5) 50%,
        rgba(255, 255, 255, 0.06) 54%,
        transparent 62%);
    transform: translateX(-60%);
    transition: transform 0.85s var(--ease-out);
    pointer-events: none;
    mix-blend-mode: screen;
}

#recenzie .testimonial-item > * {
    position: relative;
    z-index: 1;
}

#recenzie .testimonial-item:hover,
#recenzie .testimonial-item:focus-within {
    border-color: rgba(201, 162, 85, 0.45);
    transform: translateY(-6px);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.55),
        0 26px 50px -16px rgba(0, 0, 0, 0.85),
        0 10px 34px -10px rgba(201, 162, 85, 0.32);
}

#recenzie .testimonial-item:hover::before,
#recenzie .testimonial-item:focus-within::before {
    transform: translateX(60%);
}

/* ─── Footer decorative rule: keep it centred inside the card ───────── */
.about-footer::before {
    top: 0;
    right: 6%;
    left: 6%;
    width: auto;
    height: 2px;
}

/* ─── Footer social controls: unmistakable contrast on hover ────────── */
.about-footer .footer-social-list ul li a:hover,
.about-footer .footer-social-list ul li a:focus-visible {
    color: #0d0d0d !important;
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 8px 22px rgba(201, 162, 85, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
}

.about-footer .footer-social-list ul li a:hover i,
.about-footer .footer-social-list ul li a:focus-visible i {
    color: #0d0d0d !important;
    text-shadow: none !important;
}

/* ─── Shared canvas + scrollbar compatibility ───────────────────────── */
.our-faqs {
    background:
        radial-gradient(ellipse 70% 80% at 18% 48%, rgba(201, 162, 85, 0.045), transparent 70%),
        var(--agency-canvas) !important;
}

html,
body {
    overflow-x: hidden;
}

html {
    scrollbar-gutter: stable;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .about-condensed .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .about-condensed .stats-row .stat-item {
        padding-inline: 16px;
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object {
        width: clamp(58px, 18vw, 94px);
        margin: calc(clamp(58px, 18vw, 94px) / -2) 0 0 calc(clamp(58px, 18vw, 94px) / -2);
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(2n) {
        width: clamp(52px, 16vw, 84px);
        margin: calc(clamp(52px, 16vw, 84px) / -2) 0 0 calc(clamp(52px, 16vw, 84px) / -2);
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(3n) {
        width: clamp(48px, 14vw, 74px);
        margin: calc(clamp(48px, 14vw, 74px) / -2) 0 0 calc(clamp(48px, 14vw, 74px) / -2);
    }

    .hero > .container .hero-card-icon { top: 18px; right: 18px; }
}

@media (max-width: 991.98px) {
    .subpage-hero {
        /* The hero images may be intentionally omitted. Reserve a dedicated
           lower orbit bay so the pictograms can sit beneath the CTA pair. */
        padding-bottom: clamp(340px, 100vw, 480px);
    }

    .subpage-hero > .vault-bg {
        /* With the hero images omitted, turn the lower bay into a centered
           orbit stage. Capping its width keeps the x/y radii close to equal
           across phones and tablets, so the pictograms read as a circle. */
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;
        width: min(100%, 480px);
        height: clamp(340px, 100vw, 480px);
        transform: translateX(-50%);
        --vault-orbit-shift-x: 0;
        --vault-orbit-shift-y: -0.018;
        --vault-orbit-radius-x: 0.365;
        --vault-orbit-radius-y: 0.365;
        --vault-orbit-inner-scale-min: 0.32;
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object {
        width: clamp(72px, 23vw, 112px);
        margin: calc(clamp(72px, 23vw, 112px) / -2) 0 0 calc(clamp(72px, 23vw, 112px) / -2);
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(2n) {
        width: clamp(66px, 21vw, 102px);
        margin: calc(clamp(66px, 21vw, 102px) / -2) 0 0 calc(clamp(66px, 21vw, 102px) / -2);
    }

    .subpage-hero .vault-bg[data-vault-orbit="rings"] .vault-object:nth-child(3n) {
        width: clamp(60px, 19vw, 92px);
        margin: calc(clamp(60px, 19vw, 92px) / -2) 0 0 calc(clamp(60px, 19vw, 92px) / -2);
    }

    .hero > .hero-vault-bg .vault-object {
        width: clamp(72px, 7.6vw, 76px);
        margin: calc(clamp(72px, 7.6vw, 76px) / -2) 0 0 calc(clamp(72px, 7.6vw, 76px) / -2);
    }

    .hero > .hero-vault-bg .vault-object:nth-child(2n) {
        width: clamp(66px, 7vw, 70px);
        margin: calc(clamp(66px, 7vw, 70px) / -2) 0 0 calc(clamp(66px, 7vw, 70px) / -2);
    }

    .hero > .hero-vault-bg .vault-object:nth-child(3n) {
        width: clamp(60px, 6.3vw, 64px);
        margin: calc(clamp(60px, 6.3vw, 64px) / -2) 0 0 calc(clamp(60px, 6.3vw, 64px) / -2);
    }
}

@media (max-width: 340px) {
    .subpage-hero > .vault-bg {
        --vault-orbit-radius-y: 0.335;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage-service-more .btn-ghost-hero i,
    #recenzie .testimonial-item,
    #recenzie .testimonial-item::before {
        transition: none !important;
    }
}

/* ─── Directional sticky header: smooth hide/show without layout jumps ── */
header.main-header .header-sticky {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-bottom: 1px solid transparent;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: transform 0.58s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        background-color 0.28s ease, border-color 0.28s ease;
    transition: transform 0.58s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        background-color 0.28s ease, border-color 0.28s ease;
    will-change: transform;
}

header.main-header .header-sticky.active,
header.main-header .header-sticky:not(.hide) {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

header.main-header .header-sticky.no-transition,
header.main-header .header-sticky.hide.no-transition,
header.main-header .header-sticky.active.hide.no-transition {
    -webkit-transition: none !important;
    transition: none !important;
}

header.main-header .header-sticky.hide,
header.main-header .header-sticky.active.hide {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    -webkit-transition: transform 0.58s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        background-color 0.28s ease, border-color 0.28s ease !important;
    transition: transform 0.58s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        background-color 0.28s ease, border-color 0.28s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    header.main-header .header-sticky {
        -webkit-transition-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
