/* Base variables and reset */

:root {
    /* Brand palette */
    --color-bg: #f5feff;
    /* very light cyan background */
    --color-bg-alt: #ffffff;
    --color-hero-top: #1d1d1b;
    /* dark brand color */
    --color-hero-bottom: #28b8ce;
    /* main accent */
    --color-primary: #28b8ce;
    --color-primary-dark: #1d1d1b;
    --color-text: #1d1d1b;
    --color-text-soft: #555551;
    --color-border-soft: #d2edf1;

    /* Holiday accents */
    --color-accent-holiday: #c62828;
    --color-accent-gold: #ffcf66;

    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 10px 30px rgba(0, 32, 96, 0.15);

    --header-height: 72px;
    --max-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* Smooth scrolling for in-page links */
html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: var(--color-bg) url("assets/bg-snow-texture.png") repeat;
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Utility */

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Language toggle – enforce with !important */

.lang {
    display: none !important;
}

.lang.active {
    display: block !important;
}

/* Elements that should be inline-flex when visible */
.lang.active.hero-badge,
.lang.active.tag {
    display: inline-flex !important;
}

/* Snow */

.snow-area {
    pointer-events: none;
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.snowflake {
    position: absolute;
    top: -10%;
    font-size: 14px;
    opacity: 0.5;
    animation: snowfall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 14s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 25%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.snowflake:nth-child(3) {
    left: 40%;
    animation-duration: 16s;
    animation-delay: -6s;
}

.snowflake:nth-child(4) {
    left: 55%;
    animation-duration: 20s;
    animation-delay: -1s;
}

.snowflake:nth-child(5) {
    left: 70%;
    animation-duration: 17s;
    animation-delay: -4s;
}

.snowflake:nth-child(6) {
    left: 82%;
    animation-duration: 19s;
    animation-delay: -7s;
}

.snowflake:nth-child(7) {
    left: 15%;
    font-size: 12px;
    animation-duration: 22s;
    animation-delay: -2s;
}

.snowflake:nth-child(8) {
    left: 33%;
    font-size: 16px;
    animation-duration: 21s;
    animation-delay: -9s;
}

.snowflake:nth-child(9) {
    left: 63%;
    font-size: 13px;
    animation-duration: 23s;
    animation-delay: -5s;
}

.snowflake:nth-child(10) {
    left: 88%;
    font-size: 15px;
    animation-duration: 24s;
    animation-delay: -8s;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10vh);
    }

    100% {
        transform: translateY(110vh);
    }
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 248, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(210, 237, 241, 0.9);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 16px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* header logo image */
.brand-logo {
    height: 100px;
    width: auto;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-soft);
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.lang-switch {
    display: flex;
    gap: 6px;
}

.lang-btn {
    border-radius: 999px;
    border: 1px solid var(--color-border-soft);
    background: #ffffff;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    color: var(--color-text-soft);
}

.lang-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary-dark);
}

/* Hero */

.hero {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg,
            var(--color-hero-top),
            var(--color-hero-bottom));
    color: #ffffff;
    padding: 40px 16px 64px;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 12px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(28px, 3.1vw, 36px);
    margin: 0 0 8px;
}

.hero-title-sub {
    margin: 4px 0 16px;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 500;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 16px;
    opacity: 0.96;
    margin: 0 0 12px;
}

.hero-body {
    font-size: 14px;
    opacity: 0.9;
    max-width: 560px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 22px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 11px;
    opacity: 0.95;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: var(--color-primary-dark);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
    background: #f5f5ff;
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    text-decoration: none;
}

