/* VARIANT 19 OSI_F — Mobile-first, simplified selectors */

/* === RESET & BASE (mobile) === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #870158;
    --primary-light: rgba(135, 1, 88, 0.15);
    --primary-soft: rgba(135, 1, 88, 0.08);
    --secondary: #646b52;
    --secondary-light: rgba(100, 107, 82, 0.15);
    --watercolor-pink: rgba(212, 97, 166, 0.25);
    --watercolor-mauve: rgba(169, 81, 130, 0.25);
    --watercolor-sage: rgba(145, 158, 116, 0.25);
    --watercolor-olive: rgba(115, 125, 92, 0.25);
    --watercolor-peach: rgba(255, 200, 180, 0.25);
    --watercolor-lavender: rgba(200, 180, 220, 0.25);
    --white: #fff;
    --cream: #faf9f7;
    --light-gray: #f5f4f2;
    --gray: #a8a8a8;
    --dark-gray: #4a4a4a;
    --font-handwritten: 'Caveat', cursive;
    --section-padding: 2vh;
    --container-padding: 4vw;
    --content-max-width: 1100px;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 10px 30px rgba(135, 1, 88, 0.2);
    --shadow-primary-hover: 0 15px 40px rgba(135, 1, 88, 0.3);
    --transition-fast: .3s;
    --transition-normal: .4s;
}

html {
    font-size: 17px;
    overflow-x: clip;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    background: var(--cream);
    overflow-x: clip;
}

address {
    font-style: normal;
}

picture {
    display: contents;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-handwritten);
}


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

/* Shared: lift section content above blobs */
section>*,
header>h2,
header>p,
header>div,
footer .grid,
footer .bottom {
    position: relative;
    z-index: 1;
}

/* === WATERCOLOR BLOBS (pure CSS) === */
@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg)
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg)
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg)
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg)
    }
}

/* Shared blob base — unique values via --blob-color, --blob-size */
nav::before,
header::before,
header::after,
.formulas article:nth-of-type(1)::before,
.formulas article:nth-of-type(3)::before,
.formulas article:nth-of-type(5)::before,
#opinie::before,
.alt-bg::before,
#kontakt::before,
footer::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
    width: var(--blob-size);
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--blob-color), transparent 70%);
}

/* Unique per blob: color, size, position, delay */
nav::before {
    --blob-color: var(--watercolor-pink);
    --blob-size: clamp(330px, 31vw, 550px);
    top: -50px;
    right: -100px;
}

header::before {
    --blob-color: var(--watercolor-lavender);
    --blob-size: clamp(400px, 39vw, 650px);
    top: 20%;
    left: -120px;
    animation-delay: 5s;
}

header::after {
    --blob-color: var(--watercolor-sage);
    --blob-size: clamp(300px, 28vw, 500px);
    bottom: 10%;
    right: 5%;
    animation-delay: 10s;
}

.formulas article:nth-of-type(1)::before {
    --blob-color: var(--watercolor-mauve);
    --blob-size: clamp(370px, 35vw, 620px);
    top: -100px;
    left: 5%;
    animation-delay: 2s;
}

.formulas article:nth-of-type(3)::before {
    --blob-color: var(--watercolor-peach);
    --blob-size: clamp(320px, 30vw, 530px);
    top: -80px;
    right: 10%;
    animation-delay: 7s;
}

.formulas article:nth-of-type(5)::before {
    --blob-color: var(--watercolor-olive);
    --blob-size: clamp(350px, 33vw, 580px);
    bottom: -100px;
    left: 5%;
    animation-delay: 12s;
}

#opinie::before {
    --blob-color: var(--watercolor-pink);
    --blob-size: clamp(400px, 39vw, 650px);
    top: 50%;
    right: -150px;
    animation-delay: 4s;
}

.alt-bg::before {
    --blob-color: var(--watercolor-lavender);
    --blob-size: clamp(330px, 31vw, 550px);
    top: -50px;
    left: -100px;
    animation-delay: 8s;
}

#kontakt::before {
    --blob-color: var(--watercolor-sage);
    --blob-size: clamp(300px, 28vw, 500px);
    bottom: -50px;
    right: 5%;
    animation-delay: 15s;
}

