/* ==========================================================================
   MOC DOTYKU - LUXURY SPA STYLESHEET
   Paleta barw:
   - Tło główne: #f8efec
   - Tło sekcji/detali: #f3e5e0
   - Akcent: #8a5867
   - Detale (linie, tła badge): #efd1d6
   - Tekst: #2d2524 (ciemny antracyt)
   Czcionki:
   - Nagłówki: 'DM Serif Display', serif
   - Tekst: 'Bellota Text', sans-serif
   ========================================================================== */

/* ==========================================================================
   CZCIONKI (self-hosted, woff2, latin + latin-ext) - bez zewnetrznego Google Fonts.
   font-display: swap = tekst od razu w foncie zastepczym, potem plynna podmiana.
   ========================================================================== */
@font-face {
    font-family: 'Bellota Text'; font-style: normal; font-weight: 300; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Bellota Text'; font-style: italic; font-weight: 300; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-300italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Bellota Text'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Bellota Text'; font-style: italic; font-weight: 400; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Bellota Text'; font-style: normal; font-weight: 700; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Bellota Text'; font-style: italic; font-weight: 700; font-display: swap;
    src: url('fonts/bellota-text-v20-latin_latin-ext/bellota-text-v20-latin_latin-ext-700italic.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('fonts/dm-serif-display-v17-latin_latin-ext/dm-serif-display-v17-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap;
    src: url('fonts/dm-serif-display-v17-latin_latin-ext/dm-serif-display-v17-latin_latin-ext-italic.woff2') format('woff2');
}

/* 1. ZMIENNE GLOBALNE i RESET */
:root {
    --bg-primary: #f8efec;
    --bg-secondary: #f3e5e0;
    --color-accent: #8a5867;
    --color-accent-hover: #754452;
    --color-accent-light: #f5ecee;
    --color-detail: #efd1d6;
    --color-detail-light: #fbf5f4;
    --color-text: #2d2524;
    --color-text-muted: #6e615f;
    --color-white: #ffffff;
    --color-gold: #d4af37;
    
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Bellota Text', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    --shadow-subtle: 0 4px 30px rgba(138, 88, 103, 0.04);
    --shadow-medium: 0 10px 40px rgba(138, 88, 103, 0.08);
    --shadow-large: 0 30px 60px rgba(138, 88, 103, 0.12);
    
    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 32px;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--color-detail);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* A11y Focus Rings */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* 2. TYPOGRAFIA i ELEMENTY WSPÓLNE */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-item picture,
.hero-image-wrapper picture,
.about-image-wrapper picture,
.about-image-lazy-wrapper picture,
.voucher-image-main picture,
.voucher-image-side picture,
.option-card-image picture,
.modal-media-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

/* Klasy pomocnicze do redukcji odstępów (zebra spacing) */
.section-container.reduce-top-padding {
    padding-top: 1.5rem;
}

.section-container.reduce-bottom-padding {
    padding-bottom: 1.5rem;
}



.section-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title-sub {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-header-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

/* Przyciski */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 48px; /* Touch target size */
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent-hover);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: var(--border-radius-lg);
}

.btn-accent:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-accent:hover {
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

/* 3. HEADER i MENU */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(248, 239, 236, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 1px 0px rgba(138, 88, 103, 0.06);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    height: 70px;
    background-color: rgba(248, 239, 236, 0.98);
    box-shadow: var(--shadow-subtle);
}

.header-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
}

.site-header.scrolled .logo-image {
    height: 42px;
}

.logo-text {
    display: none;
}

.nav-menu {
    display: none; /* Mobile first hidden */
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile: w nagłówku widoczny jest guzik "Cennik" (rezerwacja Booksy dostępna w hero i w dolnym pasku) */
.header-cta-booksy {
    display: none;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
    transform-origin: center;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 4. HERO SECTION */
.hero-section {
    padding-top: calc(var(--header-height) + 1rem);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 6rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 1.75rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
}

.hero-actions .btn {
    width: 100%;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    border-top: 1px solid var(--color-detail);
    padding-top: 2rem;
}

.hero-info-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.phone-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 400; /* Szeryfowy font nagłówkowy 'DM Serif Display' jest domyślnie gruby */
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 5.5vw, 2.7rem); /* Zwiększono rozmiar cyfr telefonu */
    transition: var(--transition-fast);
    display: inline-block;
    line-height: 1.1;
    margin-top: 0.15rem;
    letter-spacing: 0.5px;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 400;
}

.nobreak {
    white-space: nowrap;
}

.tel-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

.tel-link:hover {
    color: var(--color-accent);
}

.hero-image-wrapper {
    position: relative;
    width: fit-content;
    max-width: 450px;
    margin: 0 auto;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-large);
    z-index: 2;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.hero-image-decor {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-detail);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    pointer-events: none;
}

.wave-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-separator svg {
    width: 100%;
    height: 40px;
}

