@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,900;1,700;1,900&family=Barlow:wght@400;500;700&display=swap');

:root {
    --primary-red: oklch(48.5% 0.222 25.8);
    --dark-bg: oklch(13% 0.006 30);
    --surface-1: oklch(17% 0.005 30);
    --surface-2: oklch(20% 0.005 30);
    --card-bg: oklch(17% 0.005 30);
    --border-subtle: oklch(24% 0.005 30);
    --border-accent: oklch(35% 0.05 25);
    --text-main: oklch(95% 0.005 30);
    --text-muted: oklch(68% 0.005 30);
    --mouse-x: 50%;
    --mouse-y: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, h4,
.nav-index-title,
.service-entry-title,
.btn,
nav ul li a,
.page-hero h1,
.service-page-hero h1,
.table-title,
.stat-number,
.nhi-number,
.ph-price,
.ac-main-price,
.step-title,
.step-number {
    font-family: 'Barlow Condensed', 'Segoe UI', sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--dark-bg);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    overflow-x: hidden;
}

/* Mouse glow */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(227, 30, 36, 0.15),
            transparent 40%);
    transition: opacity 0.3s;
}

@media (hover: none) {
    .mouse-glow { display: none; }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Header */
header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    height: 100px;
    border-bottom: 2px solid var(--primary-red);
    transition: all 0.3s;
}

.logo-link {
    flex-shrink: 0;
    z-index: 1001;
}

.logo-img {
    max-height: 130px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s;
    display: block;
}

.logo-img:hover { transform: scale(1.05); }

/* Nav */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li { margin-left: 1.6rem; }

nav ul li a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.6);
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width .3s ease;
    position: absolute;
    bottom: -5px;
    left: 0;
    box-shadow: 0 0 8px var(--primary-red);
}

nav ul li a:hover::after { width: 100%; }

nav ul li a.active {
    color: var(--primary-red);
}

nav ul li a.active::after { width: 100%; }

/* CTA „Rezerwacja" – czerwony przycisk w pasku nawigacji */
nav ul li a.nav-cta {
    background: var(--primary-red);
    color: #fff;
    padding: 0.55rem 1.15rem;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(227, 30, 36, 0.35);
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}

nav ul li a.nav-cta:hover {
    background: #c0151b;
    color: #fff;
    text-shadow: none;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.5);
    transform: translateY(-1px);
}

nav ul li a.nav-cta.active { color: #fff; }
nav ul li a.nav-cta::after { display: none; }

/* Hamburger */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1002;
    width: 30px;
    height: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-main);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.3s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

.menu-toggle.open span:nth-child(1) { top: 8px; transform: rotate(135deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; left: -30px; }
.menu-toggle.open span:nth-child(3) { top: 8px; transform: rotate(-135deg); }

/* Hero */
.hero {
    height: 95vh;
    min-height: 600px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#hero-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: blur(8px);
    will-change: transform;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    #hero-video { filter: blur(6px); opacity: 0.7; }
}

.low-performance-device #hero-video { filter: blur(4px); opacity: 0.6; }

.hero::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-main {
    max-width: 700px;
    width: 90%;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    animation: fadeInUp 1s ease-out;
}

.hero p, .hero h1 {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ddd;
    animation: fadeInUp 1.2s ease-out;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1.4s ease-out;
}

.btn {
    background: var(--primary-red);
    color: #fff;
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn:hover::before { left: 100%; }

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.5);
    background-color: #c0151b;
    border-color: #c0151b;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
    color: #ffffff;
}

.btn-outline:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Page hero (for subpages) */
.page-hero {
    padding-top: 160px;
    padding-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-main);
    position: relative;
    display: inline-block;
}

.page-hero h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 16px auto 0;
}

/* Sections */
section {
    padding: 7rem 5%;
    position: relative;
    z-index: 2;
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    letter-spacing: 0.04em;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 16px auto 0;
}

/* Glass Panel */
.glass-panel {
    background: var(--surface-1);
    padding: 4rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    max-width: 1200px;
    margin: 0 auto;
}

.glass-panel:hover { border-color: var(--border-accent); }

.about-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 68ch;
}

.about-text strong { color: var(--text-main); }

/* Services (oferta.html) */
.service-list {
    max-width: 840px;
    margin: 0 auto;
    border-top: 1px solid oklch(25% 0.005 30);
}

