@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: 160px;
    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;
    position: relative;
    z-index: 1002;
    width: 46px;
    height: 46px;
    padding: 0;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-main);
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.4s ease, border-color 0.4s ease,
                box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle::before {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.28), transparent 68%);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(227, 30, 36, 0.7);
    background: rgba(227, 30, 36, 0.08);
    outline: none;
}

.menu-toggle:active { transform: scale(0.94); }

.menu-toggle span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 999px;
    opacity: 1;
    transform-origin: center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s ease,
                opacity 0.25s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.menu-toggle span:nth-child(1) { transform: translate(-50%, -50%) translateY(-7px); }
.menu-toggle span:nth-child(2) { width: 17px; transform: translate(-29%, -50%); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, -50%) translateY(7px); }
.menu-toggle:hover span:nth-child(2) { width: 24px; transform: translate(-50%, -50%); }

.menu-toggle.open {
    border-color: rgba(227, 30, 36, 0.58);
    background: rgba(227, 30, 36, 0.1);
    box-shadow: 0 0 0 6px rgba(227, 30, 36, 0.045);
}

.menu-toggle.open::before { opacity: 1; transform: scale(1); }
.menu-toggle.open span {
    background: #fff;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.35);
}
.menu-toggle.open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; width: 0; transform: translate(-50%, -50%) scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Hero */
.hero {
    height: 95vh;
    min-height: 600px;
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    /* Treść siedzi w dolnej części kadru, na pustej kostce. Wyśrodkowana
       przykrywałaby szyld „PRZEGLĄDY REJESTRACYJNE" i bramę — czyli dokładnie
       to, co zdjęcie ma pokazać. Górna połowa należy do fotografii. */
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 0 20px clamp(2.5rem, 6vh, 5rem);
    margin-top: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Zdjęcie stacji o świcie. position:fixed daje darmowy paralaks przy scrollu —
   kolejne sekcje mają własne tło i po prostu je zasłaniają. */
.hero-photo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--dark-bg);
    contain: strict;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Kadr trzyma bramę i szyld w polu widzenia także na wąskich ekranach,
       gdzie cover przycina zdjęcie w poziomie o ponad połowę. */
    object-position: 57% 42%;
    animation: heroPhotoIn 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes heroPhotoIn {
    from { opacity: 0; transform: scale(1.045); }
    to   { opacity: 1; transform: scale(1); }
}

/* Przyciemnienie: lekkie na górze (szyld ma zostać czytelny), mocne pod blokiem
   treści. Kostka ma ~L75%, więc bez tego #ddd na niej nie wyrobi kontrastu AA. */
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to bottom,
            oklch(10% 0.008 30 / 0.52) 0%,
            oklch(10% 0.008 30 / 0.20) 20%,
            oklch(10% 0.008 30 / 0.30) 38%,
            oklch(12% 0.010 30 / 0.80) 70%,
            oklch(10% 0.008 30 / 0.94) 100%),
        linear-gradient(to right,
            oklch(10% 0.008 30 / 0.45) 0%,
            oklch(10% 0.008 30 / 0) 34%,
            oklch(10% 0.008 30 / 0) 78%,
            oklch(10% 0.008 30 / 0.28) 100%);
}

.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;
}

/* Plik logo ma proporcję 1.4:1, więc 700 px szerokości = 500 px wysokości —
   przy zdjęciu w tle blok treści zjadał wtedy cały kadr. 420 px zostawia
   fotografii górne dwie trzecie. */
