 :root
{
--cream:#f7f3ed;
--paper:#fffdf9;
--ink:#303b33;
--sage:#526653;
--taupe:#b38d78;
--line:#ded7cd
}
*
{
box-sizing:border-box
}
html
{
scroll-behavior:smooth
}
body
{
margin:0;
background:var(--cream);
color:var(--ink);
font-family:"DM Sans",Arial,sans-serif
}
a
{
color:inherit;
text-decoration:none
}
img
{
display:block;
width:100%;
height:100%;
object-fit:cover
}
.header
{
height:70px;
display:flex;
align-items:center;
justify-content:space-between;
gap:25px;
padding:12px 4%;
background:#fbf8f3;
position:sticky;
top:0;
z-index:10;
border-bottom:1px solid #eee6dc
}
.brand{display:flex;align-items:center;gap:12px;min-width:215px}.brandmark{font-size:46px;color:var(--sage)}.brand b{display:block;font:34px "DM Serif Display",serif;letter-spacing:-1px}.brand b em{font-style:normal;color:var(--sage)}.brand small{font-size:9px;letter-spacing:1.2px;display:block}
/*zmiana czcionki dla zakładek w nagłówku*/
.nav{display:flex;
align-items:center;
gap:24px;
font-size:15px}
.nav a:hover{
color:#a37b62}

.navcta,
.btn{
display:inline-block;
background:var(--sage);
color:white!important;
padding:8px 10px;
border-radius:60px;
/*NAGŁÓWEK zmiana wilkości czcionki dla zakładki UMÓW KONSULTACJE*/
font-size:12px;
letter-spacing:1px;
white-space:nowrap}
.hamburger{display:none}
.hero{display:grid;
grid-template-columns:50% 50%;
min-height:510px}
.hero-copy{padding:60px 7% 35px 9%;
background:linear-gradient(110deg,#f9f5ee,#f5efe6)
}

h1,h2,h3{font-family:"DM Serif Display",Georgia,serif;font-weight:400}
h1{font-size:clamp(42px,5vw,62px);line-height:1.06;letter-spacing:-1.2px;margin:18px 0 25px}
h1 i,h2 i{color:var(--sage);font-weight:400}

.eyebrow{font-size:11px;letter-spacing:3px}
.lead{font:23px/1.35 "DM Serif Display",serif}
.hero-copy p:not(.lead){max-width:440px;line-height:1.65}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.secondary{background:transparent;color:var(--ink)!important;border:1px solid #8e8a7e

}
.signature{font:italic 25px "DM Serif Display",serif;color:#90745f
}

.editable-media{position:relative;overflow:hidden}.hero-photo{min-height:470px}.media-label{position:absolute;bottom:12px;right:12px;background:#fffdf9d9;color:#526653;padding:7px 10px;border-radius:5px;font-size:9px;letter-spacing:1px}.values{display:grid;grid-template-columns:repeat(6,1fr);gap:15px;text-align:center;padding:20px 5%;background:#fcfaf6}.values div{display:grid;gap:5px}.values span{font-size:34px;color:#a07b61}.values small{font-size:10px;letter-spacing:2px}.about{display:grid;grid-template-columns:42% 58%;background:#f9f5ee}.portrait{height:450px}.about-copy{padding:55px 7%}.about h2,.section h2,.inner h1{font-size:clamp(34px,3.4vw,52px);margin:12px 0 20px}.about p{max-width:650px;line-height:1.75}.credentials{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:1px;text-align:center;margin:30px 0}.section{padding:50px 3% 60px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px}.section-heading>a{font-size:11px;letter-spacing:1px}

.cards
{
display:grid;
/*ilość okien po zmniejszeniu fr*/
grid-template-columns:repeat(3,minmax(0,3fr));
gap:14px
}

.service-card
{background:#f8f4ed;
border:1px solid var(--line);
border-radius:12px;
padding:26px 22px;
min-height:230px;
text-align:center;
display:flex;
flex-direction:column;
align-items:center;
transition:transform .2s,box-shadow .2s
}

.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #453c3120}.card-icon{width:60px;height:60px;border-radius:50%;background:#e4e7de;color:#546c59;display:grid;place-items:center;font-size:36px}.service-card:nth-child(even) .card-icon{background:#e9dcd1;color:#9a715d}.service-card h3{font-size:23px;line-height:1.2;margin:15px 0 8px}.service-card p{font-size:13px;line-height:1.6;flex:1}.circle-arrow{border:1px solid #a78b76;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.closing{padding:50px 6%;background:#697563;color:white;text-align:center;position:relative}.closing h2{font-size:45px;line-height:1.15}.closing .light{border:1px solid white;background:transparent}.closing p{font-size:10px;letter-spacing:2px;margin-top:40px}.inner{max-width:1170px;margin:auto;padding:75px 30px 120px;min-height:65vh}.inner .intro{max-width:720px;font-size:19px;line-height:1.7;margin-bottom:40px}.inner .cards{margin-top:35px}.detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:25px}.panel{padding:30px;border:1px solid var(--line);border-radius:12px;background:#fffcf8;line-height:1.8;margin-top:20px}.panel h2{font-size:32px}.back{display:block;margin-bottom:30px;font-size:13px}.faq details{padding:20px;border-bottom:1px solid var(--line)}.faq summary{cursor:pointer}.footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:30px;background:#303e34;color:#fff;padding:35px 5%}.footer strong{font:32px "DM Serif Display",serif}.footer>div:nth-child(2){display:flex;gap:20px}.footer small{width:100%;opacity:.65}

@media(max-width:900px)
{
.header
{
height:auto;min-height:10px
}
.hamburger
{
display:block;
border:0;
background:none;
font-size:8px
}
.nav{
display:none;
position:absolute;
top:78px;left:0;right:0;
background:#fbf8f3;
padding:22px;
flex-direction:column;align-items:stretch}

/*opcje otwieranego menu po kliknieciu hamburgera*/
.nav.open{display:flex}
.hero{grid-template-columns:1fr}
.hero-copy{
padding:45px 7%}
.hero-photo{
height:50px;
min-height:0}
.about{
grid-template-columns:1fr}
.portrait{
height:400px}
.values{
grid-template-columns:repeat(3,1fr)}
.cards{
grid-template-columns:repeat(2,1fr)}
.detail-grid{grid-template-columns:1fr
}
}

@media(max-width:560px)
{
.cards{
grid-template-columns:1fr}
.values{
grid-template-columns:repeat(2,1fr)}
.section-heading{
display:block}
.credentials{
flex-direction:column}
.closing h2{
font-size:34px}
.brand b{
font-size:28px
}
}
/* Logo SelfCare w nagłówku */
.brand{
display:flex;
align-items:center;
min-width:0;flex-shrink:0}
.brand-logo{
display:block;
width:290px;
height:auto;
object-fit:contain}
.header{
gap:16px
}
.nav{gap:17px}@media(max-width:1150px){.brand-logo{width:235px}.nav{gap:11px}}@media(max-width:560px){
.brand-logo
{
width:220px
}}

/* Nagłówek: wyłącznie znak graficzny i napis SelfCare */
.brand{
display:flex;
align-items:center;
gap:9px;
min-width:0;
flex-shrink:0}
.brand-symbol
{
width:63px;height:63px;
object-fit:contain
}
.brand-wordmark
{
width:182px;
height:auto;
object-fit:contain
}
.brand-logo
{
display:none
}

@media(max-width:1150px){
.brand-symbol
{
width:52px;height:52px
}
.brand-wordmark{
width:150px
}}
/*zmiana rozmiaru dla telefonu logo*/
@media(max-width:560px)
{
.brand-symbol{
width:35px;
height:35px;
}
/*zmiana rozmiaru dla telefonu napis selfcare*/
.brand-wordmark{
width:110px
}
}

/* SelfCare — miękkie przenikanie fotografii i treści na stronie głównej */
.hero{position:relative;display:grid;grid-template-columns:52% 48%;min-height:540px;isolation:isolate;background:#f7f2ea;overflow:hidden}
.hero-photo{position:absolute;inset:0 0 0 35%;min-height:0;height:100%;z-index:0;overflow:hidden}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center center}
.hero-photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#f7f2ea 0%,rgba(247,242,234,.98) 9%,rgba(247,242,234,.86) 23%,rgba(247,242,234,.48) 39%,rgba(247,242,234,.10) 57%,transparent 72%)}
.hero-copy{grid-column:1;position:relative;z-index:1;background:transparent;padding:64px 4% 48px 9%;max-width:750px}
.hero .media-label{z-index:2}
@media(max-width:900px){.hero{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:48px 7% 45px;min-height:420px;background:linear-gradient(90deg,rgba(247,242,234,.98),rgba(247,242,234,.75))}.hero-photo{position:absolute;inset:0;min-height:0;height:100%;opacity:.60}.hero-photo::after{background:linear-gradient(90deg,#f7f2ea 0%,rgba(247,242,234,.85) 45%,rgba(247,242,234,.28) 100%)}.hero .media-label{display:none}}
@media(max-width:560px){.hero-copy{padding:36px 6% 42px;min-height:0}.hero-photo{opacity:.38}.hero-photo::after{background:linear-gradient(90deg,rgba(247,242,234,.99),rgba(247,242,234,.68))}}

/* Rozbudowana podstrona O mnie */
.about-page{max-width:1050px;padding-top:70px}.about-page .about-prose{max-width:850px;font-size:17px;line-height:1.85}.about-page .about-prose p{margin:0 0 22px}.about-section{margin-top:65px;padding-top:34px;border-top:1px solid var(--line)}.about-section h2{font-size:clamp(30px,3vw,43px);margin:0 0 23px}.about-section>p{line-height:1.8;max-width:850px}.about-list{padding-left:22px;max-width:900px;line-height:1.75}.about-list li{margin-bottom:12px;padding-left:5px}.about-training{background:#fffcf8;border:1px solid var(--line);border-radius:14px;padding:25px 32px;margin-top:20px}.about-training h3{font-size:25px;margin:0 0 18px;color:var(--ink)}@media(max-width:600px){.about-page{padding:45px 22px 70px}.about-page .about-prose{font-size:16px}.about-training{padding:20px}}

/* Rozbudowana sekcja Jak pracuję */
.work-description
{
max-width:820px;
margin-top:28px
}
.work-description p
{
font-size:clamp(17px,1.35vw,20px);
line-height:1.85;
margin:0 0 24px;
color:#344239
}
.work-closing
{
font-family:"DM Serif Display",Georgia,serif;
font-size:clamp(20px,2.5vw,25px);
font-style:italic;
color:#52644f;
margin:120px 0px 0px
}
.inner:has(.work-description)
{
padding-bottom:90px;
min-height:auto
}

/* Paleta z logo SelfCare: zieleń szałwiowa, cappuccino, pudrowa terakota */
:root{--cream:#f8f3ec;--paper:#fffaf4;--ink:#293d33;--sage:#435f4e;--taupe:#b88e79;--line:#e2d6ca}
body{background:var(--cream)}
.navcta,.btn{background:#435f4e}
.navcta:hover,.btn:hover{background:#324d3e}
.service-card:nth-child(6n+1){background:#f1f2ea}
.service-card:nth-child(6n+2){background:#f8eee6}
.service-card:nth-child(6n+3){background:#f2e7df}
.service-card:nth-child(6n+4){background:#e9eee7}
.service-card:nth-child(6n+5){background:#f5ede6}
.service-card:nth-child(6n+6){background:#edf0e9}
.service-card{border-color:#dfd4c9}
.service-card:hover{border-color:#b68f7c}
.inner{background:transparent}
.inner .panel:first-child{background:#fffaf5}
.inner .panel:nth-child(2){background:#f0f2eb}
.detail-grid>.panel:nth-child(2){background:#f0eee6}
.about-training:nth-of-type(3n+1){background:#eef0e9}
.about-training:nth-of-type(3n+2){background:#f7eee7}
.about-training:nth-of-type(3n){background:#f3e9e1}
.inner h1,.inner h2{color:#304b3b}
.inner .eyebrow{color:#a67962}
.closing{background:#516654}
.brand-inspiration{padding:38px clamp(18px,5vw,90px) 65px;background:#faf6ef}
.brand-banner{display:block;border-radius:18px;overflow:hidden;box-shadow:0 10px 35px #39473712}
.brand-banner img{width:100%;height:auto;object-fit:contain}
.brand-inspiration-row{display:grid;grid-template-columns:minmax(180px,300px) 1fr;gap:clamp(20px,5vw,80px);align-items:center;max-width:1120px;margin:42px auto 0}
.brand-vertical{display:block;max-width:300px;border-radius:15px;overflow:hidden;box-shadow:0 10px 32px #39473712}
.brand-vertical img{width:100%;height:auto;object-fit:contain}
.brand-inspiration-copy{padding:20px 0}
.brand-inspiration-copy h2{font-size:clamp(35px,4vw,58px);line-height:1.15;color:#2f4a3b}
.brand-inspiration-copy h2 i{color:#a77e69}
.brand-inspiration-copy p{font-size:18px;line-height:1.8;max-width:520px;margin-bottom:30px}
@media(max-width:650px){.brand-inspiration{padding:24px 16px 45px}.brand-inspiration-row{grid-template-columns:1fr}.brand-vertical{max-width:220px;margin:auto}.brand-inspiration-copy{text-align:center}.brand-inspiration-copy p{font-size:16px}}
/* GRAFIKA JAKO TŁO STOPKI */

.footer {
    background-image: url("assets/baner-ku-sobie.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ZIELONA CZCIONKA JAK NA STRONIE */

.footer,
.footer strong,
.footer p,
.footer a,
.footer small {
    color: #344b43;
}
/* SEKCJA CLOSING WEWNĄTRZ STOPKI */

.footer .closing {
    background: transparent;
    width: 100%;
    padding: 15px 0;
    margin: 0;
    text-align: center;
}

.footer .closing h2 {
    color: #344b43;
}

.footer .closing p {
    color: #344b43;
}

.footer .closing .btn.light {
    background: #344b43;
    color: white;
    border: 1px solid #344b43;
}
/* ===== WSPÓLNE OKNO: TEKST + OBRAZ ===== */

.brand-inspiration-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    width: 100%;
    box-sizing: border-box;
    padding: 40px;

    background: #f5f1eb;
    border-radius: 16px;
}

/* LEWA STRONA */

.brand-inspiration-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.brand-inspiration-copy h2 {
    color: #344b43;
}

.brand-inspiration-copy p {
    color: #344b43;
    line-height: 1.7;
}

/* PRAWA STRONA */

.brand-inspiration-image {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-inspiration-image img {
    display: block;
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
}

/* IPHONE I MAŁE EKRANY */

@media (max-width: 680px) {

    .brand-inspiration-row {
        flex-direction: column;
        gap: 25px;
        padding: 25px 20px;
    }

    .brand-inspiration-copy {
        width: 100%;
        text-align: left;
    }

    .brand-inspiration-image {
        width: 100%;
    }

    .brand-inspiration-image img {
        max-width: 100%;
    }
}
/* STOPKA - TEKST PO LEWEJ, MENU PO PRAWEJ */

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.footer-links small {
    text-align: left;
}

.footer-menu {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

.footer-menu a {
    color: #344b43;
    text-decoration: none;
}

/* IPHONE */

@media (max-width: 680px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .footer-menu {
        gap: 15px;
    }
}
/* OKNO - PUNKT ODNIESIENIA DLA NAPISU */

.brand-inspiration-row {
    position: relative;
}


/* NAPIS W LEWYM GÓRNYM ROGU */

.brand-inspiration-row {
    position: relative;
}

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 20px;
    left: 25px;
    right: auto;

    color: #344b43;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: left;
    z-index: 10;
}

/* IPHONE */

@media (max-width: 680px) {
    .brand-inspiration-row .brand-corner {
        top: 15px;
        left: 15px;
        right: auto;
    }
}
/* CZCIONKA JAK "MOJA OFERTA" */

.brand-inspiration-row .brand-corner {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;

    position: absolute;
    top: 20px;
    left: 25px;
    right: auto;
    text-align: left;
    color: #344b43;
}

.brand-inspiration-row {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f5f1eb;
    border-radius: 16px;
}

/* TEKST PO LEWEJ */

.brand-inspiration-copy {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}

/* OBRAZ PO PRAWEJ */

.brand-inspiration-image {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.brand-inspiration-image img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: cover;

    /* PŁYNNE ZANIKANIE OD LEWEJ */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 15%,
        rgba(0,0,0,0.65) 35%,
        black 65%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 15%,
        rgba(0,0,0,0.65) 35%,
        black 65%
    );
}

/* NAPIS SELFCARE W LEWYM GÓRNYM ROGU */

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 20px;
    left: 25px;
    right: auto;
    z-index: 3;
}
@media (min-width: 681px) {
    .brand-inspiration-image {
        margin-left: -100px;
    }
}
/* IPHONE */

@media (max-width: 680px) {

    .brand-inspiration-row {
        flex-direction: column;
    }

    .brand-inspiration-image {
        width: 100%;
    }

    .brand-inspiration-image img {
        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 40%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 40%
        );
    }
}
/* ===== OBRAZ PRZENIKAJĄCY W TEKST ===== */

.brand-inspiration-row {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;

    width: 100%;
    min-height: 550px;
    box-sizing: border-box;

    background: #f5f1eb;
    border-radius: 16px;
}

/* TEKST PO LEWEJ */

.brand-inspiration-copy {
    position: relative;
    z-index: 2;

    flex: 0 0 55%;
    min-width: 0;
    padding: 65px 20px 45px 40px;
    box-sizing: border-box;

    text-align: left;
}

/* OBRAZ JAKO WARSTWA POD TEKSTEM */

.brand-inspiration-image {
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;

    width: 70%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.brand-inspiration-image img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: center;

    /* PŁYNNE PRZENIKANIE W LEWO */

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.15) 20%,
        rgba(0,0,0,0.5) 45%,
        black 75%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.15) 20%,
        rgba(0,0,0,0.5) 45%,
        black 75%
    );
}

/* NAPIS W LEWYM GÓRNYM ROGU */

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 20px;
    left: 25px;
    right: auto;
    z-index: 3;

    color: #344b43;
}

/* KOLORY TEKSTU */

.brand-inspiration-copy h2,
.brand-inspiration-copy p {
    color: #344b43;
}

/* IPHONE */

@media (max-width: 680px) {

    .brand-inspiration-row {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .brand-inspiration-copy {
        flex: none;
        width: 100%;
        padding: 70px 25px 25px;
    }

    .brand-inspiration-image {
        position: relative;
        width: 100%;
        height: 300px;
        flex: none;
    }

    .brand-inspiration-image img {
        object-fit: cover;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 65%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 65%
        );
    }
}
/* ===== RESPONSYWNE OKNO: TEKST + OBRAZ ===== */

.brand-inspiration-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;

    width: 100%;
    height: auto;
    min-height: 0;
    box-sizing: border-box;

    padding: 65px 35px 40px;
    gap: 0;

    background: #f5f1eb;
    border-radius: 16px;
    overflow: hidden;
}

/* ===== TEKST PO LEWEJ ===== */

.brand-inspiration-copy {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;
    padding: 0 20px 0 0;
    box-sizing: border-box;

    text-align: left;
}

/* ===== OBRAZ PO PRAWEJ ===== */

.brand-inspiration-image {
    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;
    min-width: 0;

    margin: 0;
    padding: 0;
    overflow: visible;
}

.brand-inspiration-image img {
    display: block;

    width: 100%;
    height: auto;
    max-width: 100%;

    object-fit: contain;

    /* PŁYNNE PRZENIKANIE OD LEWEJ */

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.5) 18%,
        black 45%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.5) 18%,
        black 45%
    );
}

/* ===== NAPIS W LEWYM GÓRNYM ROGU ===== */

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 20px;
    left: 25px;
    right: auto;
    z-index: 3;

    color: #344b43;
}

/* ===== MNIEJSZE OKNA KOMPUTERA ===== */

@media (max-width: 1000px) {

    .brand-inspiration-row {
        grid-template-columns: 55% 45%;
        padding: 60px 25px 30px;
    }

    .brand-inspiration-copy h2 {
        font-size: clamp(24px, 3vw, 38px);
    }

    .brand-inspiration-image img {
        width: 100%;
        height: auto;
    }
}

/* ===== IPHONE I MAŁE EKRANY ===== */

@media (max-width: 680px) {

    .brand-inspiration-row {
        grid-template-columns: 1fr;
        padding: 65px 20px 25px;
        gap: 20px;
    }

    .brand-inspiration-copy {
        width: 100%;
        padding: 0;
    }

    .brand-inspiration-image {
        width: 100%;
        height: auto;
    }

    .brand-inspiration-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );
    }
}
/* ===== OKNO NA CAŁĄ SZEROKOŚĆ STRONY ===== */

.brand-inspiration-row {
    position: relative;

    width: 100vw;
    max-width: none;

    margin: 0 0 0 calc(50% - 50vw);
    padding: 65px 5% 40px;

    box-sizing: border-box;

    border-radius: 0;

    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 0;

    background: #f5f1eb;
    overflow: hidden;
}

/* USUNIĘCIE ODSTĘPÓW NAD I POD OKNEM */

.brand-inspiration-row {
    margin-top: 0;
    margin-bottom: 0;
}

/* TEKST PO LEWEJ */

.brand-inspiration-copy {
    width: 100%;
    min-width: 0;
    padding: 0 30px 0 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* OBRAZ PO PRAWEJ */

.brand-inspiration-image {
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    position: relative;
}

.brand-inspiration-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 45%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 45%
    );
}

/* BRAK ODSTĘPU PRZED STOPKĄ */

.brand-inspiration-row + .footer,
main + .footer {
    margin-top: 0;
}

/* IPHONE */

@media (max-width: 680px) {

    .brand-inspiration-row {
        grid-template-columns: 1fr;
        padding: 65px 20px 25px;
    }

    .brand-inspiration-copy {
        padding: 0;
    }

    .brand-inspiration-image img {
        width: 100%;
        height: auto;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );
    }
}

/* =========================================
   SELFCARE - JEDNOLITY UKŁAD RESPONSYWNY
   ========================================= */

:root {
    --selfcare-green: #344b43;
    --selfcare-bg: #f5f1eb;
    --page-padding: clamp(20px, 5vw, 80px);
}

/* PODSTAWOWE USTAWIENIA */

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: border-box;
}

main {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* =========================================
   JEDNAKOWA SZEROKOŚĆ WSZYSTKICH SEKCJI
   ========================================= */

.header,
.hero,
.values,
.about,
.section,
.brand-inspiration-row,
.footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* SEKCJE GŁÓWNE */

.hero,
.about,
.section,
.brand-inspiration-row {
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

/* =========================================
   NAGŁÓWEK I NAWIGACJA
   ========================================= */

.header {
    width: 100%;
    padding-left: var(--page-padding);
    padding-right: var(--page-padding);
}

.brand {
    min-width: 0;
}

/* =========================================
   SEKCJA HERO
   ========================================= */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 4vw, 65px);

    height: auto;
    min-height: 0;
}

.hero-copy {
    min-width: 0;
    max-width: none;
}

.hero-photo {
    width: 100%;
    min-width: 0;
    height: auto;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

/* =========================================
   PASEK WARTOŚCI
   ========================================= */

.values {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    align-items: center;

    padding: 25px var(--page-padding);
}

.values > div {
    min-width: 0;
    text-align: center;
}

/* =========================================
   SEKCJA O MNIE
   ========================================= */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(25px, 5vw, 70px);

    height: auto;
    min-height: 0;
}

.portrait {
    width: 100%;
    min-width: 0;
    height: auto;
}

.portrait img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.about-copy {
    min-width: 0;
    max-width: none;
}

/* =========================================
   MOJA OFERTA
   ========================================= */

.section {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-heading {
    width: 100%;
    max-width: none;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;

    width: 100%;
    max-width: none;
}

.service-card {
    width: 100%;
    min-width: 0;
    height: 100%;
}

/* =========================================
   OKNO: TEKST + OBRAZ
   ========================================= */

.brand-inspiration-row {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;

    width: 100%;
    height: auto;
    min-height: 0;

    margin: 0;
    padding-top: 75px;
    padding-bottom: 55px;

    border-radius: 0;
    background: var(--selfcare-bg);
    overflow: hidden;
}

/* LEWA KOLUMNA */

.brand-inspiration-copy {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0 30px 0 0;

    text-align: left;
}

.brand-inspiration-copy h2 {
    color: var(--selfcare-green);
    font-size: clamp(25px, 3vw, 44px);
    line-height: 1.15;
}

.brand-inspiration-copy p {
    color: var(--selfcare-green);
    line-height: 1.7;
}

/* PRAWA KOLUMNA */

.brand-inspiration-image {
    position: relative;
    z-index: 1;

    width: 100%;
    min-width: 0;
    height: auto;

    margin: 0;
    padding: 0;
    overflow: visible;
}

.brand-inspiration-image img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.5) 18%,
        black 45%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.5) 18%,
        black 45%
    );
}

/* NAPIS SELFCARE - LEWY GÓRNY RÓG */

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 22px;
    left: var(--page-padding);
    right: auto;
    z-index: 3;

    color: var(--selfcare-green);
    text-align: left;
}

/* =========================================
   STOPKA
   ========================================= */

.footer {
    width: 100%;
    max-width: none;
    margin: 0;

    background-image: url("assets/baner-ku-sobie.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.footer,
.footer strong,
.footer p,
.footer a,
.footer small {
    color: var(--selfcare-green);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;

    width: 100%;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

/* =========================================
   TABLETY
   ========================================= */

@media (max-width: 1000px) {

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .values {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .brand-inspiration-row {
        grid-template-columns: minmax(0, 55%) minmax(0, 45%);
    }

    .brand-inspiration-copy h2 {
        font-size: clamp(24px, 3.5vw, 36px);
    }
}

/* =========================================
   IPHONE I MAŁE EKRANY
   ========================================= */

@media (max-width: 680px) {

    :root {
        --page-padding: 20px;
    }

    .hero,
    .about,
    .brand-inspiration-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero,
    .about {
        gap: 25px;
    }

    .hero-copy,
    .about-copy {
        width: 100%;
    }

    .hero-photo,
    .portrait {
        width: 100%;
    }

    .values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* TEKST I OBRAZ */

    .brand-inspiration-row {
        padding-top: 70px;
        padding-bottom: 25px;
        gap: 20px;
    }

    .brand-inspiration-copy {
        width: 100%;
        padding: 0;
    }

    .brand-inspiration-copy h2 {
        font-size: clamp(25px, 7vw, 34px);
    }

    .brand-inspiration-image {
        position: relative;
        width: 100%;
        height: auto;
    }

    .brand-inspiration-image img {
        width: 100%;
        height: auto;
        object-fit: contain;

        -webkit-mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );

        mask-image: linear-gradient(
            to bottom,
            transparent 0%,
            black 35%
        );
    }

    /* STOPKA */

    .footer-links {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .footer-menu {
        justify-content: flex-start;
        gap: 20px;
    }
}

/* =========================================
   SELFCARE - WYSOKOŚĆ OKNA WYZNACZA TEKST
   ========================================= */

.brand-inspiration-row {
    position: relative;
    display: block;

    width: 100%;
    max-width: none;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 70px 5% 45px;

    box-sizing: border-box;
    background: #f5f1eb;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
}

/* LEWA STRONA - WYZNACZA WYSOKOŚĆ OKNA */

.brand-inspiration-copy {
    position: relative;
    z-index: 2;

    width: 50%;
    max-width: none;
    min-width: 0;

    margin: 0;
    padding: 0 35px 0 0;
    box-sizing: border-box;

    text-align: left;
}

/* PRAWA STRONA - NIE WPŁYWA NA WYSOKOŚĆ */

.brand-inspiration-image {
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;

    width: 20%;
    height: 50%;

    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* OBRAZ DOPASOWANY DO OKNA */

.brand-inspiration-image img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: contain;
    object-position: center right;

    /* PŁYNNE PRZENIKANIE W TEKST */

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 25%,
        black 65%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 25%,
        black 65%
    );
}

/* NAPIS W LEWYM GÓRNYM ROGU */

.brand-inspiration-row .brand-corner {
    position: absolute;
    top: 20px;
    left: 5%;
    right: auto;
    z-index: 3;
    color: #344b43;
}

/* =========================================
   MNIEJSZE OKNA KOMPUTERA
   ========================================= */

@media (max-width: 1000px) {

    .brand-inspiration-copy {
        width: 55%;
        padding-right: 20px;
    }

    .brand-inspiration-image {
        width: 50%;
    }
}

/* =========================================
   IPHONE I MAŁE EKRANY
   ========================================= */

@media (max-width: 680px) {

    .brand-inspiration-row {
        padding: 65px 20px 30px;
    }

    .brand-inspiration-copy {
        width: 100%;
        padding: 0;
    }

    .brand-inspiration-image {
        position: absolute;

        top: auto;
        right: 0;
        bottom: 0;

        width: 65%;
        height: 45%;

        opacity: 0.22;
        pointer-events: none;
    }

    .brand-inspiration-image img {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: bottom right;

        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 65%
        );

        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 65%
        );
    }

    .brand-inspiration-row .brand-corner {
        left: 20px;
    }
}
/* ===== STOPKA - WYSOKOŚĆ WEDŁUG TEKSTU ===== */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 15px 30px;
    box-sizing: border-box;
    gap: 20px;
}

/* Lewa część */
.footer > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer strong {
    margin: 0;
    line-height: 1.2;
}

.footer p {
    margin: 0;
    line-height: 1.3;
}

/* Prawa część */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer small {
    line-height: 1.2;
}

/* Obrazki nie mogą zwiększać wysokości stopki */
.footer img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Telefony */
@media (max-width: 680px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 12px 15px;
        gap: 12px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}
overflow: hidden;
    opacity: 1;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    opacity: 1;
}

/* Rozjaśniająca warstwa – mniejsza o około 2 tony */
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.10);
    pointer-events: none;
}
/* ===== OKNO2 – OBRAZ NA CAŁE TŁO ===== */

.hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Obraz wypełnia całe okno */
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Dopasowanie proporcji */
.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    /* Delikatne zanikanie w lewą stronę */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    );
}

/* Tekst zawsze nad obrazem */
.hero-copy {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 50px 5%;
}

/* Telefony */
@media (max-width: 768px) {
    .hero {
        min-height: 650px;
    }

    .hero-copy {
        width: 100%;
        padding: 50px 6%;
    }

    .hero-photo img {
        object-position: 65% center;
    }
}
.hero-copy h1 {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-size: clamp(38px, 4.5vw, 65px);
    font-weight: 400;
    line-height: 0.82;
    letter-spacing: -1px;
    color: #252832;
}

.hero-copy h1 i {
    font-family: "DM Serif Display", Georgia, serif !important;
    font-style: italic !important;
    font-weight: 100;
    color: #252832;
}
/* Nagłówek jak na zdjęciu */

.hero-copy h1 {
    font-family: "Cormorant Garamond", serif !important;
    font-size: clamp(46px, 5.3vw, 76px);
    font-weight: 400 !important;
    font-style: normal;
    line-height: 0.92;
    letter-spacing: -1.5px;
    color: #252832;
    margin: 0 0 20px;
}

.hero-copy h1 i {
    font-family: "Cormorant Garamond", serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    color: #252832 !important;
}

        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 65%
        );
    }

    .brand-inspiration-row .brand-corner {
        left: 20px;
    }
}
/* ===== STOPKA - WYSOKOŚĆ WEDŁUG TEKSTU ===== */

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 15px 30px;
    box-sizing: border-box;
    gap: 20px;
}

/* Lewa część */
.footer > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer strong {
    margin: 0;
    line-height: 1.2;
}

.footer p {
    margin: 0;
    line-height: 1.3;
}

/* Prawa część */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-menu {
    display: flex;
    gap: 20px;
}

.footer small {
    line-height: 1.2;
}

/* Obrazki nie mogą zwiększać wysokości stopki */
.footer img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Telefony */
@media (max-width: 680px) {
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 12px 15px;
        gap: 12px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
    opacity: 1;
}

/* Rozjaśniająca warstwa – mniejsza o około 2 tony */
.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.10);
    pointer-events: none;
}
/* ===== OKNO2 – OBRAZ NA CAŁE TŁO ===== */

.hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Obraz wypełnia całe okno */
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Dopasowanie proporcji */
.hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    /* Delikatne zanikanie w lewą stronę */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    );
}

