.has-seasonal-theme {
    --seasonal-primary: #c97973;
    --seasonal-secondary: #6f7e69;
    --seasonal-highlight: #d6b16a;
}

.has-seasonal-theme .navbar {
    border-bottom-color: color-mix(in srgb, var(--seasonal-primary) 34%, transparent);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--seasonal-secondary) 8%, transparent);
}

.has-seasonal-theme .navbar-links a::after {
    background-color: var(--seasonal-primary);
}

.seasonal-theme-decoration {
    position: fixed;
    inset: 88px 0 0;
    z-index: 70;
    overflow: hidden;
    pointer-events: none;
}

.seasonal-theme-edge {
    position: absolute;
    inset-block: 0;
    width: clamp(34px, 4vw, 72px);
}

.seasonal-theme-edge--left {
    left: 0;
}

.seasonal-theme-edge--right {
    right: 0;
}

.seasonal-theme-edge i {
    --seasonal-delay: 0s;
    --seasonal-duration: 12s;
    --seasonal-x: 10px;
    position: absolute;
    top: -42px;
    left: var(--seasonal-x);
    width: 8px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: var(--seasonal-primary);
    opacity: 0.62;
    animation: seasonalFall var(--seasonal-duration) linear var(--seasonal-delay) infinite;
}

.seasonal-theme-edge i:nth-child(2) {
    --seasonal-delay: -7s;
    --seasonal-duration: 15s;
    --seasonal-x: 28px;
    width: 7px;
    height: 7px;
    background: var(--seasonal-secondary);
}

.seasonal-theme-edge i:nth-child(3) {
    --seasonal-delay: -3s;
    --seasonal-duration: 18s;
    --seasonal-x: 48px;
    width: 10px;
    height: 10px;
    background: var(--seasonal-highlight);
}

.seasonal-theme-edge i:nth-child(4) {
    --seasonal-delay: -12s;
    --seasonal-duration: 17s;
    --seasonal-x: 16px;
    width: 6px;
    height: 15px;
    background: var(--seasonal-secondary);
}

.seasonal-theme-edge i:nth-child(5) {
    --seasonal-delay: -5s;
    --seasonal-duration: 20s;
    --seasonal-x: 38px;
    width: 7px;
    height: 12px;
    background: var(--seasonal-primary);
}

.seasonal-theme-edge i:nth-child(6) {
    --seasonal-delay: -16s;
    --seasonal-duration: 22s;
    --seasonal-x: 56px;
    width: 5px;
    height: 10px;
    background: var(--seasonal-highlight);
}

.seasonal-theme-edge--right i {
    animation-name: seasonalFallReverse;
}

.seasonal-theme-message {
    position: absolute;
    top: 102px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 72;
    width: min(620px, calc(100% - 140px));
    min-height: 46px;
    padding: 9px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid color-mix(in srgb, var(--seasonal-primary) 42%, transparent);
    border-left: 4px solid var(--seasonal-secondary);
    border-radius: 4px;
    background: rgba(255, 250, 248, 0.9);
    box-shadow: 0 14px 36px rgba(74, 54, 47, 0.09);
    color: #4a3e39;
    backdrop-filter: blur(12px);
}

.seasonal-theme-message span,
.seasonal-theme-message small {
    flex: 0 0 auto;
    color: var(--seasonal-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
}

.seasonal-theme-message strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
}

.seasonal-theme-message small {
    padding-left: 10px;
    border-left: 1px solid rgba(90, 73, 65, 0.18);
    color: #6f625c;
}

.seasonal-theme--christmas {
    --seasonal-primary: #a66c68;
    --seasonal-secondary: #496a58;
    --seasonal-highlight: #d8b46f;
}

.seasonal-theme--christmas .seasonal-theme-edge i {
    width: 12px;
    height: 12px;
    border: 0;
    clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
    opacity: 0.48;
}

.seasonal-theme--christmas .seasonal-theme-edge i:nth-child(3n) {
    width: 7px;
    height: 18px;
    clip-path: none;
    border-radius: 7px;
}

.seasonal-theme--christmas .seasonal-theme-message {
    border-color: rgba(73, 106, 88, 0.32);
    border-left-color: #496a58;
    background: rgba(255, 252, 249, 0.94);
    box-shadow: 0 14px 36px rgba(64, 81, 65, 0.11);
}

.seasonal-christmas-lights {
    position: absolute;
    top: 88px;
    left: 0;
    z-index: 71;
    width: 100%;
    height: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    border-top: 1px solid rgba(73, 106, 88, 0.38);
    overflow: hidden;
    pointer-events: none;
}