.hero-logo-main {
    max-width: 420px;
    width: 62%;
    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: 90px; }
    .menu-toggle { display: block; }

    #nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background:
            radial-gradient(circle at 82% 12%, rgba(227, 30, 36, 0.13), transparent 34%),
            radial-gradient(circle at 8% 92%, rgba(227, 30, 36, 0.06), transparent 30%),
            linear-gradient(145deg, rgba(18, 18, 18, 0.965), rgba(5, 5, 5, 0.985));
        -webkit-backdrop-filter: blur(24px) saturate(125%);
        backdrop-filter: blur(24px) saturate(125%);
        border-bottom: 1px solid rgba(227, 30, 36, 0.34);
        clip-path: inset(0 0 100% 0);
        transform: translateY(-10px) scale(0.985);
        transform-origin: 50% 0;
        transition: clip-path 0.72s cubic-bezier(0.76, 0, 0.24, 1),
                    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
                    opacity 0.35s ease, visibility 0s linear 0.72s;
        z-index: 999;
        padding: clamp(34px, 7vh, 72px) 24px;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
        opacity: 0;
        visibility: hidden;
    }

    #nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        width: min(78vw, 360px);
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.9), transparent);
        transform: translateX(-50%) scaleX(0);
        transform-origin: center;
        transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
        pointer-events: none;
    }

    #nav-menu.active {
        clip-path: inset(0 0 0 0);
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    #nav-menu.active::before { transform: translateX(-50%) scaleX(1); }

    #nav-menu ul {
        min-height: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: clamp(8px, 1.6vh, 16px);
        margin: 0;
    }

    #nav-menu ul li {
        --menu-delay: 0.2s;
        margin: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        filter: blur(7px);
        transform: translateY(28px);
        transition: opacity 0.42s ease, filter 0.55s ease,
                    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: 0s;
    }

    #nav-menu ul li:nth-child(2) { --menu-delay: 0.255s; }
    #nav-menu ul li:nth-child(3) { --menu-delay: 0.31s; }
    #nav-menu ul li:nth-child(4) { --menu-delay: 0.365s; }
    #nav-menu ul li:nth-child(5) { --menu-delay: 0.42s; }
    #nav-menu ul li:nth-child(6) { --menu-delay: 0.475s; }
    #nav-menu ul li:nth-child(7) { --menu-delay: 0.53s; }

    #nav-menu.active ul li {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
        transition-delay: var(--menu-delay);
    }

    #nav-menu ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 18px;
        font-size: clamp(1.2rem, 5.5vw, 1.65rem);
        letter-spacing: 0.12em;
        line-height: 1.1;
    }

    #nav-menu ul li a.nav-cta {
        min-width: min(82vw, 330px);
        padding: 13px 28px;
        margin-bottom: clamp(8px, 1.5vh, 16px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 32px rgba(227, 30, 36, 0.25);
    }

    body.menu-open { overflow: hidden; }
    header.menu-is-open {
        background: rgba(10, 10, 10, 0.985);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
    }
    section { padding: 2.5rem 5%; }

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

    /* h2 traci tu margin-bottom 4rem -> 1.5rem, więc ujemny margin-top podtytułu
       (-2.5rem, ustawiony pod desktop) wciągał go na czerwoną kreskę h2::after.
       Zerujemy go — odstęp daje samo margin-bottom nagłówka. */
    .section-subtitle { margin-top: 0; }

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

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

    /* Pion: przyciski są tu pełnej szerokości i ułożone w kolumnę, więc blok
       treści sięga wyżej niż na desktopie — przyciemnienie musi narastać wcześniej. */
    /* 63%, nie 58% — przy tak wąskim kadrze widać tylko ~31% szerokości zdjęcia,
       a przy 58% napis „REJESTRACYJNE" wychodził poza prawą krawędź. */
    .hero-photo img { object-position: 63% 45%; }
    .hero-photo::after {
        background:
            linear-gradient(to bottom,
                oklch(10% 0.008 30 / 0.55) 0%,
                oklch(10% 0.008 30 / 0.28) 16%,
                oklch(12% 0.010 30 / 0.78) 46%,
                oklch(10% 0.008 30 / 0.95) 100%);
    }

    .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;
}

/* Znacznik absolutnie, NIE flex/grid: li miesza tekst z <strong>,
   a w flexie każdy kawałek inline staje się osobną kolumną. */
.checklist li {
    padding: 0.8rem 0 0.8rem 2.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    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;
    position: absolute;
    left: 0;
    top: calc(0.8rem + 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 options (menu wariantów, jak arkusz cennika) ---- */
.rez-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.rez-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.85rem 1.05rem;
    cursor: pointer;
    color: var(--text-main);
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
    text-align: left;
}

.rez-opt-main { display: flex; flex-direction: column; gap: 0.18rem; min-width: 0; }

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

.rez-opt-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.rez-opt-figs {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
    flex-shrink: 0;
    text-align: right;
}

.rez-opt-time {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    white-space: nowrap;
}

.rez-opt-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    white-space: nowrap;
}

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

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

