:root {
    --color-bg: #FAF6EC;
    --color-bg-alt: #F1EAD8;
    --color-text: #16241C;
    --color-text-muted: #5B6459;
    --color-text-inverse: #F5F2E6;
    --color-text-inverse-muted: #A9B7A9;

    --color-primary: #2B7046;
    --color-primary-hover: #235C3B;
    --color-accent: #D6A83E;
    --color-accent-hover: #B88B2E;
    --color-accent-deep: #7E5F20;

    --color-accent-text: #7E5F20;
    --color-ink-deep: #12281B;

    --color-line: rgba(22, 36, 28, 0.12);
    --color-line-strong: rgba(22, 36, 28, 0.22);

    --color-surface: #FFFFFF;

    --color-danger: #b42318;
    --color-danger-bg: rgba(180, 35, 24, 0.05);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --font-h1: clamp(2.5rem, 5vw, 4.5rem);
    --font-p: clamp(1rem, 1.5vw, 1.15rem);

    --glass-bg: rgba(250, 246, 236, 0.7);
    --glass-border: rgba(214, 168, 62, 0.25);
    --glass-shadow: 0 8px 32px rgba(18, 40, 27, 0.08);
    --glass-blur: blur(16px) saturate(180%);

    color-scheme: light;
}

html[data-theme="dark"] {
    --color-bg: #131F18;
    --color-bg-alt: #0E1712;
    --color-text: #E8ECE4;
    --color-text-muted: #9BAA9B;
    --color-text-inverse: #F5F2E6;
    --color-text-inverse-muted: #A9B7A9;

    --color-primary: #4FAE78;
    --color-primary-hover: #6BC391;
    --color-accent: #E3BC5C;
    --color-accent-hover: #F0CD78;
    --color-accent-deep: #F5D688;
    --color-accent-text: #F0CD78;
    --color-ink-deep: #060B07;

    --color-line: rgba(232, 236, 228, 0.12);
    --color-line-strong: rgba(232, 236, 228, 0.22);

    --color-surface: #1C2A22;
    --color-danger: #FF9C86;
    --color-danger-bg: rgba(255, 156, 134, 0.1);

    --glass-bg: rgba(19, 31, 24, 0.72);
    --glass-border: rgba(227, 188, 92, 0.16);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);

    color-scheme: dark;
}

html[data-theme="dark"] .checkbox-group {
    background: rgba(18, 30, 23, 0.5);
}

html[data-theme="dark"] .booking-calendar__consent {
    background: rgba(18, 30, 23, 0.6);
}
html[data-theme="dark"] .blog-empty {
    background: rgba(18, 30, 23, 0.5);
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.45s ease, color 0.45s ease,
                border-color 0.45s ease, box-shadow 0.45s ease,
                fill 0.45s ease, stroke 0.45s ease !important;
}

@media (prefers-reduced-motion: reduce) {
    html.theme-transition,
    html.theme-transition * {
        transition: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.68;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.main-bar {
    padding: 1.2rem 0;
    transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .main-bar {
    padding: 0.6rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.8vw, 2rem);
}

.theme-toggle { grid-column: 1; }
.logo         { 
    position: relative;
    z-index: 1;
    grid-column: 1;
    justify-self: start;
}
.nav-menu     { 
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.3vw, 1.25rem);
    margin-left: auto;
    flex-shrink: 0;
}

.desktop-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.theme-toggle {
    flex-shrink: 0;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle__track {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 3.2rem;
    height: 1.72rem;
    padding: 3px;
    border-radius: 999px;
    background: rgba(18, 40, 27, 0.08);
    border: 1px solid rgba(18, 40, 27, 0.12);
    box-shadow: inset 0 1px 2px rgba(18, 40, 27, 0.06);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle__glyph {
    position: relative;
    z-index: 1;
    width: 50%;
    font-size: 0.72rem;
    line-height: 1;
    text-align: center;
    opacity: 0.55;
    transition: opacity 0.3s ease;
}

.theme-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #f7d76f, var(--color-accent));
    box-shadow: 0 2px 8px rgba(18, 40, 27, 0.2), 0 0 0 1px rgba(255,255,255,0.2);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.3s ease, box-shadow 0.3s ease;
}

html[data-theme="dark"] .theme-toggle__track { background: rgba(232, 236, 228, 0.12); border-color: rgba(232, 236, 228, 0.14); }
html[data-theme="dark"] .theme-toggle__thumb { transform: translateX(1.42rem); background: linear-gradient(145deg, #dfe6d3, var(--color-primary)); box-shadow: 0 2px 10px rgba(18, 40, 27, 0.28); }
html[data-theme="dark"] .theme-toggle__glyph--sun { opacity: 0.35; }
html[data-theme="dark"] .theme-toggle__glyph--moon { opacity: 1; }
html:not([data-theme="dark"]) .theme-toggle__glyph--sun { opacity: 1; }
html:not([data-theme="dark"]) .theme-toggle__glyph--moon { opacity: 0.35; }

.theme-toggle:hover .theme-toggle__track { border-color: var(--color-accent); }
.theme-toggle:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 999px; }

@media (max-width: 480px) {
    .theme-toggle__track { width: 3rem; height: 1.7rem; }
    .theme-toggle__thumb { width: 1.3rem; height: 1.3rem; }
    html[data-theme="dark"] .theme-toggle__thumb { transform: translateX(1.3rem); }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo span { color: var(--color-accent-text); }

.logo-mark-icon {
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: clamp(1.45rem, 2.15vw, 1.9rem);
}

@media (max-width: 1200px) {
    .nav-list {
        gap: clamp(1.2rem, 2vw, 2.2rem);
    }

    .hero {
        padding: 7rem 3rem 3rem;
    }

    .hero-split {
        gap: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    .site-header .container {
        max-width: 100%;
    }

    .hero {
        padding: 6.5rem 1.5rem 2.5rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-media {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        align-items: center;
    }
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: clamp(0.92rem, 1.05vw, 1.02rem);
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 0.35rem 0;
    transition: color 0.25s ease;
}

@media (max-width: 1340px) {
    .nav-link {
        font-size: clamp(0.84rem, 0.95vw, 0.95rem);
    }

    .nav-btn {
        padding: 0.5rem 1.05rem;
        font-size: 0.78rem;
    }

    .nav-list {
        gap: clamp(0.85rem, 1.35vw, 1.55rem);
    }
}

@media (max-width: 1120px) {
    .nav-link {
        font-size: 0.82rem;
    }

    .nav-list {
        gap: clamp(0.65rem, 0.9vw, 1rem);
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.46rem 0.9rem;
        font-size: 0.75rem;
    }

    .theme-toggle__track {
        width: 3rem;
        height: 1.7rem;
    }

    .theme-toggle__thumb {
        width: 1.3rem;
        height: 1.3rem;
    }

    html[data-theme="dark"] .theme-toggle__thumb {
        transform: translateX(1.3rem);
    }
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--color-primary); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); opacity: 0.45; }

.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.dropdown-toggle:hover,
.dropdown:hover .dropdown-toggle { color: var(--color-primary); background: rgba(47, 122, 78, 0.09); }
.dropdown-toggle:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.dropdown-arrow {
    font-size: 0.7rem;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown.active .dropdown-arrow,
.dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;
    width: max-content;
    min-width: 264px;
    padding: 0.9rem 0.6rem 0.65rem;
    margin-top: 0.55rem;
    border-radius: 18px;
    background: var(--color-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 22px 48px rgba(18, 40, 27, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.26s linear;
}

.dropdown-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.75rem;
    height: 0.75rem;
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-panel__label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent-deep);
    padding: 0 0.85rem 0.6rem;
    margin: 0;
}

.dropdown-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
}

.dropdown-menu li { list-style: none; }

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.85rem;
    border-radius: 11px;
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: rgba(47, 122, 78, 0.08);
    color: var(--color-primary-hover);
}

.dropdown-menu__icon {
    flex: none;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    border-radius: 9px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-line);
}

.dropdown-panel__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding: 0.65rem 0.85rem 0.25rem;
    border-top: 1px solid var(--color-line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    text-decoration: none;
}
.dropdown-panel__all span { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.dropdown-panel__all:hover span { transform: translateX(4px); }

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 40px;
    text-align: center;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(47, 122, 78, 0.28);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-line-strong);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    background-color: rgba(47, 122, 78, 0.06);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-ink-deep);
    border: 1px solid var(--color-accent);
    font-weight: 700;
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 168, 62, 0.35);
}

