/*
Theme Name: Logopedas
Theme URI: https://logopedas.lt
Author: Logopedas.lt
Description: Individuali Anzelikos Jasaitienes logopedes-specialiosios pedagoges svetaine.
Version: 1.0
Text Domain: logopedas
*/

:root {
    --cream: #f4efe5;
    --cream-soft: #faf7f0;
    --forest: #244633;
    --moss: #6f7f67;
    --text: #242824;
    --line: rgba(36,70,51,.18);
    --card: #eee6d8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream-soft);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.site {
    width: 100%;
    overflow: hidden;
}

.hero {
    background:
        linear-gradient(90deg, rgba(250,247,240,.98) 0%, rgba(250,247,240,.96) 42%, rgba(250,247,240,.15) 100%);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    width: min(1500px, 100%);
    min-height: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px minmax(420px, 560px) minmax(520px, 1fr);
    align-items: center;
    gap: 40px;
    padding: 42px 60px 0;
}

.brand-block {
    align-self: start;
    padding-top: 0;
}

.brand-name {
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: .02em;
}

.brand-subtitle {
    margin-top: 10px;
    color: var(--forest);
    font-size: 11px;
    letter-spacing: .08em;
}

.hero-copy {
    padding: 40px 0;
    z-index: 2;
}

.eyebrow {
    color: var(--forest);
    font-size: 16px;
    letter-spacing: .08em;
    margin-bottom: 24px;
}

h1,
h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--forest);
    font-weight: 400;
}

h1 {
    margin: 0;
    font-size: clamp(72px, 6vw, 108px);
    line-height: .98;
    letter-spacing: -.03em;
}

h2 {
    margin: 0;
    font-size: clamp(42px, 3vw, 56px);
    line-height: 1.08;
}

.hero-lead {
    max-width: 520px;
    margin: 24px 0 0;
    font-size: 20px;
    line-height: 1.7;
}

.accent-line {
    width: 42px;
    height: 2px;
    background: var(--forest);
    margin-top: 24px;
}

.accent-line.small {
    width: 30px;
    margin: 12px 0 22px;
}

.hero-photo {
    align-self: end;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

.hero-photo img {
    width: 100%;
    max-width: 700px;
    max-height: 720px;
    object-fit: contain;
    object-position: center bottom;
}

.section {
    border-bottom: 1px solid var(--line);
    background: var(--cream-soft);
}

.section-inner {
    width: min(1500px, calc(100% - 120px));
    margin: 0 auto;
    padding: 72px 0;
}

.section p {
    margin: 0 0 18px;
    font-size: 18px;
}

.intro-section {
    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.decor-circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: #ebe1cf;
    display: grid;
    place-items: center;
}

.decor-plant {
    color: var(--forest);
    font-family: Georgia, serif;
    font-size: 88px;
    transform: rotate(-20deg);
}

.emphasis {
    color: var(--forest);
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(560px, 1.35fr);
    align-items: stretch;
    gap: 70px;
}

.about-copy {
    align-self: center;
}

.about-photo {
    min-height: 430px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.sessions-section .section-inner {
    position: relative;
}

.sessions-section .section-inner::after {
    content: "❧";
    position: absolute;
    right: 5%;
    top: 34px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eee4d3;
    color: var(--forest);
    font-family: Georgia, serif;
    font-size: 80px;
    opacity: .9;
}

.sessions-section p {
    max-width: 980px;
}

.when-section {
    background: var(--cream);
}

.when-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
    gap: 70px;
    align-items: start;
}

.symptom-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
}

.symptom-columns ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.symptom-columns li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 30px;
    font-size: 17px;
    font-weight: 600;
}

.symptom-columns li::before {
    content: "❧";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--moss);
    font-size: 21px;
}

.note-card {
    background: var(--card);
    border-radius: 14px;
    padding: 34px 36px;
    position: relative;
}

.note-card::after {
    content: "♡";
    position: absolute;
    right: 24px;
    top: -27px;
    color: var(--forest);
    font-size: 46px;
    font-family: Georgia, serif;
}

.note-card p:last-child {
    margin-bottom: 0;
}

.footer {
    background: var(--forest);
    color: #fff;
}

.footer-inner {
    width: min(1500px, calc(100% - 120px));
    margin: 0 auto;
    padding: 38px 0 42px;
}

.footer h2 {
    color: #fff;
    text-align: center;
    font-size: 44px;
    margin-bottom: 24px;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    flex-wrap: wrap;
    font-size: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.contact-separator {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.45);
}

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: 180px minmax(350px, 1fr) minmax(420px, .95fr);
        padding-left: 36px;
        padding-right: 36px;
        min-height: 680px;
        gap: 24px;
    }

    h1 {
        font-size: 76px;
    }

    .section-inner,
    .footer-inner {
        width: min(100% - 72px, 1400px);
    }

    .about-grid {
        grid-template-columns: .9fr 1.1fr;
        gap: 42px;
    }
}

@media (max-width: 900px) {
    .hero-inner {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 30px 24px 0;
    }

    .brand-block {
        padding-top: 0;
    }

    .hero-copy {
        padding: 30px 0 10px;
    }

    h1 {
        font-size: clamp(58px, 15vw, 84px);
    }

    .hero-photo {
        justify-content: center;
        margin-top: 10px;
    }

    .hero-photo img {
        max-width: 620px;
        max-height: none;
    }

    .section-inner,
    .footer-inner {
        width: min(100% - 40px, 800px);
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .intro-grid,
    .about-grid,
    .when-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .decor-circle {
        width: 145px;
        height: 145px;
    }

    .decor-plant {
        font-size: 68px;
    }

    .about-photo,
    .about-photo img {
        min-height: 0;
    }

    .sessions-section .section-inner::after {
        position: static;
        margin: 30px auto 0;
    }

    .symptom-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-separator {
        display: none;
    }
}

@media (max-width: 560px) {
    body {
        line-height: 1.55;
    }

    .brand-name {
        font-size: 25px;
    }

    .brand-subtitle,
    .eyebrow {
        font-size: 11px;
    }

    h1 {
        font-size: 58px;
    }

    h2 {
        font-size: 38px;
    }

    .hero-lead,
    .section p {
        font-size: 16px;
    }

    .hero-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section-inner,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .contact-row,
    .footer h2 {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}