.rez-opt[aria-checked="true"] .rez-opt-price { color: oklch(78% 0.09 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-opt: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-chips { 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; }
}

/* =============================================
   ABOUT PAGE (o-nas.html)
   Komponenty ogólnego użytku – rejestr pojazdów, profile osób,
   pas wyróżnień. Do wykorzystania także na oferta.html i podstronach usług.
   ============================================= */

/* ---- Hero z fotografią z hali ---- */
.about-hero {
    position: relative;
    z-index: 2;
    margin-top: 100px;
    min-height: min(86vh, 760px);
    display: flex;
    align-items: flex-end;
    padding: 6rem 5% clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.about-hero-media {
    position: absolute;
    inset: 0;
}

.about-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Kadr hero jest szerszy niż widok, więc przycina się w poziomie.
       Niższe X pokazuje lewą część zdjęcia i spycha auto w prawo,
       zostawiając nagłówkowi ciemną ścianę hali zamiast jasnej maski. */
    object-position: 28% 50%;
    display: block;
}

/* Przyciemnienie pod tekstem: mocne w lewym dolnym rogu, zanika ku prawej górze.
   Zdjęcia z hali mają tam ciemną posadzkę, więc kontrast wychodzi > 7:1. */
.about-hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            oklch(13% 0.006 30 / 0.96) 0%,
            oklch(13% 0.006 30 / 0.72) 32%,
            oklch(13% 0.006 30 / 0.15) 66%,
            transparent 100%),
        linear-gradient(to right,
            oklch(13% 0.006 30 / 0.85) 0%,
            oklch(13% 0.006 30 / 0.25) 45%,
            transparent 75%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    /* .about-hero jest kontenerem flex – bez min-width:0 element nie zejdzie
       poniżej swojej szerokości min-content i długi nagłówek rozpycha hero
       poza ekran telefonu. */
    min-width: 0;
    max-width: 1240px;
    margin: 0 auto;
}

.ah-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ah-eyebrow b {
    color: var(--primary-red);
    font-weight: 900;
    letter-spacing: 0.1em;
}

.ah-eyebrow i {
    display: block;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    flex-shrink: 0;
}

.about-hero h1 {
    margin: 0 0 1.75rem;
    text-transform: uppercase;
}

.ah-kicker {
    display: block;
    font-size: clamp(0.95rem, 1.9vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.ah-main {
    display: block;
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.ah-lead {
    max-width: 60ch;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.75;
    color: oklch(88% 0.005 30);
}

.ah-lead b {
    color: var(--text-main);
    font-weight: 700;
}

.ah-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid oklch(100% 0 0 / 0.14);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-main);
}

.ah-facts span { display: block; }
.ah-facts em { font-style: normal; color: var(--primary-red); }

/* ---- Rejestr pojazdów ---- */
.vehicle-register {
    max-width: 1240px;
    margin: 0 auto;
}

.vr-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 3.5vw, 3.5rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    border-top: 1px solid var(--border-subtle);
}

.vr-entry:last-child { border-bottom: 1px solid var(--border-subtle); }

/* Naprzemienny rytm – co drugi wpis ze zdjęciem po prawej */
.vr-entry:nth-child(even) .vr-media { order: 2; }

.vr-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: var(--surface-1);
    transition: border-color 0.25s ease;
}

.vr-entry:hover .vr-media { border-color: var(--border-accent); }

.vr-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.vr-entry:hover .vr-media img { transform: scale(1.035); }

.vr-num {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.18em;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.vr-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: var(--text-main);
    margin: 0;
}

.vr-sub {
    margin-top: 0.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* ---- Lista specyfikacji (dl) ---- */
.spec-list {
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--border-subtle);
}

.spec-row {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0.25rem 1.25rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.spec-row dt {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    padding-top: 0.28rem;
}

.spec-row dd {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-main);
}

/* ---- Profile osób ---- */
.people-list {
    max-width: 1080px;
    margin: 0 auto;
}

.person-entry {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
    padding: clamp(2rem, 3.5vw, 3rem) 0;
    border-top: 1px solid var(--border-subtle);
}

.person-entry:last-child { border-bottom: 1px solid var(--border-subtle); }

.person-portrait {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface-1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.25rem;
    text-align: center;
}

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

