/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: WebGuy.io
Author URI: https://webguy.io/
Description: Motyw pod HGV — style.css (globalny), header.css, homepage.css (tylko front), pages.css (podstrony); opcjonalnie ten sam zestaw w css/.
Version: 2026.1.1
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

Ten plik jest wymagany przez WordPress (nagłówek motywu).
Arkusze: style.css, header.css, homepage.css (front), pages.css — lub css/*.css jeśli istnieją.
Zdjęcia i pliki graficzne: assets/ (w katalogu głównym motywu).
*/


/* === Arkusz globalny motywu (było homepage.css, bez bloku nagłówka) === */

/* HGV strona główna – style z makiety HTML */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

:root {
    --color-bg: #fdfdfd;
    --color-bg-alt: #efefef;
    --bg-medium-grey: #d6d6d6;
    --color-accent: #057ED5;
    --color-accent-hover: #0469ae;
    --color-text: #0e0e13;
    --color-text-muted: #5c5c5c;
    --color-black: #0e0e13;
    --font-main: 'Geist', -apple-system, sans-serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Typografia – rem, jednolity line-height i letter-spacing */
    --line-height: 1.2;
    --letter-spacing: 0.01em;
    /* Podstawa 1rem = 8px (html: font-size: 50%), więc wartości są podwojone,
       aby zachować dotychczasowy wizualny rozmiar typografii */
    --font-size-h1: 10rem;
    --font-size-h2: 8rem;
    --font-size-h3: 4rem;
    --font-size-h4: 3rem;
    --font-size-h5: 2.4rem;
    --font-size-h6: 2rem;
    --font-size-body: 1.9rem;
    --font-size-body-sm: 1.75rem;
    --font-size-caption: 1.6rem;
    --font-size-display: 4rem;
    --font-size-48: 6rem;
    --font-size-20: 2.5rem;
    /* Odstęp między sekcjami – ujednolicony */
    --spacing-section: 12rem;
    --spacing-section-xl: 20rem;
    /* Kontener – max-width głównych sekcji */
    --container-max: 200rem;
    /* Spacing – skala (1rem = 8px, nazwa = px) */
    --space-4: 0.5rem;
    --space-6: 0.75rem;
    --space-8: 1rem;
    --space-10: 1.25rem;
    --space-12: 1.5rem;
    --space-16: 2rem;
    --space-24: 3rem;
    --space-56: 7rem;
    --space-64: 8rem;
    --space-100: 12.5rem;
    --space-200: 25rem;
    /* Size – width, height, min-width, min-height (N = px, wartość w rem) */
    --size-8: 1rem;
    --size-14: 1.75rem;
    --size-15: 1.875rem;
    --size-16: 2rem;
    --size-18: 2.25rem;
    --size-20: 2.5rem;
    --size-24: 3rem;
    --size-32: 4rem;
    --size-40: 5rem;
    --size-48: 6rem;
    --size-56: 7rem;
    --size-80: 10rem;
    --size-120: 15rem;
    /* Border radius – skala globalna */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-pill: 999px;
    /* Obramowanie subtelne – separator, menu, product-desc */
    --border-subtle: 1px solid rgba(14, 14, 19, 0.08);
    --border-regular: 1px solid rgba(14, 14, 19, 0.8);
    /* Backdrop blur – dwie wartości: 6px i 10px */
    --blur-sm: 6px;
    --blur-lg: 10px;
    --backdrop-blur-sm: blur(var(--blur-sm));
    --backdrop-blur-lg: blur(var(--blur-lg));
    /* Gradienty na zdjęciach */
    --gradient-overlay-tile: linear-gradient(to top, rgba(14, 14, 19,0.9) 0%, transparent 60%);
    --gradient-overlay-hero: linear-gradient(to top, rgba(14, 14, 19,0.75) 0%, rgba(14, 14, 19,0.4) 50%, transparent 100%);
    --gradient-overlay-hero-image: linear-gradient(to top, rgba(14, 14, 19,0.7) 0%, rgba(14, 14, 19,0.3) 100%);
    --gradient-overlay-dual: linear-gradient(to bottom, rgba(14, 14, 19, 0.3) 0%, transparent 50%), linear-gradient(to top, rgba(14, 14, 19, 1) 0%, transparent 70%);
    --gradient-overlay-arrow: linear-gradient(135deg, rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 10%) 100%);
    /* Ikony strzałek – data URL (stroke: white) */
    --icon-arrow-right: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-arrow-right-invert: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5' stroke='%230e0e13' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-arrow-right-accent: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5' stroke='%23057ED5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 7l6 5-6 5' stroke='%231a1a1a' stroke-width='1.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    --icon-chevron-right-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 7l6 5-6 5' stroke='%23ffffff' stroke-width='1.15' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    --icon-arrow-corner: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.00005 19L19 5.99996M19 5.99996V18.48M19 5.99996H6.52005' stroke='%230e0e13' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --icon-arrow-corner-sm: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 14L14 1M14 1V13.48M14 1H1.52' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    /* Usługa Logistyka – wstęp / zakładka */
    --color-usluga-lead-bg: #ebe9e4;
    --color-usluga-lead-text: #0e0e13;
    --usluga-tab-overlap: 8rem;
    --usluga-tab-inline: 5%;
    /* Menu mobilne: fallback pozycji szarego tła podstron (gdy brak inline --hgv-submenu-left z JS) */
    --hgv-submenu-left-fallback: min(50rem, 100vw);
}

::selection {
    background-color: #0e0e13;
    color: #ffffff;
}
::-moz-selection {
    background-color: #0e0e13;
    color: #ffffff;
}

/* Desktop < 1920px (laptop / mniejszy monitor): proporcjonalne zmniejszenie typografii > 3rem
   i dużych odstępów względem układu 1920+. Współczynnik ~0,875. Nie dotyczy ≤1024px (osobne tokeny). */
@media (max-width: 1919px) and (min-width: 1025px) {
    :root {
        --font-size-h1: 7.75rem;
        --font-size-h2: 7rem;
        --font-size-h3: 3.5rem;
        --font-size-h5: 1.4rem;
        --font-size-display: 3.5rem;
        --font-size-48: 5.25rem;
        --spacing-section: 8.5rem;
        --spacing-section-xl: 17.5rem;
        --space-56: 6.125rem;
        --space-64: 7rem;
        --space-100: 11rem;
        --space-200: 21.875rem;
        --usluga-tab-overlap: 7rem;
        --size-80: 8.75rem;
        --size-120: 13.125rem;
    }
    .hero h1 {
        margin-bottom: 4.375rem;
    }
    .hero p {
        margin-bottom: 7rem;
    }
    .service-split {
        gap: 8.75rem;
    }
    .page-container {
        max-width: 175rem;
    }
    /* Karuzele usług: mniejszy lewy/prawy inset na track (było clamp(6rem, 36vw, 75rem)) */
    #panel-usluga-logistyka .logistyka-sortowanie,
    #panel-usluga-naprawa .naprawa-koszt,
    #panel-usluga-skup .logistyka-sortowanie,
    #panel-usluga-magazyn .logistyka-sortowanie,
    #panel-usluga-obrobka .logistyka-sortowanie {
        --logistyka-inset: clamp(4rem, 5vw, 40rem);
    }
    #panel-usluga-logistyka .logistyka-dlaczego,
    #panel-usluga-magazyn .magazyn-korzysci,
    #panel-usluga-naprawa .naprawa-dlaczego,
    #panel-usluga-skup .skup-wymiana {
        --warto-inset: clamp(4rem, 5vw, 40rem);
        --dlaczego-track-pad-end: calc(var(--warto-inset) + var(--warto-slide-gap));
    }
    /* Oferta produktowa / tiles-6: wyśrodkowanie + boczne marginesy zamiast pełnego breakout 100vw (jak #panel-uslugi ≥1921px) */
    .tiles-6-wrap {
        width: 100%;
        max-width: 240rem;
        margin-left: auto;
        margin-right: auto;
        padding-left: 5%;
        padding-right: 5%;
        box-sizing: border-box;
    }
    .tiles-6-slide .tile {
        height: 65rem;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 2rem;
    }

    :root {
        --spacing-section: 8rem;
        --font-size-h1: 5rem;
        --font-size-h2: 6rem;
        --font-size-h3: 3rem;
        --font-size-h4: 2.5rem;
        --font-size-h5: 2.25rem;
        --font-size-h6: 1.8rem;
        --font-size-body: 1.8rem;
        --font-size-display: 3.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 5rem;
        --spacing-section-xl: 8rem;
        --font-size-h1: 4.5rem;
        --font-size-h2: 3.5rem;
        --font-size-h3: 2.5rem;
        --font-size-h4: 2.25rem;
        --font-size-h5: 2rem;
        --font-size-h6: 2.5rem;
        --font-size-body: 2.2rem;
        --font-size-body-sm: 2rem;
        --font-size-caption: 1.85rem;
        --font-size-display: 3rem;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 50%;
}