/* 5. ABOUT SECTION & CERTIFICATES */
.about-section {
    background-color: var(--bg-primary);
}

/* ==========================================================================
   SEKCJA: Każdy ma swój obszar (masażysta / fizjoterapeuta / lekarz)
   ========================================================================== */
.approach-section {
    background-color: var(--color-white);
}

.approach-section .section-title {
    max-width: 700px;
}

.approach-lanes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

.approach-lane {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.approach-lane:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.approach-lane--mine {
    background-color: var(--bg-secondary);
}

.approach-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background-color: var(--color-white);
}

.approach-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.approach-lane-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.approach-lane-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    opacity: 0.92;
    margin: 0;
}

.approach-intro {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-accent);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.5;
    text-wrap: balance; /* równe linie, brak zwisającego pojedynczego słowa */
}

.approach-manifesto {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1rem;
}

.approach-photo-wrapper {
    position: relative;
}

.approach-photo {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    aspect-ratio: 4/5;
    position: relative;
    z-index: 2;
}

.approach-photo-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-detail);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    pointer-events: none;
    transform: translate(-10px, 10px);
}

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

.approach-text p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.approach-quote {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--color-accent-hover);
    font-style: italic;
    border-left: 3px solid var(--color-accent);
    padding-left: 1.25rem;
    margin: 1.5rem 0 0;
}

@media (min-width: 768px) {
    .approach-lanes {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .approach-manifesto {
        grid-template-columns: 0.85fr 1.15fr;
        gap: 3.5rem;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 0;
}

.about-image-wrapper {
    position: relative;
}

.about-image-lazy-wrapper {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    aspect-ratio: 4/5;
    position: relative;
    z-index: 2;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-detail);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    pointer-events: none;
    transform: translate(-10px, 10px);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    width: 180px;
    box-sizing: border-box;
    text-align: center;
    z-index: 3;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Rotujący badge - 3 fakty przewijane z cross-fade */
/* Stała wysokość mieszcząca liczbę + 2 linie podpisu, by badge nie skakał */
.badge-rotator {
    position: relative;
    width: 100%;
    height: 72px;
}

.badge-fact {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.badge-fact.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Szacunek dla preferencji ograniczonego ruchu - bez animacji przejścia */
@media (prefers-reduced-motion: reduce) {
    .badge-fact {
        transition: none;
        transform: none;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-paragraph {
    color: var(--color-text-muted);
    font-size: 1.02rem;
    margin-bottom: 1.2rem;
}

.about-more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

.about-more-text.expanded {
    max-height: 1500px;
    opacity: 1;
}

.read-more-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--color-accent);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 0;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.read-more-toggle-btn:hover {
    color: var(--color-accent-hover);
}

.read-more-toggle-btn svg {
    transition: transform var(--transition-smooth);
}

.read-more-toggle-btn.expanded svg {
    transform: rotate(180deg);
}

/* Certyfikaty */
.certificates-wrapper {
    padding-top: 0;
}

.certificates-slider-wrapper,
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width); /* 1200px */
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}


.certificates-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    margin: 0 -1.5rem;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    gap: 1.25rem;
    scroll-padding: 0 1.5rem;
}

.certificates-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.cert-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    flex: 0 0 calc(100vw - 3rem);
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cert-card:hover {
    box-shadow: var(--shadow-medium);
}

.cert-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin-bottom: 1.25rem;
    width: 100%;
}

.cert-image-wrapper {
    position: relative;
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(21, 17, 16, 0.08);
    border: 1px solid rgba(138, 88, 103, 0.15);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-img {
    display: block;
    height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background-color: #ffffff;
    padding: 5px;
}

/* Wariant dla certyfikatów poziomych: obraz wypełnia box szerokością (definite width
   zachowuje rezerwację rozmiaru), dzięki czemu ramka 5px jest równa dookoła, zamiast
   białych pasów u góry/dołu z object-fit. Niższe od pionowych certy centruje kontener. */
.cert-img--wide {
    height: auto;
    width: 280px;
}

/* Hover effects */
.cert-card:hover .cert-image-wrapper {
    transform: scale(1.04);
    box-shadow: 0 10px 22px rgba(21, 17, 16, 0.15);
}

.cert-card:hover .gallery-overlay {
    opacity: 1;
}

.cert-card:hover .gallery-icon {
    transform: scale(1);
}

.cert-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
}

.cert-card-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cert-card-footer {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(138, 88, 103, 0.1);
    font-weight: 600;
}

/* Slider dots styling */
.slider-dots-container {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
    width: 100%;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-detail);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.slider-dot:hover {
    background-color: var(--color-accent-hover);
}

.slider-dot.active {
    background-color: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

/* 5.5 CERTIFICATES SECTION */
.certificates-section {
    background-color: var(--bg-secondary);
}

/* 6. USŁUGI i CENNIK */
.services-section {
    background-color: var(--bg-secondary);
}

.tabs-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
    position: sticky;
    top: 70px;
    z-index: 90;
    background-color: var(--bg-secondary);
    padding: 1rem 0;
    box-shadow: 0 10px 20px -10px rgba(138, 88, 103, 0.05);
    border-bottom: 1px solid rgba(239, 209, 214, 0.3);
}