.nav-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.82rem;
}

.btn-realizacja-video-preview {
    background-color: var(--color-primary);
    border-color: var(--color-ink-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67, 214, 62, 0.35);
}

.mobile-only { display: none; }

.hamburger {
    display: none;
    grid-column: 5;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border: 0;
    z-index: 1001;
}

.hamburger-box { width: 24px; height: 16px; display: inline-block; position: relative; }
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 24px; height: 2px; background-color: var(--color-text); position: absolute; transition: transform 0.2s ease, opacity 0.2s ease; border-radius: 2px;
}
.hamburger-inner { top: 50%; transform: translateY(-50%); }
.hamburger-inner::before { content: ""; top: -7px; }
.hamburger-inner::after { content: ""; bottom: -7px; }
.hamburger.active .hamburger-inner { background-color: transparent; }
.hamburger.active .hamburger-inner::before { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger-inner::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
    .hamburger { display: inline-block; }
    .desktop-cta { display: none; }

    .nav-list {
        gap: 1.7rem;
    }

    body.has-open-menu .site-header {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: var(--color-bg) !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        background-color: var(--color-bg) !important;
        z-index: 99 !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;

        padding-top: 120px !important;
        padding-bottom: 40px !important;
        overflow-y: auto !important;

        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .logo, .nav-actions {
        position: relative !important;
        z-index: 100 !important;
    }

    .nav-list {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 2.2rem !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .nav-link { font-size: 1.4rem; }

    .dropdown { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .dropdown-toggle { width: 44px; height: 44px; }
    .dropdown-arrow { font-size: 1rem; }

    .dropdown-panel {
        position: static;
        flex-basis: 100%;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .dropdown-panel::before { display: none; }
    .dropdown:hover .dropdown-panel,
    .dropdown:focus-within .dropdown-panel { transform: none; }

    .dropdown-panel > * { overflow: hidden; min-height: 0; }
    .dropdown-panel__label,
    .dropdown-panel__all { display: none; }
    .dropdown-menu {
        border-left: 2px solid var(--color-primary);
        padding-left: 1.25rem;
        margin: 0.65rem auto 0;
        text-align: left;
    }
    .dropdown-menu a { font-size: 1.05rem; padding: 0.55rem 0.75rem; }

    .dropdown.active .dropdown-panel { grid-template-rows: 1fr; }

    .nav-cta-wrapper.mobile-only {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
        width: 100%;
    }

    .nav-cta-wrapper .nav-btn {
        width: auto;
        min-width: 200px;
    }
}

.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-header p { font-size: var(--font-p); color: var(--color-accent-deep); max-width: 60ch; margin: 0 auto; }

.fade-in-up, .fade-in-down {
    opacity: 0;
    transition: opacity 0.62s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up { transform: translate3d(0, 28px, 0); }
.fade-in-down { transform: translate3d(0, -28px, 0); }
.fade-in-up.visible, .fade-in-down.visible { opacity: 1; transform: none; }

.fade-in-up:has(.service-details.is-drawer),
.fade-in-down:has(.service-details.is-drawer) {
    opacity: 1;
    transform: none;
    transition: none;
}

.hero-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    --hero-veil: rgba(250, 246, 236, 0.9);
    --hero-veil-mid: rgba(250, 246, 236, 0.62);
    --hero-veil-soft: rgba(250, 246, 236, 0);
    --hero-veil-text: rgba(250, 246, 236, 0.95);
    --hero-veil-end: #FAF6EC;
}

html[data-theme="dark"] .hero-stage {
    --hero-veil: rgba(19, 31, 24, 0.92);
    --hero-veil-mid: rgba(19, 31, 24, 0.66);
    --hero-veil-soft: rgba(19, 31, 24, 0);
    --hero-veil-text: rgba(19, 31, 24, 0.95);
    --hero-veil-end: #131F18;
}

.hero-stage > *:not(.hero-bg) {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem clamp(1.25rem, 4vw, 8rem) 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(80% 90% at 15% 10%, rgba(47, 122, 78, 0.16), transparent 20%),
        radial-gradient(80% 80% at 85% 20%, rgba(214, 168, 62, 0.14), transparent 43%),
        var(--color-bg-alt);
}

.hero-bg__layer {
    position: absolute;
    inset: -6%;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.hero-bg__layer.is-active { opacity: 1; }

.hero-bg__layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(2.4px) saturate(108%) brightness(1.03);
    transform: translate3d(-3%, 0, 0) scale(1.16);
}

.hero-bg__layer.is-active img {
    animation: heroBgPan var(--pan-duration, 8.3s) linear forwards;
}

@keyframes heroBgPan {
    from { transform: translate3d(-3%, 0, 0) scale(1.16); }
    to   { transform: translate3d(3%, 0, 0) scale(1.16); }
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            var(--hero-veil) 0%,
            var(--hero-veil-mid) 38%,
            var(--hero-veil-mid) 72%,
            var(--hero-veil) 90%,
            var(--hero-veil-end) 99%),
        radial-gradient(70% 70% at 72% 46%, var(--hero-veil-text) 0%, var(--hero-veil-text) 42%, var(--hero-veil-soft) 82%);
}

@media (max-width: 1024px) {
    .hero-bg::after {
        background:
            linear-gradient(to bottom,
                var(--hero-veil) 0%,
                var(--hero-veil-mid) 34%,
                var(--hero-veil-mid) 70%,
                var(--hero-veil) 90%,
                var(--hero-veil-end) 99%),
            radial-gradient(85% 52% at 50% 56%, var(--hero-veil-text) 0%, var(--hero-veil-text) 45%, var(--hero-veil-soft) 85%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg__layer,
    .hero-bg__layer.is-active img {
        transition: none;
        animation: none;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 4rem;
    width: 100%;
}

.hero-media { display: flex; justify-content: flex-end; align-items: stretch; }
.hero-text { text-align: left; }
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(2.1rem, 3.9vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-wrap: balance;
}

.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(18, 40, 27, 0.12);
    background-color: var(--color-bg-alt);
    border: 1px solid var(--glass-border);
}

.hero-video-player {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-text {
    display: flex; 
    flex-direction: column; 
    text-align: left; 
}

.hero-title__line { display: block; }

.hero-ask {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent-deep);
}

.hero-ask::before {
    content: "";
    flex: none;
    width: 2.4rem;
    height: 2px;
    border-radius: 2px;
    background: var(--color-accent);
}
.hero-subtitle { font-size: var(--font-p); color: var(--color-text-muted); margin-bottom: 2.25rem; max-width: 36rem; }
.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    width: 100%;
    max-width: 36rem;
}

@media (min-width: 1025px) {
    .hero-video-frame {
        aspect-ratio: auto;
        height: 100%;
        min-height: 26rem;
    }

    .hero-text { justify-content: center; }
    .hero-subtitle { max-width: none; }
    .hero-actions { max-width: none; }
}

@media (max-width: 620px) {
    .hero-actions { grid-template-columns: minmax(0, 1fr); }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

#hero-video, #about-video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.mute-btn {
    position: absolute; bottom: 20px; right: 20px; width: 48px; height: 48px;
    border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2); color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    transition: background-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.mute-btn:hover { background: rgba(0,0,0,0.7); transform: scale(1.05); }
.mute-btn .hidden { display: none; }

@media (max-width: 992px) {
    .hero { padding: 7rem 1.5rem 3rem; }
    .hero-split { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { text-align: center; align-items: center; }
    .hero-title { align-items: center; text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-media { justify-content: center; order: -1; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
}

.services { padding: 6rem 2rem; }

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

@media (min-width: 700px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
    .services-grid { grid-template-columns: repeat(var(--services-cols, 4), minmax(0, 1fr)); }
}

.service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    height: 100%;
}

.service-card[hidden] { display: none; }

.service-icon-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.9;
    display: block;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-img { opacity: 1; transform: scale(1.02); }

.card-icon { width: 100%; }

.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.25;
    min-height: calc(1.35rem * 1.25 * 2);
}
.service-card p { color: var(--color-text-muted); margin-bottom: 2rem; flex-grow: 1; }
.card-link { text-decoration: none; color: var(--color-text); font-weight: 600; transition: opacity 0.3s ease; }
.card-link:hover { opacity: 0.6; }

.service-card--featured {
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) border-box;
    box-shadow: 0 18px 44px rgba(18, 40, 27, 0.16);
}

.service-card--featured:hover { box-shadow: 0 24px 56px rgba(18, 40, 27, 0.20); }

.service-card--featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -0.85rem;
    left: 2.5rem;
    z-index: 3;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--color-ink-deep);
    color: var(--color-text-inverse);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(18, 40, 27, 0.25);
}

.service-card--featured:not([data-badge])::before { display: none; }
.services-action {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4rem;
}
.services-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}
.services-header p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 800px;
    margin: 0 auto;
}