/* Tekst zawsze nad obrazem */
.hero-copy {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 50px 5%;
}
.hero-line {
    width: 100%;
    height: 2px;
    background-color: #8a9b86;
    margin: 20px 0 25px;
}
/* ===== STOPKA ===== */

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    height: auto;
    min-height: 0;
    padding: 25px 40px;
}

/* LEWA STRONA */
.footer-brand {
    text-align: left;
}

/* ŚRODEK */
.footer-center {
    text-align: center;
    justify-self: center;
    color: #45494a;
}

.footer-center span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    white-space: nowrap;
}

/* KRESKA POD NAPISEM */
.footer-line {
    width: 45px;
    height: 1px;
    background: #a99b92;
    margin: 12px auto 0;
}

/* PRAWA STRONA */
.footer-links {
    justify-self: end;
    text-align: right;
}

/* TELEFONY */
@media (max-width: 680px) {
    .footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 20px;
        padding: 25px 15px;
    }

    .footer-brand,
    .footer-links {
        text-align: center;
        justify-self: center;
    }

    .footer-center span {
        font-size: 23px;
    }
}
/* ===== STOPKA Z PEŁNYM RYSUNKIEM FAL ===== */

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;

    width: 100%;
    height: auto;
    min-height: 180px;
    padding: 35px 40px;
    box-sizing: border-box;

    background-image: url("baner-ku-sobie(1).png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}

/* LEWA STRONA */
.footer-brand {
    text-align: left;
}

/* ŚRODEK */
.footer-center {
    text-align: center;
    justify-self: center;
    color: #45494a;
}

.footer-center span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
}