.seasonal-christmas-lights i {
    position: relative;
    justify-self: center;
    width: 7px;
    height: 10px;
    border-radius: 2px 2px 5px 5px;
    background: #d7b56f;
    box-shadow: 0 3px 10px rgba(215, 181, 111, 0.68);
    animation: christmasLightGlow 2.8s ease-in-out infinite;
}

.seasonal-christmas-lights i::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 2px;
    width: 3px;
    height: 4px;
    border-radius: 1px;
    background: #496a58;
}

.seasonal-christmas-lights i:nth-child(3n + 1) {
    background: #b96f69;
    box-shadow: 0 3px 10px rgba(185, 111, 105, 0.5);
    animation-delay: -0.9s;
}

.seasonal-christmas-lights i:nth-child(3n + 2) {
    background: #f4eee3;
    box-shadow: 0 3px 10px rgba(222, 199, 151, 0.75);
    animation-delay: -1.8s;
}

.seasonal-christmas-snow {
    position: absolute;
    inset: 0;
}

.seasonal-christmas-snow b {
    --snow-size: 25px;
    --snow-left: 8%;
    --snow-delay: -2s;
    --snow-duration: 15s;
    position: absolute;
    top: -30px;
    left: var(--snow-left);
    width: var(--snow-size);
    height: var(--snow-size);
    background-image: url('../../images/seasonal/christmas-snowflake-v1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 3px 4px rgba(72, 102, 128, 0.18));
    animation: christmasSnowfall var(--snow-duration) linear var(--snow-delay) infinite;
}

.seasonal-christmas-snow b::before,
.seasonal-christmas-snow b::after {
    content: none;
}

.seasonal-christmas-snow b:nth-child(2) { --snow-left: 16%; --snow-size: 15px; --snow-delay: -11s; --snow-duration: 19s; }
.seasonal-christmas-snow b:nth-child(3) { --snow-left: 24%; --snow-size: 31px; --snow-delay: -6s; --snow-duration: 22s; }
.seasonal-christmas-snow b:nth-child(4) { --snow-left: 33%; --snow-size: 20px; --snow-delay: -15s; --snow-duration: 18s; }
.seasonal-christmas-snow b:nth-child(5) { --snow-left: 42%; --snow-size: 13px; --snow-delay: -4s; --snow-duration: 20s; }
.seasonal-christmas-snow b:nth-child(6) { --snow-left: 51%; --snow-size: 28px; --snow-delay: -17s; --snow-duration: 24s; }
.seasonal-christmas-snow b:nth-child(7) { --snow-left: 60%; --snow-size: 17px; --snow-delay: -9s; --snow-duration: 17s; }
.seasonal-christmas-snow b:nth-child(8) { --snow-left: 68%; --snow-size: 24px; --snow-delay: -2s; --snow-duration: 21s; }
.seasonal-christmas-snow b:nth-child(9) { --snow-left: 75%; --snow-size: 14px; --snow-delay: -13s; --snow-duration: 16s; }
.seasonal-christmas-snow b:nth-child(10) { --snow-left: 82%; --snow-size: 30px; --snow-delay: -7s; --snow-duration: 23s; }
.seasonal-christmas-snow b:nth-child(11) { --snow-left: 89%; --snow-size: 19px; --snow-delay: -19s; --snow-duration: 25s; }
.seasonal-christmas-snow b:nth-child(12) { --snow-left: 95%; --snow-size: 14px; --snow-delay: -10s; --snow-duration: 18s; }
.seasonal-christmas-snow b:nth-child(13) { --snow-left: 12%; --snow-size: 12px; --snow-delay: -16s; --snow-duration: 26s; }
.seasonal-christmas-snow b:nth-child(14) { --snow-left: 37%; --snow-size: 22px; --snow-delay: -8s; --snow-duration: 27s; }
.seasonal-christmas-snow b:nth-child(15) { --snow-left: 63%; --snow-size: 12px; --snow-delay: -21s; --snow-duration: 28s; }
.seasonal-christmas-snow b:nth-child(16) { --snow-left: 86%; --snow-size: 18px; --snow-delay: -5s; --snow-duration: 26s; }

.seasonal-theme--christmas .seasonal-christmas-section {
    position: relative;
    border-top-color: rgba(73, 106, 88, 0.25);
    box-shadow:
        inset 0 1px rgba(216, 180, 111, 0.28),
        inset 0 4px rgba(73, 106, 88, 0.025);
}

.seasonal-christmas-section-ornament {
    position: absolute;
    top: -2px;
    left: 0;
    z-index: 1;
    width: clamp(118px, 12vw, 190px);
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    opacity: 0.32;
    pointer-events: none;
}

.seasonal-christmas-section-ornament--right {
    right: 0;
    left: auto;
    transform: scaleX(-1);
}

.seasonal-theme--christmas :is(
    .services-experience-card,
    .product-slide,
    .service-card,
    .product-card,
    .cta-card,
    .client-private-notice
) {
    border-color: rgba(73, 106, 88, 0.2);
    box-shadow:
        0 22px 58px rgba(73, 106, 88, 0.075),
        inset 0 0 0 1px rgba(216, 180, 111, 0.1);
}

.seasonal-theme--christmas :is(.primary-button, .navbar-button) {
    box-shadow:
        0 9px 22px rgba(166, 108, 104, 0.2),
        inset 0 0 0 1px rgba(244, 232, 199, 0.42);
}

.seasonal-theme--christmas :is(.home-section-header, .video-accordion-header) h2 {
    text-decoration-line: underline;
    text-decoration-color: rgba(216, 180, 111, 0.55);
    text-decoration-thickness: 1px;
    text-underline-offset: 12px;
}

.seasonal-theme--new_year .seasonal-theme-edge i {
    transform: rotate(45deg);
}

.seasonal-theme--new_year {
    --seasonal-primary: #c47a73;
    --seasonal-secondary: #3f3935;
    --seasonal-highlight: #d5b36c;
}

.seasonal-theme--valentine {
    --seasonal-primary: #c87575;
    --seasonal-secondary: #8f4d5d;
    --seasonal-highlight: #e8b8b8;
}

.seasonal-theme--valentine .seasonal-theme-edge i {
    width: 10px;
    height: 10px;
    border-radius: 2px 7px 2px 7px;
}

.seasonal-theme--mothers_day {
    --seasonal-primary: #c97b73;
    --seasonal-secondary: #71836a;
    --seasonal-highlight: #e6bbb0;
}

.seasonal-theme--mothers_day .seasonal-theme-edge i {
    width: 9px;
    height: 16px;
    border-radius: 80% 20% 70% 30%;
}

.seasonal-theme--halloween {
    --seasonal-primary: #5f465f;
    --seasonal-secondary: #b6754f;
    --seasonal-highlight: #d4ab6e;
}

.seasonal-theme--halloween .seasonal-theme-edge i {
    width: 12px;
    height: 12px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@keyframes seasonalFall {
    from {
        translate: 0 -8vh;
        rotate: 0deg;
    }
    to {
        translate: 18px 112vh;
        rotate: 280deg;
    }
}

@keyframes seasonalFallReverse {
    from {
        translate: 0 -8vh;
        rotate: 0deg;
    }
    to {
        translate: -18px 112vh;
        rotate: -280deg;
    }
}

@keyframes christmasSnowfall {
    from {
        translate: 0 -8vh;
        rotate: 0deg;
        opacity: 0;
    }
    12% {
        opacity: 0.72;
    }
    82% {
        opacity: 0.58;
    }
    to {
        translate: 26px 112vh;
        rotate: 240deg;
        opacity: 0;
    }
}

@keyframes christmasLightGlow {
    0%, 100% {
        opacity: 0.55;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 760px) {
    .seasonal-theme-decoration {
        inset-block-start: 74px;
    }

    .seasonal-theme-edge {
        width: 30px;
    }

    .seasonal-theme-edge i:nth-child(n + 4) {
        display: none;
    }

    .seasonal-theme-edge i:nth-child(3) {
        --seasonal-x: 20px;
    }

    .seasonal-theme-message {
        top: 82px;
        width: calc(100% - 54px);
        min-height: 42px;
        padding: 8px 12px;
        gap: 8px;
    }

    .seasonal-theme-message span {
        display: none;
    }

    .seasonal-theme-message strong {
        font-size: 17px;
    }

    .seasonal-christmas-lights {
        top: 74px;
        grid-template-columns: repeat(8, 1fr);
    }

    .seasonal-christmas-lights i:nth-child(n + 9),
    .seasonal-christmas-snow b:nth-child(even) {
        display: none;
    }

    .seasonal-christmas-section-ornament {
        width: 104px;
        opacity: 0.23;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seasonal-theme-edge i {
        animation: none;
        opacity: 0.22;
    }

    .seasonal-christmas-snow b,
    .seasonal-christmas-lights i {
        animation: none;
    }

    .seasonal-christmas-snow b {
        display: none;
    }

    .seasonal-theme-edge i:nth-child(1) { top: 12%; }
    .seasonal-theme-edge i:nth-child(2) { top: 43%; }
    .seasonal-theme-edge i:nth-child(3) { top: 74%; }
}