.card-icon,
.service-row__media,
.service-row__detail-media,
.post-media,
.pd-hero__media,
.pd-step__media,
.about-video-wrapper {
    position: relative;
    isolation: isolate;
}

.card-icon::before,
.service-row__media::before,
.service-row__detail-media::before,
.post-media::before,
.pd-hero__media::before,
.pd-step__media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(112deg,
        rgba(47, 122, 78, 0.62) 0%,
        rgba(47, 122, 78, 0.14) 32%,
        rgba(214, 168, 62, 0.14) 64%,
        rgba(214, 168, 62, 0.66) 100%);
    mix-blend-mode: color;
    opacity: 0.9;
    transition: opacity 0.45s ease;
}

.card-icon::after,
.service-row__media::after,
.service-row__detail-media::after,
.post-media::after,
.pd-hero__media::after,
.pd-step__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(to top,
            rgba(18, 40, 27, 0.58) 0%,
            rgba(18, 40, 27, 0.20) 34%,
            rgba(18, 40, 27, 0.02) 62%,
            rgba(18, 40, 27, 0) 100%),
        radial-gradient(ellipse 120% 90% at 50% 105%,
            rgba(18, 40, 27, 0.28) 0%,
            rgba(18, 40, 27, 0) 60%);
    box-shadow: inset 0 0 0 1px rgba(250, 246, 236, 0.10);
    transition: opacity 0.45s ease;
}

.card-icon::before,
.card-icon::after { border-radius: 12px; }

.service-card:hover .card-icon::before,
.post-card:hover .post-media::before,
.service-row__trigger:hover .service-row__media::before { opacity: 0.35; }

.service-card:hover .card-icon::after,
.post-card:hover .post-media::after,
.service-row__trigger:hover .service-row__media::after { opacity: 0.55; }