@media (max-width: 1024px) {
    html {
        font-size: 37.5%; /* 1rem = 6px przy base 16px */
    }
}

body {
    position: relative;
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    overflow-x: hidden;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.8rem 3.6rem;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: var(--font-size-body);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
    background: var(--color-text);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: var(--space-12) var(--size-16);
    font-size: var(--font-size-body-sm);
    font-weight: 400;
}

.btn-primary:hover {
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-text);
}

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

/* Hero CTA – styl Porsche 1:1: prostokąt, delikatnie zaokrąglone rogi, cienka biała obwódka, przezroczyste tło */
.hero .btn-primary {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2rem 3rem;
    position: relative;
    width: auto;
    min-width: auto;
    min-height: auto;
    height: auto;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero .btn-primary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ffffff;
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 75rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0 var(--space-100) var(--space-200);
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0;
    max-width: 50%;
    padding-left: 5%;
    padding-bottom: 5%;
}

.hero h1 {
    font-size: var(--font-size-h1);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 5rem;
    color: #ffffff;
}

.hero p {
    font-size: 3rem;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    color: rgba(255,255,255,0.9);
    max-width: none;
    margin: 0 0 8rem;
}

/* Kontener strony – grid, procenty */
.page-container {
    max-width: 200rem;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
}
.page-container--narrow {
    padding-left: 8%;
    padding-right: 8%;
}

/* Section */
section {
    padding: var(--spacing-section) 5%;
    max-width: 200rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Hero full-width – padding procentowy */
section.hero {
    padding: 0 5% var(--spacing-section);
    max-width: none;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Hero z obrazem (O nas, podstrony z hero) */
section.hero.hero--image {
    padding: 0;
    align-items: flex-end;
    justify-content: flex-start;
}
.hero--image {
    background-color: #0e0e13;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 28vh;
    min-height: 28rem;
}
.hero--image .hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay-hero-image);
    z-index: 1;
}
.hero--image .hero-content {
    width: 100%;
    max-width: none;
    text-align: left;
    padding: 0 5% 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.hero--image .hero-content h1 { font-size: 3.5rem; margin-bottom: 0.5rem; }
.hero--image .hero-content p { font-size: 1.6rem; margin: 0; }
@media (max-width: 1024px) {
    .hero--image .hero-content h1 { font-size: 2.8rem; }
    .hero--image .hero-content p { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .hero--image { height: 22vh; min-height: 23rem; }
    .hero--image .hero-content { padding: 0 5% 2rem; }
    .hero--image .hero-content h1 { font-size: 2.2rem; }
    .hero--image .hero-content p { font-size: 1.4rem; }
}

/* Hero bez tła (Sklep itp.) */
section.hero.hero--plain {
    background: none;
    padding: 5% 5% 5rem 5%;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
    overflow: visible;
    margin-bottom: var(--spacing-section);
}
.hero--plain .hero-content {
    width: 100%;
    max-width: none;
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}
.hero--plain .hero-content h1 {
    color: var(--color-text);
}

.hero--plain .hero-content p { color: var(--color-text-muted); }
.hero--plain .hero-content h1 { font-size: var(--font-size-h2); margin-bottom: 0.5rem; }
.hero--plain .hero-content p { font-size: var(--font-size-body-sm); margin: 0; }
@media (max-width: 1024px) {
    .hero--plain .hero-content h1 { font-size: 2.8rem; }
    .hero--plain .hero-content p { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .hero--plain .hero-content h1 { font-size: 2.2rem; }
    .hero--plain .hero-content p { font-size: 1.4rem; }
}

/* Węższe sekcje – 8% padding */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-section);
}

.section-header--spaced {
    margin-top: var(--spacing-section);
}

.section-header h2 {
    font-size: var(--font-size-h2);
    font-weight: 400;
    line-height: var(--line-height);
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-size: var(--font-size-h6);
}

.tile {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-xl);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tile:hover img {
    transform: scale(1.08);
}

/* Wyłączenie animacji hover dla obrazków w .tiles-horizontal */
.tiles-horizontal .tile img {
    transition: none;
    transform: none;
}

.tiles-horizontal .tile:hover img {
    transform: none;
}

/* Wyłączenie animacji hover dla obrazków w .tiles-6 na tablet i mniejszych */
@media (max-width: 1024px) {
    .tiles-6 .tile img {
        transition: none;
        transform: none;
    }

    .tiles-6 .tile:hover img {
        transform: none;
    }
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay-tile);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.tile-overlay > * {
    position: relative;
    z-index: 1;
}

.tile-overlay h3 {
    color: #fff;
}

.tile h3 {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
}

/* Strzałka – styl Porsche: tło pod ikoną przy hover, opacity 1 */
.tile-arrow {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    width: var(--size-18);
    height: var(--size-18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 1;
}

.tile-arrow::before {
    content: "";
    position: absolute;
    inset: -0.75rem;
    border-radius: var(--radius-md);
    background: var(--gradient-overlay-arrow);
    backdrop-filter: var(--backdrop-blur-lg);
    -webkit-backdrop-filter: var(--backdrop-blur-lg);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

.tile-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--icon-arrow-right) no-repeat center;
    background-size: contain;
    z-index: 1;
}

.tile:hover .tile-arrow::before {
    opacity: 1;
}

/* Product tiles - 6 items, 2 per row; kontener 5% */
.tiles-6-wrap {
    /* width: 100vw; */
    /* margin-left: calc(50% - 50vw); */
    /* padding-left: 0; */
    /* padding-right: 0; */
    box-sizing: border-box;
    margin-top: 5rem;
}

.tiles-6 {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.tiles-6-slide {
    display: block;
    flex: 1 1 calc((100% - 4rem) / 2);
    min-width: 0;
    position: relative;
    transition: flex 0.25s ease-in-out;
}

.tiles-6-slide .tile {
    display: block;
    height: 62rem;
    aspect-ratio: auto;
    border-radius: var(--radius-xl);
}

/* Efekt hover (rozsuwanie kafli) TYLKO na urządzeniach z prawdziwym kursorem.
   Na dotyku :hover „przykleja się" po tapnięciu/przewinięciu i — przez wyższą
   specyficzność — nadpisywał szerokość slajdu karuzeli (min-width:22rem ≈ wąski kafel). */
@media (hover: hover) and (pointer: fine) {
    .tiles-6-slide:hover {
        flex: 1 0 calc((100% - 4rem) / 2 + 6rem);
    }

    .tiles-6-slide:hover + .tiles-6-slide,
    .tiles-6-slide:has(+ .tiles-6-slide:hover) {
        flex: 1 0 calc((100% - 4rem) / 2 - 6rem);
        min-width: 22rem;
    }
}

.tiles-6-tile-title {
    position: absolute;
    top: 4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 1;
    font-family: var(--font-main);
    font-style: normal;
    font-weight: 200;
    font-size: 3.5rem;
    line-height: var(--line-height);
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0;
    padding: 0 2rem;
    box-sizing: border-box;
}

.tiles-6 .tile-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--gradient-overlay-dual);
    padding: 1.5rem 3.5rem;
    gap: 1.5rem;
}

.tiles-6 .tile-overlay::after {
    content: '';
    position: absolute;
    right: var(--space-56);
    bottom: var(--space-56);
    width: var(--size-15);
    height: var(--size-15);
    background: var(--icon-arrow-corner-sm) no-repeat center;
    background-size: contain;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.tiles-6 .tile:hover .tile-overlay::after {
    opacity: 1;
}

/* ===== LABEL – komponent etykiet (jak header) =====
 * label--solid: Ciemne tło, jasny tekst (specyfikacja, FAQ, product-related)
 * label--glass: Szkło/blur (tiles-6, hero overlay)
 * Na nowych podstronach: <span class="label label--solid">Tekst</span> lub .label--glass
 */
.label,
.tile-category,
.faq-page-title,
.product-spec-title {
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    padding: 0.75rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-body-sm);
    font-weight: 400;
    letter-spacing: var(--letter-spacing);
    white-space: nowrap;
    line-height: 1;
}
.label--glass,
.tile-category {
    background: var(--gradient-overlay-arrow);
    backdrop-filter: var(--backdrop-blur-sm);
    -webkit-backdrop-filter: var(--backdrop-blur-sm);
    color: var(--color-bg);
}
.label--solid,
.faq-page-title,
.product-spec-title {
    background: var(--color-text);
    color: var(--color-bg);
}
.label--with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.label-icon,
.label .tile-category-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: inherit;
}
.label .tile-category-icon svg,
.label .label-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.label-value,
.label .tile-category-value {
    font-weight: 600;
}