.tabs-nav {
    display: inline-flex;
    background-color: var(--bg-primary);
    padding: 0.4rem;
    border-radius: 100px;
    border: 1px solid var(--color-detail);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    min-height: 44px;
}

.tab-btn.active {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-subtle);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Pricelist switch reminder */
.cennik-switch-reminder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 3.5rem;
    padding: 2.5rem 2rem;
    background-color: var(--color-detail-light);
    border: 1px dashed var(--color-detail);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.cennik-switch-reminder:hover {
    border-color: var(--color-accent);
    background-color: var(--bg-secondary);
}

.cennik-switch-reminder span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.cennik-switch-reminder a.cennik-switch-link {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-bottom: 2px;
    transition: var(--transition-smooth);
}

.cennik-switch-reminder a.cennik-switch-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.cennik-switch-reminder a.cennik-switch-link:hover {
    color: var(--color-accent-hover);
}

.cennik-switch-reminder a.cennik-switch-link:hover::after {
    background-color: var(--color-accent-hover);
    transform: scaleX(1);
}

.pricelist-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.pricelist-row {
    display: flex;
    flex-direction: column;
    background-color: var(--color-detail-light);
    border: 1px solid var(--color-detail);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    padding-right: 3rem; /* Space for the arrow on the right */
}

.pricelist-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.pricelist-row:hover::before {
    transform: scaleY(1);
}

.pricelist-row:hover {
    background-color: var(--color-white);
    transform: translateX(4px);
    box-shadow: var(--shadow-subtle);
}

.row-content-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.row-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.row-desc-short {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.row-price-note-wrapper {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.row-price-note {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-accent);
    background-color: var(--color-accent-light);
    border: 1px solid var(--color-detail);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* W12: plakietka oszczędności przy pakietach (mocniejsza niż notka) */
.savings-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background-color: var(--color-accent);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.savings-badge::before {
    content: "\2713"; /* ✓ */
    font-weight: 900;
}

.row-pricing-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: 0.5rem;
}

.row-price-time-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.row-time {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.row-time-icon {
    width: 15px;
    height: 15px;
    color: var(--color-accent);
    fill: currentColor;
    flex-shrink: 0;
}

.row-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
}

.row-arrow-wrapper {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-arrow-icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.pricelist-row:hover .row-arrow-icon {
    transform: translateX(5px);
}

/* Spinner Loader */
.spinner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    gap: 1rem;
    color: var(--color-text-muted);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-detail);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 7. MODAL / bottom drawer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 37, 36, 0.6);
    backdrop-filter: blur(5px);
    z-index: 200;
    display: flex;
    align-items: flex-end; /* Drawer on mobile bottom */
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    width: 100%;
    max-height: 90%;
    background-color: var(--bg-primary);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-large);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-detail);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.modal-close:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.modal-body-content {
    display: flex;
    flex-direction: column;
}

.modal-media-section {
    width: 100%;
    background-color: var(--bg-secondary);
    position: relative;
    aspect-ratio: 16/10;
}

.modal-media-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.modal-image-wrapper {
    width: 100%;
    height: 100%;
}

.modal-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* pionowe wideo kadrowane od dołu */
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* spójny kadr od góry przy przycięciu */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-image.loaded {
    opacity: 1;
}

/* Interim fix (K5a): na <1024px ogranicz wysokość media w modalu, by pionowe wideo
   nie zasłaniało tytułu, ceny i CTA. Bez tego flex (min-height:auto) rozciąga sekcję
   do intrinsic height pionowego wideo (~650px). Wideo kadrowane jak obrazek:
   object-fit:cover + object-position:center top (od góry). */
@media (max-width: 1023.98px) {
    .modal-media-section {
        aspect-ratio: auto;
        height: 240px;
        min-height: 0;
        flex: 0 0 auto;
    }
    .modal-media-wrapper,
    .modal-image-wrapper {
        height: 240px;
    }
}

.modal-text-section {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.modal-meta-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-secondary);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 700;
}

.modal-meta-item.highlight-price {
    background-color: var(--color-detail-light);
    color: var(--color-text);
    font-size: 0.98rem;
    font-weight: 800;
}

.meta-icon {
    color: inherit;
}

