/*
 * SPA LUXURY MOBILE - arkusz bazowy wspolny dla wszystkich podstron
 * (index, oferta, rezerwacja, szef). Wydzielony z dawnego monolitu index.html.
 */
:root {
    --gold: #dfba6b;
    --gold-dark: #bfa353;
    --bg-black: #0c0c0c;
    --card-black: #161616;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section & Premium Branding */
header {
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    padding: 80px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(223, 186, 107, 0.2);
}

.logo-container {
    margin-bottom: 20px;
}

/* Stylizowane logo nawiązujące do wizytówki */
.logo-box {
    display: inline-block;
    border: 2px solid var(--gold);
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 30px rgba(223, 186, 107, 0.1);
    position: relative;
}

.logo-box h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 4px;
    line-height: 1.2;
}

.logo-box .sm-tag {
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 6px;
    display: block;
    margin: 5px 0;
    font-weight: 700;
}

.logo-box p {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold-dark);
    text-transform: uppercase;
}

.tagline {
    margin-top: 30px;
    font-size: 1.2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 300;
}

.tagline span {
    color: var(--gold);
}

/* Główne kontenery */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Przycisk Główny - Aktualna Oferta OLX */
.cta-container {
    text-align: center;
    margin-bottom: 60px;
}

.btn-premium {
    display: inline-block;
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #000;
    text-decoration: none;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(223, 186, 107, 0.3);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 186, 107, 0.5);
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
}

