/* --- PAGE TRANSITIONS --- */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: page-fade-out 0.25s ease-out forwards;
}

::view-transition-new(root) {
    animation: page-fade-in 0.3s ease-out forwards;
}

@keyframes page-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Fallback dla przeglądarek bez View Transitions API */
body {
    opacity: 1;
}

body.page-exit {
    animation: page-fade-out 0.35s ease-in-out forwards;
}

body.page-enter {
    animation: page-fade-in 0.35s ease-in-out forwards;
}

/* Wyłącz animacje dla użytkowników preferujących reduced motion */
@media (prefers-reduced-motion: reduce) {
    @view-transition {
        navigation: none;
    }
    
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }
    
    body.page-exit,
    body.page-enter {
        animation: none;
    }
}

/* --- SLIDE-IN Z BOKÓW (po wejściu na stronę) --- */
@keyframes slide-in-from-left {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-36px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

@keyframes slide-in-from-right {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateX(36px);
    }
    to {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

@keyframes hero-bg-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in {
    from { opacity: 0; visibility: hidden; }
    to { opacity: 1; visibility: visible; }
}

/* Header – wjazd z prawej (tylko strona główna) */
html.anim-pending body:not(.page-sub) .header-sticky:not(.header-hidden),
html.has-js body:not(.page-sub) .header-sticky:not(.header-hidden) {
    opacity: 0;
    visibility: hidden;
    transform: translateX(36px);
}

body.slide-in-ready:not(.page-sub) .header-sticky {
    animation: slide-in-from-right 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.35s both;
}

/* Po zakończeniu animacji: jawny opacity i transform, żeby przy dodaniu .header-hidden
   header się płynnie schował (transform), a nie znikał (opacity z html.has-js). */
body.slide-in-ready:not(.page-sub) .header-sticky:not(.header-hidden) {
    opacity: 1;
    transform: translateX(0);
}

/* Stan początkowy – elementy main ukryte (tylko strona główna) */
html.anim-pending body:not(.page-sub) main > *,
html.has-js body:not(.page-sub) main > * {
    opacity: 0;
    visibility: hidden;
}

html.anim-pending body:not(.page-sub) main > *:nth-child(odd),
html.has-js body:not(.page-sub) main > *:nth-child(odd) {
    transform: translateX(-36px);
}

html.anim-pending body:not(.page-sub) main > *:nth-child(even),
html.has-js body:not(.page-sub) main > *:nth-child(even) {
    transform: translateX(36px);
}

/* Hero na głównej – tło białe, obraz pojawia się po chwili; treść (hero-container) wjeżdża z lewej */
html.has-js body:not(.page-sub) main > .hero {
    opacity: 1;
    visibility: visible;
    transform: none;
}

html.anim-pending body:not(.page-sub) main > .hero .hero-container,
html.has-js body:not(.page-sub) main > .hero .hero-container {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-36px);
}

body.slide-in-ready:not(.page-sub) main > .hero {
    animation: none;
}

body.slide-in-ready:not(.page-sub) main > .hero .hero-container {
    animation: slide-in-from-left 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

/* Animacja wjazdu – pozostałe sekcje main (tylko strona główna) */
body.slide-in-ready:not(.page-sub) main > * {
    animation-duration: 1.8s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-fill-mode: both;
}

body.slide-in-ready:not(.page-sub) main > *:nth-child(odd) {
    animation-name: slide-in-from-left;
    animation-delay: 0.7s;
}

body.slide-in-ready:not(.page-sub) main > *:nth-child(even) {
    animation-name: slide-in-from-right;
    animation-delay: 0.95s;
}

body.slide-in-ready:not(.page-sub) main > *:nth-child(3) { animation-delay: 1.3s; }
body.slide-in-ready:not(.page-sub) main > *:nth-child(4) { animation-delay: 1.65s; }
body.slide-in-ready:not(.page-sub) main > *:nth-child(5) { animation-delay: 2s; }

/* Podstrony – brak animacji (tylko strona główna ma animacje, desktop i mobile) */
html.anim-pending body.page-sub .header-sticky:not(.header-hidden),
html.has-js body.page-sub .header-sticky:not(.header-hidden),
html.anim-pending body.page-sub main > *,
html.has-js body.page-sub main > *,
html.anim-pending body.page-sub main > .hero .hero-container,
html.has-js body.page-sub main > .hero .hero-container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.slide-in-ready.page-sub .header-sticky,
body.slide-in-ready.page-sub main > * {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero::after {
        opacity: 1;
    }
    body.slide-in-ready .hero::after {
        animation: none;
    }
    html.anim-pending .header-sticky,
    html.has-js .header-sticky,
    html.anim-pending main > *,
    html.has-js main > *,
    html.anim-pending main > .hero .hero-container,
    html.has-js main > .hero .hero-container,
    html.has-js body.page-sub .header-sticky:not(.header-hidden),
    html.has-js body.page-sub main > * {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    body.slide-in-ready .header-sticky,
    body.slide-in-ready main > *,
    body.slide-in-ready main > .hero .hero-container {
        animation: none;
    }
}

/* --- RESET I BAZA --- */
/* Rozmiar pliku: wiele komponentów (header, hero, karty, tabele, formularze, strony treściowe),
   kilka breakpointów (480–1024px) oraz powtarzające się wartości – bez zmiennych. Nieużywane
   bloki .content-section i .pricing-section zostały usunięte. */

:root {
    --color-primary: #FF6B00;
    --color-primary-dark: #e65a00;
    --color-primary-darker: #d14d00;
    --color-link: #0066cc;
    --color-text: #333;
    --color-text-muted: #555;
    --color-heading: #1a1a1a;
    --container-max: 1200px;
}

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

/* Rezerwa miejsca na pasek przewijania – brak „przycięcia” przy wejściu na stronę.
 * overflow-x na html (nie na body) – inaczej body tworzy containing block i łamią się
 * position: sticky (header) oraz position: fixed (menu mobilne, przycisk do góry, cookie).
 */
html {
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    scroll-behavior: auto; /* auto = mniejsze obciążenie niż smooth */
}

a { text-decoration: none; }
ul { list-style: none; }

/* Dostępność: widoczny focus z klawiatury */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Skip link – widoczny po focusie z klawiatury */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 12px 20px;
    background: #0066cc;
    color: #fff;
    font-weight: 600;
    z-index: 1000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* Ukrycie wizualne z zachowaniem dla czytników ekranu (WCAG) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* --- STICKY HEADER (chowa się przy przewijaniu w dół) --- */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease-out;
}

.header-sticky.header-hidden,
body.slide-in-ready .header-sticky.header-hidden,
body.page-sub .header-sticky.header-hidden {
    animation: none !important;
    opacity: 1 !important; /* tylko przesunięcie w górę, bez zanikania */
    transition: transform 0.4s ease-out !important;
    transform: translateY(-100%) !important;
}

/* --- PRZYCISK „DO GÓRY” --- */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #FF6B00;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease; /* bez visibility = mniejsze obciążenie */
}

.scroll-to-top--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #e65a00;
}