.person-plate-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.person-plate-id {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.4rem;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--primary-red);
}

.person-name {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: var(--text-main);
    margin: 0;
}

.person-role {
    margin-top: 0.4rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--primary-red);
}

/* ---- Pas wyróżnień ---- */
.credential-band {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    overflow: hidden;
}

/* Separatory jako box-shadow (nie border), żeby nieparzysty ostatni rząd
   nie świecił kolorem obramowania – overflow:hidden przycina wystające. */
.credential-item {
    padding: 1.7rem 1.6rem;
    box-shadow: 1px 0 0 var(--border-subtle), 0 1px 0 var(--border-subtle);
}

.credential-label {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.55rem;
}

.credential-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: var(--text-main);
}

.credential-value em {
    font-style: normal;
    color: var(--primary-red);
}

.credential-note {
    max-width: 1080px;
    margin: 1.25rem auto 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
}

.credential-note a { color: var(--text-muted); }
.credential-note a:hover { color: var(--primary-red); }

/* ---- CTA z dwoma numerami ---- */
.cta-meta {
    margin: 2.25rem auto 0;
    max-width: 720px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--text-muted);
}

.cta-meta em { font-style: normal; color: var(--text-main); }

/* ---- Responsywność strony o nas ---- */
@media (max-width: 900px) {
    .vr-entry,
    .person-entry {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* zdjęcie zawsze nad danymi – naprzemienność traci sens w jednej kolumnie */
    .vr-entry:nth-child(even) .vr-media { order: 0; }

    .person-portrait {
        max-width: 190px;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 768px) {
    .about-hero {
        margin-top: 80px;
        min-height: min(80vh, 620px);
        padding-top: 4rem;
    }

    .about-hero-media::after {
        background: linear-gradient(to top,
            oklch(13% 0.006 30 / 0.97) 0%,
            oklch(13% 0.006 30 / 0.8) 45%,
            oklch(13% 0.006 30 / 0.35) 100%);
    }

    .ah-facts { gap: 0.4rem 1.5rem; font-size: 0.85rem; }
    .spec-row { grid-template-columns: 7rem minmax(0, 1fr); }
    .credential-item { padding: 1.35rem 1.25rem; }

    /* Na mobile h2 traci margin-bottom (4rem -> 1.5rem), a .section-subtitle
       trzyma margin-top:-2.5rem ustawiony pod desktop – wypadkowa -16px wciągała
       podtytuł na czerwoną kreskę h2::after. Korekta MUSI stać tutaj: identyczna
       reguła w bloku @media przy linii ~1066 jest martwa, bo bazowa definicja
       .section-subtitle pojawia się dopiero w linii ~1162, a media query nie
       podnosi specyficzności – wygrywa późniejsze źródło.
       Dotyczy wszystkich podstron używających tej pary, nie tylko o-nas. */
    .section-subtitle { margin-top: 0; }
}

@media (max-width: 480px) {
    .ah-eyebrow { font-size: 0.7rem; letter-spacing: 0.1em; }
    .ah-kicker { letter-spacing: 0.1em; }
    .ah-main { font-size: clamp(2.4rem, 12vw, 3.2rem); }
    .ah-lead { font-size: 0.98rem; }
    .spec-row { grid-template-columns: 1fr; gap: 0.1rem; }
    .spec-row dt { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .vr-media img,
    .vr-media { transition: none; }
    .vr-entry:hover .vr-media img { transform: none; }

    /* Sekcje czekają na klasę .fade-in-up z opacity:0. Przy wyłączonych animacjach
       nie wolno ich ukryć – pokazujemy treść od razu, bez ruchu. */
    .animate-on-scroll { opacity: 1; }
    .fade-in-up { animation: none; }

    /* Hero: zdjęcie i blok treści pojawiają się od razu, bez wjazdu. */
    .hero-photo img,
    .hero-logo-main,
    .hero h1,
    .hero .btn-group { animation: none; }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .menu-toggle,
    .menu-toggle::before,
    .menu-toggle span,
    #nav-menu,
    #nav-menu::before,
    #nav-menu ul li { transition-duration: 0.01ms !important; transition-delay: 0s !important; }

    #nav-menu ul li { filter: none; transform: none; }
}
/* ============================================================
   STOPKA NAWIGACYJNA (od 2026-08-04)
   Sitewide mapa linków — każda podstrona usługowa dostaje z niej
   link z każdej strony serwisu. Powód: podstrony usługowe wisiały
   na jednym linku z oferta.html, przez co Google ich nie crawlował
   (GSC: „Strona wykryta – obecnie niezindeksowana", 11 stron).
   Blok jest na KOŃCU pliku celowo (patrz pułapka specyficzności
   media query w CLAUDE.md).
   ============================================================ */

.footer-nav {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: grid;
    /* 4 stale kolumny zamiast repeat(auto-fit, minmax(200px, 1fr)).
       auto-fit liczyl liczbe kolumn od szerokosci kontenera, wiec miedzy
       ~769 a ~930 px robil rozjechany uklad 3+1 (Narzedzia same w drugim
       rzedzie), a im wezszy kontener, tym ciasniej upakowane kolumny -
       sasiednie linki zlewaly sie w jeden blok tekstu. */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Osobny column-gap: odstep w PIONIE moze byc mniejszy niz w POZIOMIE,
       bo to poziomy odstep rozdziela kolumny wizualnie. */
    gap: 2rem 2.5rem;
    text-align: left;
}

/* Element gridu ma domyslnie min-width:auto, wiec dlugi link (np.
   "Sprawdzenie auta przed zakupem", "Ochrona danych (RODO)") potrafi
   rozepchnac kolumne ponad jej tor i nachodzic na sasiadke.
   min-width:0 zdejmuje ten domyslny minimalny rozmiar. */
.footer-nav-col {
    min-width: 0;
}

.footer-nav-col h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-main);
    margin: 0 0 1rem;
}

.footer-nav-col h3::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 0.5rem;
    background: var(--primary-red);
}

