
/* Стили для страниц специализаций */

/* Общие стили для всех страниц специализаций */
.page {
    padding-top: 80px;
}

@media (max-width: 900px) {
    .page {
        padding-top: 72px;
    }
}

/* Hero секции */
.dependencies-hero,
.codependency-hero,
.anxiety-hero,
.relationships-hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    overflow: hidden;
    margin-top: 180px;
    text-align: center;
}

@media (max-width: 900px) {
    .dependencies-hero,
    .codependency-hero,
    .anxiety-hero,
    .relationships-hero {
        padding: 60px 0;
        margin-top: 72px;
    }
}

.dependencies-hero__content,
.codependency-hero__content,
.anxiety-hero__content,
.relationships-hero__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.dependencies-hero__badge,
.codependency-hero__badge,
.anxiety-hero__badge,
.relationships-hero__badge {
    display: inline-block;
    background: rgba(106, 126, 159, 0.2);
    border: 1px solid rgba(106, 126, 159, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dependencies-hero__title,
.codependency-hero__title,
.anxiety-hero__title,
.relationships-hero__title {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
}

.dependencies-hero__title-accent,
.codependency-hero__title-accent,
.anxiety-hero__title-accent,
.relationships-hero__title-accent {
    color: #d2afa0;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .dependencies-hero__title,
    .codependency-hero__title,
    .anxiety-hero__title,
    .relationships-hero__title {
        font-size: 2.5rem;
    }
}

.dependencies-hero__subtitle,
.codependency-hero__subtitle,
.anxiety-hero__subtitle,
.relationships-hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    font-weight: 300;
}

@media (max-width: 768px) {
    .dependencies-hero__subtitle,
    .codependency-hero__subtitle,
    .anxiety-hero__subtitle,
    .relationships-hero__subtitle {
        font-size: 1rem;
    }
}

/* Статистика */
.dependencies-hero__stats,
.codependency-hero__stats,
.anxiety-hero__stats,
.relationships-hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .dependencies-hero__stats,
    .codependency-hero__stats,
    .anxiety-hero__stats,
    .relationships-hero__stats {
        gap: 20px;
    }
}

.hero-stat {
    text-align: center;
}

.hero-stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d2afa0;
    line-height: 1;
}

.hero-stat__label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Декоративные элементы */
.dependencies-hero__decoration,
.codependency-hero__decoration,
.anxiety-hero__decoration,
.relationships-hero__decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.hero-shape--1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shape--2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape--3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Секции с карточками */
.dependencies-types,
.codependency-signs,
.anxiety-types,
.relationships-problems {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .dependencies-types,
    .codependency-signs,
    .anxiety-types,
    .relationships-problems {
        padding: 60px 0;
    }
}

.dependencies-types__header,
.codependency-signs__header,
.anxiety-types__header,
.relationships-problems__header,
.dependencies-methods__header,
.codependency-methods__header,
.anxiety-methods__header,
.relationships-methods__header,
.codependency-results__header {
    text-align: center;
    margin-bottom: 60px;
}

.dependencies-types__title,
.codependency-signs__title,
.anxiety-types__title,
.relationships-problems__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

@media (max-width: 768px) {
    .dependencies-types__title,
    .codependency-signs__title,
    .anxiety-types__title,
    .relationships-problems__title {
        font-size: 2rem;
    }
}

.dependencies-types__subtitle,
.codependency-signs__subtitle,
.anxiety-types__subtitle,
.relationships-problems__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Сетки карточек */
.dependencies-types__grid,
.codependency-signs__grid,
.anxiety-types__grid,
.relationships-problems__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .dependencies-types__grid,
    .codependency-signs__grid,
    .anxiety-types__grid,
    .relationships-problems__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Карточки */
.dependency-card,
.sign-card,
.anxiety-card,
.problem-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dependency-card:hover,
.sign-card:hover,
.anxiety-card:hover,
.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dependency-card__icon,
.sign-card__icon,
.anxiety-card__icon,
.problem-card__icon {
    margin-bottom: 20px;
}

.dependency-card__title,
.sign-card__title,
.anxiety-card__title,
.problem-card__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.dependency-card__description,
.sign-card__description,
.anxiety-card__description,
.problem-card__description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dependency-card__features,
.sign-card__features,
.anxiety-card__features,
.problem-card__features {
    list-style: none;
    padding: 0;
}

.dependency-card__features li,
.sign-card__features li,
.anxiety-card__features li,
.problem-card__features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.dependency-card__features li:before,
.sign-card__features li:before,
.anxiety-card__features li:before,
.problem-card__features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6a7e9f;
    font-weight: bold;
}

/* Секции методов */
.dependencies-methods,
.codependency-methods,
.anxiety-methods,
.relationships-methods {
    padding: 80px 0;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    .dependencies-methods,
    .codependency-methods,
    .anxiety-methods,
    .relationships-methods {
        padding: 60px 0;
    }
}

.dependencies-methods__header,
.codependency-methods__header,
.anxiety-methods__header,
.relationships-methods__header {
    text-align: center;
    margin-bottom: 60px;
}