.footer-line {
    width: 45px;
    height: 1px;
    background: #a99b92;
    margin: 12px auto 0;
}

/* PRAWA STRONA */
.footer-links {
    justify-self: end;
    text-align: right;
}

/* TELEFONY */
@media (max-width: 680px) {

    .footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        padding: 25px 15px;
        min-height: 0;
    }

    .footer-brand,
    .footer-links {
        justify-self: center;
        text-align: center;
    }

    .footer-center span {
        font-size: 23px;
    }
}
/* ===== STOPKA SELFCARE ===== */

footer.footer {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;

    width: 100%;
    height: auto;
    min-height: 0;
    padding: 30px 40px;
    box-sizing: border-box;

    /* TŁO Z FALAMI */
    background-color: #f7f3ee;
    background-image: url("assets/baner-ku-sobie.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    color: #45494a;
    overflow: hidden;
}

/* USUNIĘCIE STAREGO CIEMNEGO TŁA */
footer.footer::before,
footer.footer::after {
    content: none;
}

/* LEWA STRONA */

.footer .footer-brand {
    text-align: left;
    color: #45494a;
}

.footer .footer-brand strong {
    color: #45494a;
    font-size: 25px;
}

.footer .footer-brand p {
    color: #45494a;
    margin: 5px 0 0;
}

/* ŚRODEK */

.footer .footer-center {
    text-align: center;
    justify-self: center;
    color: #45494a;
}

.footer .footer-center span {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.15;
    color: #45494a;
}

.footer .footer-line {
    width: 45px;
    height: 1px;
    background: #a99b92;
    margin: 12px auto 0;
}

/* PRAWA STRONA */

.footer .footer-links {
    justify-self: end;
    text-align: right;
    color: #45494a;
}

.footer .footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer .footer-menu a,
.footer .footer-links small {
    color: #45494a;
    text-decoration: none;
}

.footer .footer-menu a:hover {
    color: #8b806f;
}

/* TELEFONY */

@media (max-width: 680px) {

    footer.footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        padding: 25px 15px;
    }

    .footer .footer-brand,
    .footer .footer-center,
    .footer .footer-links {
        justify-self: center;
        text-align: center;
    }

    .footer .footer-center span {
        font-size: 23px;
    }

    .footer .footer-menu {
        justify-content: center;
    }
}
/* ===== WSPÓLNA STOPKA ===== */

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 20px;
    position: relative;
}