.service-icon-img,
.service-row__media img,
.service-row__detail-media img,
.post-media img,
.pd-hero__media img,
.pd-step__media img {
    filter: saturate(1.08) contrast(1.05) sepia(0.05);
    transition: filter 0.45s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-img,
.post-card:hover .post-media img { filter: saturate(1.02) contrast(1.02) sepia(0); }

.post-media.is-missing::before { background: none; mix-blend-mode: normal; }

.post-media__play { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
    .card-icon::before, .card-icon::after,
    .post-media::before, .post-media::after,
    .service-row__media::before, .service-row__media::after,
    .pd-hero__media::before, .pd-hero__media::after,
    .pd-step__media::before, .pd-step__media::after,
    .service-icon-img, .post-media img,
    .pd-hero__media img, .pd-step__media img { transition: none; }
}

.about { padding: 6rem 2rem; }
.about-wrapper { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.about-visual, .about-content { flex: 1 1 450px; }

.about-video-wrapper {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 24px; overflow: hidden; background-color: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.about-video-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.btn-playlist {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-ink-deep);
    background-color: transparent;
    border: 1px solid var(--color-line-strong);
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease;
}

html[data-theme="dark"] .btn-playlist {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-line-strong);
}

html[data-theme="dark"] .btn-playlist__icon {
    color: var(--color-accent);
}

.btn-playlist__icon {
    display: inline-flex;
    color: var(--color-accent-deep);
    transition: color 0.25s ease;
}

.btn-playlist__arrow {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-playlist:hover {
    background-color: rgba(214, 168, 62, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(140, 106, 38, 0.18);
}

.btn-playlist:hover .btn-playlist__icon { color: var(--color-accent-hover); }
.btn-playlist:hover .btn-playlist__arrow { transform: translateX(4px); }

.btn-playlist:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.about-video-cta__note {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
    .btn-playlist,
    .btn-playlist__arrow { transition: background-color 0.25s ease, border-color 0.25s ease; }
    .btn-playlist:hover { transform: none; }
    .btn-playlist:hover .btn-playlist__arrow { transform: none; }
}

.section-tag { display: inline-block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-primary); margin-bottom: 1rem; font-weight: 700; }
.about-content h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.15; margin-bottom: 2rem; letter-spacing: -0.02em; }
.lead-text { font-size: 1.15rem; color: var(--color-text); margin-bottom: 1.5rem; font-weight: 500; }
.about-content p { color: var(--color-text-muted); margin-bottom: 1.5rem; }

.why-hajsplon-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.why-hajsplon-list li {
    position: relative;
    padding-left: 1.5em;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.why-hajsplon-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}
.why-hajsplon-list strong { color: var(--color-text); }

.about-stats {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    border-top: 1px solid var(--color-line);
    padding-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1 1 150px;
    min-width: 140px;
    position: relative;
    padding: 1.25rem 1rem 1.1rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-line);
    border-radius: 14px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(18, 40, 27, 0.08);
}

.stat-number {
    font-size: clamp(1.85rem, 3.4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-primary);
    font-family: var(--font-heading);
    display: block;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}
.about-more-link { display: inline-block; margin-top: 1.75rem; }

.pog-tracker { padding: 6rem 2rem; }

.pog-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pog-panel[hidden] { display: none; }

.pog-panel {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-line);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(18, 40, 27, 0.05);
}

.pog-panel__head { margin-bottom: 1.35rem; }

.pog-panel__title {
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.pog-panel__sub {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}
.pog-panel__sub strong { color: var(--color-text); font-weight: 600; }

.pog-panel__foot {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}
.pog-panel__foot a { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.pog-panel__foot a:hover { text-decoration: underline; }

.pog-map {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(5rem, 1fr);
    gap: 0.55rem;
    list-style: none;
    flex: 1 1 auto;
    min-height: 0;
}

.pog-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    min-width: 0;
}

.pog-tile:hover { transform: translateY(-2px) scale(1.04); }

.pog-tile__name {
    font-size: clamp(0.66rem, 1.7vw, 0.76rem);
    font-weight: 600;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
}

.pog-tile__pct {
    font-family: var(--font-mono);
    font-size: clamp(0.74rem, 1.9vw, 0.88rem);
    font-weight: 700;
    line-height: 1;
}

.pog-tile__bar {
    display: block;
    width: 72%;
    height: 3px;
    margin-top: 0.1rem;
    border-radius: 2px;
    overflow: hidden;
}
.pog-tile__bar > span { display: block; height: 100%; border-radius: 2px; }

.pog-tile[data-tier="low"] {
    background: var(--color-bg);
    border: 1px solid var(--color-line-strong);
}
.pog-tile[data-tier="low"] .pog-tile__name,
.pog-tile[data-tier="low"] .pog-tile__pct { color: var(--color-text); }
.pog-tile[data-tier="low"] .pog-tile__bar { background: rgba(22, 36, 28, 0.12); }
.pog-tile[data-tier="low"] .pog-tile__bar > span { background: var(--color-text-muted); }

.pog-tile[data-tier="mid"] { background: var(--color-accent); }
.pog-tile[data-tier="mid"] .pog-tile__name,
.pog-tile[data-tier="mid"] .pog-tile__pct { color: var(--color-ink-deep); }
.pog-tile[data-tier="mid"] .pog-tile__bar { background: rgba(18, 40, 27, 0.18); }
.pog-tile[data-tier="mid"] .pog-tile__bar > span { background: var(--color-ink-deep); }

.pog-tile[data-tier="high"] { background: var(--color-primary); }
.pog-tile[data-tier="high"] .pog-tile__name,
.pog-tile[data-tier="high"] .pog-tile__pct { color: #fff; }
.pog-tile[data-tier="high"] .pog-tile__bar { background: rgba(255, 255, 255, 0.25); }
.pog-tile[data-tier="high"] .pog-tile__bar > span { background: #fff; }

.pog-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    list-style: none;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}
.pog-legend li { display: flex; align-items: center; gap: 0.45rem; }

.pog-legend__dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
    flex: none;
}
.pog-legend__dot[data-tier="low"]  { background: var(--color-bg); border: 1px solid var(--color-line-strong); }
.pog-legend__dot[data-tier="mid"]  { background: var(--color-accent); }
.pog-legend__dot[data-tier="high"] { background: var(--color-primary); }

.pog-geo__canvas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.5rem 0;
}

.pog-geo__svg {
    display: block;
    width: 100%;
    max-width: 34rem;
    height: auto;
    max-height: 30rem;
    aspect-ratio: 1 / 0.95;
    margin: 0 auto;
    overflow: visible;
}