.scroll-to-top:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* --- NAWIGACJA (HEADER) --- */
header {
    background-color: transparent;
    padding: 24px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #222;
    letter-spacing: -0.5px;
    text-decoration: underline;
    text-decoration-color: #0066cc;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link .site-logo {
    display: block;
    max-height: 80px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
}

.logo-accent {
    color: #0066cc;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.header-info__phone {
    font-size: 1.15rem;
    font-weight: 700;
    color: #c41e1e;
}

.header-info__email {
    font-size: 0.9rem;
    color: #555;
}

.header-info a:hover {
    color: #FF6B00;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    flex: 1;
}

nav ul li a {
    color: #444;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: none; /* natychmiastowa zmiana kursora i koloru przy hover */
}

nav ul li a:hover {
    color: #FF6B00;
}

/* Przycisk Kontakt w menu */
.nav-btn {
    background-color: #FF6B00;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease; /* bez transition na color – szybsza reakcja kursora */
}
.nav-btn:hover {
    background-color: #e65a00;
    transform: translateY(-1px);
}

.nav-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* --- SEKCJA HERO --- */
.hero {
    background-color: #f8f8f8;
    min-height: 100vh;
    margin-top: -120px;
    padding-top: 120px;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Obraz tła – pojawia się po chwili od załadowania strony */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/thermal-new.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
}

html:not(.has-js) .hero::after {
    opacity: 1;
}

body.slide-in-ready:not(.page-sub) .hero::after {
    animation: hero-bg-reveal 1.6s ease-out 1s both;
}