/* tile-category = label--glass (kompatybilność wsteczna) */
.tile-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.tile-category-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    align-self: flex-start;
}
.tiles-6-wrap .tile-category {
    font-weight: 400;
}
.tiles-6-wrap .tile-category .tile-category-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    color: var(--color-bg);
}
.tiles-6-wrap .tile-category .tile-category-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
.tiles-6-wrap .tile-category .tile-category-value {
    font-weight: 400;
}

.tiles-6 .tile-overlay p {
    font-size: var(--font-size-body);
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    max-width: 32ch;
}

.tiles-6 .tile-arrow {
    display: none;
}

/* Horizontal tiles - split layout (Porsche-style: kompaktowy, szerszy niż wyższy) */
.tiles-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-section);
    margin-top: var(--spacing-section);
    margin-bottom: var(--spacing-section);
    max-width: 80%;
}

.tiles-horizontal .tile {
    display: grid;
    grid-template-columns: 44fr 56fr;
    width: 100%;
    min-height: 45rem;
    height: clamp(45rem, 23vw, 54rem);
    aspect-ratio: auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* Drugi kafelek: odwrócone proporcje (56/44), inna kolejność kolumn niż w pierwszym */
.tiles-horizontal .tile:nth-child(2) {
    grid-template-columns: 56fr 44fr;
    /* width: 100%; */
}

.tiles-horizontal .tile-split-text {
    background: #0e0e13;
    padding: 5rem 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.tiles-horizontal .tile-split-text h3 {
    color: #fff;
    font-size: var(--font-size-h3);
    font-weight: 400;
    margin: 0;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
}

.tiles-horizontal .tile-split-text p {
    color: rgba(255,255,255,0.85);
    font-size: var(--font-size-body);
    margin: 0;
    line-height: 1.5;
    letter-spacing: var(--letter-spacing);
}

.tiles-horizontal .tile-split-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 3.5rem;
    padding: 2rem 2.7rem;
    width: fit-content;
    background: #fff;
    color: #0e0e13;
    font-size: var(--font-size-body);
    font-weight: 500;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    border-radius: var(--radius-sm);
    transition: background 0.25s ease;
}

.tiles-horizontal .tile-split-cta:hover {
    background: #87a9be;
}

.tiles-horizontal .tile-split-img {
    overflow: hidden;
    background: #0e0e13;
}

.tiles-horizontal .tile-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    /* background: red; */
}

/* Komponent globalny: Tile Card – kafelek z obrazem, overlay, strzałką (tiles-3, tiles-odkryj) */
.tiles-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 82%;
}

.tiles-3 {
    margin-bottom: 0;
}

.tiles-3.tiles-card {
    min-height: 51rem;
    align-items: center;
}

.tiles-odkryj .tile {
    /* position: relative; */
    aspect-ratio: 4 / 4;
    /* overflow: hidden; */
    /* border-radius: var(--radius-xl); */
    /* cursor: pointer; */
    /* text-decoration: none; */
    /* color: inherit; */
    max-width: 410px;
}

/* Footer – układ z makiety HGV (ciemne tło, 5 kolumn, PL/EN, przewiń, ©) */
.footer {
    background: #0a0a0d;
    padding: 6rem 5% 4.5rem;
    margin-top: var(--spacing-section);
    color: #ffffff;
}

.footer-scroll-top {
    max-width: 200rem;
    margin: 0 auto 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-scroll-link {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    padding: 0.5rem 0;
    border-radius: var(--radius-pill);
    background-color: transparent;
    transition: background-color var(--transition), color var(--transition);
}

.footer-scroll-icon {
    width: var(--size-16);
    height: var(--size-16);
    display: inline-block;
    background: var(--icon-arrow-right) no-repeat center;
    background-size: contain;
    transform: rotate(-90deg);
}

.footer-scroll-link:hover {
    color: #ffffff;
    background-color: transparent;
}

.footer-divider {
    display: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(3rem, 4vw, 8rem);
    max-width: 200rem;
    margin: 0 auto 0;
    padding-bottom: 4rem;
}

.footer-column {
    display: block;
}

.footer-accordion-toggle {
    width: 100%;
    padding: 1rem 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    background: none;
    color: inherit;
    font: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.footer-accordion-icon svg {
    width: var(--size-18);
    height: var(--size-18);
    display: block;
    transition: transform 0.25s ease;
}

/* Desktop: accordion tylko na mobile – na desktop nagłówki + linki bez chevronu */
@media (min-width: 769px) {
    .footer-accordion-icon {
        display: none;
    }
    .footer-accordion-toggle {
        padding: 0;
        border-bottom: none;
        cursor: default;
        pointer-events: none;
    }
}

.footer-accordion-panel {
    margin-top: 2.4rem;
}

.footer h4 {
    font-size: var(--font-size-body-sm);
    font-weight: 600;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    color: rgba(255,255,255,0.96);
    margin: 0 0 2.4rem;
}

.footer-accordion-toggle > span:first-child {
    font-size: var(--font-size-body-sm);
    font-weight: 600;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    color: rgba(255,255,255,0.96);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255,255,255,0.88);
    font-size: var(--font-size-body-sm);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    text-decoration: none;
    transition: color var(--transition);
}

.footer a:hover {
    color: #ffffff;
}

.footer-label {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.footer-region-value {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.9);
}

.footer-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-lang-option {
    padding: 0.55rem 1.35rem;
    border-radius: var(--radius-pill);
    font-size: var(--font-size-caption);
    text-transform: uppercase;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    color: rgba(255,255,255,0.75);
    background-color: transparent;
    text-decoration: none;
    transition: background-color var(--transition), color var(--transition);
}

.footer-lang-option.is-active {
    background-color: #ffffff;
    color: #0a0a0d;
}

.footer-lang-switch:hover .footer-lang-option:not(.is-active) {
    background-color: rgba(255,255,255,0.12);
}


.footer-bottom {
    max-width: 200rem;
    margin: 0 auto;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(255,255,255,0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
}

.footer-social a {
    font-size: 1.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255,255,255,0.35);
    transition: border-color var(--transition), background-color var(--transition);
}

.footer-social a:hover {
    border-color: rgba(255,255,255,0.65);
    background-color: rgba(255,255,255,0.06);
}

.footer-social svg {
    width: 2rem;
    height: 2rem;
    display: block;
}

.footer-apps {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-app-badge {
    padding: 0.8rem 1.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.24);
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    color: rgba(255,255,255,0.72);
    font-size: var(--font-size-caption);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
}

/*
 * Domyślny BlankSlate: po </main> jest get_sidebar() (Szukaj, Ostatnie wpisy…) oraz <footer id="footer"> z ©.
 * Nasz footer.php to wyłącza; ten blok zdejmuje te elementy z widoku, jeśli na serwerze wciąż jest stary footer.php.
 * Własna stopka HGV to <footer class="footer"> — bez id="footer", więc nie jest ukrywana.
 */
#container > aside[role="complementary"],
#container > aside.widget-area {
    display: none;
}

footer#footer[role="contentinfo"] {
    display: none;
}

/* Placeholder for tiles without images */
.tile-placeholder {
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #d4d0c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.6;
}