.dependencies-methods__title,
.codependency-methods__title,
.anxiety-methods__title,
.relationships-methods__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.dependencies-methods__subtitle,
.codependency-methods__subtitle,
.anxiety-methods__subtitle,
.relationships-methods__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.dependencies-methods__grid,
.codependency-methods__grid,
.anxiety-methods__grid,
.relationships-methods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .dependencies-methods__grid,
    .codependency-methods__grid,
    .anxiety-methods__grid,
    .relationships-methods__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Элементы методов */
.method-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.method-item:hover {
    transform: translateY(-3px);
}

.method-item__number {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.method-item__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.method-item__description {
    color: #666;
    line-height: 1.6;
}

/* Специальные секции */
.codependency-explanation {
    padding: 80px 0;
}

.codependency-explanation__header {
    text-align: center;
    margin-bottom: 60px;
}

.codependency-explanation__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.codependency-explanation__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.codependency-explanation__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .codependency-explanation__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.codependency-explanation__text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.codependency-explanation__text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.codependency-explanation__text ul {
    list-style: none;
    padding: 0;
}

.codependency-explanation__text li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.codependency-explanation__text li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6a7e9f;
    font-weight: bold;
    font-size: 1.5rem;
}

.codependency-explanation__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Симптомы тревожности */
.anxiety-symptoms {
    padding: 80px 0;
    background: #f8f9fa;
}

.anxiety-symptoms__header {
    text-align: center;
    margin-bottom: 60px;
}

.anxiety-symptoms__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.anxiety-symptoms__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.anxiety-symptoms__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.symptom-group {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.symptom-group__title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.symptom-group__list {
    list-style: none;
    padding: 0;
}

.symptom-group__list li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #eee;
}

.symptom-group__list li:last-child {
    border-bottom: none;
}

/* Этапы работы */
.relationships-stages {
    padding: 80px 0;
}

.relationships-stages__header {
    text-align: center;
    margin-bottom: 60px;
}

.relationships-stages__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.relationships-stages__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.relationships-stages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stage-item {
    text-align: center;
    padding: 30px 20px;
}

.stage-item__number {
    display: inline-block;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.stage-item__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.stage-item__description {
    color: #666;
    line-height: 1.6;
}

/* Результаты работы */
.codependency-results {
    padding: 80px 0;
    background: #f8f9fa;
}

.codependency-results__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.result-item__icon {
    font-size: 2rem;
    color: #6a7e9f;
    margin-bottom: 20px;
}

.result-item__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.result-item__description {
    color: #666;
    line-height: 1.6;
}

/* FAQ секции */
.dependencies-faq,
.codependency-faq,
.anxiety-faq,
.relationships-faq {
    padding: 80px 0;
}

.dependencies-faq__header,
.codependency-faq__header,
.anxiety-faq__header,
.relationships-faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.dependencies-faq__title,
.codependency-faq__title,
.anxiety-faq__title,
.relationships-faq__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.dependencies-faq__subtitle,
.codependency-faq__subtitle,
.anxiety-faq__subtitle,
.relationships-faq__subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-item__header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item__header:hover {
    background-color: #f8f9fa;
}

.faq-item__question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-item__icon {
    font-size: 1.5rem;
    color: #6a7e9f;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item__content p {
    padding: 0 30px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* CTA секции */
.dependencies-cta,
.codependency-cta,
.anxiety-cta,
.relationships-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.dependencies-cta__content,
.codependency-cta__content,
.anxiety-cta__content,
.relationships-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.dependencies-cta__icon,
.codependency-cta__icon,
.anxiety-cta__icon,
.relationships-cta__icon {
    margin-bottom: 30px;
}

.dependencies-cta__title,
.codependency-cta__title,
.anxiety-cta__title,
.relationships-cta__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .dependencies-cta__title,
    .codependency-cta__title,
    .anxiety-cta__title,
    .relationships-cta__title {
        font-size: 2rem;
    }
}

.dependencies-cta__text,
.codependency-cta__text,
.anxiety-cta__text,
.relationships-cta__text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.dependencies-cta__btn,
.codependency-cta__btn,
.anxiety-cta__btn,
.relationships-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d2afa0;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.dependencies-cta__btn:hover,
.codependency-cta__btn:hover,
.anxiety-cta__btn:hover,
.relationships-cta__btn:hover {
    background: #c19a8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dependencies-cta__btn img,
.codependency-cta__btn img,
.anxiety-cta__btn img,
.relationships-cta__btn img {
    width: 20px;
    height: 20px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .wrapper {
        padding: 0 20px;
    }
    
    .dependencies-hero,
    .codependency-hero,
    .anxiety-hero,
    .relationships-hero {
        text-align: center;
    }
    
    .dependencies-hero__stats,
    .codependency-hero__stats,
    .anxiety-hero__stats,
    .relationships-hero__stats {
        justify-content: center;
    }
    
    .hero-stat {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .dependencies-hero__title,
    .codependency-hero__title,
    .anxiety-hero__title,
    .relationships-hero__title {
        font-size: 2rem;
    }
    
    .dependencies-hero__stats,
    .codependency-hero__stats,
    .anxiety-hero__stats,
    .relationships-hero__stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stat__number {
        font-size: 2rem;
    }
}