/* Sekcja Usług */
.section-title {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2.2rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 15px auto 0;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Siatka usług kończąca kontener nie dubluje odstępu sekcji */
.container > .grid-services:last-child {
    margin-bottom: 0;
}

.service-card {
    background-color: var(--card-black);
    border: 1px solid rgba(223, 186, 107, 0.15);
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-card .price {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
}

.service-card .price span {
    color: var(--gold);
    font-size: 0.9rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Opcje i Atuty */
.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Kafel wyróżniony: Custom Skin Premium – galeria realizacji na proceduralnym tle */
.service-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    overflow: hidden;
    border-color: rgba(223, 186, 107, 0.45);
    background:
        radial-gradient(circle at 12% 40%, rgba(212, 175, 55, 0.12), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(0, 71, 171, 0.14), transparent 55%),
        var(--card-black);
}

.service-card--featured h3 {
    font-size: 1.6rem;
}

/* Licznik dostępności (capacity.js) zajmuje pełną szerokość kafla */
.service-card--featured > .capacity-note {
    grid-column: 1 / -1;
}

.skin-gallery {
    margin: 0;
    min-width: 0;
}

.skin-gallery__main {
    position: relative;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    margin: 0 auto;
    border: 1px solid rgba(223, 186, 107, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    background: #000;
}

.skin-gallery__main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.skin-gallery__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: rgba(12, 12, 12, 0.8);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.skin-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.skin-thumb {
    padding: 0;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(223, 186, 107, 0.2);
    background: #000;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: opacity 0.25s ease, border-color 0.25s ease;
}

.skin-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skin-thumb:hover,
.skin-thumb:focus-visible,
.skin-thumb.is-active {
    opacity: 1;
    border-color: var(--gold);
}

.skin-thumb:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

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

@media (max-width: 760px) {
    .service-card--featured {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 18px 30px;
        background:
            radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
            var(--card-black);
    }

    .service-card--featured h3 {
        font-size: 1.3rem;
    }

    .skin-gallery__main {
        max-height: 70vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skin-gallery__main img,
    .skin-thumb {
        transition: none;
    }
}

/* Formularz Zgłoszeniowy Premium */
.form-section {
    background: linear-gradient(180deg, #111 0%, #070707 100%);
    border: 1px solid rgba(223, 186, 107, 0.1);
    padding: 50px 40px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(223, 186, 107, 0.3);
    padding: 15px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255,255,255,0.07);
}

select.form-control option {
    background-color: #111;
    color: #fff;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    padding: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--gold);
    color: #000;
}

.btn-submit:disabled {
    opacity: 0.55;
    cursor: progress;
}

/* === WALIDACJA ZGLOSZENIA: czytelne bledy w zlotym idiomie === */
.form-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 8px;
}

.form-hint--center {
    text-align: center;
    margin-top: 14px;
}

/* Komunikat pola pojawia sie dopiero wtedy, gdy walidator go wypelni. */
.field-error {
    font-size: 0.78rem;
    line-height: 1.5;
    color: #f1a9a2;
    margin-top: 8px;
    display: none;
}

.field-error.is-on {
    display: block;
    animation: badgeReveal 0.35s ease both;
}

.form-control.is-invalid {
    border-color: #b3362f;
    box-shadow: 0 0 0 1px rgba(179, 54, 47, 0.35);
}

/* Zbiorcza lista bledow bezpośrednio nad JEDNYM przyciskiem finalnym. */
.form-errors {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(179, 54, 47, 0.55);
    border-left-width: 3px;
    background: rgba(179, 54, 47, 0.1);
    color: #f1cfcb;
    font-size: 0.84rem;
    line-height: 1.7;
    animation: badgeReveal 0.35s ease both;
}

.form-errors strong {
    display: block;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    color: #f3b8b1;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
}

/* === JEDEN EKRAN SUKCESU (zaden inny modal nie moze sie na niego nalozyc) === */
.order-done {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 15px 50px;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    box-sizing: border-box;
}

.order-done[hidden] { display: none; }

.order-done__card {
    background: linear-gradient(160deg, rgba(18, 15, 9, 0.99), rgba(5, 5, 5, 0.99));
    border: 1px solid var(--gold);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 42px rgba(223, 186, 107, 0.16);
    padding: 38px 28px;
    max-width: 560px;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    animation: badgeReveal 0.5s ease both;
}

.order-done__seal {
    display: block;
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 12px;
}

.order-done__card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.45rem;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.35;
}

.order-done__lead {
    text-align: center;
    color: #e0e0e0;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.order-done__pay {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    background: rgba(223, 186, 107, 0.09);
    color: #f6e6c2;
    font-size: 0.84rem;
    line-height: 1.7;
}

.order-done__pay b { font-family: 'Cinzel', serif; letter-spacing: 1px; }

.order-done__meta {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(223, 186, 107, 0.15);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-done__meta div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.order-done__meta b { color: #fff; font-weight: 400; text-align: right; }

.order-done__steps {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    counter-reset: donestep;
    display: grid;
    gap: 12px;
}

.order-done__steps li {
    counter-increment: donestep;
    position: relative;
    padding-left: 38px;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #ccc;
}

.order-done__steps li::before {
    content: counter(donestep);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(223, 186, 107, 0.45);
    background: #000;
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
}

.order-done__steps li b { color: var(--gold); font-weight: 400; }

.order-done__close {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #000;
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 14px 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.order-done__close:hover { background: transparent; color: var(--gold); }

@media (max-width: 520px) {
    .order-done { padding: 18px 12px 40px; }
    .order-done__card { padding: 30px 20px; }
    .order-done__card h3 { font-size: 1.2rem; }
}

/* Dane i Info / Stopka */
footer {
    background-color: #050505;
    padding: 60px 20px;
    border-top: 1px solid rgba(223, 186, 107, 0.15);
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: left;
}

.footer-info h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: var(--gold);
}

.footer-bottom {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .logo-box h1 { font-size: 1.8rem; }
    .logo-box .sm-tag { font-size: 1.4rem; }
    .form-section { padding: 30px 20px; }
    .footer-grid { text-align: center; }
}

/* === STREFA RELAKSU & KOSMETYKI SMARTFONÓW === */
.spa-zone {
    position: relative;
    padding: 70px 20px;
    text-align: center;
    background:
        radial-gradient(circle at 15% 0%, rgba(223, 186, 107, 0.08), transparent 55%),
        radial-gradient(circle at 85% 100%, rgba(223, 186, 107, 0.06), transparent 55%),
        linear-gradient(135deg, #121212 0%, #0a0a0a 55%, #151515 100%);
    border-top: 1px solid rgba(223, 186, 107, 0.15);
    border-bottom: 1px solid rgba(223, 186, 107, 0.15);
    overflow: hidden;
}

.spa-zone-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.spa-zone .section-title {
    margin-bottom: 20px;
}

.spa-zone-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 660px;
    margin: 0 auto 50px;
}

/* Neonowy przycisk TikTok – błękit → róż przy najechaniu */
.spa-tiktok-wrap {
    margin: -26px auto 50px;
}

.tiktok-neon-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border: 1px solid #25f4ee;
    border-radius: 40px;
    background: rgba(37, 244, 238, 0.06);
    color: #25f4ee;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(37, 244, 238, 0.6);
    box-shadow: 0 0 10px rgba(37, 244, 238, 0.35), inset 0 0 10px rgba(37, 244, 238, 0.15);
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.tiktok-neon-btn:hover,
.tiktok-neon-btn:focus-visible {
    color: #fff;
    border-color: #fe2c55;
    background: rgba(254, 44, 85, 0.12);
    text-shadow: 0 0 8px #fe2c55, 0 0 16px rgba(254, 44, 85, 0.7);
    box-shadow: 0 0 14px #fe2c55, 0 0 34px rgba(254, 44, 85, 0.45), -4px 0 18px rgba(37, 244, 238, 0.4), inset 0 0 12px rgba(254, 44, 85, 0.25);
    transform: translateY(-2px);
    outline: none;
}

.footer-tiktok-link {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-tiktok-link:hover,
.footer-tiktok-link:focus-visible {
    color: #25f4ee;
    text-shadow: 0 0 6px #25f4ee, 0 0 14px rgba(254, 44, 85, 0.6);
}

@media (prefers-reduced-motion: reduce) {
    .tiktok-neon-btn:hover,
    .tiktok-neon-btn:focus-visible { transform: none; }
}

/* Subtelne akcenty TikTok (konfigurator, Przed i Po, Klub Ambasadora) */
.tt-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: currentColor;
}

.tt-chip-wrap {
    margin-top: 22px;
    text-align: center;
}

.tt-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 18px;
    border: 1px solid rgba(37, 244, 238, 0.55);
    border-radius: 12px;
    background: #070708;
    color: #dffcfb;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-decoration: none;
    animation: ttSoftGlow 3.6s ease-in-out infinite;
    transition: border-color 0.5s ease, color 0.5s ease, transform 0.5s ease;
}

.tt-chip .tt-icon { color: #25f4ee; }

.tt-chip:hover,
.tt-chip:focus-visible {
    border-color: #25f4ee;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

@keyframes ttSoftGlow {
    0%, 100% { box-shadow: 0 0 4px rgba(37, 244, 238, 0.12); }
    50% { box-shadow: 0 0 14px rgba(37, 244, 238, 0.32); }
}

.tt-backstage {
    margin: 44px auto 0;
    text-align: center;
}

.tt-backstage__line {
    width: 120px;
    height: 1px;
    margin: 0 auto 18px;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(223, 186, 107, 0.55), transparent);
}

.tt-backstage__link {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.tt-backstage__link:hover,
.tt-backstage__link:focus-visible {
    color: #fe2c55;
    text-shadow: 0 0 8px rgba(254, 44, 85, 0.55);
    outline: none;
}

.tt-club {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.tt-club__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted, rgba(255, 255, 255, 0.65));
    font-size: 0.82rem;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: color 0.5s ease;
}

.tt-club__icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(223, 186, 107, 0.35);
    border-radius: 999px;
    color: var(--gold);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.tt-club__link:hover,
.tt-club__link:focus-visible {
    color: var(--gold);
    outline: none;
}

.tt-club__link:hover .tt-club__icons,
.tt-club__link:focus-visible .tt-club__icons {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(223, 186, 107, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .tt-chip { animation: none; }
    .tt-chip:hover,
    .tt-chip:focus-visible { transform: none; }
}

.spa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* Kafelek zabiegowy – wjazd na scroll + magnetyczny tilt (JS) */
.spa-card {
    --ty: 35px;
    --rx: 0deg;
    --ry: 0deg;
    --mx: 50%;
    --my: 0%;
    --tempo: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 22px 28px;
    background-color: var(--card-black);
    border: 1px solid rgba(223, 186, 107, 0.18);
    overflow: hidden;
    opacity: 0;
    transform: perspective(800px) translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry));
    transition: opacity 0.9s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1),
                border-color 0.4s ease, box-shadow 0.4s ease;
}

.spa-card.is-visible {
    opacity: 1;
    --ty: 0px;
}

/* Delikatna złota poświata wędrująca za kursorem */
.spa-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(223, 186, 107, 0.12), transparent 70%);
}