.footer-brand {
    grid-column: 1;
    grid-row: 1;
}

.footer-center {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    text-align: center;
}

.footer-links {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.footer-copyright {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    text-align: center;
}

/* TELEFONY */

@media (max-width: 680px) {
    .footer {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .footer-brand,
    .footer-center,
    .footer-links,
    .footer-copyright {
        grid-column: 1;
        grid-row: auto;
        justify-self: center;
        text-align: center;
    }
}
/* ===== OKNO 4 – TRZY KOLUMNY ===== */

.okno4 {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr) 22%;
    align-items: center;
    gap: 30px;

    width: 100%;
    height: auto;
    min-height: 0;
    padding: 30px;
    box-sizing: border-box;
}

/* ZDJĘCIE MARII */

.okno4-foto {
    width: 100%;
    min-width: 0;
    height: 360px;
    overflow: hidden;
}

.okno4-foto img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEKST */

.okno4-tekst {
    min-width: 0;
    text-align: left;
}

.okno4-tekst h2 {
    margin: 12px 0 20px;
}

.okno4-tekst p {
    margin-bottom: 25px;
}

/* PLAKAT PO PRAWEJ */

.okno4-obraz {
    width: 100%;
    min-width: 0;
    height: 360px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.okno4-obraz img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TABLETY */

@media (max-width: 950px) {
    .okno4 {
        grid-template-columns: 35% minmax(0, 1fr);
        gap: 20px;
    }

    .okno4-obraz {
        grid-column: 1 / -1;
        height: 300px;
    }
}

/* TELEFONY */

@media (max-width: 680px) {
    .okno4 {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .okno4-foto {
        height: auto;
    }

    .okno4-foto img {
        width: 100%;
        height: auto;
    }

    .okno4-obraz {
        grid-column: auto;
        height: auto;
    }

    .okno4-obraz img {
        width: 100%;
        max-height: 450px;
        height: auto;
        object-fit: contain;
    }
}
/* ===== OKNO 4 – TRZY KOLUMNY ===== */

.okno4 {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr) 22%;
    align-items: center;
    gap: 30px;

    width: 100%;
    height: auto;
    min-height: 0;
    padding: 30px;
    box-sizing: border-box;
}

/* ZDJĘCIE MARII */

.okno4-foto {
    width: 100%;
    min-width: 0;
    height: 360px;
    overflow: hidden;
}

.okno4-foto img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEKST */

.okno4-tekst {
    min-width: 0;
    text-align: left;
}

.okno4-tekst h2 {
    margin: 12px 0 20px;
}

.okno4-tekst p {
    margin-bottom: 25px;
}

/* PLAKAT PO PRAWEJ */

.okno4-obraz {
    width: 100%;
    min-width: 0;
    height: 360px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.okno4-obraz img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TABLETY */

@media (max-width: 950px) {
    .okno4 {
        grid-template-columns: 35% minmax(0, 1fr);
        gap: 20px;
    }

    .okno4-obraz {
        grid-column: 1 / -1;
        height: 300px;
    }
}

/* TELEFONY */

@media (max-width: 680px) {
    .okno4 {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .okno4-foto {
        height: auto;
    }

    .okno4-foto img {
        width: 100%;
        height: auto;
    }

    .okno4-obraz {
        grid-column: auto;
        height: auto;
    }

    .okno4-obraz img {
        width: 100%;
        max-height: 450px;
        height: auto;
        object-fit: contain;
    }
}

.okno4-obraz img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TABLETY */

@media (max-width: 950px) {
    .okno4 {
        grid-template-columns: 35% minmax(0, 1fr);
        gap: 20px;
    }

    .okno4-obraz {
        grid-column: 1 / -1;
        height: 300px;
    }
}

/* TELEFONY */

@media (max-width: 680px) {
    .okno4 {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .okno4-foto {
        height: auto;
    }

    .okno4-foto img {
        width: 100%;
        height: auto;
    }

    .okno4-obraz {
        grid-column: auto;
        height: auto;
    }

    .okno4-obraz img {
        width: 100%;
        max-height: 450px;
        height: auto;
        object-fit: contain;
    }
}
/* =========================================
   OKNO 4 – FOTO MARII + PRZENIKAJĄCA GRAFIKA
   ========================================= */

.okno4 {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: 32% minmax(0, 1fr);
    align-items: stretch;
    gap: 0;

    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    margin: 0;

    background: #f7f3ed;
    overflow: hidden;
}

/* ===== FOTO MARII ===== */

.okno4 .okno4-foto {
    grid-column: 1;
    grid-row: 1;

    position: relative;
    z-index: 3;

    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.okno4 .okno4-foto img {
    display: block;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* ===== TEKST ===== */

.okno4 .okno4-tekst {
    grid-column: 2;
    grid-row: 1;

    position: relative;
    z-index: 2;

    min-width: 0;
    width: 100%;

    padding: 65px 8%;
    margin: 0;

    background: transparent;
    text-align: left;
}

.okno4 .okno4-tekst h2 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.15;
    margin: 12px 0 20px;
    color: #344b43;
}

.okno4 .okno4-tekst p {
    max-width: 620px;
    line-height: 1.75;
    margin: 0 0 28px;
    color: #344b43;
}

/* ===== GRAFIKA POD TEKSTEM ===== */

.okno4 .okno4-obraz {
    position: absolute;
    z-index: 1;

    top: 0;
    bottom: 0;
    left: 32%;
    right: 0;

    width: auto;
    height: auto;
    min-height: 0;

    margin: 0;
    padding: 0;
    overflow: hidden;

    pointer-events: none;
}

.okno4 .okno4-obraz img {
    display: block;
    position: absolute;

    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 60%;

    opacity: 0.55;

    /* PŁYNNE PRZENIKANIE W LEWO */

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 18%,
        rgba(0,0,0,0.65) 45%,
        black 80%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.25) 18%,
        rgba(0,0,0,0.65) 45%,
        black 80%
    );
}

/* ===== TABLETY ===== */

@media (max-width: 900px) {

    .okno4 {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .okno4 .okno4-obraz {
        left: 38%;
    }

    .okno4 .okno4-tekst {
        padding: 35px 6%;
    }
}

/* ===== IPHONE ===== */

@media (max-width: 680px) {

    .okno4 {
        display: flex;
        flex-direction: column;
    }

    .okno4 .okno4-foto {
        width: 100%;
        height: auto;
    }

    .okno4 .okno4-foto img {
        position: static;
        width: 500%;
        height: auto;
        object-fit: contain;
    }

    .okno4 .okno4-tekst {
        width: 100%;
        padding: 40px 22px;
    }

    .okno4 .okno4-obraz {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45%;
    }

    .okno4 .okno4-obraz img {
        opacity: 0.25;
        object-position: center;
    }
}
/* OKNO 4 – OBRAZ PO PRAWEJ */

.okno4 {
    position: relative;
    overflow: hidden;
}

.okno4-obraz {
    position: absolute;
    top: 0;
    right: 0;
    width: 10%;       /* SZEROKOŚĆ OBRAZKA */
    height: 50%;
    z-index: 1;
}

.okno4-obraz img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    object-position: right center;
}

.okno4-tekst {
    position: relative;
    z-index: 2;
}

/* PRZYCISK JAK PRACUJĘ */
.hero .actions .btn {
    font-family: inherit;
    font-size: 22px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* Przycisk -JAK PRACUJĘ – SAM TEKST */
.hero .actions .btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;

    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #30313a;
}

.hero .actions .btn:hover {
    background: transparent !important;
    color: #41644f;
}
/* KONIEC Przycisk -JAK PRACUJĘ – SAM TEKST */

/* Przyciek JAK PRACUJĘ – SAM TEKST */
.hero .actions .btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;

    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #30313a;
}

.hero .actions .btn:hover {
    background: transparent !important;
    color: #41644f;
}

/* Przycisk JAK PRACUJĘ – SAM TEKST */
.hero .actions .btn {
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0;

    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #30313a;
}

.hero .actions .btn:hover {
    background: transparent !important;
    color: #41644f;
}
	/* KONIEC */

/* czcionka OPIS POD NAGŁÓWKIEM */

.hero .hero-description {
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0;
    color: #34483e;
}

/* OKNO 2 – CZCIONKA OPISU */
.hero .hero-description {
    font-family: "DM Sans", sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    letter-spacing: 0;
    color: #34483e;
}




/* OKNO 2 – CZCIONKA JAK NA ZDJĘCIU- PSYCHOTERAPIA */
.hero .hero-copy p.hero-description {
    font-family: "Poppins", sans-serif !important;

/* zmiana rozmiaru – CZCIONKA JAK NA ZDJĘCIU- PSYCHOTERAPIA */
 font-size: clamp(5px, calc(8px + 0.5vw), 16px) !important;
		
    font-weight: 500 !important;
    font-style: normal !important;
    line-height: 1.7 !important;
    letter-spacing: -0.2px !important;
    color: #34483e;

}
/* CZYTAJ WIĘCEJ – BEZ ZIELONEGO TŁA */
.about .actions .btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.about .actions .btn:hover {
    background: transparent !important;
}

.about .work-closing {
    color: #2e4539 !important;
    font-weight: 500;
    margin: 0;
}
/* OKNO 2 – PRZESUWANIE RAMKI W LEWO */
/* ZMNIEJSZONE OKNO PRZEGLĄDARKI */

@media (max-width: 768px) 
{
.hero .hero-copy {
        position: relative;
        left: -100px;
    }

}
/* OKNO 2 – ZMNIEJSZONY EKRAN */


}
/* OKNO 2 – PROPORCJONALNE PRZENIKANIE */

@media (max-width: 900px) {

    /* Przywrócenie intensywności zdjęcia */
    .hero .hero-photo {
        opacity: 1 !important;
    }

    /* Usunięcie dodatkowego rozjaśnienia */
    .hero .hero-copy {
        background: transparent !important;
    }

    /* Zachowanie delikatnej jasnej warstwy */
    .hero .hero-photo::after {
        background: rgba(255,255,255,0.10) !important;
    }

/* Regulacja przenikania */
    .hero .hero-photo img {
        -webkit-mask-image: linear-gradient(
            to right,
/*Widoczność zdjęcia przy lewej krawędzi*/
            rgba(0,0,0,0.25) 0%,
/*Intensywność zdjęcia w lewej części*/
            rgba(0,0,0,0.55) 30%,
/*Stopień przenikania w środkowej części*/
            rgba(0,0,0,0.85) 60%,
/*Od tego miejsca zdjęcie jest w pełni widoczne*/
            black 65%
        );
/*Moja propozycja: zacznij od podanych wartości. Jeśli lewa strona nadal będzie za blada, zwiększ 0.25 do 0.40 w obu gradientach.

W ten sposób uzyskasz płynne przenikanie o podobnych proporcjach jak na pełnym ekranie, ale bez nadmiernego rozjaśniania po zmniejszeniu okna. Układ tekstu, przesunięcie ramki i wysokość pozostaną bez zmian.*/

        mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0.25) 0%,
            rgba(0,0,0,0.55) 20%,
            rgba(0,0,0,0.85) 40%,
            black 65%
        );
    }
}
/* OKNO 2 – PRZESUWANIE NAPISU JAK PRACUJĘ */

