/* =========================================
   SECTIONS.CSS - Стили внутренних страниц
   ========================================= */

/* Уменьшенный Hero для внутренних страниц */
.page-hero {
    background-color: var(--bg-cream);
    padding: 60px 0;
    border-bottom: 1px solid var(--light-gray);
}
.page-hero h1 {
    font-size: 48px;
    max-width: 800px;
    margin-bottom: 20px;
}
.page-hero p {
    font-size: 18px;
    font-weight: 300;
    color: var(--gray-dark);
    max-width: 700px;
    margin-bottom: 32px;
}

/* Блок "Обратиться, если" (Списки) */
.info-list {
    background: var(--white);
    border-radius: 4px;
    padding: 48px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 60px;
}
.info-list h2 {
    font-size: 32px;
    margin-bottom: 24px;
}
.info-list ul {
    list-style: none;
    padding: 0;
}
.info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-dark);
}
.info-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Блок "Как проходит работа" (Процесс 1-5) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.process-step {
    background: var(--white);
    border-radius: 4px;
    padding: 24px;
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-soft);
}
.process-step .step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 8px;
}
.process-step h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}
.process-step p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--gray-dark);
}

/* Блок FAQ (Аккордеон-стиль или карточки) */
.faq-block {
    margin-top: 40px;
}
.faq-item {
    background: var(--white);
    border-radius: 4px;
    padding: 24px 32px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    border-left: 2px solid var(--dark-blue);
    cursor: pointer;
}
.faq-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}
.faq-item p {
    display: none; /* Скрываем ответы по умолчанию */
    margin-top: 16px;
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-dark);
    line-height: 1.7;
}
/* Открытие FAQ по клику (для статики просто покажем ответ) */
.faq-item.active p {
    display: block;
}

/* Адаптив для процесса */
@media (max-width: 1024px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .info-list {
        padding: 24px;
    }
}

.services-cta {
    padding: 72px 0;
    background:
        linear-gradient(
            135deg,
            rgba(30, 47, 76, 0.98),
            rgba(24, 37, 59, 0.98)
        );
}

.services-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
    padding: 48px 56px;
    border: 1px solid rgba(201, 165, 82, 0.38);
    background: rgba(255, 255, 255, 0.025);
}

.services-cta__content {
    max-width: 720px;
}

.services-cta__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.services-cta__content h2 {
    margin: 0;
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 500;
    line-height: 1.08;
}

.services-cta__content p {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.services-cta__action {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.services-cta__action .btn-primary {
    min-width: 250px;
    padding: 18px 30px;
    border: 1px solid #d8b869;
    background: #c9a552;
    color: #172846;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.services-cta__action .btn-primary:hover,
.services-cta__action .btn-primary:focus-visible {
    background: #e0c77e;
    color: #172846;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
    outline: none;
    transform: translateY(-2px);
}

.services-cta__action .btn-primary:active {
    transform: translateY(0);
}

.services-cta__note {
    color: rgba(255, 255, 255, 0.48);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
}

@media (max-width: 800px) {
    .services-cta {
        padding: 48px 0;
    }

    .services-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 34px 28px;
    }

    .services-cta__action {
        align-items: flex-start;
        width: 100%;
    }

    .services-cta__action .btn-primary {
        width: 100%;
    }
}
/* ===== Стили для блока дипломов ===== */
.diplomas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 980px;
    margin: 0 auto;
}

.diploma-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(29, 45, 71, 0.12);
    border-radius: 4px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.diploma-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold, #c9a552);
    box-shadow: 0 12px 30px rgba(29, 45, 71, 0.10);
}

.diploma-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f5f0;
    border: 1px solid rgba(201, 165, 82, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diploma-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.diploma-card:hover .diploma-img-wrap img {
    transform: scale(1.03);
}

.diploma-caption {
    margin-top: 20px;
    text-align: center;
}

.diploma-caption h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1d2d47;
    margin: 0 0 8px 0;
}

.diploma-caption p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: rgba(29, 45, 71, 0.68);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .diplomas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .diploma-card {
        padding: 18px;
    }
}