.spa-card:hover,
.spa-card:focus-within {
    border-color: var(--gold);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(223, 186, 107, 0.12);
}

.spa-card:hover::after,
.spa-card:focus-within::after {
    opacity: 1;
}

.spa-card.is-boosted {
    --tempo: 0.45;
    border-color: var(--gold);
    box-shadow: 0 0 35px rgba(223, 186, 107, 0.3);
}

.spa-stage {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bazowy korpus urządzenia w kapsule zabiegowej */
.spa-phone {
    position: relative;
    width: 100px;
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(165deg, #2b2b2b 0%, #141414 60%, #1d1d1d 100%);
    border: 4px solid #4d4d4d;
    box-shadow: 0 0 22px rgba(223, 186, 107, 0.22), inset 0 0 14px rgba(0, 0, 0, 0.85);
}

.spa-phone::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 5px;
    border-radius: 3px;
    background: #0b0b0b;
}

.spa-face {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 26px;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(223, 186, 107, 0.45));
}

/* 1. Błysk luksusu przesuwający się po obudowie */
.spa-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    border-radius: 14px;
    animation: spaShine calc(2.8s * var(--tempo)) linear infinite;
}

/* 1. Ręcznik otulający urządzenie po zabiegu */
.spa-towel {
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 102px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f2f2f2 0%, #d8d8d8 100%);
    border-radius: 0 0 14px 14px;
    border-top: 5px solid var(--gold);
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
}

.spa-towel span {
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #555;
}

/* 1. Para wodna unosząca się nad kapsułą */
.spa-steam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 70px;
    pointer-events: none;
}

.spa-steam i {
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
    animation: spaSteam calc(4s * var(--tempo)) ease-in-out infinite;
}

.spa-steam i:nth-child(1) { left: 18%; animation-delay: 0s; }
.spa-steam i:nth-child(2) { left: 46%; animation-delay: calc(1.3s * var(--tempo)); }
.spa-steam i:nth-child(3) { left: 74%; animation-delay: calc(2.6s * var(--tempo)); }