footer::before {
    --blob-color: var(--watercolor-mauve);
    --blob-size: clamp(370px, 35vw, 620px);
    top: 20%;
    left: -100px;
    animation-delay: 6s;
}

/* === NAV (mobile: hamburger) === */
body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-overlay {
    display: block;
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    z-index: 99;
}

body.menu-open nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4vw;
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(135, 1, 88, 0.08);
}

nav a {
    text-decoration: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 8px;
}

.nav-brand picture img {
    height: 100%;
    max-height: 60px;
    width: auto;
    display: block;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

nav ul {
    position: fixed;
    top: 0;
    right: 0;
    width: max-content;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    display: none;
    flex-direction: column;
    padding: 55px 40px 30px 30px;
    gap: 6px;
    list-style: none;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

nav ul.active {
    display: flex;
}

nav ul li.nav-break {
    display: none;
}

nav ul a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

nav ul a:hover,
nav ul a.active {
    color: var(--primary);
}

nav ul a.active {
    box-shadow: 0 2px 0 0 var(--primary);
}

nav button {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

nav button span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all .3s;
}

nav button.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

nav button.active span:nth-child(2) {
    opacity: 0;
}

nav button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* === SUBMENU (mobile — details/summary) === */
.has-submenu summary {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition-fast);
}

.has-submenu summary::-webkit-details-marker {
    display: none;
}

.has-submenu summary::marker {
    content: none;
}

.has-submenu summary:hover,
.has-submenu summary.active {
    color: var(--primary);
}

.has-submenu summary.active {
    box-shadow: 0 2px 0 0 var(--primary);
}

.has-submenu summary::after {
    content: '▾';
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
    display: inline-block;
}

.has-submenu details[open] summary::after {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 55px 40px 4px 30px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.submenu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.submenu a:hover,
.submenu a.active {
    color: var(--primary);
}

.submenu a.active {
    box-shadow: 0 2px 0 0 var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* === HERO (mobile) === */
header {
    position: relative;
    padding: 25px 4vw 20px;
    text-align: center;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

header>h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 3px 3px 0 rgba(135, 1, 88, 0.08);
}

header>p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

header>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

/* === BUTTONS === */
a.primary,
a.secondary {
    display: inline-block;
    padding: 16px 40px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

a.primary {
    background: linear-gradient(135deg, var(--primary), #a01569);
    color: var(--white) !important;
    box-shadow: var(--shadow-primary);
}

a.primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-hover);
}

a.secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

a.secondary:hover {
    background: var(--primary-soft);
    transform: translateY(-3px);
}

a.inline-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition-normal);
}

a.inline-link:hover {
    color: #a01569;
}

/* === SECTIONS === */
section {
    position: relative;
    padding: var(--section-padding) 16px;
}

section>*,
footer>* {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Section labels */
section>p:first-of-type {
    text-align: center;
    font-family: var(--font-handwritten);
    font-size: 1.7rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* Section titles — overrides handwritten font to body font */
section>h2 {
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin: 0 auto 15px;
}

/* === FORMULAS (mobile: single column) === */
.formulas {
    background: rgba(245, 244, 242, 0.75);
}

.formulas article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: 0 auto 1.5rem;
}

.formulas article>div:first-child {
    text-align: center;
    overflow-wrap: break-word;
}

.formulas article h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.formulas article h3>span {
    font-size: 3rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    line-height: 1;
    text-decoration: none;
}

.formulas article p {
    margin-bottom: 1em;
    text-align: center;
}

.why {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 15px 20px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 1.5em;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.formulas .images {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.formulas .video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formulas figure {
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
    flex: 1;
    min-width: 0;
}

.formulas figure:hover {
    transform: scale(1.03);
}

.formulas figure img,
.formulas figure video {
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    width: 100%;
    margin: 0 auto;
}

.formulas .images figure img {
    aspect-ratio: var(--thumb-ratio, 4 / 3);
    object-fit: cover;
    object-position: var(--thumb-position, center);
}

.formulas .images figure.img-contain img {
    object-fit: contain;
    aspect-ratio: auto;
}

.formulas figcaption {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 8px;
}

.formulas hr,
#content > hr {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--watercolor-pink), var(--watercolor-sage), var(--watercolor-lavender));
    margin: 15px auto;
    border: none;
    border-radius: 3px;
    opacity: .6;
}

/* === REVIEWS (mobile: stacked) === */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.gallery img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.gallery+a {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
}

/* === PHOTO GRID (mobile: single column) === */
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.photo-grid figure {
    cursor: pointer;
    transition: transform var(--transition-fast);
    margin: 0;
}

.photo-grid figure:hover {
    transform: scale(1.03);
}

.photo-grid figure img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* === WHY / ALT-BG SECTION === */
.alt-bg {
    background: rgba(245, 244, 242, 0.75);
}

section>ul {
    list-style: none;
    padding: 0;
    max-width: 700px;
    text-align: center;
}

section>ul>li {
    margin-bottom: 0.75em;
}

/* === CTA / KONTAKT (mobile: single column) === */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.grid-2>div:first-child p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.grid-2>div:first-child a {
    color: var(--primary);
    font-weight: 600;
}

#kontakt address {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#kontakt address a {
    display: inline-block;
    padding: 15px 25px;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

#kontakt address a:hover {
    color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.grid-2>figure:last-child img {
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
}

/* === FOOTER (mobile: single column) === */
footer {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    color: var(--white);
    padding: 30px 16px 15px;
}

/* footer>* centering handled by shared section>*, footer>* rule above */

footer .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

footer .grid>div h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

footer .grid>div picture img {
    max-width: 120px;
    margin-top: 10px;
    display: block;
}

footer .grid>div h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

footer .grid>div p {
    line-height: 1.6;
    opacity: .9;
}

footer .grid>div ul {
    list-style: none;
}

footer .grid>div li {
    margin-bottom: 12px;
}

footer .grid>div a {
    color: var(--white);
    text-decoration: none;
    opacity: .9;
    transition: opacity var(--transition-fast);
}

footer .grid>div a:hover {
    opacity: 1;
}

footer .bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .bottom p {
    font-size: 0.875rem;
    opacity: .8;
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    isolation: isolate;
    animation: fadeIn .3s;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.lightbox>div {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox p {
    text-align: center;
    color: #ccc;
    padding: 15px 0;
}

.lightbox button {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* === HLS VIDEO PLAYER (9:16) === */
#hls-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#player-wrapper {
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 70vh;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0;
    box-shadow: var(--shadow-md);
}

#player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

/* === REVIEW LINKS (opinie page) === */
.review-note {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.review-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}


.review-links-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.review-links-buttons a {
    white-space: nowrap;
}

/* === PAKIETY GRID (pakiety pages) === */
.pakiety-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
}

.pakiet-card {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), #a01569);
    color: var(--white);
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pakiet-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pakiet-icon {
    display: none;
}

.pakiet-count,
.pakiet-label {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}

/* === REVIEWS MASONRY GALLERY === */
.reviews-masonry {
    column-count: 1;
    column-gap: 20px;
    max-width: 1100px;
}

.reviews-masonry picture {
    display: block;
    break-inside: avoid;
    margin-bottom: 20px;
}

.reviews-masonry img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

/* === ABOUT QUOTE BLOCK === */
.about-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary);
    position: relative;
    z-index: 1;
}

.about-quote p {
    margin-bottom: 1em;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-quote p:last-child {
    margin-bottom: 0;
}

/* === EVENT GRID === */
.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    text-align: center;
}

.event-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}


.event-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #a01569);
    border-radius: 50%;
    padding: 14px;
}

