/* =========================================================
   EG Technik Polska — Globalne style (UPORZĄDKOWANE)
   - Paleta kolorów i reset
   - Layout (sticky footer)
   - Header + nawigacja
   - Główna treść (ciemny motyw)
   - Hero + Slideshow (strona główna)
   - CTA (przyciski)
   - Sekcje + ramki + offset pod sticky header
   - Siatki / Kafelki usług
   - Galeria + Karuzela
   - Kontakt
   - Stopka
   - Modale (galeria)  ← usunięto legacy #modal usług
   - Przycisk „do góry”
   - Podstrony usług (mini-hero, układ z obrazkiem, sekcja bez ramki)
========================================================= */

/* =========================
   Paleta + Reset
========================= */
:root{
    --primary:        #0a2239;
    --primary-dark:   #081a2f;
    --accent:         #3e5c76;
    --light:          #f4f4f4;
    --dark:           #1c1c1c;
    --overlay-dark:   rgba(0,0,0,.5);
    --section-border: #A8A9AD;
}

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

html { height: 100%; overflow-y: scroll; } /* stała szerokość → brak „uskoku” poziomego */
body{
    height: 100%;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #f0f2f5;
    margin: 0;
}

/* =========================
   Layout globalny (sticky footer)
========================= */
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1; /* wypełnia przestrzeń między headerem a footerem */
}

/* =========================
   Layout kontenera treści
========================= */
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* =========================
   Odstępy (spacery)
   - do ręcznego wstawiania odstępów w treści
========================= */
.spacer-sm { height: 0.75rem; }  /* ~12px */
.spacer-md { height: 1.5rem; }  /* ~24px */
.spacer-lg { height: 2.5rem; }  /* ~40px */


/* =========================
   Header (ciemny) + nawigacja + języki
========================= */
.header{
    background: #050f1e;
    color: #fff;
    border-bottom: none;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header.scrolled{ box-shadow: 0 4px 18px rgba(0,0,0,.35) }
/* Header layout — logo | menu | flagi (desktop) */
.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;            /* odstęp między kolumnami */
    flex-wrap: nowrap;    /* bez łamania w desktopie */
    min-height: 170px;    /* Twoja wysokość bazowa */
}
.logo { 
    flex: 0 0 auto; 
    min-width: 0; 
}

.logo img{
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,.4));
}
/* Obraz logo — ignoruj szerokość z atrybutu HTML, trzymaj się limitów CSS */
.logo img.logo-img-xl{
    display: block;
    height: auto;                 /* zachowaj proporcje */
    max-height: 150px;            /* jak u Ciebie */
    width: auto;
    max-width: clamp(180px, 28vw, 360px);  /* niech nie będzie „za długie” */
    object-fit: contain;
}

.nav{
    list-style: none;
    display: inline-flex;
    gap: 20px;
    white-space: nowrap;   /* trzymaj w jednej linii */
    flex: 0 1 auto;
}
.nav a{
    color:#fff; text-decoration:none; font-size:16px; font-weight:700; transition:opacity .2s;
}
.nav a:hover{ opacity:.85 }
/* (opcjonalnie) jeżeli chcesz focus na linkach:
.nav a:focus-visible{ outline:2px solid #fff; outline-offset:2px } */