.hero .actions {
    position: relative;
/* parametr PRZESUWANIE NAPISU JAK PRACUJĘ */
    top: -140px;
}

/*MOJA OFERTA zmiana na 3 KOLUMNY NA TELEFONIE*/

@media (max-width: 680px) {

    /* Trzy okna obok siebie */
    .section .cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    /* Pomniejszone okna */
    .section .service-card {
        min-width: 0;
        min-height: 165px;
        height: 100%;
        padding: 12px 5px;
        border-radius: 9px;
    }

    /* Pomniejszone ikony */
    .section .card-icon {
        width: 36px;
        height: 36px;
        font-size: 23px;
        flex-shrink: 0;
    }

    /* Pomniejszone tytuły */
    .section .service-card h3 {
        font-size: clamp(11px, 3.2vw, 16px);
        line-height: 1.15;
        margin: 10px 0 5px;
        overflow-wrap: anywhere;
    }

    /* Pomniejszone opisy */
    .section .service-card p {
        font-size: clamp(9px, 2.3vw, 11px);
        line-height: 1.3;
        margin: 5px 0;
    }
}

/* ===== OKNO 2 – PROPORCJONALNE ZMNIEJSZANIE ===== */

/* Nagłówek – zawsze dwie linie */
.hero .hero-copy h1 {
    font-size: clamp(20px, 5.3vw, 76px) !important;
    line-height: 0.92;
    letter-spacing: -0.02em;
    white-space: nowrap;
    margin: 0 0 clamp(8px, 1vw, 15px);
}

