/* =========================================================
   Psychoterapia Wolf – Gabinet Psychologiczny
   Kolory: beżowy | niebieski | granatowy
   ========================================================= */
:root {
    --beige-light: #f7f0e6;
    --beige: #efe3d1;
    --beige-dark: #e2d1b8;
    --blue: #4a90c2;
    --blue-light: #7fb3d5;
    --navy: #14344f;
    --navy-dark: #0f273c;
    --white: #ffffff;
    --text: #33383d;
    --muted: #6b728;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(20, 52, 79, 0.12);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--beige-light);
}

h1, h2, h3, .brand-text { font-family: 'Merriweather', Georgia, serif; }

img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all .25s ease;
    cursor: pointer;
    font-size: .95rem;
}

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Jasny wariant przycisku konturowego - na granatowym tle (hero) */
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); transform: translateY(-2px); box-shadow: 0 0 25px rgba(0, 0, 0, .3); }

.btn-block { width: 100%; }

/* =========================================================
   NAWIGACJA
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--beige-light);
    border-bottom: 1px solid var(--beige-dark);
}
.header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { font-size: .72rem; color: var(--blue); font-family: 'Open Sans', sans-serif; }

.main-nav { display: flex; gap: 8px; }
.nav-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: .9rem;
    padding: 8px 14px;
    border-radius: 30px;
    transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--beige); color: var(--navy); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* =========================================================
   HERO (Strona Główna)
   ========================================================= */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 55%, var(--blue) 130%);
    color: var(--white);
    padding: 90px 20px 100px;
}
.hero-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hero-text { flex: 1 1 480px; }
.hero-text h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 10px; }
.hero-subtitle {
    color: var(--blue-light);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: .3px;
    margin-bottom: 20px;
}
.hero-lead { font-size: 1.05rem; max-width: 560px; margin-bottom: 32px; color: #e3ecf4; }
.hero-text .btn { margin-right: 12px; }
.hero-logo { flex: 0 1 320px; }
.hero-logo img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    margin: 0 auto;
}

/* =========================================================
   SEKCJE
   ========================================================= */
.section { padding: 80px 0; }
.section-light { background: var(--beige-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: var(--white); }

.section h2 { font-size: 1.9rem; margin-bottom: 14px; color: inherit; }
.section-lead { font-size: 1.05rem; margin-bottom: 30px; max-width: 720px; }
.section-lead-light { color: #e3ecf4; }

.section-tag {
    display: inline-block;
    background: var(--beige);
    color: var(--navy);
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 14px;
}
.section-tag-light { background: var(--blue); color: var(--white); }

/* =========================================================
   O MNIE
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-photo img {
    width: 100%;
    height: auto;
    max-height: 900px;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-text p { margin-bottom: 16px; }
.about-list { list-style: none; margin-top: 10px; }
.about-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    border-bottom: 1px solid var(--beige-dark);
}
.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: bold;
}

.about-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 28px;
}
.about-box {
    background: var(--beige);
    border: 2px solid var(--beige-dark);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.about-box h3 {
    color: var(--navy);
    font-size: 1.05rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
}
.about-box ul { list-style: none; }
.about-box li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: .95rem;
    color: var(--text);
}
.about-box li:not(:last-child) { border-bottom: 1px solid var(--beige); }
.about-box li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: 6px;
    color: var(--blue);
    font-weight: bold;
}

/* =========================================================
   O PSYCHOTERAPII
   ========================================================= */
.narrow { text-align: center; }
.narrow p { text-align: justify; }
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}
.feature {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .25s;
}
.feature:hover { transform: translateY(-5px); }
.feature-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.feature h3 { margin-bottom: 10px; font-size: 1.15rem; }

/* =========================================================
   GABINET
   ========================================================= */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
}
.gallery-item {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* =========================================================
   OFERTA
   ========================================================= */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.offer-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .25s, background .25s;
}
.offer-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }
.offer-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-list { list-style: none; margin-top: 20px; }
.contact-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--beige-dark);
    font-size: 1.05rem;
}
.contact-list li span { color: var(--blue); font-weight: 600; }
.contact-list a { color: var(--navy); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-photo { margin-top: 30px; }
.contact-photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--beige);
    object-fit: cover;
}

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer { background: var(--navy-dark); color: var(--white); margin-top: 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 50px 20px;
}
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-logo { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.footer-brand p { line-height: 1.5; }
.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #cfdce6; text-decoration: none; }
.footer-nav a:hover { color: var(--blue-light); }
.footer-contact a { color: #cfdce6; text-decoration: none; }
.footer-contact a:hover { color: var(--blue-light); }
.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 18px 20px;
    font-size: .85rem;
    color: #aabccb;
}

/* =========================================================
   DOSTOSOWANIE DO SMARTFONÓW (RWD)
   ========================================================= */
@media (max-width: 992px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-logo img { width: 240px; height: 240px; }
    .offer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--beige-light);
        border-bottom: 2px solid var(--beige-dark);
        padding: 10px 20px 20px;
        transform: translateY(-110%);
        transition: transform .3s ease;
        box-shadow: 0 20px 30px rgba(20, 52, 79, 0.15);
    }
    .main-nav.open { transform: translateY(0); }
    .about, .contact { grid-template-columns: 1fr; }
    .about-boxes { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    .offer-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-item { height: 300px; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .hero { padding: 60px 20px 70px; }
    .hero-text h1 { font-size: 1.85rem; }
    .hero-logo img { width: 190px; height: 190px; }
    .hero-text .btn { display: block; margin: 10px 0; width: 100%; text-align: center; }
    .section { padding: 55px 0; }
}
/* =========================================================

/* =========================================================
   IKONY W SEKCJI O PSYCHOTERAPII - spjne wywietlanie
   ========================================================= */
.feature { text-align: center; }
.feature-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    line-height: 1;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* =========================================================

/* =========================================================
   MENU MOBILNE - poprawka nachodzenia na naglowek
   ========================================================= */
.header-inner,
.site-header { position: relative; z-index: 1000; }
@media (max-width: 820px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 2000;
        visibility: hidden;
        opacity: 0;
    }
    .main-nav.open {
        visibility: visible;
        opacity: 1;
    }
}

