/* Gabinet Mgr Kamila Arciszewska - uproszczony styl inspirowany oryginalną stroną Wix */
:root {
    --bg: #ffffff;
    --soft: #f8f5f0;
    --ink: #3a3a3a;
    --muted: #7a7268;
    --accent: #a38b6a;
    --line: #e2dcd3;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Lato', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    letter-spacing: 0.3px;
}

h2 { font-size: 2.6rem; margin-bottom: 1.5rem; }
h3 {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 0.75rem;
    color: var(--ink);
}

p { margin-bottom: 1rem; }

/* Header */
header {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 70px;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--muted);
}

.top-name {
    text-align: right;
}

.top-name-main {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--ink);
    margin: 0;
    letter-spacing: 0.5px;
}

nav {
    padding: 0;
    border-top: 1px solid var(--line);
}

.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: var(--ink);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 14px 8px;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 14px 0;
}
.menu-toggle span {
    height: 2px; width: 26px; background: var(--ink); border-radius: 2px;
}

/* Hero with parallax */
.hero {
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 480px;
    max-height: 720px;
}

.hero-bg {
    position: absolute;
    inset: -2% 0 -30% 0;    /* overscan for blur edges + parallax shift */
    background-image: url("../images/hero/Surprised-Rousseau.jpg");
    background-color: #e9e1ea;  /* fallback tone if contain leaves bars */
    background-size: contain;   /* show whole image, smaller */
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
    filter: blur(3px) saturate(0.8) brightness(0.97) contrast(0.97);
    transition: background-image .4s ease;
}


/* mglisty overlay w paletce fiolet / liliowy / beż */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(230,220,240,0.30), transparent 60%),
        radial-gradient(ellipse at 75% 70%, rgba(110,80,130,0.25), transparent 65%),
        linear-gradient(180deg, rgba(240,230,245,0.35) 0%, rgba(200,180,210,0.30) 100%);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 24px;
}

.hero-quote {
    max-width: 760px;
    border: 1px solid rgba(255,255,255,0.85);
    padding: 56px 40px 32px;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.08);
}

.hero-quote p {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.hero-quote cite {
    display: block;
    text-align: right;
    font-family: var(--sans);
    font-style: normal;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-arrow {
    color: #fff;
    opacity: 0.9;
    transition: transform .3s, opacity .2s;
}
.hero-arrow:hover { opacity: 1; transform: translateY(4px); }

/* Sections */
.section {
    padding: 72px 0 64px;
    scroll-margin-top: 140px; /* offset dla sticky headera przy anchor scroll */
}

.therapy { background: var(--bg); border-top: 1px solid var(--line); }
.about   { background: var(--bg); border-top: 1px solid var(--line); }
.pricing { background: var(--soft); }
.contact { background: var(--bg); border-top: 1px solid var(--line); }

/* FAQ — sekcja pod GEO (Google AI Overviews / ChatGPT / Perplexity) */
.faq { background: var(--bg-alt, #f7f3ec); border-top: 1px solid var(--line); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.faq-item > summary {
    cursor: pointer;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    list-style: none;
    padding-right: 28px;
    position: relative;
    color: var(--ink, #2b2520);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent, #a38b6a);
    transition: transform .2s;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-answer { padding: 8px 4px 4px; }
.faq-answer p { margin: 0 0 10px; line-height: 1.65; }
.faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 480px) {
    .faq-item > summary { font-size: 1.1rem; }
}

/* Therapy */
.lead {
    max-width: 900px;
    margin-bottom: 1.5rem;
}

.issues {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 40px;
    margin: 0.5rem 0 3rem;
    padding: 0;
}

.issues li {
    padding: 3px 0 3px 18px;
    position: relative;
    font-size: 0.95rem;
}

.issues li::before {
    content: "•";
    color: var(--muted);
    position: absolute;
    left: 2px;
    top: 2px;
}

.topics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    margin-top: 2.5rem;
}

.topics article {
    padding: 0;
    background: transparent;
    border: none;
}

.topics h3 {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    min-height: 3.8em;
}

.topics article p {
    font-size: 0.95rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-text p {
    text-align: justify;
    font-size: 0.95rem;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;
}

/* Pricing */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 1.5rem;
}

.price-card {
    background: var(--bg);
    padding: 28px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.price-card ul {
    list-style: none;
    padding: 0;
}

.price-card li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted var(--line);
    gap: 12px;
}

.price-card li span {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.contact-image img {
    width: 100%;
    display: block;
}

/* Galeria zdjęć gabinetu — układ dopasowuje się do liczby zdjęć */
.office-photos {
    display: grid;
    gap: 14px;
    max-width: 460px;
}

.office-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* 2 zdjęcia: pionowy stack (pasuje do układu kontakt-grid) */
.office-photos-2 { grid-template-columns: 1fr; }

/* 3+ zdjęć: 2 kolumny */
.office-photos-3,
.office-photos-4 { grid-template-columns: 1fr 1fr; }

.contact-info .signature {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-top: 1.2rem;
    color: var(--accent);
}

/* Footer */
footer {
    background: var(--ink);
    color: #cfc6ba;
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .topics { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
    .topics h3 { min-height: 0; }
}

@media (max-width: 720px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .top-name { text-align: center; }
    .brand { justify-content: center; }
    .top-name-main { font-size: 1.6rem; }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-text p { text-align: left; }

    nav { display: flex; justify-content: flex-end; padding: 0 24px; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--bg);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; text-align: center; border-top: 1px solid var(--line); }
    .nav-links a { padding: 14px; border-bottom: none; }

    .menu-toggle { display: flex; }

    .topics { grid-template-columns: 1fr; gap: 32px; }

    h2 { font-size: 2rem; }

    .hero { height: auto; min-height: 420px; padding: 60px 0; }
    .hero-quote { padding: 32px 20px 20px; }
    .hero-quote p { font-size: 1.2rem; }


    .section, .hero { scroll-margin-top: 220px; }
    .section { padding: 48px 0; }
}

/* Visually hidden (dla H1 ważnego dla SEO, ukrytego wizualnie) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Mobile: bardzo wąskie ekrany (telefony) */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    h2 { font-size: 1.7rem; margin-bottom: 1rem; }
    h3 { font-size: 1.25rem; }

    .brand-logo { width: 56px; }
    .brand-text { font-size: 0.9rem; }
    .top-name-main { font-size: 1.35rem; }

    .hero { min-height: 360px; padding: 40px 0; }
    .hero-bg {
        background-size: cover;          /* na telefonach lepiej wypełnić niż "contain" */
        inset: 0;
    }
    .hero-quote { padding: 24px 16px 16px; }
    .hero-quote p { font-size: 1.05rem; }
    .hero-quote cite { font-size: 0.7rem; letter-spacing: 2px; }

    .issues { grid-template-columns: 1fr; gap: 2px 0; }

    .price-card { padding: 18px; }
    .price-card li { display: flex; flex-direction: column; gap: 2px; }
    .price-card li span { font-weight: 600; }

    .contact-info p, .about-text p { font-size: 0.95rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg { transform: none !important; }
}