/* 2. Ściereczka polerująca ekran */
.spa-cloth {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(223, 186, 107, 0.75);
    border: 2px solid #fff;
    box-shadow: 0 0 15px var(--gold);
    animation: spaWipe calc(2.6s * var(--tempo)) ease-in-out infinite;
}

/* 2. Iskry czystości po przejściu ściereczki */
.spa-sparkles i {
    position: absolute;
    font-size: 11px;
    color: #fff;
    opacity: 0;
    text-shadow: 0 0 8px var(--gold);
    animation: spaSparkle calc(2.6s * var(--tempo)) ease-in-out infinite;
}

.spa-sparkles i:nth-child(1) { top: 55px; left: 22px; animation-delay: calc(0.4s * var(--tempo)); }
.spa-sparkles i:nth-child(2) { top: 110px; left: 58px; animation-delay: calc(1.1s * var(--tempo)); }
.spa-sparkles i:nth-child(3) { top: 140px; left: 26px; animation-delay: calc(1.8s * var(--tempo)); }

/* 3. Folia hydrożelowa nakładana na 360° */
.spa-foil {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 96px;
    height: 176px;
    border-radius: 14px;
    background: rgba(223, 186, 107, 0.12);
    border: 2px dashed rgba(223, 186, 107, 0.85);
    box-shadow: 0 0 18px rgba(223, 186, 107, 0.35);
    animation: spaApplyFoil calc(3.4s * var(--tempo)) ease-in-out infinite;
}

.spa-badge-360 {
    position: absolute;
    bottom: -6px;
    right: -10px;
    padding: 4px 8px;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: 0 0 12px rgba(223, 186, 107, 0.5);
    animation: spaBadgePop calc(3.4s * var(--tempo)) ease-in-out infinite;
}

/* 4. Kapsuła regeneracji ogniw */
.spa-phone--charging {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.spa-percent {
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #8fe3b0;
    animation: spaPulseText calc(1.8s * var(--tempo)) ease-in-out infinite;
}

.spa-condition-label {
    font-size: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.spa-condition-value {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #8fe3b0;
    font-weight: 700;
}

.spa-battery {
    width: 56px;
    height: 7px;
    margin-top: 4px;
    border: 1px solid rgba(223, 186, 107, 0.6);
    border-radius: 2px;
    overflow: hidden;
}

.spa-battery i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #5fbf8a, #8fe3b0);
    animation: spaChargeFill calc(3s * var(--tempo)) ease-in-out infinite;
}

.spa-bolt {
    margin-top: 6px;
    font-size: 18px;
    animation: spaPulseBolt calc(1.2s * var(--tempo)) ease-in-out infinite alternate;
}

.spa-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: var(--gold);
    margin-top: 15px;
}

.spa-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.spa-card-cta {
    margin-top: 18px;
    background: transparent;
    border: 1px solid rgba(223, 186, 107, 0.4);
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 9px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spa-card-cta:hover,
.spa-card-cta:focus-visible {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    outline: none;
}

/* Tansza alternatywa w tym samym kafelku (np. sama szybka bez OLED). */
.spa-card-cta--alt {
    margin-left: 8px;
    border-color: rgba(34, 211, 238, 0.45);
    color: #67e8f9;
}

.spa-card-cta--alt:hover,
.spa-card-cta--alt:focus-visible {
    background: #22d3ee;
    border-color: #22d3ee;
    color: #001014;
}

/* Odnośnik kafelka strefy relaksu do pełnego opisu w cenniku */
.spa-card-link {
    display: block;
    margin-top: 14px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--gold);
    text-decoration: none;
}

.spa-card-link:hover,
.spa-card-link:focus-visible {
    color: #fff;
    text-decoration: underline;
}

/* 2. Fotografia na Jedwabiu – satynowy nadruk na pleckach */
.spa-skin {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background:
        radial-gradient(circle at 30% 75%, rgba(236, 72, 153, 0.55), transparent 45%),
        radial-gradient(circle at 75% 30%, rgba(34, 211, 238, 0.5), transparent 50%),
        linear-gradient(160deg, #1b1330 0%, #3a1f4d 55%, #0f2a3a 100%);
    box-shadow: inset 0 0 0 1px rgba(223, 186, 107, 0.35);
}

/* Klub i Skaner Baterii w osobnych sekcjach – pojedyncza, wyśrodkowana kolumna */
#klub-ambasadora .club__layout {
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}

.battery-section .battery-scan {
    max-width: 720px;
    margin: 0 auto;
}

/* Pasek-przewodnik po karcie rytuałów w strefie relaksu */
.spa-zone-note {
    margin-top: 45px;
    padding: 22px 25px;
    border: 1px dashed rgba(223, 186, 107, 0.5);
    background: rgba(223, 186, 107, 0.03);
    font-size: 0.92rem;
    color: #ccc;
}

.spa-zone-note strong {
    color: var(--gold);
    font-weight: 600;
}

.spa-zone-note a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(223, 186, 107, 0.5);
    transition: color 0.3s ease;
}

.spa-zone-note a:hover {
    color: #fff;
}