.lang-icons{
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;        /* nie rozszerzaj rzędu */
}
.lang-icons img{ width:24px; height:auto }
.lang-icons button { background:none; border:none; padding:0; line-height:0; cursor:pointer; }
.lang-icons button:focus-visible { outline:2px solid #fff; outline-offset:2px; }

/* === Mobile nav (hamburger) === */
.nav-toggle{
    display:none;
    background:none; border:0; padding:8px; margin-left:8px; cursor:pointer;
}
.nav-toggle:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.nav-toggle-bar{ display:block; width:22px; height:2px; background:#fff; border-radius:2px; margin:4px 0; }

@media (max-width: 900px){
    /* przycisk hamburgera */
    .nav-toggle{
        display:inline-flex;
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        bottom:10px;
        background:none;
        border:0;
        padding:12px;           /* było 8px – większy „hitbox” */
        cursor:pointer;
        z-index:1001;
    }

    /* 1) ukryj poprzednie kreski */
    .nav-toggle-bar{ display:none; }

    /* symbol ☰ */
    .nav-toggle::before{
        content:"☰";
        font-size:32px;
        line-height:1;
        color:#A8A9AD;   /* bazowy szary */
        display:block;
        transition: color 0.2s ease; /* płynne przejście */
    }

    /* hover i focus */
    .nav-toggle:hover::before,
    .nav-toggle:focus-visible::before {
        color:#fff;      /* biały po najechaniu / focusie */
    }

    /* (reszta stylów mobilnego panelu – bez zmian) */
    .header{ padding-bottom:44px; }
    .header .container{ gap:8px; }
    .header .nav{
        position:absolute; top:100%; left:50%; transform:translateX(-50%);
        width:calc(100% - 32px); max-width:520px;
        display:none; flex-direction:column; gap:14px;
        padding:16px 20px 18px;
        background:#050f1e;
        border-top:3px solid #A8A9AD;  /* subtelny akcent w tym samym szarym */
        border-radius:6px;
        box-shadow:0 12px 28px rgba(0,0,0,.35);
        opacity:0; transform-origin:top center; translate:0 -6px;
        transition:opacity .18s ease, translate .22s ease;
        z-index:1000;
    }
    .menu-open #primaryNav{ display:flex; opacity:1; translate:0 0; }
}





/* =========================
   Główna treść – ciemny motyw
========================= */
.dark-main{ background: var(--primary); color:#fff }
.dark-main a{ color:#fff; text-decoration-color: rgba(255,255,255,.5) }
.dark-main .section{ background: transparent }
.dark-main hr{ border-color: rgba(255,255,255,.25) }

/* =========================
   HERO + Slideshow (strona główna)
========================= */
.hero{
    position: relative; height: 60vh; min-height: 420px; overflow: hidden; color:#fff;
    display:flex; align-items:center; justify-content:center; text-align:center;
    background: var(--primary); margin-top:0; padding-top:0; border-top:none;
    contain: layout paint;  /* odcina wpływ wewnętrznych animacji na zewnętrzny layout */
}
.slideshow{ position:absolute; inset:0; width:100%; height:100%; z-index: 0; }
.slide{
    position:absolute; inset:0; background-size:cover; background-position:center;
    opacity:0;                      /* start: ukryty */
    animation: slideshow 16s infinite;
    background-color: #0a2239;      /* stabilny kolor tła do czasu wczytania obrazka */
    will-change: opacity;
}
.slide1{ background-image:url('../obrazy/animation/anim1.png'); animation-delay:0s; opacity:1 } /* widoczny start */
.slide2{ background-image:url('../obrazy/animation/anim2.png'); animation-delay:4s }
.slide3{ background-image:url('../obrazy/animation/anim3.png'); animation-delay:8s }
.slide4{ background-image:url('../obrazy/animation/anim4.png'); animation-delay:12s }

@keyframes slideshow{
    0%{opacity:0} 8%{opacity:1} 25%{opacity:1} 33%{opacity:0} 100%{opacity:0}
}

.hero-overlay{
    position:absolute; inset:0; width:100%; height:100%; background: var(--overlay-dark); z-index:1;
    background-color: rgba(10,34,57,.55);
}
.hero-text{ position: relative; z-index:2 }
.hero-text h1{ font-size: clamp(28px, 4vw, 44px); font-weight:800; letter-spacing:.2px }

/* HERO subtitle – większy odstęp od przycisków */
.hero-text p{
    opacity: .9;
    max-width: 720px;
    margin: 10px auto 20px; /* było 10px auto 0 */
}

/* Domyślnie BEZ animacji (stabilny układ) */
.hero-text h1,
.hero-text p,
.hero-actions { opacity: 1; transform: none; }

/* Animację włączamy dopiero po dodaniu klasy .animate-hero na <html> */
.animate-hero .hero-text h1,
.animate-hero .hero-text p,
.animate-hero .hero-actions{
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUp 0.7s ease forwards;
}
.animate-hero .hero-text p{ animation-delay: .15s; }
.animate-hero .hero-actions{ animation-delay: .3s; }

@keyframes fadeInUp{ to { opacity:1; transform: translateY(0); } }

/* Szacunek dla preferencji systemowych */
@media (prefers-reduced-motion: reduce){
    .slide{ animation: none; opacity: 1; }   /* brak migotania */
    .slideshow{ display:block; }             /* zostawiamy pierwszy kadr */
    .animate-hero .hero-text h1,
    .animate-hero .hero-text p,
    .animate-hero .hero-actions{
        animation: none; opacity: 1; transform: none;
    }
}

/* =========================
   CTA (przyciski)
========================= */
.hero-actions{ margin-top:18px; display:inline-flex; gap:12px }
.btn{
    display:inline-flex; align-items:center; justify-content:center;
    padding:12px 22px; border-radius:10px; font-weight:700; font-size:1rem;
    text-decoration:none; border:2px solid #fff; color:#fff; background:transparent;
    transition: transform .2s, background-color .2s, opacity .2s; will-change: transform;
}
.btn:hover{ transform: translateY(-2px); opacity:.95; background: rgba(255,255,255,.1) }
.btn:focus-visible{ outline:2px solid #fff; outline-offset:2px }

/* =========================
   Sekcje + ramki + offset pod sticky header
========================= */
.section{ padding:30px 20px }
.section > .container{
    border: 1px solid var(--section-border);
    border-radius: 12px;
    padding: 40px 20px;
}
.section > .container > h2{
    text-align: center;
    margin-bottom: 12px;
}

/* Offset dla kotwic (sticky header) */
.hero,
.section{
    scroll-margin-top: var(--header-offset, 120px);
}

/* =========================
   Siatki / Kafelki usług
========================= */
.grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:20px;
    margin-top:20px;
}

.services-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:1rem }
@media (max-width:680px){ .services-grid{ grid-template-columns:1fr } }

.card{
    position:relative; overflow:hidden; background: rgba(10,34,57,.85);
    border:none; border-radius:12px; padding:1rem; text-align:center; cursor:pointer;
    transition: transform .3s; box-shadow: 0 2px 4px rgba(0,0,0,.05); color:#fff;
    display:flex; align-items:center; justify-content:center; min-height:100px;
}
.card::before{
    content:""; position:absolute; inset:0;
    background-size:cover; background-position:center;
    opacity:.60; filter: grayscale(100%) contrast(1.15); transform: scale(1.05);
    z-index:0;
    transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}
.card::after{
    content:""; position:absolute; inset:0;
    background: linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.18));
    z-index:0;
    transition: background-color .35s ease, background .35s ease, opacity .35s ease;
}
.card > *{ position:relative; z-index:1 }
.card:hover, .card:focus-visible{ transform:none; }

.card:hover::before,
.card:focus-visible::before,
.card:active::before{
    opacity:.55;
    filter: saturate(115%) contrast(1.08);
    transform: scale(1.02);
}
.card:hover::after,
.card:focus-visible::after,
.card:active::after{
    background: linear-gradient(0deg, rgba(0,0,0,.06), rgba(0,0,0,.06));
}
.card h3{
    margin:0; color:#fff; font-size:1.1rem; line-height:1.25; max-width:26ch;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}

/* Kafelki usług jako linki – bez podkreśleń */
.service-card{ text-decoration: none; }
.service-card h3{ text-decoration: none; }
.service-card:hover, .service-card:focus-visible{ text-decoration: none; }

/* Tła kafelków (obrazy) */
.service-card[data-bg="1"]::before{ background-image:url('../obrazy/service/service1.png') }
.service-card[data-bg="2"]::before{ background-image:url('../obrazy/service/service2.png') }
.service-card[data-bg="3"]::before{ background-image:url('../obrazy/service/service3.png') }
.service-card[data-bg="4"]::before{ background-image:url('../obrazy/service/service4.png') }
.service-card[data-bg="5"]::before{ background-image:url('../obrazy/service/service5.png') }
.service-card[data-bg="6"]::before{ background-image:url('../obrazy/service/service6.png') }
.service-card[data-bg="7"]::before{ background-image:url('../obrazy/service/service7.png') }
.service-card[data-bg="8"]::before{ background-image:url('../obrazy/service/service8.png') }

/* =========================
   Galeria + Karuzela (miniatury z lekkim przygaszeniem)
========================= */
.image-placeholder{
    position: relative;
    isolation: isolate;         /* żeby nakładki respektowały border-radius */
    overflow: hidden;
    height: 200px;
    border-radius: 6px;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;           /* fallback gdy obraz się nie wczyta */
}

/* obraz bazowo nieco ściemniony i z delikatnym kontrastem */
.image-placeholder img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    filter: grayscale(10%) contrast(1.05) brightness(.85);
    transition: transform .3s, filter .25s ease;
}

/* PRZYCIEMNIENIE w spoczynku */
.image-placeholder::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: rgba(0,0,0,.30);     /* bazowe ściemnienie */
    opacity: 1;
    transition: opacity .25s ease;
    z-index: 1;
}