.footer-nav-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-col li { margin-bottom: 0.55rem; }

.footer-nav-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    display: inline-block;
    /* Domyka zabezpieczenie z min-width:0 - link nie wyjdzie poza kolumne,
       a bardzo dlugie slowo zostanie zlamane zamiast rozpychac tor. */
    max-width: 100%;
    overflow-wrap: break-word;
    transition: color 0.25s, transform 0.25s;
}

.footer-nav-col a:hover,
.footer-nav-col a:focus-visible {
    color: var(--primary-red);
    transform: translateX(3px);
}

.footer-nav-col a[aria-current="page"] {
    color: var(--text-main);
    font-weight: 700;
}

/* Ponizej ~1024 px cztery kolumny robia sie za ciasne (kazde slowo laduje
   w osobnej linii), wiec schodzimy na rowny uklad 2x2 zamiast 3+1. */
@media (max-width: 1024px) {
    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 2rem;
    }
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1.25rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-nav-col a { font-size: 0.875rem; }
}

@media (max-width: 420px) {
    .footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .footer-nav-col a { transition: none; }
    .footer-nav-col a:hover,
    .footer-nav-col a:focus-visible { transform: none; }
}

/* ============================================================
   OFERTA — wstep + semantyka naglowkow (od 2026-08-04)
   Nazwy uslug byly <span>; zamienione na <h3> (hierarchia h1>h2>h3).
   Globalne h2/h3 maja text-align:center, margin-bottom:4rem i czerwona
   kreske ::after — w kafelku uslugi trzeba je zneutralizowac.
   ============================================================ */

.service-list h3.service-entry-title {
    margin: 0;
    text-align: left;
    letter-spacing: 3px;
}

.service-list h3.service-entry-title::after { content: none; display: none; }

