/* ==========================================================
   ОСНОВНЫЕ СТИЛИ ДЛЯ ПК (КОМПЬЮТЕРЫ И НОУТБУКИ)
   ========================================================== */
:root {
    --bg-main: #F8F5F0;       /* Светлый молочно-бежевый фон */
    --bg-card: #FFFFFF;       /* Белые карточки */
    --bg-badge: #EFE9E1;      /* Песочные плашки */
    --text-main: #241E1A;     /* Темный оттенок заголовков */
    --text-muted: #665C54;    /* Теплый серый для текстов */
    --accent: #241E1A;        /* Шоколадный оттенок для шапки и кнопок */
    --accent-hover: #17110E;
    --border-line: #E8E0D5;
    --radius-lg: 24px;
    --radius-sm: 14px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* Запрещаем случайный боковой скролл */
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text-main);
    font-weight: 500;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ШАПКА */
.header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    background: var(--accent);
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-wrap {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.15;
}

.logo-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    color: #D6CCC2;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav a {
    text-decoration: none;
    color: #EDE6DD;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #FFFFFF;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-circle:hover {
    transform: scale(1.08);
    background-color: #F3ECE5;
}

/* БЕЙДЖИ И КНОПКИ */
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    background: var(--bg-badge);
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #FFF;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ПЕРВЫЙ ЭКРАН (HERO) */
.hero {
    min-height: calc(100vh - 74px);
    padding: 48px 0;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-img-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(51, 39, 34, 0.06);
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.6rem;
}

/* О ТЕРАПИИ */
.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    padding: 50px;
}

.about-card h2 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 20px;
}

.about-text {
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    border-top: 1px solid var(--border-line);
    padding-top: 35px;
}

.stat-n {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--text-main);
}

.stat-l {
    font-size: 0.95rem;
}

/* ОБРАЗОВАНИЕ */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-sm);
    padding: 34px;
}

.edu-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9E9288;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.edu-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

/* СТОИМОСТЬ */
.price-Group {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: center;
}

.price-box {
    position: relative;
    flex: 1;
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.currency-toggle {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    gap: 4px;
    background: var(--bg-badge);
    padding: 3px;
    border-radius: 30px;
    z-index: 5;
}

.curr-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curr-btn:hover {
    color: var(--text-main);
}

.curr-btn.active {
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(36, 30, 26, 0.2);
}

.price-top {
    border-bottom: 1px solid var(--border-line);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.price-top h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.price-val {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.price-val small {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: normal;
}

.price-list {
    list-style: none;
    margin-bottom: 20px;
}

.price-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-list li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--accent);
    font-size: 1.4rem;
    line-height: 1;
}

/* ЗАПРОСЫ (С ЧЕМ Я РАБОТАЮ) */
.about-new-section {
    padding: 60px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-main);
}

.about-new-container {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.about-new-photo {
    position: relative;
    width: 100%;
}

.about-new-photo img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 25px rgba(51, 39, 34, 0.06);
}

.about-new-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
}

.about-card-item {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--border-line);
    border-radius: 12px;
    padding: 18px 24px;
    transition: transform 0.2s ease;
}

.about-card-item:hover {
    transform: translateX(10px);
}

.about-card-text h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.about-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.href1 {
    color: #241E1A;
    text-decoration: underline;
    font-size: 0.8rem;
}

/* ОТЗЫВЫ */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-track {
    width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background: #FFFFFF;
    border: 1px solid var(--border-line);
}

.slider-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 20px;
    transition: color 0.2s;
}

.dots-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #D4CEBE;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dot.active {
    background-color: var(--text-main);
}

.review-btn-wrap {
    text-align: center;
    margin-top: 10px;
}

/* FAQ */
.faq-container {
    padding: 30px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.faq-wrap {
    flex: 1 1 60%;
    min-width: 320px;
}

.faq-image {
    flex: 0 0 auto;
    width: 35%;
    min-width: 280px;
    text-align: center;
}

.faq-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 25px rgba(51, 39, 34, 0.06);
}

.faq-el {
    background: var(--bg-card);
    border: 1px solid var(--border-line);
    border-radius: var(--radius-sm);
    padding: 20px 26px;
    margin-bottom: 14px;
}

.faq-el summary {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-el summary::-webkit-details-marker {
    display: none;
}

.faq-el summary::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 1.4rem;
    color: #9E9288;
}

.faq-el[open] summary::after {
    content: "–";
}

.faq-el p {
    margin-top: 14px;
    font-size: 0.95rem;
}

/* ПОДВАЛ И ПЛАВАЮЩАЯ КНОПКА */
.footer {
    border-top: 1px solid var(--border-line);
    padding: 30px 0;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
}

.float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #2AABEE;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(42, 171, 238, 0.35);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.float-btn:hover {
    transform: scale(1.08);
}


/* ==========================================================
   ИДЕАЛЬНАЯ МОБИЛЬНАЯ ВЕРСИЯ (СРАБАТЫВАЕТ ТОЛЬКО НА ТЕЛЕФОНАХ)
   ========================================================== */
@media (max-width: 820px) {
    
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 45px 0;
    }

    /* 1. Скрываем текстовое меню в шапке, оставляем иконки */
    .nav {
        display: none;
    }

    /* 2. Первый экран (Hero) */
    .hero {
        min-height: auto;
        padding: 30px 0 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin: 0 auto 24px;
    }

    .hero-img-wrap img {
        height: 560px;
        border-radius: 18px;
    }

    /* 3. О терапии */
    .about-card {
        padding: 24px 18px;
    }

    .about-card h2 {
        font-size: 1.7rem;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 4. Направления (Запросы) - ровно 1 колонка без разрыва картинки */
    .about-new-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-new-photo img {
        width: 100%;
        height: 560px;
        border-radius: 18px;
    }

    .about-card-item {
        padding: 16px;
    }

    .about-card-item:hover {
        transform: none;
    }

    .about-card-text {
        text-align: left;
        margin-bottom: 0;
    }

    .about-card-text h2 {
        margin-bottom: 6px;
    }

    /* 5. Образование (ИСПРАВЛЕНО: Ровно 1 карточка в ряд вместо двух сжатых) */
    .edu-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edu-card {
        padding: 22px 18px;
    }

    /* 6. Стоимость (ИСПРАВЛЕНО: Карточки встают вертикально друг под другом) */
    .price-Group {
        flex-direction: column;
        gap: 20px;
    }

    .price-box {
        padding: 28px 20px;
        width: 100%;
    }

    .price-val {
        font-size: 2rem;
    }

    /* 7. FAQ */
    .faq-container {
        flex-direction: column;
        gap: 25px;
    }

    .faq-wrap {
        width: 100%;
        min-width: auto;
    }

    .faq-image {
        width: 100%;
        min-width: auto;
    }

    .faq-image img {
        width: 100%;
        height: 560px;
        border-radius: 18px;
    }

    .faq-el {
        padding: 16px 18px;
    }

    /* 8. Подвал */
    .footer-row {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }
}