.pog-geo__region {
    stroke: var(--color-bg-alt);
    stroke-width: 1;
    stroke-linejoin: round;
    transition: opacity 0.25s ease;
}
.pog-geo__region[data-tier="low"]  { fill: var(--color-bg); stroke: var(--color-line-strong); }
.pog-geo__region[data-tier="mid"]  { fill: var(--color-accent); }
.pog-geo__region[data-tier="high"] { fill: var(--color-primary); }
.pog-geo__svg:hover .pog-geo__region { opacity: 0.55; }
.pog-geo__svg .pog-geo__region:hover { opacity: 1; }

.pog-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-line-strong);
    align-items: start;
}

.pog-stat { margin-bottom: 1.5rem; }
.pog-stat:last-child { margin-bottom: 0; }
.pog-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-primary);
    line-height: 1;
    display: block;
}
.pog-stat__label { display: block; margin-top: 0.5rem; font-size: 1rem; color: var(--color-text); font-weight: 500; }
.pog-stat__label strong { font-weight: 700; }

.pog-stat--secondary {
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-line);
}
.pog-stat__value--small {
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    color: var(--color-accent-deep);
}
.pog-stat--secondary .pog-stat__label { font-size: 0.9rem; color: var(--color-text-muted); }
.pog-stat--secondary .pog-stat__label strong { color: var(--color-text); }

.pog-desc { font-size: 1.05rem; color: var(--color-text); margin-bottom: 1rem; font-weight: 500; }

.pog-source {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 0.9rem;
    border-left: 2px solid var(--color-line-strong);
}

@media (max-width: 640px) {
    .pog-tracker { padding: 4rem 1.25rem; }
    .pog-panels { gap: 1.25rem; }
    .pog-panel { padding: 1.25rem; border-radius: 16px; }
    .pog-map { grid-auto-rows: minmax(4rem, auto); gap: 0.4rem; }
    .pog-tile { padding: 0.45rem 0.35rem; }
    .pog-summary { margin-top: 2rem; padding-top: 2rem; gap: 1.75rem; }
}

.newsroom { padding: 6rem 2rem; }

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-line-strong);
    background: transparent;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    font-family: var(--font-body);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.filter-btn:hover { border-color: var(--color-primary); transform: translateY(-1px); }

@media (max-width: 720px) {
    .filter-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 1.25rem 0.75rem;
        margin-inline: -1.25rem;
        margin-bottom: 2rem;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
        mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-btn {
        flex: 0 0 auto;
        scroll-snap-align: center;
        white-space: nowrap;
    }
}

.filter-btn.active,
.filter-btn[aria-pressed="true"] {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.post-card__media-link {
    display: block;
    text-decoration: none;
}

.post-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .post-media img { transform: scale(1.04); }

.post-media.is-missing img { display: none; }

.post-media.is-missing {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, rgba(214, 168, 62, 0.18) 100%);
}

.post-media.is-missing::after {
    content: attr(data-fallback);
    font-size: 2.5rem;
    opacity: 0.6;
}

.post-media__play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(18, 40, 27, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.post-media__play::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 15px;
    border-color: transparent transparent transparent #fff;
    transform: translateX(2px);
}

.post-card:hover .post-media__play {
    transform: scale(1.08);
    background: var(--color-primary);
}

.post-card__body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.post-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    border: 1px solid var(--color-line);
    background: rgba(22, 36, 28, 0.04);
    color: var(--color-text-muted);
}

.post-tag[data-category="case-study"] {
    color: var(--color-primary);
    border-color: rgba(47, 122, 78, 0.35);
    background: rgba(47, 122, 78, 0.08);
}

.post-tag[data-category="poradnik"] {
    color: var(--color-accent-deep);
    border-color: rgba(214, 168, 62, 0.45);
    background: rgba(214, 168, 62, 0.12);
}

.post-tag[data-category="news"] {
    color: var(--color-text);
    border-color: var(--color-line-strong);
    background: rgba(22, 36, 28, 0.06);
}

html[data-theme="dark"] .post-tag[data-category="news"] {
    background: rgba(232, 236, 228, 0.10);
}

html[data-theme="dark"] .post-tag {
    background: rgba(232, 236, 228, 0.08);
}

.post-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.post-card__title {
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
}

.post-card__title a {
    color: var(--color-text);
    text-decoration: none;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-size: 0% 1.5px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.post-card__title a:hover {
    color: var(--color-primary);
    background-size: 100% 1.5px;
}

.post-card__excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
}

.post-ref { opacity: 0.55; letter-spacing: 0.05em; }
.post-card:hover .post-ref { opacity: 0.8; }

.contact { padding: 8rem 2rem; background-color: var(--color-ink-deep); color: var(--color-text-inverse); position: relative; }

:root { --header-h: 6.5rem; }

@media (max-width: 1024px) { :root { --header-h: 5.5rem; } }

.page-contact .contact { padding-top: calc(var(--header-h) + 2.5rem); }

.contact-wrapper {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form-container { flex: 1 1 400px; min-width: 0; }

.contact-info h1, .contact-info h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-text-inverse); }
.contact-info p { font-size: 1.1rem; color: var(--color-text-inverse-muted); margin-bottom: 3rem; }
.detail-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.detail-item a { color: var(--color-text-inverse); text-decoration: none; font-size: 1.2rem; font-weight: 600; transition: opacity 0.3s ease; }
.detail-item a:hover { opacity: 0.7; }
.detail-item--hours { align-items: flex-start; }
.detail-hours { color: var(--color-text-inverse); font-size: 1.05rem; font-weight: 600; line-height: 1.5; }

.detail-hours__note { display: inline-block; font-size: 0.92rem; font-weight: 500; opacity: 0.75; }

.contact-figure {
    order: -1;
    position: relative;
    margin-top: 2.5rem;
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
}

.contact-figure::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 420px;
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 50% 60%,
        rgba(214, 168, 62, 0.20) 0%,
        rgba(47, 122, 78, 0.12) 40%,
        transparent 70%);
    z-index: 0;
}

.contact-figure__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;

    opacity: 0.95;
    filter: contrast(1.05) saturate(0.95);

    -webkit-mask-image:
        linear-gradient(to top, transparent 0%, black 22%, black 94%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to top, transparent 0%, black 22%, black 94%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-composite: intersect;
}

@media (max-width: 900px) {
    .contact-figure { display: none; }
}