.event-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-item p {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* === NO-BULLETS (oferta lists with emoji) === */
.no-bullets {
    list-style: none !important;
    padding: 0;
}

.no-bullets li,
.formulas .no-bullets li {
    margin-bottom: 0.75em;
    position: static;
    padding-left: 0;
}

.no-bullets li::before,
.formulas .no-bullets li::before,
.formulas ul.no-bullets li::before {
    content: none !important;
    display: none !important;
}

.formulas ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.formulas ul li {
    position: relative;
    padding-left: 1.75em;
    margin-bottom: 0.75em;
}

.formulas ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    font-size: 1.2em;
    color: var(--primary);
}

/* === OFERTA DETAIL BLOCKS === */
.oferta-details {
    background: rgba(245, 244, 242, 0.75);
}

.oferta-details h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin: 2rem auto 1rem;
    text-align: center;
}

.oferta-details h3:first-child {
    margin-top: 0;
}

.oferta-details ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.oferta-details ul li {
    margin-bottom: 0.75em;
    padding-left: 0.25em;
}

.oferta-details hr {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), rgba(135, 1, 88, 0.3));
    margin: 2rem auto;
    border: none;
    border-radius: 3px;
}

.oferta-qa {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(135, 1, 88, 0.1);
}

.oferta-qa p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