.service-entry {
    display: block;
    padding: 3rem 0;
    border-bottom: 1px solid oklch(25% 0.005 30);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.service-entry:hover { padding-left: 1.5rem; }

.service-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
}

.service-entry-title {
    font-size: clamp(1.4rem, 4vw, 2.25rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: oklch(93% 0.005 30);
    transition: color 0.2s;
}

.service-entry:hover .service-entry-title { color: var(--primary-red); }

.service-entry-arrow {
    font-size: 1.6rem;
    color: var(--primary-red);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
    line-height: 1;
}

.service-entry:hover .service-entry-arrow { transform: translateX(10px); }

.service-entry-desc {
    margin-top: 0.65rem;
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 62ch;
}

.section-cta { padding-top: 0; text-align: center; }

/* Navigation Cards Section (index) */
.nav-cards-section {
    padding: 5rem 5%;
    position: relative;
    z-index: 2;
    background: rgba(10, 10, 10, 0.6);
}

.nav-cards-section h2 { margin-bottom: 3rem; }

.nav-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-card {
    background: var(--surface-1);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, transform 0.25s;
    display: block;
}

.nav-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
}

.nav-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.2rem;
    display: block;
    transition: transform 0.4s;
}

.nav-card:hover i { transform: scale(1.15); }

.nav-card h3 {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.nav-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Navigation Index (index.html) */
.nav-index {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid oklch(28% 0.005 30);
}

.nav-index-item {
    display: grid;
    grid-template-columns: 3.5rem 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 0.5rem;
    border-bottom: 1px solid oklch(28% 0.005 30);
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: padding-left 0.25s cubic-bezier(0.22, 0.61, 0.36, 1),
                background 0.25s;
}

.nav-index-item:hover {
    padding-left: 1.25rem;
    background: oklch(20% 0.006 25 / 0.5);
}

.nav-index-num {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: 2px;
    font-style: italic;
    align-self: start;
    padding-top: 0.3rem;
}

.nav-index-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.nav-index-title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: oklch(95% 0.005 30);
    transition: color 0.2s;
    line-height: 1.2;
}

.nav-index-item:hover .nav-index-title {
    color: var(--primary-red);
}

.nav-index-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.nav-index-arrow {
    font-size: 1.4rem;
    color: var(--primary-red);
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
    line-height: 1;
    padding-right: 0.25rem;
}

.nav-index-item:hover .nav-index-arrow {
    transform: translateX(8px);
}

@media (max-width: 600px) {
    .nav-index-item {
        grid-template-columns: 2.5rem 1fr auto;
        gap: 1rem;
        padding: 1.25rem 0.25rem;
    }
    .nav-index-arrow { font-size: 1.1rem; }
    .nav-index-num { padding-top: 0.2rem; }
}

@media (max-width: 640px) {
    .service-entry { padding: 2rem 0; }
    .service-entry-title { letter-spacing: 1.5px; }
}

/* Pricing */
.pricing-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--surface-1);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-bottom: 40px;
}

.pricing-table th {
    padding: 16px 20px;
    background-color: oklch(19% 0.005 30);
    color: var(--primary-red);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    border: none;
}

.pricing-table td {
    padding: 18px 20px;
    background-color: oklch(15.5% 0.005 30);
    border: none;
    transition: background-color 0.2s;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-table td:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.pricing-table td:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pricing-table tr:hover td {
    background-color: var(--surface-2);
    color: var(--text-main);
}

.pricing-table td.price {
    text-align: center;
    font-weight: 800;
    color: var(--primary-red);
    font-size: 1.3rem;
    white-space: nowrap;
}

.pricing-table td.price-sm { font-size: 1.1rem; }

.category-header {
    background-color: oklch(19% 0.005 30) !important;
    font-weight: 700;
    text-transform: uppercase;
    color: oklch(60% 0.005 30) !important;
    font-size: 0.72rem;
    padding: 0.6rem 20px;
    letter-spacing: 2px;
    font-family: 'Barlow Condensed', sans-serif;
}

.table-title {
    text-align: center;
    margin: 50px 0 30px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: -20px;
    margin-bottom: 40px;
    font-style: italic;
    background: rgba(227, 30, 36, 0.1);
    padding: 15px;
    border-radius: 6px;
    border: 1px dashed var(--primary-red);
    display: inline-block;
}

/* AC Pricing */
.ac-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ac-card {
    background: var(--surface-1);
    padding: 2.5rem;
    border: 1px solid var(--border-subtle);
    text-align: center;
    flex: 1;
    min-width: 300px;
    transition: border-color 0.25s, transform 0.25s;
    border-radius: 6px;
}

.ac-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
}