.modal-price-note {
    /* display:none/flex sterowane inline przez JS */
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.modal-price-note-text {
    font-size: 0.9rem;
    color: var(--color-accent);
    background-color: var(--color-detail-light);
    border: 1px solid var(--color-detail);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
    font-weight: 700;
}

.modal-description {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-description p {
    margin-bottom: 0;
}

.modal-cta-btn {
    width: 100%;
}

.modal-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

@media (min-width: 576px) {
    .modal-actions-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.modal-actions-grid .btn {
    flex-direction: column;
    padding: 0.75rem 1rem;
    height: auto;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    text-align: center;
    width: 100%;
}

.btn-main-text {
    font-size: 0.95rem;
    font-weight: 700;
    display: block;
}

.btn-sub-text {
    font-size: 0.72rem;
    font-weight: 400;
    opacity: 0.85;
    display: block;
    margin-top: 0.1rem;
}

/* 8. TESTIMONIALS (OPINIE) */
.testimonials-section {
    background-color: var(--bg-secondary);
}

.rating-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0.5rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
}

.star-icon {
    color: var(--color-gold);
    font-size: 1.4rem;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-subtle);
    position: relative;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    align-items: center;
    width: 100%;
}

.testimonial-rating .star {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.testimonial-source {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; /* Zaokrąglony pill */
    padding: 0.2rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background-color: var(--color-white);
    border: 1px solid var(--color-detail);
    font-family: var(--font-body);
}

.booksy-source {
    color: var(--color-accent);
}

.google-source {
    color: #1a73e8;
}

.facebook-source {
    color: #1877f2;
}

.testimonial-service-tag {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    background-color: var(--color-detail-light);
    border: 1px solid var(--color-detail);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
}

.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-text span.emoji,
.emoji {
    font-style: normal !important;
    display: inline-block !important;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif !important;
    transform: none !important;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: normal;
    color: var(--color-text-muted);
}

/* 9. PHOTO GALLERY WITH LIGHTBOX */
.gallery-section {
    background-color: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(138, 88, 67, 0.3);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-icon {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 300;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-thumb,
.voucher-image-main:hover .voucher-img,
.voucher-image-side:hover .voucher-img,
.option-card-image:hover .option-img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay,
.voucher-image-main:hover .gallery-overlay,
.voucher-image-side:hover .gallery-overlay,
.option-card-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-icon,
.voucher-image-main:hover .gallery-icon,
.voucher-image-side:hover .gallery-icon,
.option-card-image:hover .gallery-icon {
    transform: scale(1);
}

/* Lightbox Styling */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 16, 0.95);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

/* Ukrycie strzałek nawigacji gdy lightbox nie jest aktywny lub jest w trybie standalone */
.lightbox:not(.active) .lightbox-nav,
.lightbox.lightbox-standalone .lightbox-nav {
    display: none !important;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-detail);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-fast);
    z-index: 10;
}

.lightbox-nav:hover {
    color: var(--color-detail);
}

.lightbox-prev {
    left: 0.5rem;
}

.lightbox-next {
    right: 0.5rem;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-caption {
    display: none !important; /* Temporarily disabled captions */
    color: var(--color-white);
    margin-top: 1.25rem;
    font-size: 1rem;
    text-align: center;
    font-family: var(--font-body);
}

/* 10. FAQ SECTION ACCORDION */
.faq-section {
    background-color: var(--bg-secondary);
}

.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--color-detail);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    transform: translateY(-2px);
    background-color: var(--color-detail-light);
    border-color: rgba(138, 88, 103, 0.35);
    box-shadow: var(--shadow-medium);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text);
    min-height: 48px; /* Touch target */
}

.faq-question-text {
    padding-right: 1.5rem;
}

.faq-toggle-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-accent);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Horizontal line */
.faq-toggle-icon::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.faq-question-btn[aria-expanded="true"] .faq-toggle-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-question-btn[aria-expanded="true"] .faq-toggle-icon::before {
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.98rem;
    color: var(--color-text-muted);
}

.faq-bluf {
    font-size: 1.02rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

/* Linki w treści odpowiedzi FAQ — brandowy akcent z animowanym podkreśleniem.
   Dwie warstwy tła: stała, subtelna kreska (--color-detail) + akcentowa linia,
   która na hover/focus "wjeżdża" od lewej na pełną szerokość. */
.faq-answer-content a {
    color: var(--color-accent);
    font-weight: 700;
    text-decoration: none;
    background-image:
        linear-gradient(var(--color-accent), var(--color-accent)),
        linear-gradient(var(--color-detail), var(--color-detail));
    background-repeat: no-repeat, no-repeat;
    background-position: 0 100%, 0 100%;
    background-size: 0% 2px, 100% 1px;
    padding-bottom: 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-size 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.faq-answer-content a:hover,
.faq-answer-content a:focus-visible {
    color: var(--color-accent-hover);
    background-size: 100% 2px, 100% 1px;
}

/* 11. KONTAKT & MAPA & STOPKA */
.contact-section {
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: stretch;
}

.contact-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.contact-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.contact-lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    background-color: var(--color-white);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon {
    width: 22px;
    height: 22px;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 1.02rem;
    line-height: 1.5;
}

.mail-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
}

.mail-link:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-detail);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background-color: var(--bg-primary);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-subtle);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.booksy-icon-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.map-wrapper {
    min-height: 350px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-medium);
}