/* Responsive – tablet landscape – zachowaj 3 kafelki w rzędzie */
@media (max-width: 1024px) and (min-width: 769px) {
    .tiles-3,
    .tiles-odkryj {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive – tablet i mniejsze (≤1024px) */
@media (max-width: 1024px) {
    section.hero {
        padding: 0 5% var(--spacing-section);
    }

    .hero-content {
        padding: 4rem 0;
        max-width: 70%;
    }

    .hero p {
        margin-bottom: 4rem;
    }

    .tiles-3 {
        min-height: 44rem;
        align-items: center;
    }

    .tiles-6-slide .tile {
        height: 44rem;
    }

    .tiles-6-wrap {
        padding-left: 5%;
        padding-right: 5%;
    }

    .header {
        padding: max(2rem, env(safe-area-inset-top, 0px)) 5% 1.5rem;
    }

    .menu-panel {
        padding-left: 5%;
        padding-right: 5%;
        max-width: min(37rem, 100vw);
        width: min(37rem, 100vw);
        left: calc(-1 * min(37rem, 100vw));
    }

    .menu-panel.is-open {
        left: 0;
    }

    .menu-backdrop {
        left: min(37rem, 85vw);
    }

    .account-panel {
        max-width: min(37rem, 100vw);
        padding-left: 5%;
        padding-right: 5%;
    }

    .account-backdrop {
        left: min(37rem, 85vw);
    }

    .menu-products-panel,
    .menu-services-panel,
    .menu-account-panel {
        left: min(37rem, 85vw);
        width: min(40rem, calc(100vw - 2rem));
    }

    /* Zmniejszone strzałki w menu featured (Produkty/Usługi/Sklep) */
    .menu-panel .nav a.nav-item-featured {
        padding-right: 0.5rem;
    }

    .menu-panel .nav a.nav-item-featured::after {
        width: var(--size-18);
        height: var(--size-18);
        background-size: var(--size-18) var(--size-18);
    }

}

@media (max-width: 768px) {
    .tiles-3,
    .tiles-odkryj {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-scroll-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 3.5rem;
    }

    .footer-contact--column {
        margin-bottom: 0;
        padding-bottom: 2.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .footer-contact--column h4 {
        margin-bottom: 1.6rem;
    }

    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .footer-column:last-of-type {
        border-bottom: none;
    }

    .footer-accordion-toggle {
        padding: 1.6rem 0;
        border-bottom: none;
        cursor: pointer;
        pointer-events: auto;
    }

    .footer-accordion-icon {
        display: flex;
    }

    .footer-accordion-panel {
        margin-top: 0;
        padding-bottom: 1.6rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-4px);
        transition:
            max-height 0.45s ease,
            opacity 0.4s ease,
            transform 0.4s ease,
            padding 0.35s ease;
    }

    .footer-column.is-open .footer-accordion-panel {
        max-height: 62rem;
        opacity: 1;
        transform: translateY(0);
    }

    .footer-column.is-open .footer-accordion-icon svg {
        transform: rotate(180deg);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding-top: 2.5rem;
        margin-top: 1rem;
    }
}

/* Responsive – mobile */
@media (max-width: 768px) {
    :root {
        --font-size-body: 2.5rem;
        --gradient-overlay-tile: linear-gradient(to top, rgba(14, 14, 19, 0.9) 0%, transparent 90%);
    }

    /* Na mobile nagłówki produktów ≈16px (1rem=6px → 2.6667rem) */
    .menu-product-item h3 {
        font-size: 2.6667rem;
    }

    /* Spójne odstępy sekcji na mobile */
    section {
        padding: var(--spacing-section) 5%;
    }

    .hero {
        height: 100vh;
        min-height: auto;
    }

    section.hero {
        padding: 0 5% var(--spacing-section);
    }

    .hero-content {
        padding: 3rem 0 12rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(3.4rem, 11vw, var(--font-size-h1));
        margin-bottom: 2.5rem;
        line-height: 1.08;
    }

    .hero p {
        font-size: var(--font-size-body-sm);
        margin-bottom: 3.5rem;
    }

    .hero .btn-primary {
        width: 100%;
        max-width: none;
        padding: 1.75rem 2.5rem;
        font-size: var(--font-size-body-sm);
    }

    .page-container,
    .page-container--narrow {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section-header {
        margin-bottom: var(--spacing-section);
        padding-left: 0;
        padding-right: 0;
    }

    /* Tiles-3 – mobilne kafelki „Poznaj nas / Baza wiedzy / Certyfikaty” */
    .tiles-card,
    .tiles-card.tiles-3 {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: 0;
    }

    .tiles-3 {
        margin-bottom: 0;
    }

    /* Stała proporcja kafla → wszystkie boxy (Poznaj nas / FAQ / Certyfikaty
       oraz „Odkryj nasze usługi") mają jednakową wysokość na mobile;
       obraz wypełnia przez object-fit:cover. */
    .tiles-3 .tile,
    .tiles-odkryj .tile {
        aspect-ratio: 3 / 2;
        min-height: 0;
        max-width: none;
    }

    .tiles-3 .tile-overlay,
    .tiles-odkryj .tile-overlay {
        padding: 3rem;
    }

    .tiles-3 .tile-overlay h3,
    .tiles-odkryj .tile-overlay h3 {
        font-size: 3.5rem;
    }

    .tiles-3 .tile-arrow,
    .tiles-odkryj .tile-arrow {
        right: 4rem;
        bottom: 4rem;
    }


    /* Kafelki: odstęp pod nagłówkiem na mobile */
    .tile h3 {
        margin-bottom: 1rem;
    }

    /* Tiles-horizontal – mobilny layout (obraz nad tekstem) */
    .tiles-horizontal .tile {
        display: flex;
        flex-direction: column;
        min-height: auto;
        height: auto;
        aspect-ratio: auto;
    }

    .tiles-horizontal .tile-split-img {
        order: -1;
        flex-shrink: 0;
        height: 28rem;
    }

    .tiles-horizontal .tile-split-img img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        opacity: 0.75;
        display: block;
    }

    .tiles-horizontal .tile-split-text {
        padding: 2.5rem;
        justify-content: flex-start;
        flex-shrink: 0;
    }

    .tiles-horizontal .tile-split-text h3 {
        font-size: 3.2rem;
    }

    .tiles-horizontal .tile-split-cta {
        margin-top: 1.8rem;
    }

    /* service-cta-split – ten sam układ mobilny co .tiles-horizontal .tile */
    .service-cta-split {
        display: flex;
        flex-direction: column;
        min-height: auto;
        height: auto;
        margin-bottom: 5rem;
    }

    .service-cta-split-image {
        order: -1;
        flex-shrink: 0;
        height: 28rem;
    }

    .service-cta-split-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .service-cta-split-content {
        padding: 2.5rem;
        justify-content: flex-start;
        flex-shrink: 0;
    }

    .service-cta-split-content h2 {
        font-size: 3.2rem;
    }

    .service-cta-split .btn-service-cta {
        margin-top: 1.8rem;
    }

    /* Tiles-6 – karuzela w stylu Porsche (Oferta produktowa) */
    .tiles-6-wrap {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: 0;
        padding-right: 0;
        background: var(--color-bg);
        height: 100vh;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .tiles-6-wrap .section-header {
        padding: 4rem 5% 0;
        flex-shrink: 0;
        margin-bottom: 4rem;
    }

    .tiles-6 {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        /* Gutter = (100 - szerokość slajdu 80vw)/2 = 10vw → slajd wyśrodkowany (równe marginesy),
           także pierwszy/ostatni (padding tworzy przestrzeń do centrowania scroll-snap). */
        padding: 0 10vw;
        scroll-padding: 0 10vw;
        flex: 1;
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tiles-6::-webkit-scrollbar {
        display: none;
    }

    /* Slajd = nagłówek nad kafelkiem + kafelek */
    .tiles-6-slide {
        /* Szerokość przypięta na sztywno do 80% szerokości strony (width = basis = min = max),
           żeby slajd nigdy się nie zwężał — także przy przewijaniu pędem (iOS Safari). */
        width: 80vw;
        flex: 0 0 80vw;
        min-width: 80vw;
        max-width: 80vw;
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    /* h3 – nad zdjęciem, poza kafelkiem (mobile: w flow) */
    .tiles-6-tile-title {
        position: static;
        padding: 0 0 1.5rem;
        margin: 0;
        font-size: 4.5rem;
        font-weight: 200;
        line-height: 1.1;
        text-align: center;
        color: var(--color-text);
        flex-shrink: 0;
        /* Stała rezerwacja na 2 linie tytułu (+ dolny padding, bo box-sizing:border-box)
           → kafel .tile ma zawsze tę samą wysokość niezależnie od długości tytułu. */
        min-height: calc(4.5rem * 1.1 * 2 + 1.5rem);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        overflow: hidden;
        transform: none;
        left: auto;
        top: auto;
        width: auto;
    }

    .tiles-6-slide .tile {
        flex: 1;
        min-height: 0;
        display: grid;
        grid-template-rows: 1fr;
        border-radius: var(--radius-xl);
        overflow: hidden;
        background: var(--color-bg);
        position: relative;
    }

    /* Obraz – wypełnia całą wysokość kafelka */
    .tiles-6 .tile img {
        grid-row: 1;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
        display: block;
    }

    /* Overlay – gradient + content na dole (bez h3 – jest nad kafelkiem) */
    .tiles-6 .tile-overlay {
        grid-row: 1 / -1;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto auto auto;
        position: absolute;
        inset: 0;
        width: 100%;
        pointer-events: none;
        background: none;
        padding: 0 2rem 2rem 2rem;
        box-sizing: border-box;
        justify-items: stretch;
    }

    .tiles-6 .tile-overlay > * {
        pointer-events: auto;
    }

    .tiles-6 .tile-overlay::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55%;
        background: var(--gradient-overlay-tile);
        pointer-events: none;
        z-index: 0;
    }

    .tiles-6 .tile-overlay::after {
        content: '';
        grid-row: 1;
        min-height: 0;
    }

    .tiles-6 .tile-overlay .tile-category,
    .tiles-6 .tile-overlay .tile-category-group {
        grid-row: 2;
        position: relative;
        z-index: 1;
    }

    .tiles-6 .tile-overlay .tile-category-group .tile-category {
        grid-row: auto;
        grid-column: auto;
    }

    .tiles-6 .tile-overlay p {
        grid-row: 3;
        position: relative;
        z-index: 1;
    }

    .tiles-6 .tile-overlay .tile-cta {
        grid-row: 4;
        position: relative;
        z-index: 1;
    }

    .tiles-6 .tile-overlay .tile-category {
        margin: 0;
        background: rgb(79 79 79 / 85%);
        color: rgba(255, 255, 255, 0.9);
        justify-self: start;
        min-width: 0;
    }

    .tiles-6 .tile-overlay .tile-category-group {
        justify-self: start;
        min-width: 0;
    }

    .tiles-6 .tile-overlay p {
        margin: 1.5rem 0;
        color: rgba(255, 255, 255, 0.9);
        min-width: 0;
    }

    .tiles-6 .tile-overlay .tile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        width: 100%;
        margin: 0;
        padding: 1.2rem 2rem;
        background: #fff;
        color: var(--color-text);
        font-size: 2.5rem;
        font-weight: 500;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(14, 14, 19, 0.08);
        box-sizing: border-box;
        height: 5rem;
    }

    /* Nawigacja karuzeli – pill + kropki (jak Porsche, wersja jasna) */
    .tiles-6-carousel-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem 5%;
        flex-shrink: 0;
    }

    .tiles-6-carousel-dots {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        padding: 1.5rem;
        background: rgba(14, 14, 19, 0.08);
        border-radius: var(--radius-pill);
    }

    .tiles-6-carousel-dots button {
        width: 1.2rem;
        height: 1.2rem;
        border-radius: 50%;
        border: none;
        background: rgba(14, 14, 19, 0.2);
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, border-radius 0.2s;
    }

    .tiles-6-carousel-dots button.is-active {
        width: 3.5rem;
        border-radius: var(--radius-pill);
        background: var(--color-accent);
    }

    /* Usługi – tytuł w overlay (wiersz 2 siatki), 2rem nad akapitem */
    #panel-uslugi .tiles-6 .tile-overlay .tiles-6-tile-title {
        grid-row: 2;
        position: relative;
        z-index: 1;
        margin-bottom: 2rem;
        padding: 0;
        color: rgba(255, 255, 255, 0.95);
        font-size: var(--font-size-h3);
    }
    #panel-uslugi .tiles-6 .tile-overlay p {
        margin-top: 0;
    }

}

