:root {
    --bg-gradient: linear-gradient(150deg,
        #442063 0%,
        #342557 25%,
        #26233c 50%,
        #1f2d51 75%,
        #1d3263 100%
    );
    --accent: #ec811f;
    --white: #ffffff;
    --font-head: 'Michroma', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

@media (max-width: 850px) {
    html { scroll-padding-top: 80px; }
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.5;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.snap-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 60px 0;
}

/* --- UKRYWANIE SEKCJI CENNIK --- */
.pricing { display: none !important; }

/* --- Pasek górny (site-topbar, gradient, przyklejony przy scrollu) --- */
.site-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: linear-gradient(135deg, #442063 0%, #ec811f 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.site-topbar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
.site-topbar-logo img {
    height: 58px;
    width: auto;
    display: block;
}

/* --- Przełącznik języka (wewnątrz site-topbar, jasny na gradiencie) --- */
.lang-switch {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}
.lang-switch a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: 0.3s;
    padding: 5px 4px;
}
.lang-switch a:hover { color: #ffffff; }
.lang-switch a.active { color: #ffffff; }
/* .lang-switch span — usunięte: relikt po starej architekturze (PL | EN separator). Łapał się na spany wewnątrz nowego buttona dropdowna i nadpisywał ich kolor. */

/* --- Pływający Przycisk (Sticky CTA) --- */
.sticky-reserve {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    padding: 20px 36px;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    font-size: 1.05rem;
    letter-spacing: 1.2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.sticky-reserve.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sticky-reserve:hover { transform: scale(1.05); background: #ff9130; }

/* --- Hero --- */
.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 100%; }
.hero-text h1, .section-title, .pricing-text h2, .contact-data h2 { font-family: var(--font-head); }
.hero-text h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; margin-bottom: 20px; }
.subtitle { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.description { max-width: 480px; margin-bottom: 35px; opacity: 0.9; font-size: 1.1rem; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.btn-main, .btn-secondary, .btn-outline {
    font-family: var(--font-body); text-decoration: none; padding: 14px 30px; font-weight: 700; border-radius: 4px; display: inline-block; transition: 0.3s; text-align: center; font-size: 0.9rem; letter-spacing: 0.5px;
}
.btn-main { background: var(--accent); color: var(--white); border: 2px solid transparent; }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 12px 30px; }
.btn-main:hover, .btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.btn-outline:hover, .btn-secondary:hover { background: var(--white); color: #000; }
.bounce-rating { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; opacity: 0.9; }
.stars { color: #f1c40f; letter-spacing: 2px; }
.hero-img { flex: 1; display: flex; justify-content: flex-end; }
.hero-img img { max-width: 100%; height: auto; aspect-ratio: 1 / 1; }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    width: 20px; height: 35px; border: 2px solid rgba(255,255,255,0.3); border-radius: 10px;
}
.scroll-indicator::before {
    content: ''; position: absolute; top: 5px; left: 50%; width: 4px; height: 4px;
    background: var(--white); margin-left: -2px; border-radius: 50%; animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateY(15px); }
}

/* --- Jak to działa --- */
.section-title { text-align: center; margin-bottom: 50px; font-size: clamp(1.5rem, 4vw, 2rem); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; width: 100%; list-style: none; padding: 0; }
.step-card {
    background: var(--white); color: #000; padding: 40px 30px; text-align: center; border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.step-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(236, 129, 31, 0.25); }
.step-num { font-family: var(--font-body); font-weight: 700; font-size: 4rem; display: block; margin-bottom: 10px; line-height: 1; }
.step-card p { font-family: var(--font-body); color: var(--accent); font-weight: 500; font-size: 1rem; }

/* --- Cennik --- */
.pricing-content { display: flex; align-items: center; gap: 60px; width: 100%; }
.pricing-text { flex: 1; }
.pricing-text h2 { margin-bottom: 30px; font-size: 2rem;}
.price-row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.price { font-weight: 700; font-size: 1.4rem; color: var(--accent); }
.discount { color: var(--accent); margin-top: 25px; font-weight: 700; }
.circle-mask { width: clamp(280px, 35vw, 420px); height: clamp(280px, 35vw, 420px); border-radius: 50%; overflow: hidden; border: 8px solid var(--accent); flex-shrink: 0; }
.circle-mask img { width: 100%; height: 100%; object-fit: cover; }

/* --- Mapa --- */
.location-map {
    flex-direction: column;
    justify-content: center;
}
.map-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 6px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    aspect-ratio: 16 / 9;
    background: #000;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Kontakt --- */
.footer-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 60px; width: 100%; }
.contact-data { flex: 1; }
.contact-data h2 { margin-bottom: 40px; font-size: 2rem;}
.contact-item { margin-bottom: 25px; }
.contact-item label { display: block; font-size: 0.8rem; text-transform: uppercase; opacity: 0.6; margin-bottom: 5px; font-weight: 700; }
.contact-item a, .contact-item p { font-size: 1.3rem; color: var(--white); text-decoration: none; font-weight: 700; }
.contact-item a:hover { color: var(--accent); }
.contact-visual { flex: 1; display: flex; justify-content: flex-end; }

.contact-slider {
    position: relative; width: 100%; max-width: 450px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 6px solid var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.contact-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-fade { animation: crossfade 10s infinite; }
@keyframes crossfade {
    0%, 40% { opacity: 0; }
    50%, 90% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- Stopka prawna (NIP, linki prawne) --- */
.legal {
    display: block;
    width: 100%;
    text-align: center;
    padding: 28px 20px 40px;
    font-size: 0.7rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    background: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin: 0;
}
.legal p { margin: 0; }
.legal a { color: rgba(255,255,255,0.92); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--white); }

/* --- Dostępność: skip link --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
}
.skip-link:focus { left: 20px; top: 20px; }

/* --- Tekst tylko dla czytników ekranu (SEO i a11y) --- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 850px) {
    .snap-section { min-height: auto; padding: 60px 0; }
    .hero-wrapper, .pricing-content, .footer-wrapper { flex-direction: column; text-align: center; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons a { width: 100%; }
    .bounce-rating { justify-content: center; }

    /* Poprawka kontenerów zdjęć na mobile */
    .hero-img, .contact-visual {
        order: -1;
        margin-bottom: 40px;
        justify-content: center;
        width: 100%;
        display: flex;
    }

    .circle-mask, .contact-slider { margin: 0 auto; width: 100%; max-width: 450px; }
    .scroll-indicator { display: none; }
    .sticky-reserve { bottom: 20px; right: 20px; padding: 16px 28px; font-size: 0.95rem; }
    .site-topbar { height: 80px; padding: 0 20px; }
    .site-topbar-logo img { height: 46px; }
    .map-wrapper { aspect-ratio: 1 / 1; }
}

/* --- FAQ --- */
.faq {
    display: block;
    min-height: auto;
    padding: 90px 0 110px;
    /* tło dziedziczone po body (--bg-gradient) — spójność z resztą sekcji */
    color: var(--white);
}
.faq .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    letter-spacing: 1px;
}
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding: 18px 0;
}
.faq-item summary {
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
    line-height: 1.4;
    outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
    content: '–';
}
.faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 3px;
}
.faq-item p {
    margin-top: 12px;
    opacity: 0.88;
    line-height: 1.65;
    font-size: 0.98rem;
}
.faq-item p a {
    color: var(--accent);
    text-decoration: none;
}
.faq-item p a:hover {
    text-decoration: underline;
}
@media (max-width: 850px) {
    .faq { padding: 60px 0 80px; }
    .faq-item summary { font-size: 0.98rem; }
}

/* =====================================================================
   7-language switcher (dropdown) + banner detekcji języka
   Dodane 2026-04-22 w ramach rolloutu 7 języków.
   ===================================================================== */

/* Dropdown jezyka w topbarze */
.lang-switch { position: relative; }
.lang-switch-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(68, 32, 99, 0.55);
    color: #442063;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lang-switch-current:hover,
.lang-switch-current[aria-expanded="true"] {
    border-color: #442063;
    background: rgba(255, 255, 255, 0.18);
    color: #2a1340;
}
/* Spany wewnatrz buttona dziedzicza kolor z buttona — odporne na wygasle reguly .lang-switch span */
.lang-switch-current .lang-code,
.lang-switch-current .lang-caret {
    color: inherit;
    opacity: 1;
}
.lang-switch-current .lang-caret {
    font-size: 0.8rem;
    opacity: 0.8;
    transition: transform 0.2s;
}
.lang-switch-current[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #1a0f2a;
    border: 1px solid rgba(246, 242, 236, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 101;
}
.lang-switch-menu li { margin: 0; }
.lang-switch-menu a {
    display: block;
    padding: 10px 18px;
    color: rgba(246, 242, 236, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.15s, color 0.15s;
}
.lang-switch-menu a:hover,
.lang-switch-menu a:focus {
    background: rgba(236, 129, 31, 0.2);
    color: #ffffff;
}

/* Banner detekcji jezyka */
.lang-banner {
    position: sticky;
    top: 104px; /* pod topbarem */
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    background: #fff8ed;
    color: #2a1400;
    border-bottom: 1px solid #f2c98a;
    font-size: 0.92rem;
    flex-wrap: wrap;
}
.lang-banner[hidden] { display: none !important; }
.lang-banner-text { flex: 1; min-width: 220px; }
.lang-banner-btn {
    background: #ec811f;
    color: #ffffff;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}
.lang-banner-btn:hover { background: #d26f15; }
.lang-banner-dismiss {
    background: transparent;
    color: #5a3d1a;
    border: 1px solid #d4a869;
    padding: 7px 14px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    font-family: inherit;
}
.lang-banner-dismiss:hover { background: rgba(212, 168, 105, 0.15); }
.lang-banner-close {
    background: transparent;
    border: none;
    color: #5a3d1a;
    font-size: 1.4rem;
    line-height: 1;
    padding: 2px 8px;
    cursor: pointer;
}

@media (max-width: 700px) {
    .lang-banner { top: 80px; padding: 10px 14px; font-size: 0.88rem; }
    .lang-switch-menu { right: -20px; }
}
