/* ===================================================================
   PREFABSTUDIO - Main Stylesheet
   Modern prefabricated homes design system
   =================================================================== */

/* ===== CSS Variables (Root) ===== */
:root {
    /* Colors - Paleta Monochromatyczna */
    --color-background: #F5F5F5; /* Złamana biel / Bardzo jasny szary */
    --color-background-alt: #EAEAEA; /* Jasny szary */
    --color-surface: #FFFFFF; /* Czysta biel dla kart */
    --color-text: #1a1a1a; /* Ciemny grafit */
    --color-text-soft: #666666; /* Średni szary */
    --color-accent: #999999; /* Akcent - średni szary */
    --color-accent-dark: #777777; /* Akcent - ciemny szary */
    --color-subtle: #BDBDBD; /* Subtelny szary */
    --color-border: rgba(0, 0, 0, 0.1);
    --color-cta-primary: #1a1a1a; /* Przycisk główny - grafit */
    --color-cta-hover: #000000; /* Przycisk główny - hover */

    /* Gradients */
    --gradient-primary: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-soft: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.02), transparent 60%);

    /* Shadows (dostosowane do nowej palety) */
    --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 20px 45px rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;

    /* Spacing */
    --space-xs: 0.45rem;
    --space-s: 0.9rem;
    --space-m: 1.8rem;
    --space-l: 2.5rem;
    --space-xl: 5rem;
    --space-section: 6rem;

    /* Border Radius */
    --radius-small: 16px;
    --radius-medium: 24px;
    --radius-large: 32px;

    /* Animation */
    --ease-out-human: cubic-bezier(0.22, 1, 0.36, 1);

    /* Mobile Menu */
    --menu-toggle-offset: 1rem;
    --menu-toggle-size: 48px;
}

/* ===== Global Resets ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== Base HTML & Body ===== */
html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    background-image: radial-gradient(ellipse at top right, rgba(0, 0, 0, 0.03), transparent),
                      radial-gradient(circle at 18% 22%, rgba(0, 0, 0, 0.03), transparent);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Container ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background-image: var(--gradient-primary);
    color: #fff;
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms var(--ease-out-human),
                box-shadow 300ms var(--ease-out-human),
                filter 300ms var(--ease-out-human);
    text-decoration: none;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 25px 45px rgba(153, 153, 153, 0.2);
    filter: saturate(1.05);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 2.1rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-cta-primary);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 300ms var(--ease-out-human),
                box-shadow 300ms var(--ease-out-human),
                filter 300ms var(--ease-out-human);
    text-decoration: none;
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-4px);
    background: var(--color-cta-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    filter: saturate(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: transparent;
    cursor: pointer;
    transition: transform 300ms var(--ease-out-human),
                background-color 300ms var(--ease-out-human);
}

.btn-secondary:hover, .btn-secondary:focus {
    background: var(--color-background-alt);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* ===== Header & Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 245, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

#main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 245, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    background-color: rgba(245, 245, 245, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
}

.logo:hover, .logo:visited, .logo:focus {
    text-decoration: none;
    color: inherit;
}

.logo::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(153, 153, 153, 0.18);
}

nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-m);
}

nav a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 300ms var(--ease-out-human);
}

nav a.highlight {
    background-color: rgba(153, 153, 153, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

nav a.active {
    background-color: rgba(153, 153, 153, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 400ms var(--ease-out-human);
}

nav a:hover::after, nav a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle:hover {
    background-color: rgba(153, 153, 153, 0.1);
}

.menu-toggle::before, .menu-toggle::after {
    position: absolute;
}

.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
    content: "";
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 300ms var(--ease-out-human);
}

.menu-toggle span {
    position: relative;
}

.menu-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-8px);
}

.menu-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(8px);
}

.menu-toggle.is-active span {
    background-color: transparent;
}

.menu-toggle.is-active::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.is-active::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--menu-toggle-offset) + var(--menu-toggle-size) + 0.75rem);
    right: var(--menu-toggle-offset);
    width: 280px;
    background-color: rgba(245, 245, 245, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 300ms var(--ease-out-human);
    z-index: 1000;
}

.mobile-nav ul {
    list-style: none;
    padding: var(--space-s) 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
    text-decoration: none;
    transition: all 300ms var(--ease-out-human);
    position: relative;
}