/* Zabiegi zatrzymują się, gdy strefa jest poza ekranem (oszczędność baterii) */
.spa-zone[data-active="false"] .spa-stage *,
.spa-zone[data-active="false"] .spa-stage {
    animation-play-state: paused;
}

@keyframes spaFloating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes spaShine {
    0% { left: -100%; }
    45% { left: 160%; }
    100% { left: 160%; }
}

@keyframes spaSteam {
    0% { transform: translateY(0) scale(0.6); opacity: 0; }
    25% { opacity: 0.7; }
    100% { transform: translateY(-60px) scale(1.5); opacity: 0; }
}

@keyframes spaWipe {
    0% { top: 14px; left: 10px; transform: rotate(-6deg); }
    25% { top: 118px; left: 46px; transform: rotate(8deg); }
    50% { top: 58px; left: 18px; transform: rotate(-4deg); }
    75% { top: 130px; left: 12px; transform: rotate(6deg); }
    100% { top: 14px; left: 10px; transform: rotate(-6deg); }
}

@keyframes spaSparkle {
    0%, 60% { opacity: 0; transform: scale(0.4); }
    70% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

@keyframes spaApplyFoil {
    0% { transform: translateY(-28px) scale(1.12); opacity: 0; }
    45% { transform: translateY(0) scale(1); opacity: 1; background: rgba(223, 186, 107, 0.2); }
    80% { transform: translateY(0) scale(1); opacity: 1; background: rgba(223, 186, 107, 0.04); }
    100% { transform: translateY(0) scale(1); opacity: 0; }
}

@keyframes spaBadgePop {
    0%, 40% { opacity: 0; transform: scale(0.6); }
    60% { opacity: 1; transform: scale(1); }
    90% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.9); }
}

@keyframes spaPulseText {
    0%, 100% { transform: scale(1); text-shadow: 0 0 6px rgba(143, 227, 176, 0.35); }
    50% { transform: scale(1.12); text-shadow: 0 0 16px rgba(143, 227, 176, 0.8); }
}

@keyframes spaChargeFill {
    0% { width: 45%; }
    60%, 100% { width: 100%; }
}

@keyframes spaPulseBolt {
    from { transform: scale(1); opacity: 0.65; filter: drop-shadow(0 0 4px rgba(241, 196, 15, 0.5)); }
    to { transform: scale(1.22); opacity: 1; filter: drop-shadow(0 0 12px rgba(241, 196, 15, 0.9)); }
}

@media (max-width: 768px) {
    .spa-zone { padding: 50px 15px; }
    .spa-stage { height: 190px; }
}

/* Szacunek dla ustawień dostępności – zabiegi zastygają w kadrze */
@media (prefers-reduced-motion: reduce) {
    .spa-card,
    .spa-card * {
        animation: none !important;
        transition: none !important;
    }
    .spa-card { opacity: 1; --ty: 0px; }
    .spa-foil, .spa-badge-360, .spa-sparkles i { opacity: 1; }
    .spa-shine, .spa-steam { display: none; }
}

.spa-phone--relax {
    animation: spaFloating calc(3.6s * var(--tempo)) ease-in-out infinite;
}

.spa-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Hero CTA – przycisk OLX domyka naglowek, wiec nie potrzebuje pelnego .container */
.hero-cta {
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 20px 55px;
}

.hero-cta .cta-container {
    margin-bottom: 0;
}