/* Biały gradient od góry, żeby tekst był czytelny, jeśli niebo nie jest idealnie białe */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0));
    z-index: 1;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2; /* Powyżej gradientu */
    padding-bottom: 20px; /* Lekko niżej niż normalnie */
}

/* Lewa kolumna - Tekst */
.hero-text {
    width: 50%; /* Większa szerokość tekstu */
    padding-right: 50px; /* Większy margines od obrazka */
}

h1 {
    font-size: 3.2rem; /* Większy nagłówek */
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 35px;
    max-width: 90%;
}

.cta-button {
    display: inline-block;
    background-color: #e65a00;
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #d14d00;
}

.cta-button:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Prawa kolumna – placeholder (tło hero w CSS) */
.hero-image {
    width: 50%;
    min-height: 1px;
}

/* --- MENU MOBILNE (Burger) --- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10002;
    transition: opacity 0.2s ease;
}
.burger:hover { opacity: 0.8; }
.burger:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}
.burger__line {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger[aria-expanded="true"] .burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__line:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] .burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- RESPANSYWNOŚĆ (Mobile) --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    .hero-container { 
        flex-direction: column; 
        text-align: center; 
        padding-top: 60px;
        padding-bottom: 10px;
    }
    .hero-text { 
        width: 100%; 
        padding-right: 0; 
        margin-bottom: 40px; 
    }
    .hero-description { 
        margin: 0 auto 30px auto;
        max-width: 100%;
        font-size: 1.05rem;
        font-weight: 500;
        color: #1a1a1a;
        text-shadow: 0 2px 4px rgba(255,255,255,0.8);
        background: rgba(255,255,255,0.7);
        padding: 15px 12px;
        border-radius: 4px;
    }
    .hero-image { 
        display: none; /* Ukrycie pustego placeholdera na mobile */
    }
    .burger { display: flex; }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        background: #fff;
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        /* Spacery, żeby pozycje menu były wyśrodkowane w widocznym obszarze (pod paskiem) */
        padding-top: 72px;
        box-sizing: border-box;
    }
    nav::before,
    nav::after {
        content: '';
        flex: 1;
        min-height: 0;
    }
    /* Blokada przewijania: na html i body, żeby fixed (menu overlay) było względem viewportu */
    html.mobile-nav-open,
    body.mobile-nav-open {
        overflow: hidden;
    }
    body.mobile-nav-open .header-sticky {
        z-index: 10002;
    }
    body.mobile-nav-open nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    nav ul li a {
        font-size: 1.2rem;
    }
    nav ul li:last-child {
        margin-top: 1rem;
    }
    .header-info {
        align-items: center;
    }
    .logo { flex-grow: 1; text-align: center; }
    /* Na mobile: header zawsze widoczny i bez transformu. Brak transformu jest potrzebny,
       żeby position:fixed w nav było względem viewportu (inaczej pozycje menu „uciekają” do góry).
       Bez animacji wjazdu – header od razu widoczny. */
    html.has-js body:not(.page-sub) .header-sticky:not(.header-hidden),
    html.anim-pending body:not(.page-sub) .header-sticky,
    html.has-js body.page-sub .header-sticky:not(.header-hidden) {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    body.slide-in-ready:not(.page-sub) .header-sticky {
        animation: none !important;
    }
    .header-sticky.header-hidden {
        transform: translateY(-100%) !important;
    }
}

@media (max-width: 768px) {
    header {
        padding: 20px 4%;
    }
    
    .logo-link .site-logo {
        max-height: 68px;
        max-width: 280px;
    }
    
    .header-info__phone {
        font-size: 1.05rem;
    }
    
    .header-info__email {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 16px 4%;
    }
    
    .logo-link .site-logo {
        max-height: 56px;
        max-width: 260px;
    }
    
    .header-info {
        gap: 2px;
    }
    
    .header-info__phone {
        font-size: 1rem;
    }
    
    .header-info__email {
        font-size: 0.8rem;
    }
}