.mobile-nav a:hover, .mobile-nav a:focus {
    background-color: rgba(153, 153, 153, 0.08);
    color: var(--color-accent);
    padding-left: 2rem;
}

.mobile-nav a.active {
    background-color: rgba(153, 153, 153, 0.1);
    color: var(--color-accent);
    font-weight: 600;
}

.mobile-nav.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===== Sections ===== */
section {
    padding: var(--space-section) 0;
    border-bottom: 1px solid var(--color-border);
}

section:last-of-type {
    border-bottom: none;
    padding-bottom: var(--space-l);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: var(--space-m);
    color: var(--color-text);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-text-soft);
    max-width: 65ch;
    margin-bottom: var(--space-l);
}

.section-intro .section-subtitle {
    margin-bottom: var(--space-s);
}

.section-intro .section-subtitle:last-of-type {
    margin-bottom: var(--space-l);
}

/* ===== Contact Modal ===== */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s);
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.contact-modal-content {
    position: relative;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-large);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    max-width: min(720px, calc(100vw - 2.5rem));
    width: min(100%, 720px);
    margin: 0 auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--space-l);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-modal-close {
    position: absolute;
    top: var(--space-s);
    right: var(--space-s);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-soft);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background: var(--color-background-alt);
    color: var(--color-text);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--color-surface);
    border-radius: 32px;
    padding: clamp(2.4rem, 5vw, 3.6rem);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-l);
    align-items: start;
}

.contact-form-main {
    display: grid;
    gap: var(--space-s);
}

.contact-form-main .form-group {
    margin-bottom: 0;
}

.contact-form-main .form-row {
    gap: var(--space-s);
}

.contact-form-secondary {
    display: flex;
}

.contact-form-secondary .advisor-card {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-s);
}

.form-group {
    margin-bottom: 0.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.85rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.7rem;
    border-radius: var(--radius-small);
    border: 1px solid var(--color-border);
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 300ms var(--ease-out-human);
    resize: none;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ===== Advisor Card ===== */
.advisor-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    padding: var(--space-m);
    box-shadow: var(--shadow-card);
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advisor-header {
    text-align: center;
    margin-bottom: var(--space-s);
}

.advisor-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-subtle);
    margin-bottom: var(--space-s);
}

.advisor-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
    text-align: center;
}

.advisor-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-background-alt);
    flex-shrink: 0;
}

.advisor-info {
    width: 100%;
}

.advisor-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-s);
}

.advisor-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.advisor-contact a {
    color: var(--color-text-soft);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.advisor-contact a[href^="tel"] {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 0.3rem;
}

.advisor-contact a:hover {
    color: var(--color-accent);
}

/* ===== Checkbox Styles ===== */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.25em;
    height: 1.25em;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin: 0;
    transition: all 150ms ease-in-out;
    position: relative;
    top: -1px;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label input[type="checkbox"]:checked::before {
    content: "✓";
    display: block;
    color: white;
    font-weight: bold;
    font-size: 0.9em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 1000;
}

/* ===== Footer ===== */
.main-footer {
    background-color: var(--color-background-alt);
    padding: var(--space-m) 0 0 0;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    text-align: center;
    align-items: center;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-s);
}

.footer-social a, .footer-cookie-btn {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-social a:hover, .footer-cookie-btn:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.footer-cookie-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: inherit;
}

/* ===== Utility Classes ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-human),
                transform 0.6s var(--ease-out-human);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE MEDIA QUERIES
   =================================================================== */

/* Safe area support for notched devices */
@supports (top: env(safe-area-inset-top)) {
    .menu-toggle {
        top: calc(env(safe-area-inset-top) + var(--menu-toggle-offset));
        right: calc(env(safe-area-inset-right) + var(--menu-toggle-offset));
    }
    .mobile-nav {
        top: calc(env(safe-area-inset-top) + var(--menu-toggle-offset) + var(--menu-toggle-size) + 0.75rem);
        right: calc(env(safe-area-inset-right) + var(--menu-toggle-offset));
    }
}

/* Desktop screens */
@media (min-width: 993px) {
    .mobile-nav {
        display: none !important;
    }
    .menu-toggle {
        display: none !important;
    }
}

/* Tablets and below */
@media (max-width: 992px) {
    nav ul {
        display: none;
    }
    .menu-toggle {
        display: flex !important;
    }
    section {
        padding: calc(var(--space-section) * 0.8) 0;
    }
}