/* Zachowanie kursywy */
.hero .hero-copy h1 i {
    font-size: inherit;
    white-space: nowrap;
}

/* Kreska zmniejsza się razem z napisem */
.hero .hero-line {
    width: 45%;
    max-width: 100%;
    height: 2px;
    margin: 0 0 clamp(10px, 2vw, 25px);
}

/* Płynna wysokość całego okna */
.hero {
    min-height: clamp(260px, 45vw, 650px);
}
}
/* Pełny ekran – 2 wiersze */
.hero-description .mobile-break {
    display: none;
}

/* Zmniejszone okno – 3 wiersze */
@media (max-width: 1200px) {
    .hero-description .mobile-break {
        display: block;
    }
}
/* ===== MENU HAMBURGER ===== */

@media (max-width: 900px) {

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        background: transparent;
        border: none;
        font-size: 28px;
        color: #303b33;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fbf8f3;
        padding: 20px;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        box-shadow: 0 8px 15px rgba(0,0,0,0.08);
        z-index: 1001;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 18px;
    }
}
/* ROZMIAR IKONY HAMBURGERA */

@media (max-width: 900px) {
    .header .hamburger {
        font-size: 16px !important;
        line-height: 1 !important;
    }
}


/* ===== MARIA OKNO 3 - TRZY KOLUMNY ===== */