.offer-intro {
    max-width: 840px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.offer-intro p { margin: 0 0 1.1rem; }
.offer-intro p:last-child { margin-bottom: 0; }
.offer-intro strong { color: var(--text-main); font-weight: 700; }

.offer-intro-meta {
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.offer-intro-meta a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
}

.offer-intro-meta a:hover,
.offer-intro-meta a:focus-visible { text-decoration: underline; }

@media (max-width: 768px) {
    .service-list h3.service-entry-title { letter-spacing: 1.5px; }
    .offer-intro { font-size: 0.95rem; }
}

/* Cennik: h3.table-title -> h2.table-title (naprawa przeskoku h1>h3).
   .table-title sam ustawia margin/align/rozmiar; zdejmujemy tylko czerwona
   kreske, ktora globalne h2::after dokleja pod naglowkiem. */
h2.table-title::after { content: none; display: none; }

/* ============================================================
   RODO / POLITYKA PRYWATNOSCI (od 2026-09-15)
   Uklad "manual serwisowy": sticky spis tresci + numerowane sekcje.
   Prefix .rodo-. Dopisane NA KONCU pliku — globalne h2 ma
   text-align:center, margin-bottom:4rem i czerwona kreske ::after,
   wiec .rodo-sec h2 musi je nadpisac z wyzsza specyficznoscia
   (patrz pulapka specyficznosci w CLAUDE.md).
   ============================================================ */

.rodo-stamp {
    margin-top: 1.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.rodo-stamp b {
    color: var(--primary-red);
    font-weight: 700;
}

.rodo-doc {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    max-width: 1120px;
    margin: 0 auto;
    align-items: start;
}

/* ---- Spis tresci ---- */
.rodo-index {
    position: sticky;
    top: 120px;
}

.rodo-index-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.rodo-index ol {
    list-style: none;
    counter-reset: rodo-toc;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
}

.rodo-index li {
    border-bottom: 1px solid var(--border-subtle);
}

.rodo-index a {
    display: grid;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: 0.4rem;
    align-items: baseline;
    padding: 0.6rem 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.rodo-index a::before {
    counter-increment: rodo-toc;
    content: counter(rodo-toc, decimal-leading-zero);
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--primary-red);
}

.rodo-index a:hover,
.rodo-index a:focus-visible {
    color: var(--text-main);
    padding-left: 0.35rem;
}

/* ---- Tresc dokumentu ---- */
.rodo-body {
    max-width: 68ch;
}

.rodo-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.rodo-lead strong { color: var(--text-main); font-weight: 700; }

/* ---- Blok "w skrocie" ---- */
.rodo-tldr {
    margin: 2.25rem 0 0;
    padding: 1.6rem 0 1.7rem;
    border-top: 1px solid var(--border-accent);
    border-bottom: 1px solid var(--border-subtle);
}

.rodo-tldr-title {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--primary-red);
    margin-bottom: 1.1rem;
}

.rodo-tldr ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

/* UWAGA: to NIE moze byc `display: grid`. W grid containerze kazdy element
   inline (tu <strong>) staje sie osobnym grid itemem, a tekst po nim laduje
   w anonimowym itemie w kolumnie szerokiej na 0.9rem i lamie sie po jednym
   slowie. Marker pozycjonujemy absolutnie, jak w .rodo-list. */
.rodo-tldr li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.rodo-tldr li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 9px;
    height: 2px;
    background: var(--primary-red);
}

.rodo-tldr strong { color: var(--text-main); font-weight: 700; }

/* ---- Sekcje ---- */
.rodo-sec {
    /* Globalne `section { padding: 7rem 5% }` dotyczy takze sekcji zagniezdzonych,
       wiec padding trzeba zerowac w calosci, nie tylko od gory. */
    margin-top: 3.25rem;
    padding: 3.25rem 0 0;
    border-top: 1px solid var(--border-subtle);
    scroll-margin-top: 120px;
}

.rodo-sec h2 {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    align-items: baseline;
    text-align: left;
    font-size: clamp(1.35rem, 2.6vw, 1.8rem);
    letter-spacing: 0.03em;
    margin-bottom: 1.25rem;
}

.rodo-sec h2::after { content: none; display: none; }

.rodo-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0;
    color: var(--primary-red);
}

.rodo-sec p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.rodo-sec p:last-child { margin-bottom: 0; }
.rodo-sec strong { color: var(--text-main); font-weight: 700; }

/* .tip-box strong ma te sama specyficznosc (0,1,1) co .rodo-sec strong, a nasza
   regula stoi dalej w pliku i przejelaby czerwien komponentu. Przywracamy ja. */
.rodo-sec .tip-box strong { color: var(--primary-red); }

.rodo-sec a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
}

.rodo-sec a:hover,
.rodo-sec a:focus-visible { text-decoration: underline; }

/* ---- Lista wyliczeniowa ---- */
.rodo-list {
    list-style: none;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    border-top: 1px solid var(--border-subtle);
}