/* Medium tablets */
@media (max-width: 768px) and (min-width: 481px) {
    .container {
        padding: 0 var(--space-m);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .contact-form {
        padding: clamp(1.8rem, 5vw, 2.2rem);
        border-radius: 24px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
    .contact-form-main {
        gap: var(--space-m);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-modal-content {
        width: calc(100vw - 2.5rem);
        max-width: 520px;
        margin: 0 auto;
        padding: var(--space-m);
        max-height: 95vh;
        border-radius: 18px;
    }
    .advisor-card {
        padding: var(--space-m);
    }
    section {
        padding: calc(var(--space-section) * 0.7) 0;
    }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Small tablets and large phones */
@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-s);
    }
}

/* Small phones */
@media (max-width: 600px) {
    .contact-form {
        padding: 1.4rem;
        border-radius: 20px;
    }
    .contact-form .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    .advisor-card {
        align-items: center;
        text-align: center;
    }
    .advisor-contact {
        align-items: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    :root {
        --menu-toggle-offset: 0.75rem;
        --menu-toggle-size: 44px;
    }
    .menu-toggle {
        padding: 10px;
    }
    .mobile-nav {
        top: calc(var(--menu-toggle-offset) + var(--menu-toggle-size) + 0.75rem);
        right: var(--menu-toggle-offset);
        max-width: 280px;
    }
    .mobile-nav a {
        font-size: 0.8rem;
        padding: 0.9rem 1.2rem;
    }
    .advisor-content {
        flex-direction: column;
        text-align: center;
    }
    .advisor-photo {
        width: 100px;
        height: 100px;
    }
    .contact-modal {
        padding: 1rem;
    }
    .contact-modal-content {
        width: calc(100vw - 2rem);
        max-width: none;
        margin: 0;
        padding: 1rem;
        border-radius: 16px;
        max-height: 95vh;
    }
    .contact-form {
        padding: 1.5rem;
        border-radius: 16px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }
    .floating-cta .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }
    section {
        padding: calc(var(--space-section) * 0.6) 0;
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .container {
        padding: 0 var(--space-xs);
    }
    section {
        padding: calc(var(--space-section) * 0.5) 0;
    }
}

/* Very small phones */
@media (max-width: 320px) {
    .container {
        padding: 0 calc(var(--space-xs) * 0.5);
    }
    section {
        padding: calc(var(--space-section) * 0.4) 0;
    }
}

/* ===== PROJECT SPECIFIC STYLES ===== */

/* Pricing card status text */
.pricing-status {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: var(--space-s) 0;
    font-weight: bold;
}

/* Package details expandable lists */
.package-feature-list-compact {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.package-feature-list-compact li {
    margin-bottom: 0.15rem;
}

.package-feature-list-compact li:last-child {
    margin-bottom: 0;
}

/* Centered CTA button container */
.pricing-cta-center {
    text-align: center;
    margin-top: var(--space-l);
}
/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-cta-primary);
    color: #fff;
    padding: var(--space-s) var(--space-m);
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 500ms var(--ease-out-human);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.cookie-banner.cookie-banner--hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner:not(.cookie-banner--hidden) {
    transform: translateY(0);
}

.cookie-banner__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner__content {
    font-size: 0.9rem;
    margin-right: var(--space-m);
}

.cookie-banner__content a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-s);
}

.cookie-banner__button {
    white-space: nowrap;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.cookie-banner__button#cookie-accept {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.cookie-banner__button#cookie-accept:hover {
    background-color: var(--color-accent-dark);
}

.cookie-banner__button#cookie-settings-toggle {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.cookie-banner__button#cookie-settings-toggle:hover {
    background-color: rgba(255,255,255,0.2);
}

/* ===== Hero Section (Strona Główna) ===== */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 2rem;
    overflow: hidden;
    position: relative;
}
.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7;
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.22);
    z-index: 0;
}
#hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: left;
    margin: 0 auto;
}
#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-s);
    text-align: left;
    color: #fff; /* Added for better contrast on video */
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3); /* Added for better contrast */
}
.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: var(--space-l);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}
.subtitle-text {
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}
.rotating-text {
    font-weight: bold;
    color: #fff; /* Changed from accent to white for better contrast */
    min-width: 240px;
    transition: opacity 0.5s ease-in-out;
}