/* Karuzela tiles-6 – ukryta na desktop */
@media (min-width: 769px) {
    .tiles-6-carousel-nav {
        display: none;
    }

    .tiles-6 .tile-overlay .tile-cta {
        display: none;
    }

    /* Paragraphs – trochę większy odstęp między liniami na mobile */
    p {
        line-height: 1.2;
    }

    .section-header {
        margin-bottom: var(--spacing-section);
    }
}

/* Responsive – telefon (wszystkie style wcześniej 480px/600px) */
@media (max-width: 768px) {
    .header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
        padding: max(2.5rem, env(safe-area-inset-top, 0px)) 5% 0.75rem;
        gap: 0.75rem 0;
    }

    .header-right {
        grid-row: 1;
        grid-column: 1 / -1;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        background: rgba(14, 14, 19, 0.5);
        margin: -0.75rem calc(-5% - 2px) 0;
        padding: 0.75rem calc(5% + 2px);
    }

    .header-right .header-lang-switcher {
        margin-right: auto;
    }

    .header-left {
        grid-row: 2;
        grid-column: 1;
    }

    .header-logo {
        grid-row: 2;
        grid-column: 2;
        justify-content: center;
    }

    .menu-panel {
        max-width: 100%;
        width: 100%;
        left: -100%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .menu-panel.is-open {
        left: 0;
    }

    .cart-panel {
        max-width: 100%;
    }
    .cart-panel-header {
        padding: 1.5rem 2rem;
    }
    .cart-panel-content {
        padding: 2rem;
    }

    .menu-back-button {
        display: flex;
        justify-content: center;
    }

    /* Na mobile: przy otwartym menu wyłącz blur/gradient headera
       i ukryj logo, żeby nic nie nachodziło na biały panel menu */
    body.menu-open .header::before,
    body.menu-open .header.scrolled::before {
        display: none;
    }

    body.menu-open .header-logo {
        opacity: 0;
        pointer-events: none;
    }

    /* Menu panels under mobile header – żeby panel nie nachodził na ikonę MENU */
    .menu-panel {
        top: 8rem;
        height: calc(100vh - 8rem);
    }

    .menu-backdrop {
        top: 8rem;
        bottom: 0;
    }

    .account-panel {
        max-width: 100%;
        top: 8rem;
        height: calc(100vh - 8rem);
        padding: 6rem 5% 4rem;
    }

    .account-backdrop {
        top: 8rem;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .menu-products-panel,
    .menu-services-panel,
    .menu-account-panel {
        top: 8rem;
        height: calc(100vh - 8rem);
    }

    section {
        padding: var(--spacing-section) 5%;
    }

    section.hero {
        padding: 0 5% var(--spacing-section);
    }

    section.hero.hero--plain {
        padding: 4rem 5% 3rem;
        margin-bottom: var(--spacing-section);
    }

    .footer {
        padding: 4rem 5% 3rem;
        margin-top: var(--spacing-section);
    }

    .main-content {
        overflow-x: clip;
    }

    .design-toolbar-label {
        display: none;
    }

    .design-toolbar-view-trigger {
        padding: 0.5rem 0.75rem;
        font-size: 1.375rem;
        min-width: 17rem;
    }

    .design-panel:not(.main-content) {
        padding: 1.5rem 1rem 3rem;
    }
    /* Hero full-width – bez bocznych marginesów jak O nas */
    #panel-aktualnosci, #panel-kontakt, #panel-certyfikaty, #panel-uslugi,
    #panel-usluga-logistyka, #panel-usluga-magazyn, #panel-usluga-naprawa, .hgv-service-layout-naprawa,
    #panel-usluga-skup, #panel-usluga-recykling, #panel-usluga-obrobka,
    #panel-usluga-produkcja {
        padding-left: 0;
        padding-right: 0;
    }

    .menu-panel {
        max-width: 100%;
    }

    .menu-backdrop {
        left: 100%;
    }

    /* Główne menu (hamburger): backdrop ma wrócić na ekran po otwarciu — inaczej „klik w tło” nie zamyka */
    body.menu-open .menu-backdrop.is-open {
        left: 0;
        right: 0;
    }

    .menu-products-panel,
    .menu-services-panel,
    .menu-account-panel {
        left: 0;
        width: 100%;
        max-width: 100%;
    }

    body.menu-products-open .menu-backdrop,
    body.menu-services-open .menu-backdrop,
    body.menu-account-open .menu-backdrop {
        left: 0;
    }

    body.menu-products-open .header::before,
    body.menu-services-open .header::before,
    body.menu-account-open .header::before,
    body.menu-products-open .header.scrolled::before,
    body.menu-services-open .header.scrolled::before,
    body.menu-account-open .header.scrolled::before {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* ===== Figma-style Design Toolbar ===== */
.design-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: 5.5rem;
    background: #2c2c2c;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.25rem;
    font-family: var(--font-main);
    font-size: 1.5rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    transition: transform 0.3s ease;
}

.design-toolbar.is-collapsed {
    transform: translateY(-100%);
}

.design-toolbar-toggle {
    margin-left: auto;
    margin-right: 0.5rem;
    padding: 0.4rem 0.75rem;
    border: none;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.25rem;
    transition: background 0.2s, color 0.2s;
}

.design-toolbar-toggle:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.design-toolbar-peek {
    position: fixed;
    top: 0;
    right: 1rem;
    z-index: 1999;
    padding: 0.5rem 1rem;
    background: #2c2c2c;
    color: rgba(255,255,255,0.9);
    border: none;
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.design-toolbar.is-collapsed ~ .design-toolbar-peek {
    opacity: 1;
    pointer-events: auto;
}

.design-toolbar-peek:hover {
    background: #3a3a3a;
    color: #fff;
}

body.design-toolbar-collapsed .main-content,
body.design-toolbar-collapsed .design-panel {
    margin-top: 0;
}

body.design-toolbar-collapsed .design-panel {
    min-height: 100vh;
}

.design-toolbar-view-dropdown {
    position: relative;
}
.design-toolbar-view-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--space-6) 1.75rem;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.5rem;
    min-width: 22rem;
    justify-content: space-between;
}
.design-toolbar-view-trigger:hover {
    background: rgba(255,255,255,0.2);
}
.design-toolbar-view-trigger svg {
    width: var(--size-16);
    height: var(--size-16);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.design-toolbar-view-dropdown.is-open .design-toolbar-view-trigger svg {
    transform: rotate(180deg);
}
.design-toolbar-view-menu {
    position: absolute;
    top: calc(100% + var(--space-4));
    left: 0;
    min-width: 100%;
    background: #2a2a2a;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(14, 14, 19,0.4);
    padding: var(--space-4);
    z-index: 1000;
    max-height: 40rem;
    overflow-y: auto;
    display: none;
}
.design-toolbar-view-dropdown.is-open .design-toolbar-view-menu {
    display: block;
}
.design-toolbar-view-option {
    display: block;
    width: 100%;
    padding: var(--space-8) var(--space-12);
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.85);
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.4rem;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}
.design-toolbar-view-option:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.design-toolbar-view-option.is-active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.design-toolbar-view-option-row {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: 0.25rem;
}
.design-toolbar-view-option-row:last-child {
    margin-bottom: 0;
}
.design-toolbar-view-option-row.hidden-for-guests {
    display: none;
}
.design-toolbar-view-option-row .design-toolbar-view-option {
    flex: 1;
    margin: 0;
}
.design-toolbar-view-visibility {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, background 0.2s;
}
.design-toolbar-view-visibility:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.design-toolbar-view-visibility svg {
    width: 1.6rem;
    height: 1.6rem;
}
.design-toolbar-view-visibility .icon-eye-off {
    display: none;
}
.design-toolbar-view-visibility.is-hidden .icon-eye {
    display: none;
}
.design-toolbar-view-visibility.is-hidden .icon-eye-off {
    display: block;
}
.design-toolbar-user-only {
    display: none;
}
.design-toolbar.user-logged-in .design-toolbar-user-only {
    display: flex;
}
.design-toolbar-view-option[data-requires-login] {
    display: none;
}
.design-toolbar.user-logged-in .design-toolbar-view-option[data-requires-login] {
    display: block;
}