.ac-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
}

.ac-main-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-red);
    margin: 15px 0;
    font-style: italic;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

.ac-detail { color: #aaa; }
.ac-sub-price { color: white; font-weight: bold; font-size: 1.1rem; }

/* Contact */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--surface-1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.contact-info {
    flex: 1;
    min-width: 350px;
    padding: 4rem;
    background: transparent;
    color: #fff;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.2), transparent 70%);
}

.contact-section-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.contact-info h3 {
    margin-bottom: 2.5rem;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 800;
}

.contact-item {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.contact-item:hover { transform: translateX(10px); }

.contact-item i {
    font-size: 1.1rem;
    margin-right: 20px;
    color: var(--primary-red);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
    border-radius: 4px;
}

.contact-item span,
.contact-item a,
.contact-info p { color: #ccc; font-size: 1.1rem; }

.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--primary-red); }

.label-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary-red) !important;
    margin-bottom: 5px;
    letter-spacing: 1px;
    display: block;
}

.opening-hours {
    margin-top: 3rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.opening-hours h4 {
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.opening-hours p { margin-bottom: 5px; }

.contact-phone {
    font-weight: bold;
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
}

.map-container {
    flex: 1;
    min-width: 350px;
    min-height: 550px;
    filter: grayscale(100%) invert(90%) contrast(90%);
    transition: filter 0.5s;
}

.map-container:hover { filter: grayscale(0%) invert(0%); }

/* Reviews */
.reviews-section {
    padding: 4rem 5%;
    position: relative;
    z-index: 2;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--surface-1);
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    transition: transform 0.25s, border-color 0.25s;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: #ddd;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.author-info h4 { color: white; font-size: 0.95rem; margin-bottom: 2px; }
.author-info span { font-size: 0.8rem; color: #888; }
.google-icon { margin-left: auto; color: #aaa; font-size: 1.2rem; }

/* Footer */
footer {
    background: oklch(11% 0.005 30);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 2rem;
    font-size: 0.875rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

footer a { color: #777; text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--primary-red); }

/* ---- MEDIA QUERIES ---- */
@media (max-width: 992px) {
    h2 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    header {
        height: 80px;
        padding: 0 20px;
        justify-content: space-between;
    }

    .logo-link { position: static; transform: none; }
    .logo-img { max-height: 50px; }
    .menu-toggle { display: block; }

    #nav-menu {
        position: fixed;
        top: 80px; left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 2px solid var(--primary-red);
        transform: translateY(-100%);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        padding: 20px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        opacity: 0;
        visibility: hidden;
    }

    #nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    #nav-menu ul { flex-direction: column; align-items: center; margin: 0; }

    #nav-menu ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    #nav-menu.active ul li { opacity: 1; transform: translateY(0); }
    #nav-menu.active ul li:nth-child(1) { transition-delay: 0.1s; }
    #nav-menu.active ul li:nth-child(2) { transition-delay: 0.2s; }
    #nav-menu.active ul li:nth-child(3) { transition-delay: 0.3s; }
    #nav-menu.active ul li:nth-child(4) { transition-delay: 0.4s; }
    #nav-menu.active ul li:nth-child(5) { transition-delay: 0.5s; }
    #nav-menu.active ul li:nth-child(6) { transition-delay: 0.6s; }
    #nav-menu.active ul li:nth-child(7) { transition-delay: 0.7s; }

    #nav-menu ul li a { font-size: 1.2rem; display: block; padding: 10px; }
    #nav-menu ul li a.nav-cta { display: inline-block; padding: 10px 28px; }

    section { padding: 2.5rem 5%; }

    h2 { font-size: 1.75rem; margin-bottom: 1.5rem; }

    .page-hero { padding-top: 110px; }
    .page-hero h1 { font-size: 2rem; }

    .hero { padding-top: 100px; }
    .hero-logo-main { max-width: 85%; }
    .hero p, .hero h1 { font-size: 1rem; padding: 0 10px; margin-bottom: 1.5rem; }

    .btn-group { flex-direction: column; width: 100%; gap: 15px; }
    .btn { width: 100%; padding: 14px 20px; }

    .pricing-wrapper { padding: 1.5rem 0.5rem; }
    .table-title { font-size: 1.4rem; margin: 30px 0 20px; }
    .pricing-table th { padding: 10px 5px; font-size: 0.7rem; letter-spacing: 0; }
    .pricing-table td { padding: 10px 5px; font-size: 0.75rem; }
    .pricing-table td.price { font-size: 0.9rem; }
    .pricing-table td.price-sm { font-size: 0.8rem; }

    .contact-info { padding: 1.5rem 1rem; min-width: 100%; }
    .contact-info h3 { margin-bottom: 1.5rem; font-size: 1.5rem; }
    .contact-item { margin-bottom: 1.5rem; flex-direction: row; align-items: center; text-align: left; }
    .contact-item i { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 0; margin-right: 15px; }
    .contact-item span, .contact-item a, .contact-info p { font-size: 0.95rem; }
    .contact-phone { font-size: 1.1rem; }
    .opening-hours { margin-top: 1.5rem; padding-top: 1.5rem; }
    .opening-hours h4 { margin-bottom: 10px; font-size: 0.9rem; }
    .map-container { min-width: 0; min-height: 250px; }

    .section-cta { padding: 2rem 5%; }
    .section-cta .btn { display: block; width: 100%; max-width: 380px; margin: 0 auto; padding: 14px 20px; }

    .glass-panel { padding: 1.5rem; }
    .review-card { padding: 1.5rem 1rem; }

    .ac-container { gap: 0.5rem; flex-wrap: nowrap; }
    .ac-card { padding: 1rem 0.5rem; min-width: 0; }
    .ac-card h3 { font-size: 0.9rem; margin-bottom: 5px; }
    .ac-main-price { font-size: 1.8rem; margin: 8px 0; }
    .ac-sub-price, .ac-detail { font-size: 0.75rem; }

    .nav-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .nav-card { padding: 1.5rem 1rem; }
    .nav-card i { font-size: 2rem; }
}

@media (max-width: 480px) {
    .nav-cards-grid { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 1.5rem; letter-spacing: 1px; }
    .page-hero h1::after { width: 80px; }
}

/* =============================================
   SERVICE PAGE COMPONENTS
   ============================================= */

/* Page Hero Extended */
.service-page-hero {
    padding-top: 140px;
    padding-bottom: 4rem;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, oklch(17% 0.015 25 / 0.4) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-subtle);
}

.service-page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.service-page-hero .hero-tagline {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 1.5rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-icon-large {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.25rem;
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

/* Section subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: -2.5rem;
    margin-bottom: 3rem;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 1px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.stat-block {
    text-align: center;
    background: var(--surface-1);
    padding: 2rem;
    flex: 1;
    min-width: 140px;
    transition: background-color 0.2s;
    border-right: 1px solid var(--border-subtle);
}

.stat-block:last-child { border-right: none; }

.stat-block:hover {
    background: var(--surface-2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    font-style: italic;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(227,30,36,0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.process-step {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    position: relative;
    padding: 0 1rem 2rem;
}

.process-step:not(:last-child)::after {
    content: '›';
    position: absolute;
    top: 18px;
    right: -12px;
    color: var(--primary-red);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.step-number {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-red);
    color: oklch(97% 0.004 30);
    font-size: 1.4rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 1.6rem;
}

.step-title {
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Feature Grid – spec list layout */
.feature-grid {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid var(--border-subtle);
}

.feature-item {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    gap: 0.4rem 1.25rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
}

.feature-item:hover {
    border-bottom-color: var(--border-accent);
}

.feature-item i {
    grid-row: 1 / 3;
    font-size: 1rem;
    color: var(--primary-red);
    margin-top: 0.2rem;
}

.feature-item h4 {
    grid-column: 2;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
}

.feature-item p {
    grid-column: 2;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Checklist */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: #ddd;
    font-size: 1rem;
    line-height: 1.5;
}

.checklist li:last-child { border-bottom: none; }

.checklist li::before {
    content: '✓';
    color: var(--primary-red);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.two-col-60-40 {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Tip / Warning boxes */
.tip-box {
    background: oklch(18% 0.01 25);
    border: 1px solid oklch(35% 0.08 25);
    border-radius: 6px;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    color: oklch(82% 0.005 30);
    font-size: 0.95rem;
    line-height: 1.7;
}

.tip-box strong { color: var(--primary-red); }

.info-box {
    background: oklch(18% 0.004 30);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    color: oklch(82% 0.005 30);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Price Highlight Cards */
.price-cards-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.price-highlight {
    background: var(--surface-1);
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    transition: transform 0.25s, border-color 0.25s;
}

.price-highlight:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
}

.price-highlight.featured {
    border: 1px solid var(--primary-red);
    background: oklch(16% 0.012 25);
}

.ph-badge {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.ph-name {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 0.5rem;
}

.ph-price {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-red);
    font-style: italic;
    margin: 0.8rem 0;
    line-height: 1;
    text-shadow: 0 0 15px rgba(227,30,36,0.3);
}

.ph-unit {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.ph-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    text-align: left;
}

.ph-list li {
    padding: 0.5rem 0;
    color: #ccc;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ph-list li:last-child { border-bottom: none; }

.ph-list li::before {
    content: '›';
    color: var(--primary-red);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 5%;
    position: relative;
    z-index: 2;
    background: oklch(15% 0.008 25 / 0.5);
    border-top: 1px solid var(--border-subtle);
}

.cta-section h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    font-family: 'Barlow Condensed', sans-serif;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Infographic: comparison table */
.comparison-row {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.comparison-col {
    flex: 1;
    min-width: 260px;
    background: var(--surface-1);
    border-radius: 6px;
    padding: 2rem;
    border: 1px solid var(--border-subtle);
}

.comparison-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: 2px;
    font-family: 'Barlow Condensed', sans-serif;
}

/* Infographic number highlight row */
.number-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

.number-highlight-item {
    background: var(--surface-1);
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    transition: background-color 0.2s;
}

.number-highlight-item:last-child { border-right: none; }
.number-highlight-item:hover { background: var(--surface-2); }

.nhi-number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-red);
    font-style: italic;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.nhi-label {
    font-size: 0.85rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.nhi-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 5%;
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-red); }
.breadcrumb span { margin: 0 8px; color: var(--primary-red); }

/* ---- MEDIA QUERIES for service pages ---- */
@media (max-width: 992px) {
    .service-page-hero h1 { font-size: 2.5rem; }
    .two-col, .two-col-60-40 { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .service-page-hero { padding-top: 100px; }
    .service-page-hero h1 { font-size: 1.9rem; letter-spacing: 1px; }
    .service-page-hero .hero-tagline { font-size: 1rem; }
    .hero-icon-large { font-size: 3.5rem; }
    .stat-number { font-size: 2.3rem; }
    .stats-row { gap: 1rem; }
    .stat-block { padding: 1.5rem 1rem; }
    .process-step { min-width: 120px; }
    .process-step:not(:last-child)::after { display: none; }
    .price-highlight { max-width: 100%; }
    .comparison-col { min-width: 100%; }
    .cta-section h3 { font-size: 1.6rem; }
    .nhi-number { font-size: 2rem; }
}

@media (max-width: 480px) {
    .process-steps { gap: 1rem; }
    .process-step { min-width: 100%; max-width: 100%; flex-direction: row; text-align: left; gap: 1rem; padding-bottom: 1rem; }
    .step-number { margin: 0; flex-shrink: 0; width: 50px; height: 50px; font-size: 1.3rem; }
}

/* =============================================
   RESERVATION MODULE (rezerwacja.html)
   ============================================= */

.rez-section { padding-top: 2rem; }

.rez-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* ---- Step blocks ---- */
.rez-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rez-step {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: border-color 0.25s, opacity 0.25s;
}

.rez-step.is-active { border-color: var(--border-accent); }

.rez-step.is-locked {
    opacity: 0.5;
    pointer-events: none;
}

.rez-step-head {
    display: grid;
    grid-template-columns: 2.25rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
}

.rez-step-num {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: oklch(20% 0.01 25);
    border: 1px solid var(--border-accent);
    color: var(--primary-red);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
}

.rez-step.is-done .rez-step-num {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    font-style: normal;
}

.rez-step-titles { min-width: 0; }

.rez-step-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.15;
}

.rez-step-recap {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rez-step.is-done .rez-step-recap { color: oklch(80% 0.04 145); }

.rez-edit {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.rez-edit:hover { color: var(--primary-red); border-color: var(--border-accent); }

/* collapsible body */
.rez-step-body-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.rez-step.is-active .rez-step-body-wrap { grid-template-rows: 1fr; }

.rez-step-body-inner { overflow: hidden; }

.rez-step-body {
    padding: 0 1.6rem 1.7rem;
    border-top: 1px solid var(--border-subtle);
    margin-top: -1px;
    padding-top: 1.5rem;
}

/* ---- Field labels inside steps ---- */
.rez-sublabel {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin: 1.6rem 0 0.9rem;
}
.rez-sublabel:first-child { margin-top: 0; }

/* ---- Service tiles ---- */
.rez-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.rez-tile {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-align: left;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.1rem 1.2rem;
    cursor: pointer;
    color: var(--text-main);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
    font-family: inherit;
}

.rez-tile i {
    font-size: 1.5rem;
    color: var(--primary-red);
    width: 1.8rem;
    text-align: center;
    flex-shrink: 0;
}

.rez-tile-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
    line-height: 1.1;
}

.rez-tile:hover { border-color: var(--border-accent); transform: translateY(-2px); }

.rez-tile[aria-checked="true"] {
    border-color: var(--primary-red);
    background: oklch(18% 0.03 25);
}

/* ---- Subtype chips ---- */
.rez-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.rez-chip {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    cursor: pointer;
    color: var(--text-main);
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
    text-align: left;
    line-height: 1.2;
}

.rez-chip-name { font-weight: 700; font-size: 0.95rem; }

.rez-chip-meta {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

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

.rez-chip[aria-checked="true"] {
    border-color: var(--primary-red);
    background: oklch(18% 0.03 25);
}

.rez-chip[aria-checked="true"] .rez-chip-meta { color: oklch(72% 0.06 25); }

/* ---- Day strip ---- */
.rez-days {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--border-accent) transparent;
}

.rez-days::-webkit-scrollbar { height: 6px; }
.rez-days::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }

.rez-day {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 64px;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.7rem 0.4rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-main);
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.rez-day-dow {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    line-height: 1.5;
}

.rez-day-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.1;
}

.rez-day-mon {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.rez-day:hover:not(:disabled) { border-color: var(--border-accent); }

.rez-day[aria-pressed="true"] {
    border-color: var(--primary-red);
    background: var(--primary-red);
}
.rez-day[aria-pressed="true"] .rez-day-dow,
.rez-day[aria-pressed="true"] .rez-day-mon { color: oklch(92% 0.02 25); }

.rez-day:disabled { opacity: 0.32; cursor: not-allowed; }

/* ---- Time slots ---- */
.rez-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
    gap: 0.6rem;
}

.rez-slot {
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.7rem 0.4rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-main);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: border-color 0.2s, background 0.2s;
}

.rez-slot:hover:not(:disabled) { border-color: var(--border-accent); }

.rez-slot[aria-pressed="true"] {
    border-color: var(--primary-red);
    background: var(--primary-red);
    color: #fff;
}

.rez-slot:disabled {
    opacity: 0.28;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* skeleton + empty + helper text */
.rez-slot-skeleton {
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--surface-2) 25%, oklch(24% 0.005 30) 37%, var(--surface-2) 63%);
    background-size: 400% 100%;
    animation: rezShimmer 1.4s ease-in-out infinite;
}

@keyframes rezShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.rez-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.rez-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: var(--text-muted);
}
.rez-empty i { font-size: 1.6rem; color: var(--primary-red); margin-bottom: 0.6rem; display: block; }
.rez-link {
    background: none;
    border: none;
    color: var(--primary-red);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* ---- Form ---- */
.rez-form { display: grid; gap: 1.1rem; }

.rez-field { display: flex; flex-direction: column; gap: 0.4rem; }

.rez-field label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.rez-field label .req { color: var(--primary-red); }

.rez-field input,
.rez-field textarea {
    background: oklch(13% 0.005 30);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--text-main);
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rez-field input::placeholder,
.rez-field textarea::placeholder { color: oklch(45% 0.005 30); }

.rez-field input:focus,
.rez-field textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.18);
}

.rez-field.invalid input,
.rez-field.invalid textarea { border-color: var(--primary-red); }

.rez-error {
    font-size: 0.78rem;
    color: oklch(70% 0.16 25);
    min-height: 0;
}

.rez-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.rez-consent {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.rez-consent input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--primary-red); flex-shrink: 0; }
.rez-consent a { color: var(--primary-red); }

/* focus-visible across module */
.rez-tile:focus-visible,
.rez-chip:focus-visible,
.rez-day:focus-visible,
.rez-slot:focus-visible,
.rez-edit:focus-visible,
.rez-link:focus-visible,
.rez-summary-cta:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

/* ---- Summary panel ---- */
.rez-summary {
    position: sticky;
    top: 120px;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.6rem;
}

.rez-summary-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: var(--text-main);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.rez-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    font-size: 0.92rem;
}
.rez-summary-row dt { color: var(--text-muted); }
.rez-summary-row dd { color: var(--text-main); font-weight: 700; text-align: right; }
.rez-summary-row dd.empty { color: oklch(40% 0.005 30); font-weight: 400; font-style: italic; }