/* === EFEKT PRZED I PO === */
.ba-section {
    position: relative;
    padding: 70px 20px;
    background:
        radial-gradient(circle at 70% 10%, rgba(223, 186, 107, 0.07), transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #101010 100%);
    border-top: 1px solid rgba(223, 186, 107, 0.15);
    border-bottom: 1px solid rgba(223, 186, 107, 0.15);
}

.ba-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.ba-section .section-title {
    margin-bottom: 20px;
}

.ba-lead {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 680px;
    margin: 0 auto 45px;
    text-align: center;
}

/* Scena porownania. --pos ustawia JS (suwak), CSS tylko z niej korzysta. */
.ba-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid rgba(223, 186, 107, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    touch-action: pan-y;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-layer {
    position: absolute;
    inset: 0;
}

/* Warstwa „przed” przycieta do lewej strony linii – suwak dosłownie ściera brud */
.ba-layer--before {
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-scene {
    position: absolute;
    inset: 0;
}

.ba-scene--before {
    isolation: isolate;
    background:
        radial-gradient(circle at 30% 20%, rgba(150, 150, 150, 0.10), transparent 55%),
        linear-gradient(160deg, rgba(36, 37, 38, 0.6) 0%, #121314 40%, #191a1b 100%),
        #17181a;
    filter: saturate(0.45);
}

.ba-scene--after {
    background:
        radial-gradient(circle at 72% 78%, rgba(223, 186, 107, 0.16), transparent 58%),
        linear-gradient(160deg, #14110b 0%, #0c0c0c 45%, #17130c 100%),
        #0d0d0d;
}

/* Zlota poswiata otulajaca odswiezone urzadzenie */
.ba-halo {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 88%;
    aspect-ratio: 1 / 1.7;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(223, 186, 107, 0.34), rgba(223, 186, 107, 0.06) 55%, transparent 72%);
    filter: blur(6px);
    animation: baHalo 6s ease-in-out infinite;
}

/* Korpus urzadzenia – identyczna geometria w obu warstwach, wiec linia ciecia wypada w tym samym miejscu */
.ba-phone {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 76%;
    aspect-ratio: 1 / 2.05;
    transform: translate(-50%, -50%);
    border-radius: 26px;
    background: linear-gradient(150deg, #2c2c2e 0%, #131314 55%, rgba(48, 48, 52, 0.85) 100%), #1b1b1d;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.65);
}

.ba-notch {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 34%;
    height: 9px;
    transform: translateX(-50%);
    background: #08080a;
    border-radius: 6px;
}

.ba-screen {
    position: absolute;
    inset: 22px 7px 14px;
    border-radius: 18px;
}

.ba-screen--after {
    background:
        radial-gradient(circle at 30% 18%, rgba(223, 186, 107, 0.16), transparent 52%),
        linear-gradient(170deg, #121212 0%, #050505 60%, #0e0c08 100%);
    box-shadow: inset 0 0 22px rgba(223, 186, 107, 0.16);
}

.ba-screen--before {
    background:
        radial-gradient(circle at 60% 70%, rgba(120, 118, 105, 0.22), transparent 55%),
        linear-gradient(170deg, #1d1e1e 0%, #121211 65%, #191813 100%);
}

/* Ramka: po rytuale zlota, przed – zmatowiala */
.ba-rim {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    border: 1px solid rgba(223, 186, 107, 0.55);
    box-shadow: inset 0 0 14px rgba(223, 186, 107, 0.22);
    pointer-events: none;
}

.ba-rim--dull {
    border-color: rgba(190, 190, 190, 0.18);
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.55);
}

/* Blysk polerki przesuwajacy sie po odswiezonej obudowie */
.ba-gloss {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    pointer-events: none;
}

.ba-gloss::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -70%;
    width: 55%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.30), rgba(223, 186, 107, 0.16), transparent);
    transform: rotate(18deg);
    animation: baGloss 4.6s ease-in-out infinite;
}

/* Tlusty film i odciski palcow na ekranie przed zabiegiem */
.ba-grime {
    position: absolute;
    inset: 22px 7px 14px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 34% 16% at 34% 26%, rgba(226, 224, 205, 0.20), transparent 70%),
        radial-gradient(ellipse 26% 12% at 66% 44%, rgba(226, 224, 205, 0.16), transparent 70%),
        radial-gradient(ellipse 30% 14% at 45% 72%, rgba(214, 209, 186, 0.18), transparent 70%),
        radial-gradient(ellipse 20% 10% at 72% 86%, rgba(226, 224, 205, 0.13), transparent 70%),
        linear-gradient(200deg, rgba(196, 186, 150, 0.09), rgba(150, 146, 128, 0.05));
    mix-blend-mode: screen;
    opacity: 0.85;
    pointer-events: none;
}

/* Mikro-rysy: gesta siatka + kilka mocniejszych zadrasniec */
.ba-scratches {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background:
        repeating-linear-gradient(64deg, transparent 0 13px, rgba(255, 255, 255, 0.11) 13px 13.7px, transparent 13.7px 27px),
        repeating-linear-gradient(-48deg, transparent 0 21px, rgba(255, 255, 255, 0.07) 21px 21.6px, transparent 21.6px 42px),
        linear-gradient(112deg, transparent 47.4%, rgba(255, 255, 255, 0.26) 47.6%, transparent 47.9%),
        linear-gradient(72deg, transparent 63.2%, rgba(255, 255, 255, 0.20) 63.4%, transparent 63.7%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Pekniecie szybki – cienka rysa z odnogami */
.ba-crack {
    position: absolute;
    inset: 22px 7px 14px;
    width: auto;
    height: auto;
    overflow: visible;
    pointer-events: none;
}

.ba-crack path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 0.9;
    vector-effect: non-scaling-stroke;
}

/* Kurz i drobiny osadu w szczelinach */
.ba-dust {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background-image:
        radial-gradient(circle, rgba(228, 224, 206, 0.55) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(228, 224, 206, 0.40) 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(228, 224, 206, 0.30) 0 1px, transparent 1.4px);
    background-position: 18% 24%, 63% 57%, 39% 81%;
    background-size: 42px 42px, 57px 57px, 71px 71px;
    opacity: 0.75;
    pointer-events: none;
}

/* Iskry czystosci po stronie „po” */
.ba-sparks i {
    position: absolute;
    color: var(--gold);
    font-size: 12px;
    opacity: 0;
    animation: baSpark 3.4s ease-in-out infinite;
}

.ba-sparks i:nth-child(1) { top: 26%; left: 62%; animation-delay: 0.2s; }
.ba-sparks i:nth-child(2) { top: 62%; left: 69%; animation-delay: 1.1s; font-size: 15px; }
.ba-sparks i:nth-child(3) { top: 44%; left: 33%; animation-delay: 1.9s; }
.ba-sparks i:nth-child(4) { top: 76%; left: 46%; animation-delay: 2.6s; font-size: 10px; }

/* Etykiety obu stron */
.ba-tag {
    position: absolute;
    top: 18px;
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 7px 14px;
    background: rgba(6, 6, 6, 0.75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.ba-tag--before {
    left: 18px;
    color: #9d9d9d;
    border: 1px solid rgba(190, 190, 190, 0.28);
}

.ba-tag--after {
    right: 18px;
    color: var(--gold);
    border: 1px solid rgba(223, 186, 107, 0.55);
}

.ba-stat {
    position: absolute;
    bottom: 18px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    background: rgba(6, 6, 6, 0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.ba-stat strong {
    font-weight: 600;
}

.ba-stat--before {
    left: 18px;
    color: #8f8f8f;
    border-left: 2px solid rgba(190, 190, 190, 0.35);
}

.ba-stat--before strong { color: #d8d8d8; }

.ba-stat--after {
    right: 18px;
    color: #bdb08e;
    border-right: 2px solid var(--gold);
}

.ba-stat--after strong { color: var(--gold); }

/* Linia podzialu prowadzona przez uchwyt */
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    transform: translateX(-1px);
    background: linear-gradient(180deg, rgba(223, 186, 107, 0.25), var(--gold) 20%, var(--gold) 80%, rgba(223, 186, 107, 0.25));
    box-shadow: 0 0 16px rgba(223, 186, 107, 0.55);
    pointer-events: none;
}

.ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: radial-gradient(circle at 35% 30%, #1d1c18, #0a0a0a);
    color: var(--gold);
    box-shadow: 0 0 0 5px rgba(223, 186, 107, 0.08), 0 10px 24px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Suwak natywny: niewidoczny, ale obsluguje mysz, dotyk i klawiature */
.ba-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
}

.ba-range:focus { outline: none; }

.ba-range:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -4px;
}

.ba-wrap:hover .ba-knob {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 0 0 8px rgba(223, 186, 107, 0.14), 0 12px 28px rgba(0, 0, 0, 0.7);
}

.ba-wrap.is-dragging .ba-knob {
    transform: translate(-50%, -50%) scale(0.94);
}

.ba-wrap:has(.ba-range:focus-visible) .ba-knob {
    box-shadow: 0 0 0 4px rgba(223, 186, 107, 0.5), 0 10px 24px rgba(0, 0, 0, 0.6);
}

.ba-notes {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px 30px;
    margin-top: 35px;
}

.ba-notes li {
    position: relative;
    padding-left: 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(223, 186, 107, 0.15);
    padding-top: 16px;
}

.ba-notes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 23px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

.ba-notes strong {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes baGloss {
    0%   { transform: translateX(0) rotate(18deg); opacity: 0; }
    15%  { opacity: 1; }
    65%  { transform: translateX(380%) rotate(18deg); opacity: 0.9; }
    100% { transform: translateX(420%) rotate(18deg); opacity: 0; }
}

@keyframes baHalo {
    0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(1); }
    50%      { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}

@keyframes baSpark {
    0%, 100%  { opacity: 0; transform: scale(0.4) rotate(0deg); }
    45%       { opacity: 1; transform: scale(1) rotate(90deg); }
}

@media (max-width: 768px) {
    .ba-section { padding: 50px 15px; }
    .ba-wrap { aspect-ratio: 4 / 5; min-height: 420px; }
    .ba-tag, .ba-stat { font-size: 0.62rem; padding: 6px 10px; }
    .ba-tag { top: 12px; }
    .ba-stat { bottom: 12px; max-width: 42%; }
    .ba-tag--before, .ba-stat--before { left: 12px; }
    .ba-tag--after, .ba-stat--after { right: 12px; }
    .ba-knob { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .ba-gloss::before, .ba-halo, .ba-sparks i {
        animation: none;
    }
    .ba-sparks i { opacity: 0.85; }
    .ba-gloss::before { opacity: 0; }
}

/* === KAFELKI WYBORU STANDARDU USLUGI === */
.choice-heading {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 6px;
}

.choice-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-choice {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

/* Ostatni kafelek („Inne”) rozciaga sie na cala szerokosc i zamyka siatke */
.service-choice .choice-tile:last-child {
    grid-column: 1 / -1;
}

.service-choice .choice-tile {
    position: relative;
    display: block;
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: normal;
    text-transform: none;
    cursor: pointer;
}

.choice-tile input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.choice-inner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 18px 16px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(223, 186, 107, 0.22);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.choice-tile:hover .choice-inner {
    border-color: rgba(223, 186, 107, 0.55);
    background: rgba(223, 186, 107, 0.04);
    transform: translateY(-2px);
}

.choice-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(223, 186, 107, 0.3);
    color: var(--gold);
    transition: all 0.3s ease;
}

.choice-icon svg {
    width: 21px;
    height: 21px;
}

.choice-body {
    display: block;
    padding-right: 22px;
}

.choice-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.5px;
    color: #fff;
    text-transform: none;
}

.choice-meta {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* Znacznik zaznaczenia – wchodzi dopiero po wyborze kafelka */
.choice-mark {
    position: absolute;
    top: 16px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(223, 186, 107, 0.35);
    color: #000;
    background: transparent;
    transition: all 0.3s ease;
}

.choice-mark svg {
    width: 12px;
    height: 12px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

/* Stan zaznaczony: zlote obramowanie, poswiata i wypelniony znacznik */
.choice-tile input:checked ~ .choice-inner {
    border-color: var(--gold);
    border-width: 2px;
    padding: 17px 15px;
    background: linear-gradient(135deg, rgba(223, 186, 107, 0.10), rgba(223, 186, 107, 0.02));
    box-shadow: 0 0 22px rgba(223, 186, 107, 0.18), inset 0 0 25px rgba(223, 186, 107, 0.05);
}

.choice-tile input:checked ~ .choice-inner .choice-icon {
    border-color: var(--gold);
    background: var(--gold);
    color: #000;
}

.choice-tile input:checked ~ .choice-inner .choice-meta {
    color: var(--gold);
}

.choice-tile input:checked ~ .choice-inner .choice-mark {
    background: var(--gold);
    border-color: var(--gold);
}

.choice-tile input:checked ~ .choice-inner .choice-mark svg {
    opacity: 1;
    transform: scale(1);
}

.choice-tile input:focus-visible ~ .choice-inner {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* Podswietlenie kafelka wybranego klikiem w Strefie Relaksu */
.choice-tile.is-flagged .choice-inner {
    animation: choicePulse 1.5s ease-out 1;
}

@keyframes choicePulse {
    0%, 100% { box-shadow: 0 0 22px rgba(223, 186, 107, 0.18), inset 0 0 25px rgba(223, 186, 107, 0.05); }
    30%      { box-shadow: 0 0 34px rgba(223, 186, 107, 0.55), inset 0 0 30px rgba(223, 186, 107, 0.12); }
}

@media (max-width: 768px) {
    .service-choice { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .choice-tile:hover .choice-inner { transform: none; }
    .choice-tile.is-flagged .choice-inner { animation: none; }
}

/* ------------------------------------------------------------------
   OPINIE KLIENTOW (#opinie-sekcja, obsluga: assets/js/opinie.js)
   ------------------------------------------------------------------ */
.op-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.op-card.service-card {
    border-style: dashed;
    padding: 30px 26px 24px;
    display: flex;
    flex-direction: column;
    animation: op-in 0.45s ease both;
}

.op-card__body {
    font-style: italic;
    color: #ccc;
    font-size: 0.95rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
    margin-bottom: 0;
}

.op-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 15px;
}

.op-card__date {
    color: #6f6f6f;
    font-size: 0.75rem;
}

.op-card__author {
    color: var(--gold);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.op-card.is-removing {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.op-delete {
    align-self: flex-end;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1px solid #e0525a;
    background: rgba(224, 82, 90, 0.12);
    color: #ff8a90;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.op-delete:hover,
.op-delete:focus-visible {
    background: #e0525a;
    color: #fff;
}

.op-delete:disabled {
    opacity: 0.6;
    cursor: wait;
}

.op-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 20px 0;
}

.op-form-box {
    background: linear-gradient(180deg, #111 0%, #070707 100%);
    border: 1px solid rgba(223, 186, 107, 0.15);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.op-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.op-counter {
    display: block;
    text-align: right;
    color: #6f6f6f;
    font-size: 0.72rem;
    margin-top: 4px;
}

.op-msg {
    margin-top: 14px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--gold);
}

.op-msg.is-error {
    color: #ff8a90;
}

.op-admin-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 25px;
    padding: 12px 18px;
    border: 1px solid var(--gold);
    background: rgba(223, 186, 107, 0.08);
    color: var(--gold);
    font-size: 0.85rem;
}

.op-admin-bar[hidden],
.op-owner__form[hidden],
.op-msg[hidden] {
    display: none;
}

.op-admin-bar__logout,
.op-owner__submit {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    padding: 7px 16px;
    font-size: 0.8rem;
    cursor: pointer;
}

.op-admin-bar__logout:hover,
.op-owner__submit:hover {
    background: var(--gold);
    color: #000;
}

.op-owner {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
}

.op-owner__toggle {
    background: none;
    border: none;
    color: #5a5a5a;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.op-owner__toggle:hover {
    color: var(--gold);
}

.op-owner__form {
    margin-top: 12px;
    text-align: left;
}

.op-owner__form label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.op-owner__row {
    display: flex;
    gap: 10px;
}

.op-owner__row .form-control {
    flex: 1;
}

@keyframes op-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
    .op-form-box { padding: 28px 20px; }
    .op-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .op-card.service-card { animation: none; }
}