.site-footer {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
    border-top: 1px solid var(--color-detail);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* 12. MOBILE FLOATING ACTION BAR */
.mobile-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(248, 239, 236, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-detail);
    box-shadow: 0 -4px 20px rgba(138, 88, 103, 0.08);
    display: flex;
    z-index: 99;
}

.floating-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 60px; /* Touch target min 48px */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.floating-call {
    color: var(--color-accent);
    background-color: transparent;
    border-right: 1px solid var(--color-detail);
}

.floating-call:active {
    background-color: var(--color-accent-light);
}

.floating-icon {
    width: 20px;
    height: 20px;
}

.floating-book {
    color: var(--color-white);
    background-color: var(--color-accent);
}

.floating-book:active {
    background-color: var(--color-accent-hover);
}

/* ==========================================================================
   13. MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* TABLET (768px+) */
@media (min-width: 768px) {
    body {
        font-size: 17px;
    }
    
    .section-container {
        padding: 6rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    /* Header & Navigation */
    .nav-menu {
        display: block; /* Visible navigation on tablet/desktop */
    }
    
    .hamburger {
        display: none; /* Hide hamburger */
    }

    /* Desktop: nawigacja ma już link "Oferta i cennik", więc w guziku wraca rezerwacja Booksy */
    .header-cta-cennik {
        display: none;
    }

    .header-cta-booksy {
        display: inline-flex;
    }
    
    /* Hero Section */
    .hero-container {
        padding: 1.5rem 2rem 5rem;
    }
    
    .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3rem;
        align-items: flex-end; /* Wyrównanie dołu obrazka z guzikami */
        margin-bottom: 4rem; /* Zmniejszony odstęp od separatora */
    }
    
    .hero-content {
        align-self: flex-end;
    }
    
    .hero-image-wrapper {
        align-self: flex-end;
        margin-left: auto;
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        width: auto;
        margin-bottom: 0;
    }
    
    .hero-actions .btn {
        width: auto;
    }
    
    .hero-info-details {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr;
        gap: 2rem;
        align-items: center;
    }
    
    /* About Section */
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.5rem;
    }
    
    .read-more-toggle-btn {
        display: none !important;
    }
    
    .about-more-text {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
    }
    
    /* Certificates */
    .certificates-slider-wrapper,
    .testimonials-carousel-wrapper {
        padding: 0 4rem;
    }

    .certificates-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Ukrycie suwaka w Firefox */
        -ms-overflow-style: none;
        margin: 0;
        padding: 1.5rem 0; /* Wyrównanie do lewej bez bocznych marginesów */
        gap: 2rem;
        scroll-padding: 0;
        width: 100%;
    }
    .certificates-grid::-webkit-scrollbar {
        display: none; /* Ukrycie suwaka w Chrome/Safari */
    }
    .certificates-grid .cert-card {
        flex: 0 0 320px;
        width: 320px;
        scroll-snap-align: start; /* Dociśnięcie do lewej na starcie i podczas snapu */
    }
    
    /* Pricelist */
    .pricelist-row {
        padding: 1.75rem 2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
        padding-right: 4rem;
    }
    
    .row-content-left {
        flex: 1;
    }
    
    .row-pricing-control {
        width: auto;
        align-items: flex-end;
        flex-shrink: 0;
        margin-top: 0;
    }
    
    .row-price-time-wrapper {
        justify-content: flex-end;
        text-align: right;
    }
    
    .variant-chips-container {
        justify-content: flex-end;
    }
    
    .row-arrow-wrapper {
        right: 2rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rating-badge {
        align-items: flex-end;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    /* Contact - siatka 2x2: [tekst+guziki | mapa] / [adres+godziny | telefon+email+sociale] */
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 4rem;
        align-items: start;
    }
    .contact-grid .map-wrapper { align-self: stretch; }
    
    /* Footer */
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    /* Hiding Call Button on Desktop & Mobile bottom floating bar */
    .mobile-floating-bar {
        display: none; /* Hide mobile floating bar on larger screens */
    }
    
    body {
        padding-bottom: 0; /* Clear padding for floating bar */
    }
}