/* --- FOOTER --- */
.site-footer {
    margin-top: 80px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    color: #e5e5e5;
    padding: 48px 5% 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px 32px;
    padding-bottom: 32px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .footer-desc {
    max-width: 280px;
    line-height: 1.6;
    color: #b0b0b0;
}

.footer-title {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    color: #FF6B00;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list a,
.footer-contact a {
    color: #b0b0b0;
    font-size: 0.95rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-list a:hover,
.footer-contact a:hover {
    color: #FF6B00;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.875rem;
}

.footer-copy {
    margin: 0;
    color: #888;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #888;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #FF6B00;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 32px;
    }
    
    .footer-section {
        gap: 14px;
    }
    
    .footer-title {
        font-size: 0.72rem;
        margin-bottom: 6px;
    }
    
    .footer-list {
        gap: 11px;
    }
    
    .footer-list a,
    .footer-contact a {
        font-size: 0.93rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 18px 0 22px;
        gap: 12px;
    }
    
    .footer-copy {
        font-size: 0.85rem;
    }
    
    .footer-legal {
        gap: 20px;
    }
    
    .footer-legal a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .site-footer {
        margin-top: 64px;
        padding: 40px 4% 0;
    }
    
    .footer-content {
        gap: 32px;
        padding-bottom: 28px;
    }
    
    .footer-brand .footer-desc {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    
    .footer-list a,
    .footer-contact a {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding: 16px 0 20px;
    }
}

/* --- COOKIE NOTICE --- */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: #1a1a1a;
    color: #e5e5e5;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    padding: 16px 5%;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    animation: cookie-notice-in 0.35s ease-out;
}

.cookie-notice--hidden {
    animation: cookie-notice-out 0.3s ease-in forwards;
}

@keyframes cookie-notice-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookie-notice-out {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-notice__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-notice__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #b0b0b0;
    flex: 1;
    min-width: 200px;
}

.cookie-notice__text a {
    color: #FF6B00;
    text-decoration: underline;
}

.cookie-notice__text a:hover {
    color: #ff8533;
}

.cookie-notice__actions {
    flex-shrink: 0;
}

.cookie-notice__btn {
    padding: 10px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #FF6B00;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.cookie-notice__btn:hover {
    background: #e55f00;
}

.cookie-notice__btn:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .cookie-notice {
        bottom: 12px;
        left: 12px;
        right: 12px;
        border-radius: 12px;
        padding: 14px 4%;
        padding-bottom: max(14px, calc(12px + env(safe-area-inset-bottom)));
    }
}

@media (max-width: 600px) {
    .cookie-notice {
        padding: 14px 4%;
        padding-bottom: max(14px, calc(12px + env(safe-area-inset-bottom)));
    }

    .cookie-notice__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 14px;
    }
    
    .cookie-notice__text {
        font-size: 0.88rem;
        line-height: 1.55;
    }

    .cookie-notice__btn {
        width: 100%;
        padding: 11px 22px;
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        padding: 12px 4%;
        padding-bottom: max(12px, calc(12px + env(safe-area-inset-bottom)));
    }
    
    .cookie-notice__text {
        font-size: 0.85rem;
    }
    
    .cookie-notice__btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* --- KONTENER GŁÓWNY --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- SEKCJA TREŚCI (Content Main) --- */
.content-main {
    padding: 72px 5% 80px;
    background: linear-gradient(180deg, #f5f5f5 0%, #fff 100%);
}

.content-main .content-intro {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.content-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #FF6B00;
    margin-bottom: 12px;
}

.content-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
    border: none;
    padding: 0;
}

.content-cards {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.content-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease; /* tylko transform – box-shadow bez animacji = mniejsze obciążenie */
}

.content-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.content-card--thermal {
    grid-template-columns: 35% 1fr;
}

.content-card__media {
    position: relative;
    min-height: 280px;
    background: #1a1a1a;
}

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

.content-card__body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-card__body--full {
    grid-column: 1 / -1;
}

.content-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
    line-height: 1.3;
}

.content-card ul {
    margin: 0 0 24px;
    padding-left: 20px;
    list-style: disc;
}

.content-card ul li {
    font-size: 1rem;
    line-height: 1.65;
    color: #555;
    margin-bottom: 8px;
}

.content-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: #555;
    margin: 0 0 20px;
}

.content-card__link {
    display: inline-block;
    font-weight: 600;
    color: #FF6B00;
    font-size: 0.95rem;
    margin-top: auto;
    align-self: flex-start;
}

.content-card__link:hover {
    color: #e65a00;
    text-decoration: underline;
}

