/* Подключение шрифтов */
@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSans';
    src: url('fonts/OpenSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Open Sans Condensed */
@font-face {
    font-family: 'OpenSansCondensed';
    src: url('fonts/OpenSans-CondensedLight.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'OpenSansCondensed';
    src: url('fonts/OpenSans-CondensedBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Второй шрифт - Lithium */
@font-face {
    font-family: 'Lithium';
    src: url('fonts/Lithium_tf.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-dark: #4E4F73;
    --primary-blue: #4E4F73;
    --white: #ffffff;
    --gold: #f4c430;
    --pink: #ffb6c1;
    --brown-light: #734E2F;
    --brown-dark: #5a3d24;
    --text-dark: #4E4F73;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* Навигация */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid rgba(78, 79, 115, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    text-transform: lowercase;
}

.nav-link:hover {
    color: var(--primary-blue);
}

/* Баннер "Under Development" */
.dev-banner {
    background-color: var(--primary-dark);
    padding: 20px 30px;
    margin: 20px auto;
    max-width: 650px;
    position: relative;
    border-radius: 12px;
    transform: rotate(-1deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dev-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    transform: rotate(1deg);
    flex-wrap: wrap;
}

.banner-asterisk-left {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-top: 5px;
}

.banner-text {
    flex: 1;
    color: #D9D9D9;
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
}

.banner-text p {
    margin: 0 0 2px 0;
    padding: 0;
}

.banner-text p:last-child {
    margin-bottom: 0;
}

.banner-decoration {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
    align-self: flex-end;
    margin-top: auto;
}

.banner-flower {
    width: 150px;
    height: auto;
}

.banner-asterisk-right {
    width: 20px;
    height: 20px;
}

/* Основной контент */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 89px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Lithium', Georgia, 'Times New Roman', serif;
    line-height: 90%;
    letter-spacing: -0.03em;
}

.section-title.serif {
    font-family: 'Lithium', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 90%;
    letter-spacing: -0.03em;
}

.section-description {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.5;
    letter-spacing: 0%;
}

/* Раздел "ИНДИВИДУАЛЬНЫЕ КОНСУЛЬТАЦИИ" */
.consultations-section {
    margin-top: 40px;
}

.section-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.consultation-image {
    flex: 0 0 300px;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.consultation-text {
    flex: 1;
    min-width: 300px;
}

.pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.pricing-btn,
a.pricing-btn {
    padding: 15px 30px;
    background-color: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.pricing-btn:hover,
a.pricing-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

/* Раздел "С ЧЕГО НАЧАТЬ?" */
.start-section {
    margin-top: 60px;
}

.start-banner {
    background-color: var(--primary-dark);
    padding: 20px 40px;
    margin: 0 auto 30px auto;
    clip-path: polygon(40px 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
    max-width: 600px;
    text-align: center;
}

.banner-title {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'Lithium', Georgia, 'Times New Roman', serif;
    letter-spacing: 0.5px;
}

.start-content {
    max-width: 1000px;
}

.start-instruction {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
    letter-spacing: 0%;
}

.start-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.format-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
}

.format-option {
    flex: 1;
}

.format-title {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.5;
    letter-spacing: 0%;
}

.format-text {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
    letter-spacing: 0%;
}

.format-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.panda-image {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.comfort-box {
    background-color: var(--brown-light);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.comfort-text {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0%;
    color: var(--white);
    margin-bottom: 12px;
}

.comfort-priority {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0%;
    background-color: var(--brown-dark);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
}

.document-instruction {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0%;
    color: var(--text-dark);
    margin-top: 15px;
}

/* Раздел "ОЗНАКОМИТЬСЯ С ИНФОРМИРОВАННЫМ СОГЛАСИЕМ" */
.consent-section {
    margin-top: 30px;
}

.consent-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.consent-subtitle {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 800;
    font-size: 0.5em;
}

.consent-link-inline {
    display: inline-block;
    text-decoration: none;
    color: var(--text-dark);
    margin: 0 2.5px;
    transition: color 0.3s;
}

.consent-link-inline:hover {
    color: var(--primary-blue);
}

.consent-link-inline .arrow-icon {
    font-size: 1.2em;
    font-weight: bold;
}

.consent-bottom-text {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 15px;
    text-align: center;
    text-transform: lowercase;
}

.consent-link {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-dark);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.arrow-icon {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: bold;
}

.consent-link:hover {
    background-color: var(--primary-dark);
}

.consent-link:hover .arrow-icon {
    color: var(--white);
}

/* Раздел "РАБОТА С ГРУППОЙ" */
.group-section {
    margin-top: 30px;
}

.group-block {
    background-color: var(--primary-dark);
    padding: 50px 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.group-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.group-title {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 20px;
    font-family: 'Lithium', Georgia, 'Times New Roman', serif;
}

.group-title.serif {
    font-family: 'Lithium', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.group-description {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0%;
    color: var(--white);
    margin-bottom: 15px;
}

.group-details {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0%;
    color: var(--white);
    margin-bottom: 20px;
}

.group-button {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--brown-light);
    border-radius: 8px;
    color: var(--white);
    background-color: var(--brown-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.group-button:hover {
    background-color: var(--brown-dark);
    border-color: var(--brown-dark);
    color: var(--primary-dark);
}

.group-decoration {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.group-flower {
    width: 50px;
    height: 50px;
}

.asterisk-white {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Раздел "ДЛЯ ТЕРАПЕВТОВ" */
.therapists-section {
    margin-top: 60px;
}

.therapists-section .section-title {
    font-size: 4rem;
}

.therapists-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.therapists-text {
    flex: 1;
    min-width: 300px;
}

.therapists-subtitle {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 20px 0 15px 0;
}

.therapists-description {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0%;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.therapists-image {
    flex: 0 0 300px;
}

.section-image.bw {
    filter: grayscale(100%);
}

/* Футер */
.footer-telegram-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-telegram-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    margin-top: 80px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title.serif {
        font-size: 1.8rem;
    }

    .section-content {
        flex-direction: column;
    }

    .consultation-image,
    .therapists-image {
        flex: 1 1 100%;
    }

    .format-options {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .format-illustration {
        order: -1;
        margin: 20px 0;
    }

    .panda-image {
        width: 150px;
    }

    .start-banner {
        clip-path: none;
        padding: 15px 20px;
    }

    .banner-title {
        font-size: 1.4rem;
    }

    .group-block {
        padding: 30px 20px;
    }

    .group-title {
        font-size: 1.8rem;
    }

    .dev-banner {
        padding: 15px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
    }

    .therapists-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .dev-banner {
        padding: 10px;
    }
    
    .banner-image {
        border-radius: 4px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pricing-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .group-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}