/* DESKTOP (1024px+) */
@media (min-width: 1024px) {
    .section-container {
        padding: 8rem 1.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    /* Hero Title */
    .hero-title {
        font-size: 3rem;
        line-height: 1.15;
    }
    

    /* Modal: Morph to center overlay on desktop */
    .modal-overlay {
        align-items: center;
    }
    
    .modal-container {
        width: 90%;
        max-width: 950px;
        height: auto;
        max-height: 85%;
        border-radius: var(--border-radius-lg);
    }
    
    .modal-body-content {
        flex-direction: row;
        height: 100%;
        min-height: 500px;
    }
    
    .modal-media-section {
        width: 48%;
        height: auto;
        aspect-ratio: auto;
    }
    
    .modal-text-section {
        width: 52%;
        padding: 3rem 2.5rem;
        overflow-y: auto;
    }
    
    .modal-close {
        top: 1.5rem;
        right: 1.5rem;
    }
    
    /* Lightbox nav position */
    .lightbox-prev {
        left: 2rem;
    }
    
    .lightbox-next {
        right: 2rem;
    }
}

/* Fallback for body bottom padding on mobile */
@media (max-width: 767px) {
    body {
        padding-bottom: 60px; /* Space for the floating action bar */
    }
}

/* ==========================================================================
   14. DODATKOWE STYLIZACJE: BADGE, KARUZELA I CHIPSY WARIANTÓW
   ========================================================================== */

/* Ukrycie kontenera widgetu Booksy */
.booksy-widget-container {
    display: none !important;
}

/* ==========================================================================
   Stabilizacja overlaya Booksy (pin dialogu do okna + scroll w jego wnetrzu)
   Powod: skrypt Booksy renderuje .booksy-widget-dialog jako element ABSOLUTNY
   o wysokosci listy uslug -> przewija sie wtedy cala strona, a po wyborze uslugi
   krotki dialog laduje poza widokiem (widac samo przyciemnienie). Pinujemy dialog
   do okna i scrollujemy dluga liste w jego wnetrzu. Blokade scrolla <body> dokłada
   klasa .booksy-scroll-lock zarzadzana z app.js.
   ========================================================================== */
.booksy-widget-overlay {
    z-index: 2147483646 !important; /* nad cala nasza warstwa UI, tuz pod dialogiem */
}

.booksy-widget-dialog {
    position: fixed !important;
    top: 0 !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    max-width: 100% !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

html.booksy-scroll-lock,
html.booksy-scroll-lock body {
    overflow: hidden !important;
}

html.booksy-scroll-lock body {
    position: fixed;
    width: 100%;
}

/* Chipsy wariantów w cenniku i modalu */
.variant-chips-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    width: 100%;
}

.variant-chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    border-radius: 20px;
    border: 1px solid var(--color-detail);
    background-color: var(--bg-primary);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 700;
    user-select: none;
}

.variant-chip:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.variant-chip.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Modal warianty */
.modal-variant-chips {
    margin: 1.5rem 0 1rem 0;
    width: 100%;
}

.modal-variant-chips .variant-chips-container,
#modalVariantChips {
    justify-content: flex-start !important;
}

.modal-variant-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Trust Badges w opiniach */
.trust-badges-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
    width: 100%;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--bg-primary);
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-subtle);
    min-width: 220px;
    flex: 1 1 220px;
    max-width: 280px;
}

.trust-badge-logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--font-heading);
    background-color: var(--color-white);
    border: 1px solid var(--color-detail);
}

.trust-badge-logo.booksy {
    background-color: var(--color-white);
    color: var(--color-accent);
    width: auto;
    padding: 0 0.75rem;
    border-radius: 18px;
}

.trust-badge-logo.booksy svg {
    width: 54px;
    height: 12px;
    display: block;
    fill: currentColor;
}

.trust-badge-logo.google {
    background-color: var(--color-white);
}

.trust-badge-logo.google svg {
    width: 20px;
    height: 20px;
    display: block;
}

.trust-badge-logo.facebook {
    background-color: var(--color-white);
    color: #1877f2;
}

.trust-badge-logo.facebook svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.trust-badge-info {
    display: flex;
    flex-direction: column;
}

.trust-badge-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.trust-badge-stars {
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.trust-badge-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
    font-weight: 700;
}

/* Karuzela Opinii */

.testimonials-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem 2rem 1.5rem;
    scroll-padding: 0 1.5rem;
    scroll-behavior: smooth;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonials-carousel .testimonial-card {
    flex: 0 0 calc(100vw - 3rem);
    scroll-snap-align: start;
    box-sizing: border-box;
    margin: 0;
}

@media (min-width: 768px) {
    .testimonials-carousel {
        margin: 0;
        padding: 1rem 0;
    }
    .testimonials-carousel .testimonial-card {
        flex: 0 0 calc(50% - 0.875rem);
    }
}

.carousel-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--color-detail);
    color: var(--color-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-subtle);
    z-index: 10;
    transition: var(--transition-smooth);
}

.carousel-control-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.carousel-control-btn.prev {
    left: 0;
}

.carousel-control-btn.next {
    right: 0;
}

@media (max-width: 500px) {
    .carousel-control-btn {
        display: none; /* Ukryj strzałki na małych ekranach */
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-detail);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.testimonial-header-user {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    width: 100%;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-right: 0.85rem;
    flex-shrink: 0;
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
}

.testimonial-user-info .testimonial-author {
    margin-bottom: 0.15rem;
}

.testimonial-date {
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   8.5 VOUCHERY (BONY UPOMINKOWE)
   ========================================================================== */
.vouchers-section {
    background-color: var(--bg-primary);
}

.vouchers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.vouchers-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.voucher-image-main {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-detail);
    width: 100%;
    aspect-ratio: 16 / 10;
}

.voucher-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}