/* Hero visual */

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-card {
    background: linear-gradient(145deg, #1d1d1b, #114d5a);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 20px 20px 22px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card-ribbon {
    position: absolute;
    top: 14px;
    right: -40px;
    transform: rotate(15deg);
    background: linear-gradient(135deg,
            var(--color-accent-holiday),
            var(--color-accent-gold));
    color: #2b1600;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-card-lights {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hero-card-lights span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(255, 207, 102, 0.8);
    opacity: 0.9;
    animation: twinkle 2s ease-in-out infinite alternate;
}

/* hero slot illustration PNG */
.hero-slot-illustration {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto 12px;
}

.hero-card-lights span:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-card-lights span:nth-child(3) {
    animation-delay: 0.8s;
}

.hero-card-lights span:nth-child(4) {
    animation-delay: 1.2s;
}

.hero-card-lights span:nth-child(5) {
    animation-delay: 1.6s;
}

@keyframes twinkle {
    from {
        opacity: 0.5;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(-2px);
    }
}

.hero-slot {
    background: radial-gradient(circle, #114d5a 0%, #0a262c 70%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 10px 12px;
    margin-bottom: 12px;
}

.hero-slot-window {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
}

.slot-icon {
    height: 46px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 20%, #ffffff, #dff7fb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-slot-label {
    font-size: 12px;
    margin-top: 6px;
    color: #e0ecff;
}

.hero-card-text {
    font-size: 13px;
    color: #d4e3ff;
    margin: 8px 0 0;
}

/* Sections */

.hero,
.section {
    scroll-margin-top: 96px;
    /* offset for sticky header */
}

.section {
    position: relative;
    z-index: 1;
    padding: 56px 16px;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: left;
    margin-bottom: 26px;
}

.section-header h2 {
    margin: 0 0 6px;
    font-size: 22px;
}

.section-kicker {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-soft);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.section-grid--holiday {
    align-items: flex-start;
}

.section-block {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    padding: 18px 20px;
    box-shadow: 0 10px 26px rgba(19, 44, 85, 0.05);
    backdrop-filter: blur(6px);
}

.section-block p {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--color-text-soft);
}

/* Band section – reusable festive/teal band */

.section-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(106, 201, 218, 0.25) 0, transparent 40%),
        radial-gradient(circle at 100% 20%, rgba(40, 184, 206, 0.3) 0, transparent 45%),
        linear-gradient(135deg, var(--color-hero-top), var(--color-hero-bottom));
    color: #ffffff;
}

.section-band .section-header h2,
.section-band .section-kicker {
    color: #ffffff;
}

.section-band .section-block {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.section-band .section-block p,
.section-band .holiday-list li {
    color: #f5feff;
}

.section-band .holiday-note {
    color: var(--color-accent-gold);
    font-weight: 600;
}

.section-band::before,
.section-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 32px;
    pointer-events: none;
}

.section-band::before {
    top: -32px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent);
}

.section-band::after {
    bottom: -32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.12), transparent);
}

/* Holiday list */

.holiday-list h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
}

.holiday-list ul {
    padding-left: 18px;
    margin: 0 0 10px;
}

.holiday-list li {
    font-size: 14px;
    color: var(--color-text-soft);
    margin-bottom: 4px;
}

.holiday-note {
    font-size: 13px;
    color: var(--color-accent-holiday);
    font-weight: 500;
}

/* Brand cards */

.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.brand-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    padding: 18px 18px 16px;
    box-shadow: 0 10px 22px rgba(19, 44, 85, 0.05);
}

/* brand card illustration PNGs */
.brand-card-illustration {
    width: 100%;
    max-width: 200px;
    display: block;
    margin-bottom: 8px;
    border-radius: 12px;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(40, 184, 206, 0.12);
    color: var(--color-primary-dark);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.brand-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.brand-card p {
    font-size: 13px;
    color: var(--color-text-soft);
    margin: 0 0 8px;
}

.brand-subdomain {
    font-size: 12px;
    color: #7984a0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(198, 40, 40, 0.08);
    color: var(--color-accent-holiday);
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid rgba(198, 40, 40, 0.3);
}

/* Contact */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 22px;
}

.contact-block {
    background: rgba(245, 248, 255, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-soft);
    padding: 18px 18px 16px;
}

.contact-block p {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--color-text-soft);
}

/* When contact is on a band, use glass cards + light text */
.section-band .contact-block {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.section-band .contact-block p {
    color: #f5feff;
}

.contact-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-details p {
    margin-bottom: 4px;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--color-border-soft);
    background: #f2f5ff;
    padding: 12px 16px 16px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-soft);
}

.footer-nav {
    display: flex;
    gap: 12px;
}

.footer-nav a {
    color: var(--color-text-soft);
}

.footer-nav a:hover {
    color: var(--color-primary);
}

/* Responsive */

@media (max-width: 880px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        margin-top: 10px;
    }

    .section-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .brand-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .header-inner {
        gap: 10px;
    }

    .main-nav {
        display: none;
    }

    .site-header {
        border-bottom: 1px solid rgba(210, 237, 241, 0.9);
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 28px;
    }

    .hero-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        height: 32px;
    }
}