.contact-form-container { padding: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.form-group input:not([type="checkbox"]):not([type="radio"]), .form-group select, .form-group textarea {
    width: 100%; padding: 1rem; border: 1px solid var(--color-line-strong); color: var(--color-text); border-radius: 8px; font-family: inherit; font-size: 1rem; background-color: var(--color-surface);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(47, 122, 78, 0.15); background-color: var(--color-surface); }

.checkbox-group { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(250, 246, 236, 0.5); border-radius: 10px; border: 1px solid var(--color-line); }
.checkbox-group input { width: 18px; height: 18px; margin-top: 2px; cursor: pointer; accent-color: var(--color-primary); flex-shrink: 0; }
.checkbox-group .text-small { font-size: 0.85rem; font-weight: 400; color: var(--color-text); line-height: 1.5; }
.checkbox-group a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.submit-btn { width: 100%; margin-top: 1rem; cursor: pointer; }

.form-fieldset {
    border: 0;
    margin: 0 0 1.5rem;
    padding: 1.5rem 0 0;
    border-top: 1px dashed var(--color-line);
}

.form-fieldset__legend {
    padding: 0;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-fieldset__hint {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}

.form-grid-2 .form-group { grid-column: span 1; }
@media (max-width: 480px) {
    .form-grid-2 { grid-template-columns: 1fr; }
}

.form-group__optional {
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: normal;
}

.site-legend {
    background-color: var(--color-ink-deep);
    color: var(--color-text-inverse-muted);
    padding: 5rem 2rem 3rem;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.legend-column h4,
.legend-column .legend-heading {
    color: var(--color-text-inverse);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legend-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.legend-column a {
    color: var(--color-text-inverse-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.legend-column a:hover {
    color: var(--color-accent);
}

.legend-address {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(169, 183, 169, 0.15);
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-inverse-muted);
    font-family: var(--font-mono);
}

.site-footer {
    background-color: var(--color-ink-deep);
    color: var(--color-text-inverse-muted);
    padding: 0 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content { display: flex; flex-direction: column; gap: 1rem; align-items: center; padding-top: 2rem; }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--color-text-inverse); letter-spacing: -0.05em; font-family: var(--font-heading); }

.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;

    opacity: 0;
    transform: translateY(50px);
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-widget.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@keyframes softPulseGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 10px 22px rgba(47, 122, 78, 0.18);
        filter: brightness(1);
    }
    50% {
        transform: translateY(-1px) scale(1.015);
        box-shadow: 0 0 0 8px rgba(47, 122, 78, 0.08), 0 16px 28px rgba(47, 122, 78, 0.24);
        filter: brightness(1.03);
    }
}

.btn-floating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    animation: softPulseGlow 3s ease-in-out infinite, talkBtnFlicker 8s ease-in-out infinite;
}

.btn-floating .icon-chat {
    display: inline-flex;
    transform-origin: center;
    animation: softPulseGlow 3s ease-in-out infinite;
}

.btn-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@keyframes talkBtnFlicker {
    0%, 19%, 22%, 58%, 61%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    20%, 60% {
        opacity: 0.96;
        filter: brightness(1.03);
    }
}

@media (max-width: 768px) {
    .floating-widget {
        bottom: 20px;
        right: 20px;
    }
    .btn-floating {
        padding: 0.75rem 1.25rem;
        border-radius: 40px;
        font-size: 0.92rem;
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
}

body:has(.promo-popup.active) .floating-widget,
body:has(.promo-popup.active) .back-to-top,
body:has(.deadline-popup.active) .floating-widget,
body:has(.deadline-popup.active) .back-to-top,
body:has(.land-purchase-popup.active) .floating-widget,
body:has(.land-purchase-popup.active) .back-to-top,
body:has(.realizacja-pending-popup.active) .floating-widget,
body:has(.realizacja-pending-popup.active) .back-to-top,
body:has(.service-details.is-open) .floating-widget,
body:has(.service-details.is-open) .back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.video-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-ink-deep) 0%, #0A1811 100%);
}

.video-fallback::after {
    content: 'Hajsplon.';
    color: rgba(245, 242, 230, 0.35);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.badge-seal {
    --seal-size: 118px;
    width: var(--seal-size);
    height: var(--seal-size);
    border-radius: 50%;
    border: 1.5px dashed var(--color-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
    transform: rotate(-8deg);
}

.badge-seal { animation: sealFloat 6.5s ease-in-out infinite; }
.badge-seal:nth-child(2) { animation-delay: -2.1s; }
.badge-seal:nth-child(3) { animation-delay: -4.2s; }
.badge-seal:nth-child(4) { animation-delay: -5.3s; }

@keyframes sealFloat {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50%      { transform: rotate(-4.5deg) translateY(-7px); }
}

.badge-seal:hover { animation-play-state: paused; }

.badge-seal .seal-icon {
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
}

.badge-seal .seal-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-text);
    font-weight: 600;
}

.video-wrapper .badge-seal {
    position: absolute;
    bottom: -20px;
    left: -20px;
    z-index: 5;
}

@media (max-width: 480px) {
    .badge-seal { --seal-size: 92px; padding: 0.5rem; }
    .badge-seal .seal-icon { font-size: 1.3rem; }
    .badge-seal .seal-text { font-size: 0.58rem; }
    .video-wrapper .badge-seal { bottom: -14px; left: -14px; }
}

.field-divider {
    width: 100%;
    padding: 2.5rem 0;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.field-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.field-divider path {
    fill: none;
    stroke-linecap: round;
    transition: opacity 0.6s ease;
}

.field-divider .fd-row-1 { stroke: var(--color-primary);  opacity: 0.65; }
.field-divider .fd-row-2 { stroke: var(--color-primary);  opacity: 0.35; }
.field-divider .fd-row-3 { stroke: var(--color-accent);   opacity: 0.55; }
.field-divider .fd-row-4 { stroke: var(--color-primary);  opacity: 0.18; }

.field-divider--flip svg { transform: scaleY(-1); }

.field-divider--dark .fd-row-1,
.field-divider--dark .fd-row-2,
.field-divider--dark .fd-row-4 {
    stroke: var(--color-text-inverse-muted);
}
.field-divider--dark .fd-row-3 { stroke: var(--color-accent); }

@media (prefers-reduced-motion: no-preference) {
    .field-divider path {
        stroke-dasharray: 3000;
        stroke-dashoffset: 3000;
        animation: fd-draw 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .field-divider .fd-row-1 { animation-delay: 0.05s; }
    .field-divider .fd-row-2 { animation-delay: 0.15s; }
    .field-divider .fd-row-3 { animation-delay: 0.25s; }
    .field-divider .fd-row-4 { animation-delay: 0.35s; }
}

@keyframes fd-draw {
    to { stroke-dashoffset: 0; }
}

.promo-popup {
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 998;
    width: 100%;
    max-width: 300px;
    padding: 1.5rem;

    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.92);
    transform-origin: bottom left;
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.promo-popup.active .popup-seal {
    display: inline-block;
    animation: sealPulse 2.4s ease-in-out 0.6s infinite;
}

@keyframes sealPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.12) rotate(-6deg); }
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.close-btn:hover { color: var(--color-text); }