/* === FLEXIBLE SECTION === */
.flexible-section {
    background: var(--primary) !important;
    color: var(--white);
    text-align: center;
    padding: var(--section-padding) 16px 3rem;
}

.flexible-section h2 {
    color: var(--white);
}

.flexible-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.flexible-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.flexible-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.18);
}

.flexible-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.flexible-icon img {
    width: 64px;
    height: 64px;
    display: block;
    margin: 0 auto;
}

.flexible-item p {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* === ZAUFALI NAM (TICKER) === */
.trusted-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    max-width: 100%;
}

.trusted-ticker-caption {
    background: transparent;
    border: none;
    margin: 1rem 0 0 0;
    padding: 0;
}

.trusted-ticker::before,
.trusted-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.trusted-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--cream) 0%, transparent 100%);
}

.trusted-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--cream) 0%, transparent 100%);
}

.ticker-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: scroll-ticker 30s linear infinite;
    gap: 3rem;
    padding-left: 3rem; /* Taki sam jak gap, by zachować płynność */
}

.ticker-item {
    font-size: 1.3rem;
    font-family: var(--font-handwritten);
    color: var(--secondary);
    white-space: nowrap;
    font-weight: 600;
}

@keyframes scroll-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Ticker: brand colors + glow (logo-inspired) --- */
.ticker-item {
    transition: opacity 0.3s ease;
}

.ticker-beco {
    color: #1565C0;
    text-shadow: 0 0 8px rgba(21, 101, 192, 0.35), 0 0 20px rgba(21, 101, 192, 0.15);
}

.ticker-media-expert {
    color: #CC0000;
    text-shadow: 0 0 8px rgba(204, 0, 0, 0.35), 0 0 20px rgba(204, 0, 0, 0.15);
}

.ticker-play {
    color: #7B1FA2;
    text-shadow: 0 0 8px rgba(123, 31, 162, 0.35), 0 0 20px rgba(123, 31, 162, 0.15);
}

.ticker-ca {
    color: #1A237E;
    text-shadow: 0 0 8px rgba(26, 35, 126, 0.35), 0 0 20px rgba(26, 35, 126, 0.15);
}

.ticker-orlen {
    color: #E30613;
    text-shadow: 0 0 8px rgba(227, 6, 19, 0.35), 0 0 20px rgba(227, 6, 19, 0.15);
}

.ticker-inpost {
    color: #B8860B;
    text-shadow: 0 0 8px rgba(184, 134, 11, 0.4), 0 0 20px rgba(255, 205, 0, 0.2);
}

.ticker-siemens {
    color: #009688;
    text-shadow: 0 0 8px rgba(0, 150, 136, 0.35), 0 0 20px rgba(0, 150, 136, 0.15);
}

.ticker-umiecbaseny {
    color: #0277BD;
    text-shadow: 0 0 8px rgba(2, 119, 189, 0.35), 0 0 20px rgba(2, 119, 189, 0.15);
}

.ticker-mcdonalds {
    color: #C49000;
    text-shadow: 0 0 8px rgba(196, 144, 0, 0.4), 0 0 20px rgba(255, 199, 44, 0.25);
}

/* === LOCATION PICKER === */
.location-picker {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.location-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    min-height: 280px;
    text-decoration: none;
    color: var(--white);
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-overlay {
    position: absolute;
    inset: 0;
    background: rgba(135, 1, 88, 0.7);
    transition: background var(--transition-fast);
}

.location-card:hover .location-overlay {
    background: rgba(135, 1, 88, 0.6);
}

.location-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    padding: 2rem;
    text-align: center;
}

.location-content p {
    margin-bottom: 0.5em;
}

.location-content p strong {
    font-size: 1.5rem;
}

.location-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.location-card:hover .location-btn {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}