/* =========================================================
   KONTRAKT I SETTING
   ========================================================= */
.contract-block {
    background: var(--beige);
    border: 2px solid var(--beige-dark);
    border-left: 5px solid var(--blue);
    border-radius: var(--radius);
    padding: 26px 30px;
    margin: 28px 0;
    box-shadow: var(--shadow);
}
.contract-block h3 {
    color: var(--navy);
    font-size: 1.22rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--beige);
}
.contract-block ul { list-style: none; margin-top: 6px; }
.contract-block li {
    padding: 9px 0 9px 28px;
    position: relative;
    line-height: 1.7;
    color: var(--navy-dark);
    font-size: 1.02rem;
}
.contract-block li:not(:last-child) { border-bottom: 1px solid var(--beige); }
.contract-block li::before {
    content: "\2022";
    position: absolute;
    left: 6px;
    top: 9px;
    color: var(--blue);
    font-weight: bold;
    font-size: 1.1rem;
}
.contract-block li strong { color: var(--navy); }
.contract-closing {
    background: var(--beige);
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-top: 12px;
    font-style: italic;
    color: var(--navy-dark);
    font-size: 1.03rem;
    line-height: 1.7;
}

/* =========================================================
   WOLF - sekcja symboliki wilka
   ========================================================= */
.wolf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 36px 0;
}
.wolf-row-reverse .wolf-text { order: 2; }
.wolf-row-reverse .wolf-media { order: 1; }
.wolf-text p { margin-bottom: 16px; color: #ffffff; font-size: 1.08rem; line-height: 1.8; }

#gabinet .wolf-text p { color: var(--navy-dark); }
#gabinet .wolf-quote { color: var(--navy-dark); background: #d8cdb8; border-left-color: var(--beige-dark); }
#gabinet .wolf-quote p { color: var(--navy-dark); }
.wolf-text p:last-child { margin-bottom: 0; }
.wolf-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
    border-radius: var(--radius);
    border: 3px solid rgba(255,255,255,.2);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.wolf-quote {
    background: rgba(255,255,255,.08);
    border-left: 5px solid var(--blue-light);
    border-radius: var(--radius);
    padding: 30px 34px;
    margin: 36px 0;
    font-style: italic;
    color: var(--white);
    font-size: 1.05rem;
}
.wolf-quote p { margin-bottom: 14px; }
.wolf-quote p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
    .wolf-row { grid-template-columns: 1fr; gap: 20px; }
    .wolf-row-reverse .wolf-text { order: 1; }
    .wolf-row-reverse .wolf-media { order: 2; }
    .wolf-media img { height: auto; max-height: none; }
}

/* ===== WSKAZANIA DO TERAPII ===== */
.indications {
    background: var(--beige);
    border-radius: var(--radius);
    padding: 36px 40px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}
.indications h3 {
    font-size: 1.35rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.indications ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}
.indications li {
    position: relative;
    padding-left: 28px;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.55;
}
.indications li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 3px 6px rgba(30, 84, 143, .18);
}
@media (max-width: 600px) {
    .indications { padding: 26px 20px; }
}

/* ===== TYTU SPECJALISTY W SEKCJI O MNIE ===== */
.about-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

/* Tekst wprowadzajcy w ramce kontraktu - ciemna czcionka */
.contract-intro {
    color: var(--navy-dark);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

/* Sekcja Gabinet - ciemna czcionka nagwka leadu */
#gabinet .section-lead-light { color: var(--navy-dark); }