.rodo-list li {
    position: relative;
    padding: 0.7rem 0 0.7rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.rodo-list li::before {
    content: '\203A';
    position: absolute;
    left: 0.2rem;
    top: 0.6rem;
    color: var(--primary-red);
    font-weight: 700;
}

.rodo-list strong { color: var(--text-main); font-weight: 700; }

/* ---- Tabela celow i podstaw prawnych ---- */
.rodo-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 0.5rem;
}

.rodo-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.rodo-table th {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-align: left;
    padding: 0 1.1rem 0.7rem 0;
    border-bottom: 1px solid var(--border-accent);
    white-space: nowrap;
}

.rodo-table th:last-child,
.rodo-table td:last-child { padding-right: 0; }

.rodo-table td {
    padding: 0.85rem 1.1rem 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    vertical-align: top;
    line-height: 1.6;
}

.rodo-table td:first-child {
    color: var(--text-main);
    font-weight: 500;
}

.rodo-law {
    display: block;
    font-size: 0.8rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.rodo-law b {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-main);
}

/* ---- Prawa osoby, ktorej dane dotycza ---- */
.rodo-rights {
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--border-subtle);
}

.rodo-right {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 0.25rem 1.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.rodo-right dt {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-red);
    padding-top: 0.15rem;
}

.rodo-right dd {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.rodo-right dd b {
    color: var(--text-main);
    font-weight: 700;
}

/* ---- Responsywnosc ---- */
@media (max-width: 900px) {
    .rodo-doc { grid-template-columns: 1fr; gap: 2.5rem; }

    /* Naglowek na mobile ma 80px, nie 100px. */
    .rodo-sec { scroll-margin-top: 95px; }

    .rodo-index {
        position: static;
        padding-bottom: 0.5rem;
    }

    .rodo-index ol {
        columns: 2;
        column-gap: 2rem;
    }

    .rodo-index li { break-inside: avoid; }
}

@media (max-width: 560px) {
    .rodo-index ol { columns: 1; }
    .rodo-sec h2 { grid-template-columns: 2.1rem minmax(0, 1fr); }
    .rodo-right { grid-template-columns: 1fr; gap: 0.15rem; }
    .rodo-right dt { padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .rodo-index a { transition: none; }
    .rodo-index a:hover,
    .rodo-index a:focus-visible { padding-left: 0; }
}

/* ============================================================
   BLOG (od 2026-09-15)
   Hub .blog-* + tresc wpisu .post-*. Dopisane NA KONCU pliku:
   globalne h2 ma text-align:center, margin-bottom:4rem i czerwona
   kreske ::after, wiec naglowki w tresci wpisu MUSZA je nadpisac
   z wyzsza specyficznoscia (patrz pulapka specyficznosci w CLAUDE.md).
   ============================================================ */

/* ---- Hub: lista wpisow ---- */

.blog-list {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    gap: 1.25rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.1rem;
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.blog-card:hover,
.blog-card:focus-visible {
    border-color: var(--border-accent);
    background: var(--surface-2);
    transform: translateY(-2px);
}

/* height:auto jest konieczne: atrybut height="..." na <img> dziala jak
   height w px i bez tego aspect-ratio jest ignorowane (miniatura rozciagala
   sie na ~580 px wysokosci). */
.blog-card-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    background: var(--surface-2);
}

.blog-card-body { min-width: 0; }

.blog-card-date {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary-red);
    margin-bottom: 0.6rem;
}

/* Kafelek uzywa <h2> dla hierarchii naglowkow (h1 = tytul strony).
   Zdejmujemy globalne wysrodkowanie, odstep 4rem i czerwona kreske. */
.blog-list h2.blog-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: left;
    text-transform: none;
    color: var(--text-main);
    margin: 0 0 0.65rem;
}

.blog-list h2.blog-card-title::after {
    content: none;
    display: none;
}

.blog-card:hover .blog-card-title { color: var(--primary-red); }

.blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 0.9rem;
}

.blog-card-more {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-red);
}

/* ---- Hub: stan pusty ---- */

.blog-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px dashed var(--border-subtle);
    border-radius: 6px;
    color: var(--text-muted);
}

.blog-empty strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

/* ---- Wpis ---- */

.post-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.post-meta .post-meta-date { color: var(--primary-red); }