/* ROZJAŚNIENIE na hover/focus (jasna mgiełka) */
.image-placeholder::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: rgba(255,255,255,.22); /* lekka biel = rozjaśnienie */
    opacity: 0;                         /* ukryta w spoczynku */
    transition: opacity .25s ease;
    z-index: 2;
}

/* AKTYWACJA: zdejmij ciemną warstwę i dodaj jasną */
.image-placeholder:hover::before,
.image-placeholder:focus-visible::before{
    opacity: 0;
}
.image-placeholder:hover::after,
.image-placeholder:focus-visible::after{
    opacity: 1;                        /* „do 100%” pokazujemy jasną warstwę */
}
.image-placeholder:hover img,
.image-placeholder:focus-visible img{
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1.08) brightness(1);
}


/* pełny podgląd */
.full-image{
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    margin: auto;
    border-radius: 6px;
}
.hidden{ display: none !important; }

/* Karuzela */
.gallery-carousel{ position: relative; }
.gallery-track{
    display: grid;
    grid-auto-flow: column;
    gap: 16px;
    grid-auto-columns: calc((100% - 32px)/3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar{ display: none }
.gallery-track .image-placeholder{ scroll-snap-align: start; }

/* Responsywność */
@media (max-width: 900px){
    .gallery-track{ grid-auto-columns: calc((100% - 16px)/2); }
}
@media (max-width: 560px){
    .gallery-track{ grid-auto-columns: 100%; }
}

/* Nawigacja */
.gallery-nav{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: transform .2s, background-color .2s, opacity .2s;
}
.gallery-nav:hover{
    transform: translateY(-50%) scale(1.05);
    background: rgba(255,255,255,.12);
}
.gallery-nav.prev{ left: -6px; }
.gallery-nav.next{ right: -6px; }

/* Preferencje systemowe – mniej ruchu */
@media (prefers-reduced-motion: reduce){
    .image-placeholder img{
        transition: none;
        transform: none !important;
    }
}

/* =========================
   Kontakt (sekcja na indexie)
========================= */
.contact-form{ display:flex; flex-direction:column; gap:15px; margin-top:20px }
.contact-form input, .contact-form textarea{
    padding:12px; border:1px solid #ccc; border-radius:6px; width:100%;
}
.contact-form button{
    background: var(--primary); color:#fff; padding:12px; border:none; border-radius:6px; cursor:pointer; transition: background .3s;
}
.contact-form button:hover{ background: var(--primary-dark) }

.contact-container{
    display:flex; flex-wrap:wrap; justify-content:space-between; gap:40px; align-items:stretch;
}
.contact-info, .contact-map{
    flex:1; min-width:300px; display:flex; flex-direction:column; justify-content:center;
}
.contact-info{ padding:10px 0 }
.contact-info p{ margin:2px 0 }
.contact-info strong{
    font-size:1.2rem; font-weight:800; color:#fff; display:block; margin-bottom:10px;
}
.contact-field{ margin-top:12px }
.contact-field .label{
    font-weight:800; margin-bottom:6px; text-transform:uppercase; letter-spacing:.4px; color:#fff;
}
.contact-field p{ color:#A8A9AD; margin:2px 0 }
.contact-field p a{ color: inherit; text-decoration: underline dotted rgba(255,255,255,.35) }
.contact-field p a:hover{ text-decoration-style: solid }

.contact-map iframe{ flex-grow:1; width:100%; min-height:300px; border:0; display:block }

/* =========================
   Stopka
========================= */
.footer{ background: var(--dark); color:#A8A9AD; text-align:center; padding:10px 0 }

/* =========================
   Modale — zostaje tylko GALERIA
========================= */
.modal{
    position:fixed; inset:0; width:100%; height:100%;
    background: var(--overlay-dark);
    display:flex; align-items:center; justify-content:center;
    z-index:1000;
}
.close{
    position:absolute; top:15px; right:20px;
    font-size:30px; font-weight:800; cursor:pointer;
    background:none; border:none; color:#fff;
    z-index:1001;
}

/* Modal GALERII (index) */
#imageModal .close{ color:#fff; font-size:36px; top:20px; right:30px }

/* =========================
   Przycisk: „do góry”
========================= */
#scrollToTopBtn{
    position:fixed; bottom:20px; right:20px; display:none; z-index:1000;
    background:transparent; border:2px solid #fff; color:#fff; font-size:18px; font-weight:700;
    width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition: transform .2s, background-color .2s, opacity .2s;
}
#scrollToTopBtn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.1); opacity:.95 }
#scrollToTopBtn.show{ display:flex }

/* =========================
   PODSTRONY USŁUG
   - kompaktowy „mini-hero” (szary pasek)
   - układ treści z obrazkiem obok
   - sekcja bez ramki (dla treści usług)
========================= */

/* Kompaktowy hero (bez podtytułu, wyśrodkowany, max 200px) */
.service-hero-mini{
    display: flex;
    align-items: center;            /* pionowe wyśrodkowanie */
    justify-content: center;        /* poziome wyśrodkowanie zawartości */
    padding: 24px 0;
    max-height: 200px;              /* limit wysokości */
    background: rgba(168,169,173,0.12);
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}
.service-hero-mini > .container{
    border: none;
    padding: 0 20px;
    text-align: center;             /* tytuł na środku */
}
.service-hero-mini h1{
    font-size: clamp(22px, 3.2vw, 32px);
    margin: 0;
}

/* SPÓJNY RYTM w treściach usług — odstęp między dowolnymi kolejnymi blokami */
/* Układ treści usługi z obrazkiem + czytelny rytm tekstu */
.service-feature{
    display: flex;
    gap: 50px;              /* większy odstęp między obrazkiem a tekstem */
    align-items: flex-start;    /* obrazek i tekst wyrównane do środka */
    flex-wrap: wrap;
}

/* 0) reset, żeby nie kumulować starych marginesów */
.service-feature .service-text > * {
    margin: 0;
}

/* 1) bazowy odstęp między kolejnymi blokami – jak <br> (ok. 20px) */
.service-feature .service-text > * + * {
    margin-top: 1.25rem; /* ~20px */
}

/* akapit akcentowy na początku treści usługi */
.service-text .highlight {
    font-weight: 800;
    color: #fff;
    /* bez dodatkowego marginesu – rytm kontroluje > * + * */
}

/* obrazek i kolumna tekstu */
.service-feature img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    flex: 0 0 auto;
}
.service-feature .service-text {
    flex: 1 1 320px;
    line-height: 1.6;
}

/* 2) wewnątrz jednej sekcji: ciaśniej, żeby nagłówek + opis + lista trzymały się razem */
.service-feature .service-text .highlight + p {
    margin-top: 0.5rem;
}
.service-feature .service-text p + ul {
    margin-top: 0.5rem;
}

/* 3) LISTY – jeden spójny blok (bez duplikatów) */
.service-feature .service-text ul {
    margin: 0.5rem 0 1.25rem 1.15rem; /* większy dół jako domyślny oddech po liście */
    padding-left: 1.15rem;
    list-style: disc;
}
.service-feature .service-text ul.tight {
    margin-bottom: 0.5rem; /* „sklej” listę z następnym akapitem */
}
.service-feature .service-text li {
    margin: 0.25rem 0;
}

/* 4) przejście między sekcjami: większy oddech „lista → kolejny highlight” */
.service-feature .service-text ul + .highlight {
    margin-top: 1.75rem; /* ~28px */
}

/* 5) Jawny komponent odstępu */
.service-feature .service-text .spacer {
    height: 0.25rem; /* ~28px */
    width: 100%;
}

/* 6) wyróżnienia wewnątrz treści (działa też dla <strong> w JSON) */
.service-feature .service-text strong {
    font-weight: 800;
    color: #fff;
}
.service-feature .service-text em {
    font-style: normal;
    opacity: 0.95;
    text-decoration: underline dotted rgba(255,255,255,.35);
}


/* Sekcja „plain” — bez ramki wokół treści (dla usług) */
.section.section--plain > .container{
    border: none;      /* usuwa obramowanie sekcji */
    padding: 20px;     /* delikatny odstęp wewnętrzny */
}

/* =========================
   Sekcja „O nas” (tekst + obraz)
========================= */
.about {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* tekst : obraz */
    gap: 32px;
    align-items: center;
}
.about-text h2 {
    margin-bottom: 8px;
}
.about-intro {
    margin: 0 0 12px 0;
    opacity: .95;
}
.about-list {
    margin: 8px 0 16px 0;
    padding: 0;
    list-style: none; /* własny marker */
}
.about-list li {
    position: relative;
    padding-left: 28px;
    margin: 6px 0;
}
/* znacznik listy: lekki „check” w zgodzie z CSP (data:) */
.about-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    border-radius: 4px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(1px);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    -webkit-mask-size: 18px 18px;
    mask-size: 18px 18px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    /* kolor ikony */
    background-color: #ffffff;
    opacity: .85;
}

.about-cta { margin-top: 10px; }

.about-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Uproszczona responsywność (opcjonalnie do późniejszego szlifu) */
@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
    }
    .about-media { order: -1; } /* zdjęcie nad tekstem */
}