.popup-seal { font-size: 1.8rem; margin-bottom: 0.5rem; display: inline-block; }

.popup-amount {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--color-primary);
    white-space: nowrap;
}

.popup-amount .amount-emoji {
    display: inline-block;
    font-size: 1.15rem;
    margin-left: 0.25rem;
    animation: shieldWobble 3.2s ease-in-out infinite;
}

.popup-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent-deep);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.popup-headline {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: var(--color-text);
}

.popup-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
}

.promo-popup .btn { width: 100%; }

.deadline-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 100%;
    max-width: 320px;
    padding: 1.5rem;

    background: var(--color-ink-deep);
    color: var(--color-text-inverse);
    border: 1px solid rgba(214, 168, 62, 0.35);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);

    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.92);
    transform-origin: bottom right;
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                visibility 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.deadline-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.deadline-popup .close-btn { color: var(--color-text-inverse-muted); }
.deadline-popup .close-btn:hover { color: var(--color-text-inverse); }

.deadline-popup__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.deadline-popup__eyebrow .icon-hourglass {
    display: inline-block;
    animation: hourglassPulse 2.6s ease-in-out infinite;
}

@keyframes hourglassPulse {
    0%, 100% { opacity: 1; transform: rotate(0deg); }
    50%      { opacity: 0.55; transform: rotate(8deg); }
}

.deadline-popup__headline {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    color: var(--color-text-inverse);
}

.deadline-popup__sub {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--color-text-inverse-muted);
    margin-bottom: 1.15rem;
}

.deadline-timer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
    padding: 0.8rem 0.4rem;
    background: rgba(245, 242, 230, 0.06);
    border: 1px solid rgba(214, 168, 62, 0.2);
    border-radius: 12px;
}

.deadline-timer__segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 2.5rem;
}

.deadline-timer__value {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.deadline-timer__label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-inverse-muted);
    margin-top: 0.3rem;
}

.deadline-timer__colon {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(214, 168, 62, 0.45);
    line-height: 1;
    margin-top: 0.05rem;
}

.deadline-popup .btn { width: 100%; }

@media (max-width: 768px) {
    .deadline-popup {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        width: 100%;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transform-origin: bottom center;
        padding: 1.35rem 1.35rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
    }
    .deadline-popup.active { transform: translateY(0); }
    .deadline-timer__value { font-size: 1.25rem; }
    .deadline-timer__segment { min-width: 2.2rem; }
}

@keyframes shieldWobble {
    0%, 100% { transform: rotate(0deg) scale(1); }
    20%      { transform: rotate(-11deg) scale(1.08); }
    45%      { transform: rotate(9deg) scale(1.04); }
    70%      { transform: rotate(-4deg) scale(1.02); }
}

.wobble-shield,
.wobble-emoji {
    display: inline-block;
    animation: shieldWobble 3.6s ease-in-out infinite;
}

.nowrap { white-space: nowrap; }

.page-title {
    position: relative;
    display: inline-block;
    padding-bottom: 0.18em;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.page-title.visible::after { transform: scaleX(1); }

.page-title .accent {
    background-image: linear-gradient(100deg,
        var(--color-primary) 0%,
        var(--color-accent-deep) 45%,
        var(--color-primary) 90%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: titleSheen 7.5s ease-in-out infinite;
}

@keyframes titleSheen {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.btn-small {
    width: 100%;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .promo-popup {
        bottom: 90px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
}

.logo-mark-icon {
    height: 64px;
    width: 64px;
    margin-top: 4px;
    transform-origin: center;
    animation: occasionalSpin 15s infinite linear;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes occasionalSpin {
    0%, 90% { transform: rotate(0deg); }
    95% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

.logo:hover .logo-mark-icon {
    animation: none;
    transform: rotate(360deg) scale(1.1);
}

.site-header.scrolled .logo-mark-icon {
    transform: scale(0.75);
    margin-top: 0;
}
.site-header.scrolled .logo:hover .logo-mark-icon { transform: scale(0.82) rotate(360deg); }

.slow-reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease 0.5s, transform 1s ease 1s;
}
.slow-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonials {
    padding: 6rem 2rem;
    overflow: hidden;
    display: block;
    box-sizing: border-box;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.testimonials-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    width: max-content;
    padding: 1rem 0;

    animation: scrollMarquee 35s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused; 
}

.testimonial-card {
    min-width: 300px;
    max-width: 360px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    white-space: normal;
}

.testimonial-card .stars {
    color: var(--color-accent-text);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    flex-grow: 1;
    font-style: italic;

    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } 
}

@media (max-width: 768px) {
    .testimonials-slider {
        height: 26rem;
        -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
        mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    }

    .testimonials-track {
        flex-direction: column;
        width: 100%;
        gap: 1.25rem;
        animation-name: scrollMarqueeVertical;
        animation-duration: 45s;
    }

    .testimonial-card {
        min-width: 0;
        max-width: none;
        width: 100%;
        padding: 1.5rem;
    }
    .testimonial-card p { font-size: 0.92rem; -webkit-line-clamp: 7; }
}

@keyframes scrollMarqueeVertical {
    0%   { transform: translateY(0); }
    100% { transform: translateY(calc(-50% - 0.625rem)); }
}

.legal-disc {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}

.legend-column .legal-disc__check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(169, 183, 169, 0.35);
    border-radius: 999px;
    background-color: transparent;
    color: var(--color-text-inverse);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legend-column .legal-disc__check:hover,
.legend-column .legal-disc__check:focus-visible {
    background-color: rgba(214, 168, 62, 0.14);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-1px);
}

.legal-disc__check-arrow { font-size: 0.85em; line-height: 1; }

.toast-stack {
    position: fixed;
    top: calc(1rem + 84px);
    right: 1.5rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 340px;
    padding: 0.9rem 2.4rem 0.9rem 1rem;
    position: relative;
    border-radius: 14px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    pointer-events: auto;

    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: var(--glass-bg);
    border-left: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border);
    transform: rotate(45deg);
}

.toast__icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

.toast__text {
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--color-text);
}

.toast__close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: 0;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
}