.about {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
}

/* OBRAZY */
.about .portrait {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.about .portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEKST ŚRODKOWY */
.about .about-copy {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

/* PRZYCISK */
.about .actions {
    margin-top: 20px;
}

.about .work-closing {
    margin: 0;
}

/* MNIEJSZE OKNA */
@media (max-width: 900px) {

    .about {
        grid-template-columns: 25% 50% 25%;
    }

    .about .about-copy {
        padding: 20px 15px;
    }
}

/* TELEFONY */
@media (max-width: 560px) {

    .about {
        grid-template-columns: 1fr;
    }

    .about .portrait {
        height: 220px;
    }

    .about .about-copy {
        padding: 25px 20px;
    }
}
.about .portrait:last-child img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.about .portrait:last-child img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}







/* BLIZEJ - dopasowanie wysokości do FOTO2 */
.about .portrait:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .portrait:last-child img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
/* TRZY KOLUMNY */
.about.about-trzy-kolumny {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto !important;
    align-items: start;
    gap: 0;
}

/* TEKST */
.about.about-trzy-kolumny > .about-copy {
    min-width: 0;
    padding: 30px;
}

/* TYLKO BLIZEJ.PNG */
.about.about-trzy-kolumny > .portrait-blizej {
    width: auto;
    height: 100%;
    min-width: 0;
    overflow: visible;
}

.about.about-trzy-kolumny > .portrait-blizej img {
    display: block;
    width: auto !important;
    height: 100% !important;
    max-width: none;
    object-fit: contain !important;
}
/* ZMNIEJSZENIE TYLKO BLIZEJ.PNG */

.about.about-trzy-kolumny > .portrait-blizej img {
    width: 30% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
}
/* MARIA - WYROWNANY UKLAD */

.about.about-trzy-kolumny {
    display: grid !important;
    grid-template-columns: 40% 35% 25% !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    height: auto !important;
}

/* LEWE ZDJECIE - BEZ PRZYCINANIA */
.about.about-trzy-kolumny > .portrait:first-child {
    width: 100%;
    height: auto;
    overflow: visible;
}

.about.about-trzy-kolumny > .portrait:first-child img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
}

/* TEKST */
.about.about-trzy-kolumny > .about-copy {
    min-width: 0;
    padding: 25px 30px;
    box-sizing: border-box;
}

/* PRAWE ZDJECIE - MNIEJSZE */
.about.about-trzy-kolumny > .portrait-blizej {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: visible;
}

.about.about-trzy-kolumny > .portrait-blizej img {
    display: block;
    width: 70% !important;
    height: auto !important;
    object-fit: contain !important;
}



/* BLIZEJ.PNG - PRZENIKANIE NA KAŻDYM EKRANIE */

.about.about-trzy-kolumny > .portrait-blizej img {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    ) !important;

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 20%,
        rgba(0,0,0,0.75) 40%,
        black 65%
    ) !important;
}
/* MINIMALNE OKNO - NADAL TRZY KOLUMNY */

@media (max-width: 560px) {

    .about.about-trzy-kolumny {
        grid-template-columns: 40% 35% 25% !important;
        gap: 0 !important;
    }

    .about.about-trzy-kolumny > .about-copy {
        padding: 4px !important;
    }

    .about.about-trzy-kolumny > .about-copy h2 {
        font-size: clamp(10px, 2.8vw, 16px) !important;
    }

    .about.about-trzy-kolumny > .about-copy p {
        font-size: clamp(8px, 1.8vw, 11px) !important;
    }
}

@media (max-width: 560px) and (hover: none) and (pointer: coarse) {

    /* Wyłącz automatyczne powiększanie drobnego tekstu w Safari. */
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Zachowaj trzy kolumny jak w zmniejszonym oknie Windows. */
    .about.about-trzy-kolumny {
        display: grid !important;
        grid-template-columns: 40% 35% 25% !important;
        align-items: center !important;
        gap: 0 !important;
    }

    /* Kompaktowy układ środkowej kolumny. */
    .about.about-trzy-kolumny > .about-copy {
        min-width: 0;
        padding: 2px 3px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* POZNAJMY SIĘ - w jednym wierszu. */
    .about.about-trzy-kolumny > .about-copy .eyebrow {
        font-size: clamp(7px, 1.9vw, 9px) !important;
        letter-spacing: .7px !important;
        line-height: 1.15 !important;
        margin: 0 0 6px !important;
        white-space: nowrap;
    }

    /* Nazywam się Maria Smyk. */
    .about.about-trzy-kolumny > .about-copy h2 {
        font-size: clamp(9px, 2.3vw, 11px) !important;
        line-height: 1.2 !important;
        margin: 0 0 9px !important;
        white-space: nowrap;
    }

    /* Tekst główny nie może zwiększać wysokości całego okna. */
    .about.about-trzy-kolumny > .about-copy p {
        font-size: clamp(8px, 1.95vw, 10px) !important;
        line-height: 1.45 !important;
        margin: 0 0 8px !important;
    }

    .about.about-trzy-kolumny > .about-copy .actions {
        margin: 4px 0 0 !important;
    }

    /* Czytaj więcej... - zmniejsz napis bez zmiany jego stylu. */
    .about.about-trzy-kolumny > .about-copy .work-closing,
    .about.about-trzy-kolumny > .about-copy .actions a,
    .about.about-trzy-kolumny > .about-copy > a {
        font-size: clamp(11px, 3vw, 14px) !important;
        line-height: 1.15 !important;
        white-space: nowrap;
        margin: 0 !important;
    }
}
@media (max-width: 900px) {

    .panel .consultation-buttons {
        display: flex !important;
        flex-wrap: wrap !important;
        column-gap: 14px !important;
        row-gap: 12px !important;
        align-items: center;
    }

    .panel .consultation-buttons .cta {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        margin: 0 !important;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* ============================================================
   OKNO 3 - NAPRAWA BLIZEJ.PNG PRZY MINIMALIZACJI
   TYLKO TRZECIE OKNO: FOTO MARII NA GORZE,
   TEKST PO LEWEJ, BLIZEJ.PNG PO PRAWEJ
   ============================================================ */
@media (max-width: 760px) {
    section.about.about-trzy-kolumny {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 32%) !important;
        grid-template-areas:
            "maria maria"
            "opis blizej" !important;
        align-items: start !important;
        column-gap: 12px !important;
        row-gap: 18px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 16px 16px 24px !important;
        overflow: visible !important;
    }

    /* GORNY RZAD - FOTO MARII W CALOSCI */
    section.about.about-trzy-kolumny > .portrait:first-child {
        grid-area: maria !important;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        overflow: visible !important;
        transform: none !important;
    }

    section.about.about-trzy-kolumny > .portrait:first-child img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    /* DOLNY RZAD - OPIS PO LEWEJ */
    section.about.about-trzy-kolumny > .about-copy {
        grid-area: opis !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
    }

    /* DOLNY RZAD - OBRAZ BLIZEJ PO PRAWEJ */
    section.about.about-trzy-kolumny > .portrait-blizej {
        grid-area: blizej !important;
        display: flex !important;
        position: relative !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        z-index: 1 !important;
    }

    section.about.about-trzy-kolumny > .portrait-blizej img {
        display: block !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: top center !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        clip-path: none !important;
    }
}

/* CZYTELNE NAPISY W DWOCH KOLUMNACH NA TELEFONIE */
@media (max-width: 560px) {
    section.about.about-trzy-kolumny > .about-copy .eyebrow {
        font-size: 10px !important;
        letter-spacing: 1.5px !important;
        white-space: normal !important;
    }
    section.about.about-trzy-kolumny > .about-copy h2 {
        font-size: clamp(23px, 5.5vw, 30px) !important;
        line-height: 1.1 !important;
        white-space: normal !important;
    }
    section.about.about-trzy-kolumny > .about-copy p {
        font-size: clamp(13px, 3vw, 15px) !important;
        line-height: 1.55 !important;
    }
}

/* OKNO 1 – PRZESUWANIE TEKSTU W TELEFONIE */
@media (max-width: 900px) {
    .hero .hero-copy {
        padding-left: 12% !important;
    }
}


/* ======================================
   OKNO Z FOTELEM – TELEFON
   REGULACJA PRZENIKANIA ZDJĘCIA
   ====================================== */

@media (max-width: 768px) {

    /* OGÓLNA WIDOCZNOŚĆ ZDJĘCIA */
    .hero .hero-photo {
        opacity: 1 !important;
    }

    /* JASNOŚĆ CAŁEGO ZDJĘCIA
       0.00 = bez rozjaśnienia
       0.10 = lekkie rozjaśnienie
       0.30 = mocne rozjaśnienie */

    .hero .hero-photo::after {
        background: rgba(255,255,255,0.10) !important;
    }

    /* PRZENIKANIE ZDJĘCIA OD LEWEJ DO PRAWEJ */

    .hero .hero-photo img {

        -webkit-mask-image: linear-gradient(
            to right,

            /* Lewa krawędź: 0 = niewidoczna, 1 = pełna */
            rgba(0,0,0,0.10) 0%,

            /* Pierwszy etap przenikania */
            rgba(0,0,0,0.10) 20%,

            /* Środkowa część zdjęcia */
            rgba(0,0,0,0.10) 40%,

            /* Pełna widoczność zdjęcia */
            black 65%

        ) !important;

        mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0.05) 0%,
            rgba(0,0,0,0.10) 10%,
            rgba(0,0,0,0.10) 20%,
            black 65%
        ) !important;
    }
}