.content-card__link--external::after {
    content: " \2197";
    font-size: 0.85em;
}

@media (max-width: 900px) {
    .content-card,
    .content-card--thermal {
        grid-template-columns: 1fr;
    }

    .content-card__media {
        min-height: 240px;
        order: -1;
    }

    .content-card__body {
        padding: 32px 28px;
    }

    .content-main {
        padding: 64px 5% 72px;
    }

    .content-title {
        font-size: 1.65rem;
    }
    
    .content-intro {
        margin-bottom: 40px;
    }
}

/* --- SERVICE AREA SECTION --- */
.service-area {
    padding: 72px 5% 80px;
    background-color: #fff;
}

.service-area .container,
.service-area__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.service-area .content-intro {
    margin-bottom: 32px;
    text-align: center;
}

.service-area .content-title {
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.service-area__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0 auto 48px;
    text-align: center;
    max-width: 800px;
}

.service-area__subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 28px;
    text-align: center;
}

.table-container {
    overflow-x: auto;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.locations-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
}

.locations-table thead {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
}

.locations-table th {
    color: white;
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    letter-spacing: 0.5px;
}

.th-content {
    display: block;
    white-space: nowrap;
}

.locations-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #424242;
    vertical-align: middle;
}

.locations-table td strong {
    color: #202124;
    font-weight: 600;
}

.locations-table td em {
    color: #FF6B00;
    font-style: italic;
    font-weight: 500;
}

.location-distance {
    display: inline-block;
    background: #FFF3E0;
    color: #E65100;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
}

.locations-table tbody tr {
    transition: all 0.2s ease;
}

.locations-table tbody tr:last-child td {
    border-bottom: none;
}

.locations-table tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

.locations-table tbody tr:hover {
    background-color: #FFF8F2;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.1);
}

.locations-table tbody tr:hover td strong {
    color: #FF6B00;
}

/* Responsive table styles */
@media (max-width: 768px) {
    .service-area {
        padding: 64px 4% 72px;
    }
    
    .service-area .content-intro {
        margin-bottom: 28px;
    }
    
    .service-area .content-title {
        font-size: 1.65rem;
    }
    
    .service-area__subtitle {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .service-area__lead {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .locations-table th {
        padding: 14px 12px;
        font-size: 0.85rem;
    }
    
    .locations-table td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
    
    .location-distance {
        font-size: 0.85rem;
        padding: 3px 8px;
    }
    
    .table-container {
        font-size: 0.9rem;
        margin-top: 8px;
    }
}

@media (max-width: 600px) {
    .table-container {
        overflow-x: visible;
        margin: 0 -4%;
        width: calc(100% + 8%);
        border-radius: 0;
        box-shadow: none;
    }

    .locations-table {
        border-radius: 0;
        display: block;
    }

    .locations-table thead {
        display: none;
    }

    .locations-table tbody {
        display: block;
    }

    .locations-table tbody tr {
        display: block;
        margin-bottom: 16px;
        padding: 16px;
        background: white;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .locations-table tbody tr:hover {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    }

    .locations-table td {
        display: block;
        padding: 10px 0;
        border-bottom: none;
        text-align: left;
    }

    .locations-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        color: #FF6B00;
        font-size: 0.85rem;
        margin-bottom: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .locations-table td strong {
        font-size: 1.1rem;
    }

    .location-distance {
        display: inline-block;
        margin-top: 4px;
    }

    .locations-table td em {
        display: block;
        margin-top: 6px;
    }

    .service-area {
        padding: 52px 4% 64px;
    }

    .service-area .content-intro {
        margin-bottom: 24px;
    }

    .service-area .content-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }

    .service-area__subtitle {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .service-area__lead {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 36px;
    }
}

/* --- STRONY TREŚCIOWE (np. świadectwa) --- */
.page-main {
    padding-bottom: 80px;
}

.page-hero {
    position: relative;
    padding: 80px 5% 72px;
    background: linear-gradient(180deg, #fff8f4 0%, #fff 100%);
    text-align: center;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #ABDCF0;
}

.page-hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #FF6B00;
    margin-bottom: 16px;
}

.page-hero__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    line-height: 1.25;
}

.page-hero__lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.page-content {
    padding: 72px 5% 40px;
}

.page-block {
    margin-bottom: 56px;
}

.page-block--accent {
    padding-left: 24px;
    border-left: 4px solid rgba(255, 107, 0, 0.22);
}

.page-block--legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 28px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.page-block--legal h2:first-child {
    margin-top: 0;
}

.page-block__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-block__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
}

.page-block__icon svg {
    width: 24px;
    height: 24px;
}

.page-block__subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 28px 0 16px;
}