.toast__close:hover { color: var(--color-text); }

@media (max-width: 600px) {
    .toast-stack {
        top: auto;
        bottom: 100px;
        left: 1rem;
        right: 1rem;
    }
    .toast { max-width: none; }
    .toast::before { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
    ::view-transition-old(root) {
        animation: vt-fade-out 0.22s cubic-bezier(0.4, 0, 1, 1) both;
    }
    ::view-transition-new(root) {
        animation: vt-fade-in 0.32s cubic-bezier(0, 0, 0.2, 1) both;
    }
}

@keyframes vt-fade-out {
    to { opacity: 0; transform: translateY(-8px); }
}

@keyframes vt-fade-in {
    from { opacity: 0; transform: translateY(10px); }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.page-hero {
    padding: 11rem 2rem 3rem;
}

.page-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 1.1rem;
    max-width: 20ch;
    display: block;
    width: fit-content;
}

.page-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.6rem;
    padding: 0.4rem 0.95rem 0.4rem 0.75rem;
    border: 1px solid var(--color-line-strong);
    border-radius: 40px;
    background: var(--glass-bg);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent-deep);
}

.page-hero__eyebrow::before {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
}

.page-hero__lead {
    font-size: var(--font-p);
    color: var(--color-text-muted);
    max-width: 68ch;
    margin: 0 0 2rem;
}

@media (max-width: 760px) {
    .page-hero { padding: 9rem 1.5rem 2.5rem; }
    .page-hero__title { max-width: none; }
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.field-error {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--color-danger);
}

.field-error::before {
    content: "⚠";
    flex: none;
    font-size: 0.85rem;
    line-height: 1.35;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--color-danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form-group.has-error label { color: var(--color-danger); }

.lead-form input,
.lead-form select,
.lead-form textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn { position: relative; }

.submit-btn.is-pending {
    opacity: 0.72;
    cursor: progress;
}

.submit-btn.is-success {
    background-color: #10b981;
    border-color: #10b981;
    color: #fff;
}

.submit-btn.is-error {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.submit-btn.is-blocked,
.booking-calendar__submit.is-blocked {
    background-color: #8FA894;
    border-color: #8FA894;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}

.submit-btn.is-blocked:hover,
.booking-calendar__submit.is-blocked:hover {
    background-color: #8FA894;
    border-color: #8FA894;
    transform: none;
    box-shadow: none;
}

.checkbox-group.is-required {
    border-left: 3px solid var(--color-accent);
}

.checkbox-group.is-required.has-consent {
    border-left-color: var(--color-primary);
}

.form-group__required-mark {
    display: inline-block;
    margin-left: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--color-accent-deep);
    white-space: nowrap;
}

.checkbox-group .field-error {
    flex-basis: 100%;
    margin-top: 0.35rem;
}

.checkbox-group.has-error {
    border-color: var(--color-danger);
    border-left-color: var(--color-danger);
    background: var(--color-danger-bg);
}

body.has-open-menu { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .testimonials-track { animation: none; }
    .logo-mark-icon { animation: none; }

    .fade-in-up,
    .fade-in-down,
    .slow-reveal {
        opacity: 1;
        transform: none;
    }
}

.mute-btn.is-unmuted {
    background: rgba(0, 0, 0, 0.45);
}

img {
    max-width: 100%;
}

img[width][height] {
    height: auto;
}

.interview { padding: 6rem 2rem; }

.interview__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.interview__player,
.interview__body { min-width: 0; }

.yt-facade {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    font: inherit;
    color: inherit;
    background-color: var(--color-ink-deep);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.yt-facade:hover { transform: translate3d(0, -4px, 0); }
.yt-facade:hover,
.yt-facade:focus-visible { box-shadow: 0 18px 42px rgba(18, 40, 27, 0.22); }

.yt-facade img.yt-facade__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-facade:hover img.yt-facade__poster { transform: scale(1.04); }

.yt-facade::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 11, 7, 0.12) 0%, rgba(6, 11, 7, 0.34) 100%);
    transition: opacity 0.35s ease;
}
.yt-facade:hover::before { opacity: 0.5; }

.yt-facade__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: clamp(58px, 11%, 82px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background-color: rgba(250, 246, 236, 0.94);
    box-shadow: 0 10px 28px rgba(6, 11, 7, 0.4);
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.yt-facade__play svg {
    width: 40%;
    height: 40%;
    margin-left: 8%;
    fill: #12281B;
}

.yt-facade:hover .yt-facade__play,
.yt-facade:focus-visible .yt-facade__play {
    background-color: var(--color-accent);
    transform: translate(-50%, -50%) scale(1.08);
}

.yt-facade__frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 24px;
    background-color: #000;
}

.interview__disclaimer {
    margin-top: 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.interview__eyebrow {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-accent-text);
}

.interview__title {
    font-size: clamp(1.9rem, 3.4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.interview__lead {
    max-width: 42ch;
    margin-bottom: 2.25rem;
    font-size: var(--font-p);
    color: var(--color-text-muted);
}
.interview__lead strong { color: var(--color-text); font-weight: 700; }

.btn-bm {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 1.6rem 0.55rem 0.55rem;
    border: 1px solid #007CB2;
    border-radius: 999px;
    background-color: #007CB2;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 124, 178, 0.28);
    transition: background-color 0.25s ease, border-color 0.25s ease,
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-bm:hover,
.btn-bm:focus-visible {
    background-color: #006E9E;
    border-color: #006E9E;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 124, 178, 0.38);
}

.btn-bm__mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 58px;
    height: 46px;
    border-radius: 16px;
    background-color: #fff;
}

.btn-bm__mark img {
    width: 46px;
    display: block;
}

.btn-bm__text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.btn-bm__kicker {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn-bm__label {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-bm__arrow {
    font-size: 0.62rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-bm:hover .btn-bm__arrow { transform: translateX(3px); }

@media (max-width: 900px) {
    .interview { padding: 4rem 1.25rem; }

    .interview__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 420px) {
    .btn-bm { gap: 0.65rem; padding-right: 1.2rem; }
    .btn-bm__mark { width: 48px; height: 38px; border-radius: 13px; }
    .btn-bm__mark img { width: 38px; }
    .btn-bm__label { font-size: 0.98rem; }
}