/* OKNO Z FOTELEM – ZMNIEJSZANIE TŁA NA TELEFONIE */

@media (max-width: 768px) {

    .hero .hero-photo img {

        /* Pokazuje całe zdjęcie bez przycinania */
        object-fit: contain !important;

        /* Zmniejszanie zdjęcia */
        transform: scale(1.20) !important;

        /* Punkt odniesienia zmniejszania */
        transform-origin: right center !important;

        /* Wyrównanie zdjęcia */
        object-position: right center !important;
    }
}
/* OKNO Z FOTELEM – USUNIĘCIE BLADEGO PROSTOKĄTA */
/* TYLKO TELEFON */

@media (max-width: 768px) {

    /* Usunięcie tła za tekstem */
    .hero .hero-copy {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Usunięcie jasnej warstwy na zdjęciu */
    .hero .hero-photo::after {
        display: none !important;
    }

}/* OKNO Z FOTELEM – DOPASOWANIE TŁA DO OKNA */
/* TELEFON */

@media (max-width: 768px) {

    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero .hero-photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 1 !important;
    }

    .hero .hero-photo img {

        /* Dopasowanie zdjęcia do całego okna */
        width: 100% !important;
        height: 100% !important;

        /* Wypełnienie bez zniekształcania */
        object-fit: cover !important;

        /* Położenie zdjęcia – regulacja */
        object-position: 65% center !important;

        /* Usunięcie poprzedniego pomniejszenia */
        transform: none !important;
    }
}

/* OKNO Z FOTELEM – iPHONE 17 PRO */

@media screen and (max-width: 430px) {

    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero .hero-photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 1 !important;
    }

    .hero .hero-photo img {
        width: 100% !important;
        height: 100% !important;

        /* Dopasowanie zdjęcia do okna */
        object-fit: cover !important;

        /* Przesuwanie kadru zdjęcia */
        object-position: 75% center !important;

        /* Usunięcie wcześniejszego skalowania */
        transform: none !important;
    }

    /* Usunięcie jasnego prostokąta */
    .hero .hero-copy {
        background: transparent !important;
    }

    .hero .hero-photo::after {
        display: none !important;
    }
}
/* ===== BANER COOKIES ===== */

#cookie-banner {
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow-y: auto;
}

#policy-modal {
    position: fixed !important;
    z-index: 1000000 !important;
}


/* CENNIK – JEDNO OKNO Z PRZENIKAJĄCYM TŁEM */
.cennik-okno {
    position: relative !important;
    display: block !important;
    isolation: isolate;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f6f3eb;
}
.cennik-okno .cennik-tekst {
    position: relative !important;
    z-index: 2;
    width: 85%;
    max-width: none;
    margin: 0;
    padding: 40px 5%;
    background: transparent !important;
    box-sizing: border-box;
}
.cennik-tekst h1 {
    font-family: "DM Serif Display", serif;
    font-size: clamp(32px, 4vw, 58px);
    margin: 15px 0 30px;
}
.cennik-tekst p { font-size: 16px; line-height: 1.5; margin: 0 0 20px; }
.cennik-tekst ul { padding-left: 22px; line-height: 1.6; }
.cennik-okno .cennik-obraz { display: none !important; }
.cennik-okno::before {
    content: "";
    position: absolute;
    top: 0;
    right: 3%;
    bottom: 0;
    width: auto;
    aspect-ratio: 697 / 2048;
    max-width: 90%;
    background: url("assets/blizej.png") no-repeat right center / contain;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80%);
    mask-image: linear-gradient(to right, transparent, black 80%);
}
@media (max-width: 768px) {
    .cennik-okno .cennik-tekst { width: 100%; padding: 25px 4%; }
    .cennik-tekst h1 { font-size: 32px; margin: 15px 0 25px; }
    .cennik-tekst p, .cennik-tekst li { font-size: 14px; line-height: 1.5; }
    .cennik-okno::before { right: 0; max-width: 80%; opacity: .45; }
}

/* ===== WIDGET ZNANYLEKARZ ===== */

.znanylekarz-widget {
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.znanylekarz-widget h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    margin-bottom: 25px;
}

.znanylekarz-widget iframe {
    max-width: 100%;
}

/* TELEFONY */

@media (max-width: 680px) {

    .znanylekarz-widget {
        width: 100%;
        margin-top: 20px;
        padding: 0;
    }

    .znanylekarz-widget h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

}
/* ===== ZNANYLEKARZ - KALENDARZ ===== */

.znanylekarz-widget {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    box-sizing: border-box;
}

.znanylekarz-widget iframe {
    max-width: 100%;
}

/* ZNANYLEKARZ - TELEFONY */

@media (max-width: 680px) {

    .znanylekarz-widget {
        width: 100%;
        max-width: 100%;
        margin: 15px auto;
        padding: 0;
    }

}
/* ===== NISKIE KAFELKI CENNIKA ===== */

.cards .service-card-mini {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    padding: 10px 20px;
    align-self: start;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.cards .service-card-mini h3 {
    margin: 0;
    line-height: 1.2;
}

.cards .service-card-mini p {
    margin: 0;
    line-height: 1.2;
}
/* ===== SZEROKIE KAFELKI DIAGNOZY ADHD ===== */

.cards.cards-full {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;

    width: 100%;
    max-width: none !important;

    margin: 15px auto;
    box-sizing: border-box;
}

.cards-full .service-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;

    height: auto !important;
    min-height: 0 !important;

    padding: 15px 20px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

/* TELEFONY */

@media (max-width: 680px) {

    .cards.cards-full {
        width: 100%;
    }

    .cards-full .service-card {
        padding: 10px 12px;
    }

}
/* ===== WYRÓWNANIE TEKSTU DO LEWEJ ===== */

.cards-full .service-card {
    text-align: left !important;
    align-items: flex-start !important;
}

.cards-full .service-card h3,
.cards-full .service-card p,
.cards-full .service-card strong {
    text-align: left !important;
}
/* ===== PIERWSZY NAPIS NA CAŁĄ SZEROKOŚĆ ===== */
.hero .hero-copy .hero-full-text {

    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(20px, 2.5cqw, 32px) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    color: #34483e;

    width: 10cqw !important;
    max-width: none !important;

  white-space: normal !important;
    text-align: left;
}
/* ===== PRZESUNIĘCIE PIERWSZEGO NAPISU ===== */

.hero .hero-copy .hero-full-text {
    position: relative;
    top: -0.7em !important;
}/* ===== PRZESUNIĘCIE NAPISU „NIE CHODZI...” ===== */

.hero .work-closing {
    display: block !important;
    transform: translateY(120px) !important;
}
/* ===== PRZESUNIĘCIE NAPISU „NIE CHODZI...” ===== */

.hero .hero-copy .hero-closing-text {
    position: relative !important;
    top: 60px !important;
    margin-bottom: 85px !important;
}