.voucher-images-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.voucher-image-side {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--color-detail);
    width: 100%;
    aspect-ratio: 1 / 1;
}



.vouchers-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.vouchers-subtitle-mini {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.vouchers-occasions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.vouchers-occasions-list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(138, 88, 67, 0.15);
}

.vouchers-occasions-list li:first-child {
    padding-top: 0;
}

.vouchers-occasions-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.occasion-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.occasion-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Opcje zakupu: pół na pół ze zdjęciem w połowie */
.voucher-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
    margin-bottom: 3.5rem;
}

.voucher-option-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-detail);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.voucher-option-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.option-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.option-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}



.option-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.option-title-sub {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.option-desc-sub {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA na dole */
.voucher-cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1rem;
}

.voucher-btn-call,
.voucher-btn-book {
    width: 100%;
}

@media (min-width: 576px) {
    .voucher-cta-container {
        flex-direction: row;
    }
    .voucher-btn-call,
    .voucher-btn-book {
        width: auto;
        min-width: 220px;
    }
}

@media (min-width: 768px) {
    .vouchers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: stretch;
    }
    
    .voucher-options-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .voucher-option-card {
        flex-direction: row;
        height: 240px;
    }
    
    .option-card-image {
        width: 50%;
        height: 100%;
    }
    
    .option-card-content {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .vouchers-grid {
        gap: 5rem;
    }
}

/* Ukrycie bardzo długich opinii na urządzeniach mobilnych */
@media (max-width: 767px) {
    .testimonial-card.long-review {
        display: none !important;
    }
}

/* Link przejścia do podstrony usługi z okna modalnego */
.modal-more-details-link {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

.modal-more-details-link:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

/* Guidance Section */
.guidance-section {
    background-color: var(--bg-primary);
    padding: 0;
    border-bottom: 1px solid var(--color-detail);
}

.guidance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .guidance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guidance-card {
    background-color: var(--color-detail-light);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.guidance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-detail);
    transition: background-color var(--transition-smooth);
}

.guidance-card:hover {
    background-color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(138, 88, 103, 0.3);
}

.guidance-card:hover::before {
    background-color: var(--color-accent);
}

.guidance-badge {
    background-color: var(--color-detail-light);
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.guidance-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.guidance-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex: 1;
}

.guidance-link {
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.guidance-link:hover {
    color: var(--color-accent-dark);
}

.guidance-link svg {
    transition: transform var(--transition-fast);
}

.guidance-link:hover svg {
    transform: translateX(4px);
}

/* Services Aggregator Page */
.services-aggregator-hero-photo {
    width: 100%;
    height: 480px;
    position: relative;
    overflow: hidden;
    clip-path: inset(0px);
}

.services-aggregator-hero-photo picture,
.services-aggregator-hero-photo img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    will-change: transform;
}

@media (max-width: 767px) {
    .services-aggregator-hero-photo {
        height: 250px;
    }
    .services-aggregator-hero-photo picture,
    .services-aggregator-hero-photo img {
        position: absolute;
        height: 100%;
    }
}

.services-aggregator-section {
    background-color: var(--bg-primary);
    padding: 0 0 6rem 0;
}

.services-aggregator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

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

@media (min-width: 1200px) {
    .services-aggregator-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.aggregator-card {
    background-color: var(--color-detail-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-detail);
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    position: relative;
}

.aggregator-card:hover {
    background-color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(138, 88, 103, 0.3);
}

/* --------------------------------------------------------------------------
   SYSTEM PŁYNNEGO ŁADOWANIA OBRAZÓW (LAZY LOADING & SKELETON SHIMMER)
   -------------------------------------------------------------------------- */
.lazy-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #e5dad4; /* Neutralny, ciepły szaro-beżowy (kolor glinki/kamienia), nie wpada w róż */
}

/* Skeleton shimmer gradient (subtelny, ciemniejszy pas cieniujący) */
.lazy-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(45, 37, 36, 0) 0%,
        rgba(45, 37, 36, 0.08) 50%, /* Zamiast jasnego błysku, delikatny ruchomy cień */
        rgba(45, 37, 36, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Wyłączenie animacji po załadowaniu obrazka (aktywowane klasą na kontenerze lub obrazku) */
.lazy-wrapper.loaded::before,
.lazy-wrapper:has(img.loaded)::before {
    opacity: 0;
    visibility: hidden;
}

/* Klatki kluczowe dla animacji błysku */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Ukrycie obrazka przed załadowaniem i płynny fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease, transform var(--transition-smooth);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.aggregator-card-image-wrapper {
    width: 100%;
    height: 220px;
}

/* ==========================================================================
   W1 — Domykające CTA (po cenniku, w sekcji kontakt, na podstronie usługi)
   ========================================================================== */
.cennik-closing-cta {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.cennik-closing-cta p {
    max-width: 520px;
    margin: 0;
    color: var(--color-text-muted);
}

/* Guziki pod cennikiem - w rzedzie obok siebie, zawijaja na mobile */
.cennik-closing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.contact-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0.5rem 0 0;
    width: 100%;
}
.contact-cta-actions .btn { width: 100%; }
.contact-cta-full { grid-column: 1 / -1; }   /* Booksy na całą szerokość bloku */

/* Na bardzo wąskich ekranach jedna kolumna (telefon i Messenger pod sobą) */
@media (max-width: 480px) {
    .contact-cta-actions {
        grid-template-columns: 1fr;
    }
}

.detail-closing-cta {
    background-color: var(--bg-secondary);
}

.detail-closing-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.detail-closing-cta-inner h2 {
    font-size: 1.8rem;
    margin: 0;
}

.detail-closing-cta-inner p {
    max-width: 520px;
    margin: 0;
    color: var(--color-text-muted);
}

.detail-closing-cta-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 580px;
    margin: 0 auto;
}
.detail-closing-cta-actions .btn { width: 100%; }
.detail-closing-cta-actions .btn:first-child { grid-column: 1 / -1; }   /* glowny guzik (Rezerwuj) na cala szerokosc */

/* Na bardzo waskich ekranach wszystko pod soba */
@media (max-width: 480px) {
    .detail-closing-cta-actions { grid-template-columns: 1fr; }
}

.aggregator-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aggregator-card:hover .aggregator-card-image {
    transform: scale(1.05);
}

.aggregator-card-body {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
}

.aggregator-card-category {
    background-color: var(--bg-primary);
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
    font-family: var(--font-heading);
    transition: background-color var(--transition-smooth);
}

.aggregator-card:hover .aggregator-card-category {
    background-color: var(--color-detail-light);
}

.aggregator-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.aggregator-card-desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.aggregator-card-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-detail);
    margin-top: auto;
}