.rez-summary-total {
    border-top: 1px solid var(--border-subtle);
    margin-top: 0.6rem;
    padding-top: 1rem;
}
.rez-summary-total dd { color: var(--primary-red); font-size: 1.15rem; }

.rez-summary-cta {
    width: 100%;
    margin-top: 1.3rem;
    background: var(--primary-red);
    color: #fff;
    border: 2px solid var(--primary-red);
    border-radius: 4px;
    padding: 0.95rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.rez-summary-cta:hover:not(:disabled) {
    background: #c0151b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.4);
}
.rez-summary-cta:disabled {
    background: oklch(22% 0.02 25);
    border-color: var(--border-subtle);
    color: var(--text-muted);
    cursor: not-allowed;
}
.rez-summary-cta .fa-spinner { margin-right: 0.4rem; }

.rez-summary-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.9rem;
    line-height: 1.5;
}
.rez-summary-note a { color: var(--primary-red); text-decoration: none; font-weight: 700; }

/* ---- Alert (errors) ---- */
.rez-alert {
    background: oklch(18% 0.04 25);
    border: 1px solid oklch(40% 0.1 25);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    color: oklch(85% 0.04 25);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.rez-alert i { color: var(--primary-red); margin-top: 0.15rem; }

/* ---- Success state ---- */
.rez-success {
    max-width: 640px;
    margin: 0 auto;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 3rem 2.5rem;
    text-align: center;
}

.rez-success-check {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: oklch(55% 0.13 145 / 0.15);
    border: 2px solid oklch(60% 0.15 145);
    color: oklch(75% 0.16 145);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    margin: 0 auto 1.5rem;
    animation: rezPop 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes rezPop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.rez-success h2 { margin-bottom: 0.8rem; }
.rez-success h2::after { display: none; }
.rez-success p { color: var(--text-muted); max-width: 48ch; margin: 0 auto 1.5rem; line-height: 1.7; }

.rez-recap {
    text-align: left;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.4rem 1.6rem;
    margin: 1.5rem auto;
    max-width: 420px;
}
.rez-recap .rez-summary-row:first-child { padding-top: 0; }

.rez-ref {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-red);
}

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

/* ---- Reservation responsive ---- */
@media (max-width: 900px) {
    .rez-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .rez-summary { position: static; top: auto; }
}

@media (max-width: 560px) {
    .rez-tiles { grid-template-columns: 1fr; }
    .rez-row-2 { grid-template-columns: 1fr; }
    .rez-step-head { padding: 1.1rem 1.1rem; gap: 0.8rem; grid-template-columns: 2rem 1fr auto; }
    .rez-step-body { padding: 1.3rem 1.1rem 1.4rem; }
    .rez-step-title { font-size: 1rem; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
    .rez-step-body-wrap { transition: none; }
    .rez-slot-skeleton { animation: none; }
    .rez-success-check { animation: none; }
    .rez-tile, .rez-day, .rez-slot, .rez-summary-cta { transition: none; }
}