.page-block__intro {
    margin-bottom: 16px;
    color: #555;
    line-height: 1.7;
}

.page-block ul {
    margin: 0 0 24px;
    padding-left: 22px;
    list-style: none;
}

.page-block ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
    padding-left: 8px;
    position: relative;
}

.page-block ul li::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FF6B00;
}

/* Kropki w jednej linii z pierwszą linią tekstu (np. „Mieszkanie jednopoziomowe…”) */
.page-pricing-list .page-pricing-item::before {
    top: 26px;
    margin-top: 0;
}

.page-block p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}

.page-block a {
    color: #0066cc;
    text-decoration: underline;
}

.page-block a:hover {
    color: #FF6B00;
}

.page-image-block-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 24px 0;
    align-items: stretch;
}

.page-image-block-row .page-image-block {
    flex: 1 1 280px;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.page-image-block-row .page-image-block img {
    flex: 0 0 auto;
}

.page-image-block-row .page-image-block__caption {
    margin-top: auto;
    padding-top: 10px;
}

.page-image-block {
    margin: 32px 0;
    max-width: 420px;
    padding: 14px;
    border: 4px solid #888;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
}

.page-image-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    pointer-events: none;
}

.page-image-block__img-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.page-image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.page-image-block--small-img img {
    max-width: 82%;
    margin-left: auto;
    margin-right: auto;
}

.page-image-block--large {
    max-width: 560px;
}

.page-image-block__caption {
    position: relative;
    z-index: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: #222;
    margin-top: 10px;
    font-style: italic;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 4px;
}

.page-block--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-cta {
    text-align: center;
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #e5e5e5;
}