.aggregator-card-price-info {
    display: flex;
    flex-direction: column;
}

.aggregator-card-duration {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.aggregator-card-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.15rem;
}

.aggregator-card-link {
    font-family: var(--font-heading);
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.aggregator-card-link:hover {
    color: var(--color-accent-dark);
}

.aggregator-card-link svg {
    transition: transform var(--transition-fast);
}

.aggregator-card-link:hover svg {
    transform: translateX(4px);
}

/* Styl dla kart usług nieaktywnych w agregatorze */
.aggregator-card.is-inactive {
    opacity: 0.6;
    filter: grayscale(60%);
    transition: var(--transition-smooth);
}

.aggregator-card.is-inactive:hover {
    opacity: 0.95;
    filter: grayscale(0%);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}



/* ==========================================================================
   BANNER ZGODY NA COOKIE (RODO / Consent Mode v2)
   ========================================================================== */
.cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
    background: var(--color-white);
    border: 1px solid var(--color-detail);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-large);
    padding: 1.1rem 1.25rem;
    max-width: 760px;
    margin: 0 auto;
    animation: cookieIn 0.35s ease both;
}
.cookie-consent[hidden] { display: none; }
@keyframes cookieIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-consent-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.cookie-consent-text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}
.cookie-consent-actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.cookie-consent .cookie-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .cookie-consent { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 1rem; }
    .cookie-consent-actions { width: 100%; }
    .cookie-consent .cookie-btn { flex: 1 1 0; }
}

/* Linki prawne: baner cookie + stopka */
.cookie-consent-link { color: var(--color-accent); text-decoration: underline; white-space: nowrap; }
.footer-legal { margin: 0.4rem 0 0; font-size: 0.85rem; }
.footer-legal a { color: inherit; opacity: 0.8; text-decoration: underline; }
.footer-legal a:hover { opacity: 1; }

/* NAP w stopce (local SEO) */
.footer-nap {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}
.footer-nap a { color: inherit; text-decoration: none; }
.footer-nap a:hover { text-decoration: underline; }

/* Lista wewnątrz odpowiedzi FAQ (np. dojazd komunikacją) - punkty wyraźnie wcięte w prawo */
.faq-answer-content ul {
    margin: 0.4rem 0 0;
    padding-left: 2.6rem;
}
.faq-answer-content li {
    margin-bottom: 0.35rem;
}

/* Stopka: 3 kolumny na desktopie (adres | srodek | ikony) */
.footer-center p { margin: 0.15rem 0; }
.footer-update-date { opacity: 0.7; font-size: 0.8rem; }
@media (min-width: 768px) {
    /* Rowne boki (1fr | auto | 1fr) => srodek wysrodkowany wzgledem strony */
    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: start;   /* wszystko wyrownane do gory */
        text-align: left;
    }
    .footer-nap { justify-self: start; }
    .footer-center { justify-self: center; text-align: center; }
    .social-links { justify-self: end; }
}

/* Animowany badge przy zdjeciu - na desktopie o 50% wiekszy (mobile/tablet bez zmian) */
@media (min-width: 1024px) {
    .experience-badge {
        transform: scale(1.5);
        transform-origin: bottom right;
    }
}
