:root {
    --bg: #f4f4f2;
    --section: #ebebe8;
    --text: #2e2e2e;
    --accent: #556b5d;
    --accent-dark: #435449;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(244,244,242,0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    text-decoration:none;
    color:var(--text);
}

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:100px 8%;
}

.hero h1{
    font-family:'Cormorant Garamond',serif;
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    max-width:500px;
    line-height:1.8;
    margin-bottom:30px;
}

.hero-image img{
    width:100%;
    height:80vh;
    object-fit:cover;
}

.btn{
    background:var(--accent);
    color:white;
    padding:14px 28px;
    text-decoration:none;
    display: inline-block;
}

.btn:hover{
    background:var(--accent-dark);
}

section{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.container{
    width:100%;
    max-width:1100px;
    margin:auto;
    padding:0 40px;
}

h2{
    font-family:'Cormorant Garamond',serif;
    font-size:3rem;
    margin-bottom:40px;
}

.cards{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:40px;
    text-align:center;
}

.fee-box{
    background:white;
    padding:40px;
    line-height:2.5;
}

footer{
    background:var(--section);
    text-align:center;
    padding:50px 20px;
    line-height:2;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--text);
}

.logo span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    margin-top: 4px;
    color: var(--accent);
}

.page{
    min-height:100vh;
    padding-top:180px;
    padding-bottom:120px;
}

.page h1{
    font-family:'Cormorant Garamond',serif;
    font-size:4rem;
    margin-bottom:40px;
}

.page h2{
    font-family:'Cormorant Garamond',serif;
    font-size:2.5rem;
    margin-top:80px;
    margin-bottom:30px;
}

.page p{
    max-width:800px;
    line-height:2;
    margin-bottom:30px;
}

.contact-form {
    max-width: 700px;
    margin-top: 50px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 25px;
    padding: 15px;
    border: 1px solid #c9c9c5;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* --- Układ zdjęcia w sekcji About Me --- */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 20px;
}

.about-intro-text {
    min-width: 0;
}

.about-intro-image {
    width: 100%;
    max-width: 430px;
    justify-self: end;
    border-radius: 4px;
    overflow: hidden;
}

.about-intro-image img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center top;
}

/* --- Style dedykowane nowym układom podstron --- */
.hero-split {
    min-height: 100vh;
    padding-top: 140px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3%;
    align-items: center;
    padding-left: 8%;
    padding-right: 8%;
}

.hero-split-text {
    max-width: 650px;
}

.hero-split-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    margin-bottom: 5px;
}

.hero-split-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 40px !important;
}

.hero-split-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-split-image {
    width: 100%;
    height: 75vh;
}

.hero-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.therapy-menu-wide-bottom {
    width: 84%;
    margin: 80px auto 0 auto;
    border: 1px solid #c9c9c5;
    overflow: hidden;
}

.therapy-menu-wide-bottom img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* Kontener i nadanie sztywnej wysokości dla mapy OpenStreetMap */
.map-container {
    margin: 40px 0 60px 0;
    width: 100%;
}

#local-interactive-map {
    width: 100%;
    height: 450px; /* To ta kluczowa linijka, która wymusza pokazanie się mapy */
    border: 1px solid #c9c9c5;
    z-index: 1;
}
.map-link {
    margin-top: 8px;
    font-size: 0.9rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-sidebar {
    margin-top: 140px;
    width: 100%;
}

.office-placeholder {
    width: 100%;
    height: 600px;
    background: var(--section);
    border: 1px solid #c9c9c5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 992px) {
    nav {
        position: static;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 24px 20px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }
    nav a {
        font-size: 0.9rem;
    }
    .logo {
        text-align: center;
    }
    .hero-split {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 60px;
        gap: 40px;
    }
    .hero-split-image {
        height: 50vh;
        order: -1;
    }
    .hero-split-text h1 {
        font-size: 2.7rem;
        line-height: 1;
        margin-bottom: 18px;
    }
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-intro-image {
        max-width: 100%;
        justify-self: stretch;
    }
    .about-intro-image img {
        height: 520px;
    }
    .page {
        padding-top: 60px;
    }
    .page h1 {
        font-size: 3rem;
    }
    .page h2 {
        font-size: 2.2rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-sidebar {
        margin-top: 20px;
    }
    .office-placeholder {
        height: 400px;
    }
    #local-interactive-map {
        height: 300px; /* Zmniejszona wysokość mapy na smartfonach */
    }
    .therapy-menu-wide-bottom {
        width: calc(100% - 40px);
    }
    .therapy-menu-wide-bottom img {
        aspect-ratio: 14 / 9;
    }
}


/* --- Delikatne dopracowanie wyglądu --- */
html {
    font-size: 16px;
}

body {
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

nav {
    box-shadow: 0 1px 14px rgba(46, 46, 46, 0.06);
    border-bottom: 1px solid rgba(201, 201, 197, 0.55);
}

nav a {
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent);
}

.hero-split-image,
.about-intro-image,
.therapy-menu-wide-bottom,
.office-placeholder,
#local-interactive-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(46, 46, 46, 0.08);
}

.hero-split-image img,
.about-intro-image img,
.therapy-menu-wide-bottom img {
    border-radius: 8px;
}

.btn {
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(67, 84, 73, 0.14);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(67, 84, 73, 0.18);
}

.page h1,
.hero-split-text h1 {
    font-weight: 500;
    letter-spacing: -0.01em;
}

.page h2,
.page h3,
.hero-split-subtitle {
    font-weight: 500;
}

.page p {
    line-height: 1.9;
}

.contact-form input,
.contact-form textarea {
    border-radius: 5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(85, 107, 93, 0.10);
}


.contact-details {
    margin: 32px 0 42px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

.contact-icon {
    width: 28px;
    font-size: 1.25rem;
    text-align: center;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.contact-detail a {
    color: var(--accent-dark);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.therapy-cta {
    margin: 30px 0 60px 0;
}

.map-link a,
.page a:not(.btn) {
    color: var(--accent-dark);
}

@media (max-width: 992px) {
    nav {
        box-shadow: 0 1px 10px rgba(46, 46, 46, 0.05);
    }

    .hero-split-image,
    .about-intro-image,
    .therapy-menu-wide-bottom,
    .office-placeholder,
    #local-interactive-map {
        border-radius: 7px;
    }
}