/* ============================================
   DESKTOP ENHANCEMENTS (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
    html {
        font-size: clamp(16px, 1.6vw, 18px);
    }

    section,
    footer {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    /* Nav: horizontal menu */
    nav {
        padding: 10px var(--container-padding);
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 20px;
    }

    nav>a {
        flex-shrink: 0;
    }

    nav h1 {
        font-size: 1.8rem;
    }

    nav ul {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        gap: 4px 18px;
        box-shadow: none;
        display: flex;
        overflow-y: visible;
        flex: 1;
        min-width: 0;
    }

    nav ul li {
        white-space: nowrap;
    }

    nav ul li.nav-break {
        display: block;
        flex-basis: 100%;
        height: 0;
        padding: 0;
        margin: 0;
        border: 0;
    }

    nav ul a {
        font-size: 0.825rem;
        white-space: nowrap;
    }

    nav button {
        display: none;
    }

    /* Submenu desktop */
    .has-submenu {
        position: relative;
    }

    .has-submenu summary {
        font-size: 0.825rem;
        white-space: nowrap;
    }

    /* On desktop, submenu is absolutely positioned dropdown */
    .has-submenu .submenu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: var(--white);
        border-radius: 12px;
        box-shadow: var(--shadow-md);
        padding: 10px calc(var(--container-padding) / 2);
        min-width: 180px;
        z-index: 110;
    }

    /* Show submenu on hover or when details is open */
    .has-submenu:hover .submenu,
    .has-submenu details[open] .submenu {
        display: flex;
    }

    .submenu a {
        font-size: 0.825rem;
        white-space: nowrap;
        padding: 6px 14px;
        border-radius: 8px;
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .submenu a:hover {
        background: var(--primary-soft);
    }

    /* Hero */
    header {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }

    header>div {
        flex-direction: row;
    }

    /* Formulas: 2-column zig-zag */
    .formulas article {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }


    .formulas article.reverse>div:first-child {
        order: 2;
    }

    .formulas article.reverse .images,
    .formulas article.reverse figure {
        order: 1;
    }

    /* Reviews: side by side */
    .gallery {
        flex-direction: row;
        align-items: flex-start;
    }

    .gallery img {
        width: calc(50% - 15px);
        max-width: none;
    }

    /* Photo grid: 2x2 on desktop */
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Contact: 2-column layout */
    .kontakt-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Form: paired fields in one row */
    #contact-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: end;
        gap: 1.1rem;
    }

    /* CTA: 2 columns */
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Footer: 4 columns */
    footer .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }

    /* Review links: 2 columns */
    .review-links {
        grid-template-columns: 1fr 1fr;
    }

    /* Event grid: 4 columns on desktop */
    .event-grid {
        grid-template-columns: repeat(4, 1fr);
    }


    .event-icon {
        width: 90px;
        height: 90px;
    }


    .review-links-buttons {
        flex-direction: row;
        justify-content: center;
    }


    /* Masonry: 2 columns on desktop */
    .reviews-masonry {
        column-count: 2;
    }

    /* Contact: desktop cards in row */
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Flexible: 3 columns on desktop */
    .flexible-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Location picker: 2 columns on desktop */
    .location-picker {
        grid-template-columns: 1fr 1fr;
    }
}

/* === NEW PAGES === */

.terminy-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
    margin: 0.4rem auto;
}

h3 + .terminy-grid {
    margin-top: 0;
}

.formulas h3:has(+ .terminy-grid) {
    margin-bottom: 0.3rem;
}

.terminy-grid > span {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    transform: skewX(-15deg);
    font-family: var(--font-headings);
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    min-width: 60px;
    text-align: center;
}