.design-toolbar-label {
    margin-left: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 1.375rem;
}

/* Content panels - show/hide based on active tab */
.design-panel {
    display: none;
    min-height: calc(100vh - 5.5rem);
    margin-top: 5.5rem;
    background: var(--color-bg);
}
/* Padding tylko dla paneli zaplecza (Komponenty, Koncept, Wykonane itd.) */
.design-panel:not(.main-content) {
    padding: 2rem max(3rem, env(safe-area-inset-right)) 4rem max(3rem, env(safe-area-inset-left));
}

.design-panel.is-active {
    display: block;
}

#panel-wykonane,
#panel-historia,
#panel-uwagi {
    font-size: 1.6rem;
}

.uwagi-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
}
.uwagi-section.uwagi-wazne { border-left-color: #dc2626; }
.uwagi-section.uwagi-sugestie { border-left-color: #ca8a04; }
.uwagi-section.uwagi-design-system { border-left-color: var(--color-accent); }
.uwagi-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.uwagi-badge {
    font-size: 1.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
}
.uwagi-badge-wazne { background: rgba(220, 38, 38, 0.15); color: #dc2626; }
.uwagi-badge-sugestie { background: rgba(202, 138, 4, 0.2); color: #a16207; }
.uwagi-badge-ds { background: rgba(5, 126, 213, 0.15); }
.uwagi-list {
    margin: 0;
    padding-left: 1.5rem;
    line-height: 1.5;
}
.uwagi-list li {
    margin-bottom: 0.75rem;
}
.uwagi-list ul {
    margin: 0.25rem 0 0 1rem;
    padding-left: 1rem;
}

.uwagi-checklist { overflow-x: auto; }
.uwagi-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
}
.uwagi-table th, .uwagi-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-bg-alt);
}
.uwagi-table th {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}
.uwagi-table tbody tr:hover {
    background: rgba(14, 14, 19,0.02);
}
.uwagi-row-bad {
    background: rgba(220, 38, 38, 0.06);
}
.uwagi-status-ok {
    color: #16a34a;
    font-weight: 600;
}
.uwagi-status-bad {
    color: #dc2626;
    font-weight: 600;
}
.uwagi-value-clickable {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.uwagi-value-clickable:hover {
    color: var(--color-accent);
}
.uwagi-btn-poprawka {
    padding: 0.4rem 0.8rem;
    font-size: 1.4rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
}
.uwagi-btn-poprawka:hover {
    background: var(--color-accent-hover);
}
.uwagi-category-row td {
    background: var(--color-bg-alt);
    padding: 0.75rem 1rem;
    font-size: 1.2rem;
    border-top: 2px solid var(--color-accent);
}

.uwagi-detail-modal {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    max-width: 70rem;
    max-height: 80vh;
    overflow-y: auto;
}
.uwagi-detail-modal h4 {
    margin: 0 0 1rem;
    font-size: 1.6rem;
}
.uwagi-detail-modal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.4rem;
}
.uwagi-detail-modal th, .uwagi-detail-modal td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-bg-alt);
}
.uwagi-detail-modal th {
    font-weight: 600;
    color: var(--color-text-muted);
}

.main-content {
    margin-top: 0;
    position: relative;
}

/* Nagłówek jest w header.php (poza #panel-strona). Ten margin z makiety zostawiał pusty pas
   z tłem body (#fdfdfd) między paskiem admina WP a ciemnym paskiem menu — wygląda jak „biały pasek”. */
body.hgv-home-shell #panel-strona.main-content,
body.hgv-home-shell #panel-onas.main-content {
    margin-top: 0;
}

/* O nas (#panel-onas): nagłówek jak strona główna — na zdjęciu, biała typografia (nadpisuje header--light / wtyczki). */
body:has(#panel-onas) #panel-onas.main-content {
    margin-top: 0;
}
body:has(#panel-onas) .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    color: #fff;
}
body:has(#panel-onas) .header::before {
    display: block;
}
body:has(#panel-onas) .header .menu-toggle,
body:has(#panel-onas) .header .header-account,
body:has(#panel-onas) .header .header-cart,
body:has(#panel-onas) .header .logo-link {
    color: #fff;
}
body:has(#panel-onas) .header .menu-toggle svg,
body:has(#panel-onas) .header .header-account svg,
body:has(#panel-onas) .header .header-cart svg {
    color: #fff;
}
body:has(#panel-onas) .header .logo {
    filter: none;
}
body:has(#panel-onas) .header .logo-link .logo-fallback {
    color: #fff;
}
body:has(#panel-onas) .header .footer-lang-switch {
    border: none;
    background: rgba(255, 255, 255, 0.06);
}
body:has(#panel-onas) .header .footer-lang-option {
    color: rgba(255, 255, 255, 0.65);
}
body:has(#panel-onas) .header .footer-lang-option.is-active {
    background-color: #fff;
    color: #0e0e13;
}
body:has(#panel-onas) .header a.footer-lang-option:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}
@media (max-width: 768px) {
    body:has(#panel-onas) .header .header-right {
        background: transparent;
    }
}
body:has(#panel-onas) #content,
body:has(#panel-onas) #container {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}
body:has(#panel-onas) #wrapper {
    position: relative;
    overflow-x: clip;
}

/* Divider subtelny – komponent globalny */
.divider-subtle {
    border-bottom: var(--border-subtle);
}

/* Komponenty - Design System */
.ds-section {
    margin-bottom: 3rem;
}

.ds-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-bg-alt);
}

.ds-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.ds-color-swatch-box {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 14, 19,0.08);
    box-shadow: 0 2px 8px rgba(14, 14, 19,0.06);
}

.ds-color-swatch-label {
    font-size: 1.375rem;
    color: var(--color-text-muted);
}

.ds-color-swatch-hex {
    font-size: 1.25rem;
    font-family: monospace;
    color: var(--color-text-muted);
}

.ds-typography-row {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-bg-alt);
}

.ds-typography-spec {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    min-width: 17rem;
}

.ds-view-toggle {
    display: flex;
    gap: var(--space-4);
    margin-bottom: 1.5rem;
}

.ds-view-toggle button {
    padding: var(--space-6) var(--space-12);
    border: 1px solid var(--color-bg-alt);
    background: #fff;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.ds-view-toggle button.is-active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.ds-view-toggle button:hover:not(.is-active) {
    background: var(--color-bg-alt);
}

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

.ds-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 1.5rem;
}

.ds-button-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ds-button-label {
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-text);
}

.ds-button-desc {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

.ds-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.7rem;
}

.ds-spec-table th,
.ds-spec-table td {
    padding: 0.5rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-bg-alt);
}

.ds-spec-table th {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ds-spec-table code {
    background: var(--color-bg-alt);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.8em;
}

.ds-spacing-visual {
    display: inline-block;
    background: var(--color-accent);
    opacity: 0.3;
    border-radius: var(--radius-xs);
    vertical-align: middle;
}

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

/* Koncept - Designer notes */
.koncept-content {
    max-width: 90rem;
    line-height: 1.7;
}

.koncept-content h2 {
    font-size: 3rem;
    font-weight: 400;
    margin: 2rem 0 0.75rem;
    color: var(--color-text);
}

.koncept-content h2:first-child {
    margin-top: 0;
}

.koncept-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.koncept-content .lead {
    font-size: 2.2rem;
    color: var(--color-text);
}

/* Modal – widok nie zaprojektowany */
.design-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(14, 14, 19, 0.4);
    backdrop-filter: var(--backdrop-blur-sm);
    -webkit-backdrop-filter: var(--backdrop-blur-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.design-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.design-modal {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(14, 14, 19, 0.15);
    max-width: 40rem;
    text-align: center;
    font-size: 1.9rem;
    color: var(--color-text);
}

/* Komentarze */
.comment-mode-active .main-content {
    cursor: crosshair;
}

.comment-mode-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 50;
    cursor: crosshair;
}

.comment-mode-active .comment-mode-overlay {
    display: block;
}

.comment-toolbar-btn {
    margin-left: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.9);
    font-size: 1.375rem;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.comment-toolbar-btn:hover {
    background: rgba(255,255,255,0.2);
}

.comment-toolbar-btn.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.comments-pins-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 100;
}

.comments-pins-layer .comment-pin {
    pointer-events: auto;
}
.comments-pins-layer.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.comment-pin {
    position: absolute;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(14, 14, 19,0.2);
    transition: transform 0.2s;
    z-index: 101;
}

.comment-pin:hover {
    transform: scale(1.15);
}

.comment-form-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3010;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(14, 14, 19,0.2);
    min-width: 40rem;
    max-width: 90vw;
}