.post-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    padding-left: 1.1rem;
    border-left: 2px solid var(--primary-red);
    margin-bottom: 2.5rem;
}

.post-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.post-body p { margin: 0 0 1.4rem; }

/* Naglowki w tresci: lewa strona, normalne odstepy, BEZ czerwonej kreski. */
.post-body h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-main);
    margin: 2.75rem 0 1rem;
}

.post-body h2::after {
    content: none;
    display: none;
}

.post-body h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-align: left;
    color: var(--text-main);
    margin: 2rem 0 0.75rem;
}

.post-body h3::after {
    content: none;
    display: none;
}

.post-body ul,
.post-body ol {
    margin: 0 0 1.4rem;
    padding-left: 1.3rem;
}

.post-body li { margin-bottom: 0.55rem; }

.post-body a {
    color: var(--primary-red);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.post-body a:hover { color: var(--text-main); }

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

.post-figure {
    margin: 2rem 0;
}

.post-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}

/* Zdjecie pionowe rozpycha kolumne tekstu na cala wysokosc ekranu -
   ograniczamy szerokosc i centrujemy. Uzycie: <figure class="post-figure is-portrait"> */
.post-figure.is-portrait img {
    max-width: 480px;
    margin: 0 auto;
}

.post-figure figcaption {
    margin-top: 0.6rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.post-back {
    display: inline-block;
    margin-top: 2.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-red);
    text-decoration: none;
}

.post-back:hover { color: var(--text-main); }

@media (max-width: 680px) {
    .blog-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
        padding: 0.9rem;
    }

    .post-wrap { padding: 0 1.1rem; }

    .post-lead { font-size: 1.02rem; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-card { transition: none; }
    .blog-card:hover,
    .blog-card:focus-visible { transform: none; }
}

/* ============================================================
   NAGLOWEK — zageszczenie menu w srednich szerokosciach (od 2026-09-16)
   `nav ul` to display:flex BEZ zawijania, wiec pozycje nie schodza do
   drugiej linii tylko wypychaja sie poza naglowek. Przy 8 pozycjach
   (doszedl Blog) i logo o max-height 160 px menu nie miescilo sie
   miedzy 769 a ~1200 px — a przy 7 pozycjach bylo tam ciasne juz wczesniej,
   bo w tym zakresie NIE BYLO ZADNEGO breakpointu (mobilne menu wchodzi
   dopiero <=768 px).
   Bloki sa NA KONCU pliku: media query nie podnosi specyficznosci, wiec
   musza stac PO bazowych regulach `nav ul li a` (~linia 134).
   ============================================================ */

@media (min-width: 769px) and (max-width: 1200px) {
    header {
        padding: 0 3%;
        gap: 1rem;
    }

    .logo-img { max-height: 110px; }

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

    nav ul li a {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }

    nav ul li a.nav-cta { padding: 0.5rem 0.9rem; }
}

@media (min-width: 769px) and (max-width: 980px) {
    .logo-img { max-height: 88px; }

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

    nav ul li a {
        font-size: 0.74rem;
        letter-spacing: 0.3px;
    }

    nav ul li a.nav-cta { padding: 0.45rem 0.75rem; }
}

/* ---- Stopka: podpis autora strony (m-jaro.pl, kolory CMYK) ---- */
.footer-credit { margin-top: 1.5rem; }
.footer-credit a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.footer-credit .cmyk-c { color: #00aeef; }
.footer-credit .cmyk-m { color: #ec008c; }
.footer-credit .cmyk-y { color: #fff200; }
.footer-credit a:hover span[class^="cmyk-"]:not(.cmyk-mark) { text-decoration: underline; text-underline-offset: 3px; }
.cmyk-mark { display: inline-flex; }
.cmyk-mark i {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
}
.cmyk-mark i + i { margin-left: -0.22rem; }
.cmyk-mark i:nth-child(1) { background: #00aeef; }
.cmyk-mark i:nth-child(2) { background: #ec008c; }
.cmyk-mark i:nth-child(3) { background: #fff200; }
/* K (czarny) na ciemnej stopce: jasna obwódka, inaczej znika */
.cmyk-mark i:nth-child(4) { background: #1a1a1a; box-shadow: 0 0 0 1px rgba(255,255,255,0.45); }