.page-block--highlight {
    background: linear-gradient(135deg, #fff8f4 0%, #fff 100%);
    border-left: 4px solid rgba(255, 107, 0, 0.22);
    padding: 28px 24px;
    border-radius: 8px;
}

/* --- CENNIK (page pricing) --- */
.page-pricing-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-pricing-item {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.page-pricing-item:last-of-type {
    border-bottom: none;
}

.page-pricing-item__name {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.page-pricing-item__price {
    font-weight: 700;
    color: #FF6B00;
    font-size: 1.1rem;
}

.page-pricing-item__price small {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
}

.page-pricing-item__note {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.page-pricing-highlight {
    margin-top: 24px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: baseline;
}

.page-pricing-highlight__label {
    font-weight: 600;
    color: #333;
}

.page-pricing-highlight__price {
    font-weight: 700;
    color: #FF6B00;
    font-size: 1.25rem;
}

.page-pricing-highlight__note {
    width: 100%;
    font-size: 0.9rem;
    color: #666;
}

/* --- KONTAKT I CENNIK (odstęp od góry) --- */
.page-main--contact .page-hero,
.page-main--cennik .page-hero {
    padding-top: 96px;
    padding-bottom: 72px;
}

.page-main--contact .page-content,
.page-main--cennik .page-content {
    padding-top: 80px;
}

/* Cennik – układ sekcji */
.page-main--cennik .page-block {
    margin-bottom: 64px;
}

.page-main--cennik .page-block:last-of-type {
    margin-bottom: 0;
}

.page-main--cennik .page-pricing-list {
    margin-top: 12px;
}

.page-main--cennik .page-cta {
    margin-top: 72px;
}

.page-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.page-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.page-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.page-message--error ul {
    margin: 0;
    padding-left: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

/* Ramka wokół formularza kontaktowego */
.contact-form--framed {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 32px 28px;
    background: #fafafa;
}

.contact-form .page-block__title,
.contact-info .page-block__title {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B00;
}

.submit-btn {
    background: #e65a00;
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background: #d14d00;
}

.submit-btn:focus-visible {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

.contact-details__subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 20px 0 10px;
}

.contact-details__subtitle:first-child {
    margin-top: 0;
}

.contact-details p {
    margin: 0 0 12px;
    line-height: 1.6;
    color: #555;
}

.contact-details a {
    color: #0066cc;
    text-decoration: underline;
}

.contact-details a:hover {
    color: #FF6B00;
}

.working-hours {
    background: #fff8f4;
    padding: 16px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.towns-list__note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 64px 4% 56px;
    }
    
    .page-hero__eyebrow {
        font-size: 0.75rem;
        margin-bottom: 14px;
    }
    
    .page-hero__title {
        font-size: 1.95rem;
        line-height: 1.3;
        margin-bottom: 18px;
    }
    
    .page-hero__lead {
        font-size: 1rem;
        line-height: 1.65;
    }
    
    .page-hero::after {
        bottom: 24px;
        width: 100px;
    }
    
    .page-content {
        padding: 64px 4% 40px;
    }
    
    .page-block--two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-block {
        margin-bottom: 48px;
    }
    
    .page-block__title {
        font-size: 1.35rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }
    
    .page-block__subtitle {
        font-size: 1.15rem;
        margin: 24px 0 14px;
    }
    
    .page-block ul li {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 9px;
    }
    
    .page-block p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .page-image-block {
        margin: 28px 0;
        max-width: 100%;
    }
    
    .page-image-block-row {
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    
    .contact-form--framed {
        padding: 28px 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .page-main--contact .page-hero,
    .page-main--cennik .page-hero {
        padding-top: 80px;
        padding-bottom: 64px;
    }
    
    .page-main--contact .page-content,
    .page-main--cennik .page-content {
        padding-top: 68px;
    }
    
    .page-cta {
        margin-top: 56px;
        padding-top: 40px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 52px 4% 48px;
    }
    
    .page-hero__eyebrow {
        font-size: 0.7rem;
    }
    
    .page-hero__title {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }
    
    .page-hero__lead {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .page-hero::after {
        bottom: 20px;
        width: 80px;
        height: 2px;
    }
    
    .page-content {
        padding: 52px 4% 36px;
    }
    
    .page-block {
        margin-bottom: 40px;
    }
    
    .page-block__title {
        font-size: 1.25rem;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    .page-block__icon {
        width: 24px;
        height: 24px;
    }
    
    .page-block__icon svg {
        width: 20px;
        height: 20px;
    }
    
    .page-block__subtitle {
        font-size: 1.05rem;
        margin: 20px 0 12px;
    }
    
    .page-block ul li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 8px;
    }
    
    .page-block p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 14px;
    }
    
    .page-block--accent {
        padding-left: 18px;
        border-left-width: 3px;
        border-left-color: rgba(255, 107, 0, 0.22);
    }
    
    .page-image-block {
        margin: 24px 0;
        padding: 12px;
        border-width: 3px;
    }
    
    .page-image-block__caption {
        font-size: 0.85rem;
        padding: 6px 8px;
        margin-top: 8px;
    }
    
    .contact-grid {
        gap: 36px;
        margin-bottom: 48px;
    }
    
    .contact-form--framed {
        padding: 24px 20px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 11px;
        font-size: 0.95rem;
    }
    
    .submit-btn,
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .page-pricing-item {
        padding: 14px 0;
    }
    
    .page-pricing-item__name {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .page-pricing-item__price {
        font-size: 1.05rem;
    }
    
    .page-pricing-item__note {
        font-size: 0.85rem;
        margin-top: 6px;
    }
    
    .page-pricing-highlight {
        padding: 20px;
        gap: 6px 12px;
    }
    
    .page-pricing-highlight__label {
        font-size: 0.95rem;
    }
    
    .page-pricing-highlight__price {
        font-size: 1.15rem;
    }
    
    .page-pricing-highlight__note {
        font-size: 0.85rem;
    }
    
    .page-main--contact .page-hero,
    .page-main--cennik .page-hero {
        padding-top: 68px;
        padding-bottom: 52px;
    }
    
    .page-main--contact .page-content,
    .page-main--cennik .page-content {
        padding-top: 56px;
    }
    
    .page-cta {
        margin-top: 48px;
        padding-top: 36px;
    }
    
    .content-main {
        padding: 52px 4% 60px;
    }
    
    .content-intro {
        margin-bottom: 36px;
    }
    
    .content-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .content-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .content-cards {
        gap: 28px;
    }
    
    .content-card__body {
        padding: 28px 24px;
    }
    
    .content-card h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }
    
    .content-card ul li,
    .content-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* --- REVIEWS SLIDER --- */
.reviews-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 60px 4%;
}

.reviews-container {
    max-width: 1200px;
}

.reviews-slider {
    position: relative;
    margin-top: 40px;
}

@keyframes reviews-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reviews-slider__viewport {
    overflow-x: hidden;
    overflow-y: hidden;
    margin: 0 -4%;
    padding: 0 4%;
}

.reviews-slider__track {
    display: flex;
    gap: 24px;
    padding-bottom: 8px;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    animation: reviews-marquee 120s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-slider__track {
        animation: none;
    }
}

.review-card {
    flex: 0 0 320px;
    min-width: 280px;
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.review-card__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card__author-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-card__author {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #202124;
}

.review-card__meta {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: #5f6368;
}

.review-card__source {
    font-weight: 500;
}

.review-card__source::before {
    content: "·";
    margin-right: 8px;
}

.review-card__date {
    white-space: nowrap;
}

.review-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #f57c00;
}

.star--empty {
    color: #d0d0d0;
}

.review-card__rating-text {
    font-size: 0.9rem;
    color: #5f6368;
    font-weight: 500;
}

.review-card__text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #202124;
    margin: 0;
    flex-grow: 1;
}

.reviews-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #dadce0;
}

.reviews-badge {
    display: inline-block;
    font-size: 0.85rem;
    color: #2e7d32;
    font-weight: 500;
    margin: 0 0 12px 0;
    padding: 6px 12px;
    background: #f1f8e9;
    border-radius: 16px;
}

.reviews-link {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reviews-link:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.reviews-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
        min-width: 280px;
    }

    .reviews-slider__track {
        gap: 16px;
    }

    .reviews-section {
        padding: 44px 4%;
    }

    .content-intro {
        margin-bottom: 28px;
    }

    .content-title {
        font-size: 1.25rem;
    }
}
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 300px;
        min-width: 280px;
    }
}

/* --- DESKTOP+ OPTIMIZATIONS (1200px+) --- */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero {
        min-height: 100vh;
        padding-top: 120px;
        padding-left: 5%;
        padding-right: 5%;
        align-items: center;
        justify-content: center;
    }

    .hero-container {
        max-width: 1200px;
        gap: 60px;
        padding-bottom: 20px;
    }

    .hero-text {
        flex-basis: 50%;
    }

    .hero-image {
        flex-basis: 50%;
    }

    h1 {
        font-size: 3.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .cta-button {
        padding: 16px 40px;
        font-size: 1.05rem;
    }

    .content-main {
        padding: 80px 6% 88px;
    }

    .content-intro {
        margin-bottom: 44px;
    }

    .content-title {
        font-size: 2.2rem;
    }

    .content-cards {
        gap: 40px;
        max-width: 1200px;
    }

    .content-card {
        grid-template-columns: 42% 1fr;
    }

    .content-card--thermal {
        grid-template-columns: 38% 1fr;
    }

    .content-card__body {
        padding: 48px 52px;
    }

    .content-card h3 {
        font-size: 1.65rem;
        margin-bottom: 22px;
    }

    .content-card ul li {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .content-card__link {
        font-size: 1.05rem;
    }

    .service-area {
        padding: 88px 6% 96px;
    }

    .service-area .content-title {
        font-size: 2rem;
    }

    .service-area__lead {
        font-size: 1.15rem;
        max-width: 800px;
        margin: 0 auto 44px;
    }

    .locations-table th {
        padding: 20px 18px;
        font-size: 1rem;
    }

    .locations-table td {
        padding: 18px 18px;
        font-size: 0.98rem;
    }

    .reviews-section {
        padding: 88px 6%;
    }

    .reviews-slider {
        margin-top: 48px;
    }

    .review-card {
        flex: 0 0 320px;
        min-width: 280px;
    }

    .site-footer {
        margin-top: 96px;
        padding: 60px 6% 0;
    }

    .footer-content {
        gap: 56px 48px;
        padding-bottom: 40px;
    }

    .footer-brand .footer-desc {
        max-width: 300px;
        line-height: 1.8;
    }

    .footer-list {
        gap: 12px;
    }

    .footer-list a,
    .footer-contact a {
        font-size: 0.98rem;
    }
}