.comment-form-modal h4 {
    margin: 0 0 1rem;
    font-size: 1.9rem;
}

.comment-form-modal label {
    display: block;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.comment-form-modal textarea,
.comment-form-modal input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.comment-form-modal textarea {
    min-height: 4rem;
    resize: vertical;
}

.comment-form-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.comment-form-actions button {
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1.7rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.comment-form-actions .btn-save {
    background: var(--color-accent);
    color: #fff;
}

.comment-form-actions .btn-done {
    background: #22c55e;
    color: #fff;
}

.comment-form-actions .btn-cancel {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

/* Login */
.design-toolbar-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.design-toolbar-login .comment-toolbar-btn {
    margin-left: 0;
}
.design-toolbar-login .btn-logout {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.8);
    font-size: 1.375rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.design-toolbar-login .btn-logout:hover {
    background: rgba(255,255,255,0.1);
}
#accept-page-btn,
#accept-project-btn { background: rgba(34,197,94,0.3); color: #fff; }
#accept-page-btn:hover,
#accept-project-btn:hover { background: rgba(34,197,94,0.5); }
#accept-page-btn.is-accepted,
#accept-project-btn.is-accepted { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); cursor: default; }
#accept-page-btn.is-accepted:hover,
#accept-project-btn.is-accepted:hover { background: rgba(255,255,255,0.1); }
.login-modal {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(14, 14, 19,0.2);
    min-width: 35rem;
    max-width: 90vw;
}
.login-modal h4 {
    margin: 0 0 1rem;
    font-size: 1.9rem;
}
.login-modal label {
    display: block;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}
.login-modal input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.login-modal .login-error {
    font-size: 1.6rem;
    color: #dc2626;
    margin-bottom: 0.5rem;
    display: none;
}
.login-modal .login-error.is-visible {
    display: block;
}
.login-modal-actions {
    display: flex;
    gap: 0.5rem;
}
.login-modal-actions button {
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1.7rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.login-modal-actions .btn-login-submit {
    background: var(--color-accent);
    color: #fff;
}
.login-modal-actions .btn-login-cancel {
    background: var(--color-bg-alt);
    color: var(--color-text);
}
.accept-confirm-modal {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(14, 14, 19,0.2);
    min-width: 37rem;
    max-width: 90vw;
}
.accept-confirm-modal h4 {
    margin: 0 0 1rem;
    font-size: 1.9rem;
}
.sugestie-item {
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    border-left: 4px solid var(--color-accent);
}
.sugestie-item.sugestie-kreatywna {
    border-left-color: #8b5cf6;
}
.sugestie-item.sugestie-awwwards {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, transparent 100%);
}
.sugestie-item .sugestie-type {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}
.sugestie-item .sugestie-text {
    font-size: 1.8rem;
    color: var(--color-text);
}
.sugestie-item.is-applied {
    background: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, transparent 100%);
    border-left-color: #22c55e;
}
.sugestie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.sugestie-actions button {
    padding: 0.7rem 1.3rem;
    font-size: 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-weight: 500;
}
.sugestie-btn-apply {
    background: var(--color-accent);
    color: #fff;
}
.sugestie-btn-apply:hover {
    background: var(--color-accent-hover);
}
.sugestie-btn-revert {
    background: #f59e0b;
    color: #fff;
}
.sugestie-btn-revert:hover {
    background: #d97706;
}
.sugestie-btn-remove {
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-bg-alt);
}
.sugestie-btn-remove:hover {
    background: rgba(220,38,38,0.1);
    color: #dc2626;
    border-color: #dc2626;
}
.sugestie-refresh-wrap {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-bg-alt);
}
.sugestie-btn-refresh {
    padding: 1.2rem 2.5rem;
    font-size: 1.8rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
}
.sugestie-btn-refresh:hover {
    background: var(--color-accent-hover);
}
.sugestie-item-with-thumb {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.sugestie-item-with-thumb .sugestie-thumb {
    flex-shrink: 0;
    width: var(--size-120);
    height: var(--size-80);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-alt);
}
.sugestie-item-with-thumb .sugestie-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sugestie-item-with-thumb .sugestie-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.sugestie-item-with-thumb .sugestie-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-text-muted);
    text-decoration: none;
}
.sugestie-item-with-thumb .sugestie-thumb-placeholder:hover {
    background: rgba(14, 14, 19,0.05);
}
.sugestie-item-with-thumb .sugestie-body {
    flex: 1;
    min-width: 0;
}
.sugestie-prompt-modal {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(14, 14, 19,0.2);
    min-width: 50rem;
    max-width: 90vw;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.sugestie-prompt-modal h4 {
    margin: 0 0 0.75rem;
    font-size: 1.9rem;
}
.sugestie-prompt-modal p {
    font-size: 1.6rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}
.sugestie-prompt-modal textarea {
    width: 100%;
    min-height: 15rem;
    padding: 0.75rem;
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1.7rem;
    resize: vertical;
    margin-bottom: 1rem;
}
.sugestie-prompt-modal-actions {
    display: flex;
    gap: 0.5rem;
}
.sugestie-prompt-modal-actions button {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.sugestie-prompt-modal-actions .btn-copy {
    background: var(--color-accent);
    color: #fff;
}
.sugestie-prompt-modal-actions .btn-close {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

/* Unsplash + Assets */
.unsplash-search-wrap {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.unsplash-search-wrap input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-bg-alt);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
}
.unsplash-search-wrap input[type="number"] {
    flex: 0 0 auto;
}
.picsum-controls .unsplash-search-wrap {
    flex-wrap: wrap;
}
.unsplash-search-wrap button {
    padding: 1.2rem 2.5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.8rem;
}
.unsplash-grid, .assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 1rem;
}
.unsplash-item, .assets-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg-alt);
    aspect-ratio: 1;
}
.unsplash-item img, .assets-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.assets-item .assets-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
}
.unsplash-item .unsplash-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 19,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.unsplash-item:hover .unsplash-overlay {
    opacity: 1;
}
.unsplash-item .unsplash-add-btn {
    padding: 1rem 2rem;
    background: #fff;
    color: #0e0e13;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 500;
}
.unsplash-item .unsplash-add-btn:hover {
    background: var(--color-accent);
    color: #fff;
}
.assets-item .assets-filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 0.5rem;
    background: rgba(14, 14, 19,0.7);
    color: #fff;
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.unsplash-section, .assets-section {
    margin-bottom: 2.5rem;
}
.unsplash-section h4, .assets-section h4 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}
.unsplash-loading, .unsplash-error {
    padding: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.8rem;
}
.unsplash-error { color: #dc2626; }
.icon-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    position: relative;
}
.icon-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.icon-item .icon-add-btn {
    position: absolute;
    inset: 0;
    background: rgba(14, 14, 19,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: var(--radius-lg);
}
.icon-item:hover .icon-add-btn {
    opacity: 1;
}
.icon-item .icon-add-btn button {
    padding: 0.8rem 1.6rem;
    font-size: 1.5rem;
    background: #fff;
    color: #0e0e13;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}
.icon-item .icon-add-btn button:hover {
    background: var(--color-accent);
    color: #fff;
}
.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 0.75rem;
}

/* Taby integracji w Pobierz grafiki */
.grafiki-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-bg-alt);
}
.grafiki-tabs button {
    padding: 0.8rem 1.4rem;
    font-size: 1.5rem;
    font-weight: 500;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.grafiki-tabs button:hover {
    background: rgba(14, 14, 19,0.08);
    color: var(--color-text);
}
.grafiki-tabs button.is-active {
    background: var(--color-accent);
    color: #fff;
}
.grafiki-tab-panel {
    display: none;
}
.grafiki-tab-panel.is-active {
    display: block;
}

/* Google Fonts panel */
.google-fonts-preview {
    padding: 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}
.google-fonts-preview-label {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}
.google-fonts-preview-text {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0;
    min-height: 2em;
    line-height: 1.3;
}
.google-fonts-filters { font-size: 0.9rem; }
.google-fonts-filter-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.google-fonts-filter-row:last-child { margin-bottom: 0; }
.google-fonts-filter-label { color: var(--color-text-muted); min-width: 2.5rem; }
.google-fonts-letter-btns { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.google-fonts-letter-btn {
    min-width: 1.8rem; height: 1.8rem; padding: 0 0.3rem;
    font-size: 1.2rem; font-weight: 600; border-radius: var(--radius-sm);
    border: 1px solid var(--color-bg-alt); background: var(--color-bg-alt);
    cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.google-fonts-letter-btn:hover { background: rgba(14, 14, 19,0.06); }
.google-fonts-letter-btn.is-active { border-color: var(--color-accent); background: rgba(5,126,213,0.1); color: var(--color-accent); }
.google-fonts-list {
    max-height: 52rem;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
    gap: 0.75rem;
}
.google-fonts-item {
    padding: 0.9rem 1.2rem;
    font-size: 2.1rem;
    background: var(--color-bg-alt);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: left;
}
.google-fonts-item:hover {
    background: rgba(14, 14, 19,0.05);
}
.google-fonts-item.is-selected {
    border-color: var(--color-accent);
    background: rgba(14, 14, 19,0.04);
}
#panel-google-fonts .comment-toolbar-btn {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
#panel-google-fonts .comment-toolbar-btn:hover:not(:disabled) {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}
#panel-google-fonts .comment-toolbar-btn:disabled {
    background: var(--color-bg-alt);
    border-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    cursor: not-allowed;
    opacity: 0.8;
}

.comment-done-item {
    padding: 1rem;
    background: #f0fdf4;
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
    border-left: 4px solid #22c55e;
}

.comment-done-item .comment-done-content {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.comment-done-item .comment-done-meta {
    font-size: 1.5rem;
    color: var(--color-text-muted);
}

/* Baza wiedzy / FAQ – sekcja na stronie głównej */
div#panel-faq {
    padding: 0;
}


/* ===== HEADER – dwa style =====
 * header--hero: strona główna, O nas i inne widoki z hero (film/zdjęcie) — pasek NA mediach.
 * header--light: podstrony bez hero (np. produkt) — biały pasek, ciemna typografia.
 */
.header.header--light {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: var(--color-bg);
    border-bottom: var(--border-subtle);
}
.header--light::before {
    display: none;
}
.header--light .menu-toggle,
.header--light .header-account,
.header--light .header-cart,
.header--light .logo-link {
    color: var(--color-text);
}
.header--light .menu-toggle svg,
.header--light .header-account svg,
.header--light .header-cart svg {
    color: var(--color-text);
}
.header--light .menu-toggle.is-open {
    color: var(--color-text);
    background: transparent;
}
.header--light .menu-toggle.is-open svg {
    color: var(--color-text);
}
.header--light .menu-toggle.is-open:hover {
    background: rgba(14, 14, 19, 0.06);
}
.header--light .logo {
    filter: invert(1);
}
.header--light .logo-link span {
    color: var(--color-text);
}
.header--light .footer-lang-switch {
    border: 1px solid var(--color-text-muted);
}
.header--light .footer-lang-option {
    color: var(--color-text-muted);
}
.header--light .footer-lang-option.is-active {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}
.header--light .footer-lang-option:hover {
    color: var(--color-text);
}

/* --- Hero: makietowy nagłówek na zdjęciu / wideo (białe elementy, gradient z ::before). --- */
.header.header--hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    color: #fff;
}
.header.header--hero::before {
    display: block;
}
.header.header--hero .menu-toggle,
.header.header--hero .header-account,
.header.header--hero .header-cart,
.header.header--hero .logo-link {
    color: #fff;
}
.header.header--hero .menu-toggle svg,
.header.header--hero .header-account svg,
.header.header--hero .header-cart svg {
    color: #fff;
}
.header.header--hero .logo {
    filter: none;
}
.header.header--hero .logo-link .logo-fallback {
    color: #fff;
}
.header.header--hero .footer-lang-switch {
    border: none;
    background: rgba(255, 255, 255, 0.06);
}
.header.header--hero .footer-lang-option {
    color: rgba(255, 255, 255, 0.65);
}
.header.header--hero .footer-lang-option.is-active {
    background-color: #fff;
    color: #0e0e13;
}
.header.header--hero a.footer-lang-option:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

/* Shell WP: wymuś „pływający” nagłówek (wtyczki / stary CSS często dodają białe tło). */
body.hgv-home-shell .header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    color: #fff;
}
body.hgv-home-shell .header::before,
body.hgv-home-shell .header.header--light::before {
    display: block;
}
body.hgv-home-shell .header .menu-toggle,
body.hgv-home-shell .header .header-account,
body.hgv-home-shell .header .header-cart,
body.hgv-home-shell .header .logo-link {
    color: #fff;
}
body.hgv-home-shell .header .menu-toggle svg,
body.hgv-home-shell .header .header-account svg,
body.hgv-home-shell .header .header-cart svg {
    color: #fff;
}
/* Nadpisanie białej ikony z shell/hero — przy .is-open ciemny kolor, bez tła (wyższa specyficzność). */
body.hgv-home-shell .header .menu-toggle.is-open {
    color: var(--color-text);
    background: transparent;
}
body.hgv-home-shell .header .menu-toggle.is-open svg {
    color: var(--color-text);
}
body.hgv-home-shell .header .menu-toggle.is-open:hover {
    background: rgba(14, 14, 19, 0.06);
}
body:has(#panel-onas) .header .menu-toggle.is-open {
    color: var(--color-text);
    background: transparent;
}
body:has(#panel-onas) .header .menu-toggle.is-open svg {
    color: var(--color-text);
}
body:has(#panel-onas) .header .menu-toggle.is-open:hover {
    background: rgba(14, 14, 19, 0.06);
}
.header.header--hero .menu-toggle.is-open {
    color: var(--color-text);
    background: transparent;
}
.header.header--hero .menu-toggle.is-open svg {
    color: var(--color-text);
}
.header.header--hero .menu-toggle.is-open:hover {
    background: rgba(14, 14, 19, 0.06);
}
body.hgv-home-shell .header .logo {
    filter: none;
}
body.hgv-home-shell .header .logo-link .logo-fallback {
    color: #fff;
}
body.hgv-home-shell .header .footer-lang-switch {
    border: none;
    background: rgba(255, 255, 255, 0.06);
}
body.hgv-home-shell .header .footer-lang-option {
    color: rgba(255, 255, 255, 0.65);
}
body.hgv-home-shell .header .footer-lang-option.is-active {
    background-color: #fff;
    color: #0e0e13;
    border-color: transparent;
}
body.hgv-home-shell .header a.footer-lang-option:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    body.hgv-home-shell .header .header-right {
        background: transparent;
    }
}