.terminy-grid > .wolny { background-color: #9CA3FF; }
.terminy-grid > .zajety { background-color: #F9938F; }
.terminy-grid > .rezerwacja { background-color: #85CBAE; }


/* ── Contact page ── */

.kontakt-hero {
    background: rgba(245, 244, 242, 0.75);
    text-align: center;
}

/* Photo */
.kontakt-photo {
    max-width: 26rem;
    margin: 0 auto;
}

.kontakt-photo img {
    border-radius: 1.25rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

/* Owner labels */
.kontakt-owners {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    max-width: 26rem;
    margin: 1.25rem auto 0;
    font-size: 1.05rem;
    color: var(--dark-gray);
}

.kontakt-owners>span:first-child {
    text-align: right;
    font-weight: 700;
    color: var(--primary);
}

.kontakt-owners>span:nth-child(2) {
    text-align: center;
    font-family: var(--font-handwritten);
    font-size: 1.3rem;
    color: var(--secondary);
    white-space: nowrap;
}

.kontakt-owners>span:last-child {
    text-align: left;
    font-weight: 700;
    color: var(--primary);
}

/* Info section (Szanujemy Was!) */
.kontakt-info-section {
    background: var(--white);
}

.kontakt-info-section h3 {
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.kontakt-info-section p {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 1rem;
}

.kontakt-info-section p:first-of-type {
    font-size: 1.7rem;
}

.kontakt-info-section ul {
    list-style: none;
    max-width: 36rem;
    margin: 0 auto 1.25rem;
    padding: 0;
    text-align: center;
    color: var(--dark-gray);
}

.kontakt-info-section li {
    margin-bottom: 0.4rem;
}

.kontakt-info-section li::before {
    content: "–  ";
}

/* Contact cards */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 1, 88, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark-gray);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(135, 1, 88, 0.25);
}

.contact-card-icon {
    font-size: 2rem;
    line-height: 1;
}

.contact-card-label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.contact-card-value {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.85;
}

/* Form section */
.kontakt-form-section {
    background: rgba(245, 244, 242, 0.75);
}

.kontakt-form-section h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.kontakt-form-intro {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
}

/* Form groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--cream);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Form itself */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 650px;
    margin: 0 auto;
}

#contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

#contact-form input[type="text"],
#contact-form input[type="tel"],
#contact-form input[type="email"],
#contact-form textarea {
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--dark-gray);
    transition: border-color 0.25s, box-shadow 0.25s;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="tel"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(135, 1, 88, 0.1);
}

/* Real-time validation indicators */

/* Position label as anchor for absolute indicator */
#contact-form label:has(input[required]:not([type="radio"])) {
    position: relative;
}

/* Extra padding so text doesn't overlap indicator */
#contact-form input[required]:not([type="radio"]) {
    padding-right: 2.5rem;
}

/* Default: red ✗ */
#contact-form label:has(input[required]:not([type="radio"]))::after {
    content: "✗";
    position: absolute;
    right: 0.75rem;
    bottom: 0.55rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #d04040;
    pointer-events: none;
    transition: color 0.25s;
}

/* Valid: green ✓ */
#contact-form label:has(input[required]:not([type="radio"]):valid)::after {
    content: "✓";
    color: #3a9a3a;
}

/* Fieldset radio validation indicators */
#contact-form fieldset:has(input[type="radio"][required]) {
    position: relative;
}

#contact-form fieldset:has(input[type="radio"][required])::after {
    content: "✗";
    position: absolute;
    top: -0.55rem;
    right: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #d04040;
    background: var(--white);
    padding: 0 0.25rem;
    pointer-events: none;
    transition: color 0.25s;
}

#contact-form fieldset:has(input[type="radio"][required]:checked)::after {
    content: "✓";
    color: #3a9a3a;
}

/* Border colors (only after interaction) */
#contact-form input[data-touched]:valid,
#contact-form input[data-touched]:valid:focus {
    border-color: #3a9a3a;
    box-shadow: 0 0 0 2px rgba(58, 154, 58, 0.15);
}

#contact-form input[data-touched]:invalid,
#contact-form input[data-touched]:invalid:focus {
    border-color: #d04040;
    box-shadow: 0 0 0 2px rgba(208, 64, 64, 0.1);
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form fieldset {
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    background: var(--white);
}

#contact-form fieldset legend {
    font-weight: 700;
    padding: 0 0.5rem;
    color: var(--primary);
    font-size: 0.95rem;
}

#contact-form fieldset label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin: 0.35rem 0;
    cursor: pointer;
    transition: color var(--transition-fast);
}

#contact-form fieldset label:hover {
    color: var(--primary);
}

#contact-form input[type="radio"] {
    accent-color: var(--primary);
    width: 1.1em;
    height: 1.1em;
}

/* Submit */
#contact-form button[type="submit"] {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), #a01569);
    color: var(--white);
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-normal);
    margin: 1.5rem auto 0;
}

#contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-hover);
}

#contact-form button[type="submit"]:active {
    transform: translateY(0);
}

#contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Status messages */
#form-status {
    max-width: 650px;
    margin: 0 auto 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

#form-status.form-success {
    background: rgba(100, 107, 82, 0.12);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

#form-status.form-error {
    background: rgba(200, 50, 50, 0.08);
    border: 1px solid #c06060;
    color: #a04040;
}

#form-status ul {
    margin: 0.5rem 0 0 1.2rem;
    padding: 0;
}

/* Owners section */
.owners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.owner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.owner-icon {
    font-size: 2rem;
}

.owner-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Notice box */
.notice {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.notice ul {
    padding-left: 1.5rem;
}

/* FAQ page — category headers */
section>h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.faq-content p strong {
    font-size: 1.05rem;
}

.faq-content p:has(strong) {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.faq-content p:has(strong):first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.faq-content hr,
hr.faq-separator {
    width: 40%;
    height: 0;
    margin: 1.5rem auto;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: none;
    opacity: 1;
    border-radius: 0;
}

/* Pakiety buttons */
.pakiety-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.pakiety-buttons .btn {
    min-width: 180px;
    text-align: center;
}

/* Steps Carousel */
.steps-section {
    text-align: center;
}

.steps-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 1.5rem auto 0;
}

.steps-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: 16px;
    padding: 0.5rem;
}

.steps-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    transition: transform 0.45s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.steps-track::after {
    content: '';
    flex: 0 0 1px;
}

.step-card {
    flex: 0 0 30%;
    box-sizing: border-box;
    padding: 2rem 1.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    min-height: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 28px rgba(135, 1, 88, 0.12);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.step-card h3 {
    font-family: var(--font-handwritten);
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    color: var(--primary);
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin: 0;
    flex: 1;
}

.steps-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 2;
}

.steps-arrow:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.steps-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    transform: none;
}

.steps-arrow:disabled:hover {
    background: white;
    color: var(--primary);
}

.steps-swipe-hint {
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    opacity: 0.7;
    animation: swipeHintPulse 2s ease-in-out infinite;
}

@keyframes swipeHintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .step-card {
        flex: 0 0 82%;
        padding: 1.5rem 1.25rem;
        min-height: 220px;
    }
}

@media (min-width: 769px) {
    .steps-swipe-hint {
        display: none;
    }
}

/* Carousel */
.carousel-section {
    padding: 0;
    max-width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 40vh;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    height: 100%;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0.4;
    transform: scale(0.65);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide picture {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.carousel-slide picture img {
    max-width: 100%;
    max-height: 40vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.carousel-dots {
    text-align: center;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 70%;
    }

    .carousel-slide picture img {
        max-width: 100%;
        border-radius: 12px;
    }

    .carousel {
        height: auto;
    }
}

/* === VIDEO GRID (YouTube embeds) === */
.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.video-grid figure {
    margin: 0;
}

.video-grid figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 0.5rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
}

/* === VENUE FEATURES GRID === */
.venue-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 1100px;
    margin: 1.5rem auto 0;
}

.venue-feature {
    flex: 0 1 calc(50% - 1.25rem);
}

.venue-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    background: var(--light-gray);
    border-radius: 14px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.venue-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.venue-feature .vf-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-feature .vf-icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.venue-feature p {
    font-size: 0.95rem;
    margin: 0;
}

/* === VENUE CAPACITY === */
.venue-capacity {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
}

.venue-capacity .cap-item {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--primary-soft);
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    text-align: left;
}

.cap-item .cap-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.cap-item p {
    margin: 0;
    font-size: 1rem;
}

/* === VENUE MAP === */
.venue-map {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    width: 100%;
    padding-bottom: 75%; /* 4:3 ratio */
    height: 0;
}

.venue-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

    .venue-feature {
        flex: 0 1 calc(25% - 1.25rem);
    }

    .venue-capacity {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === GALLERY === */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.gallery-filters button {
    background: var(--light-gray);
    border: 2px solid transparent;
    color: var(--dark-gray);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gallery-filters button:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.gallery-filters button.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    position: relative;
    opacity: 1;
    max-height: 800px;
}

.gallery-item picture,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover picture img,
.gallery-item:hover img {
    transform: scale(1.05);
}

@media (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Gallery transition */
/* Stare tranzycje całego bloku usunięte na prośbę o animacje pojedynczych zdjęć */