.faq-section {
    padding: 0 8% 8rem;
    margin: 0 auto;
}
.faq-breadcrumb {
    font-size: var(--font-size-caption);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.faq-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.faq-breadcrumb a:hover { color: var(--color-accent); }
.faq-breadcrumb span { margin: 0 0.5rem; }
.faq-page-title {
    margin: 0 0 2rem;
}
.faq-title {
    font-size: var(--font-size-h2);
    font-weight: 400;
    margin-bottom: 6rem;
    letter-spacing: var(--letter-spacing);
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--color-bg-alt); }
.faq-item:first-child { border-top: 1px solid var(--color-bg-alt); }
.faq-question {
    width: 100%;
    padding: 2.5rem 1.5rem;
    border: none;
    background: none;
    text-align: left;
    font-family: inherit;
    font-size: calc(var(--font-size-h5) * 1.5);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--color-accent); }
.faq-question::after {
    content: '';
    flex-shrink: 0;
    width: var(--size-8);
    height: var(--size-8);
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.75rem;
    transition: transform 0.3s ease;
}
.faq-item.is-open .faq-question::after {
    transform: rotate(-135deg);
    margin-top: var(--space-4);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.is-open .faq-answer { max-height: 62rem; }
.faq-answer-inner {
    padding: 2rem 1.5rem 5rem;
    font-size: var(--font-size-body);
    color: var(--color-text-muted);
    font-weight: 600;
}

.faq-answer-inner p { margin-bottom: 1rem; line-height: 1.4; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
    .faq-section { padding: 0 5% 6rem; }
    .faq-title { font-size: var(--font-size-h3); margin-bottom: 4rem; }
    .faq-question { font-size: var(--font-size-body); padding: 2rem 0; }
    .faq-answer-inner { padding: 2rem 0 5rem; }
}

body.hgv-home-shell #content,
body.hgv-home-shell #container {
	max-width: none;
	width: 100%;
	padding: 0;
	margin: 0;
}
body.hgv-home-shell #wrapper {
	position: relative;
	overflow-x: clip;
}

