/* ============================================================
   CAREER EXPERT PAGE — полные стили
   ============================================================ */

/* ---------- Базовые ---------- */
.expert-page {
    background: var(--bg-page, #f8fafc);
    color: var(--text-primary, #0f172a);
}

.expert-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ---------- Back link ---------- */
.expert-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--text-muted, #64748b);
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
    transition: color 0.2s ease;
}
.expert-back span {
    font-size: 17px;
}
.expert-back:hover {
    color: var(--primary, #2563eb);
}

/* ---------- HERO ---------- */
.expert-hero {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
    padding: 50px 0 70px;
    align-items: start;
}

.expert-photo-wrapper {
    display: flex;
    justify-content: center;
}

.expert-photo {
    width: 220px;
    height: 250px;
    border-radius: 38px;
    object-fit: cover;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.09);
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 50%, #ede9fe 100%);
}

.expert-hero-info {
    max-width: 720px;
}

.expert-hero h1 {
    margin: 0 0 6px;
    color: var(--text-dark);
    font-size: 45px;
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 600;
}

.expert-role {
    margin-bottom: 18px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 550;
}

.expert-intro {
    max-width: 650px;
    margin: 0 0 28px;
    color: var(--text-secondary, #475569);
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.expert-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.expert-intro p {
    margin: 0;
}

.expert-intro p + p {
    margin-top: 16px;
}

/* ---------- EXPERT STATS ---------- */

.expert-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 700px;
    margin-top: 24px;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
}

.expert-stat {
    padding: 18px 20px;
    box-sizing: border-box;
}

.expert-stat + .expert-stat {
    border-left: 1px solid #e8edf3;
}

.expert-stat-value {
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.expert-stat-label {
    color: var(--text-muted, #64748b);
    font-size: 12px;
    line-height: 1.4;
}

.expert-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 0 0;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary, #2563eb);
    color: #fff;
    border: none;
    border-radius: 11px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.expert-primary-button:hover {
    background: var(--primary-dark, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.22);
}
.expert-primary-button span {
    font-size: 17px;
}

.expert-primary-button.outline {
    background: transparent;
    color: var(--primary, #2563eb);
    box-shadow: none;
    border: 1.5px solid var(--border, #e2e8f0);
}

.expert-primary-button.outline:hover {
    background: var(--primary-soft, #eff6ff);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

/* ---------- Секции ---------- */
.expert-section {
    padding: 70px 0;
    border-top: 1px solid #e8edf3;
}

.section-label {
    margin-bottom: 10px;
    color: var(--primary, #2563eb);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.expert-section h2 {
    max-width: 550px;
    margin: 0 0 14px;
    color: var(--text-primary, #0f172a);
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 550;
}

.section-description {
    max-width: 600px;
    margin: 0 0 32px;
    color: var(--text-muted, #64748b);
    font-size: 15px;
    line-height: 1.65;
}

/* ---------- ABOUT ---------- */
.expert-about {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    padding: 80px 0;
    border-top: 1px solid #e8edf3;
}
.expert-about-heading h2 {
    max-width: 400px;
    margin: 0;
}
.expert-about-text {
    max-width: 620px;
    padding-top: 18px;
}
.expert-about-text p {
    margin: 0 0 18px;
    color: var(--text-secondary, #475569);
    font-size: 16px;
    line-height: 1.8;
}
.expert-about-text p:last-child {
    margin-bottom: 0;
}
.expert-about-text strong {
    color: var(--text-dark, #1e293b);
    font-weight: 650;
}

/* ---------- TIMELINE ---------- */
.timeline {
    max-width: 800px;
    margin-top: 36px;
}
.timeline-item {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 30px;
    padding: 22px 0;
    border-bottom: 1px solid #e8edf3;
}
.timeline-item:first-child {
    border-top: 1px solid #e8edf3;
}
.timeline-period {
    color: var(--text-muted, #94a3b8);
    font-size: 12px;
    font-weight: 600;
}
.timeline-content h3 {
    margin: 0 0 6px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
}
.timeline-content p {
    margin: 0;
    color: var(--text-muted, #64748b);
    font-size: 13px;
    line-height: 1.55;
}

.timeline-achievements {
    margin-top: 24px;
}

.timeline-achievements h4 {
    color: var(--text-muted, #64748b);
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
}

.timeline-achievements ul {
    color: var(--text-muted, #64748b);
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
}

.timeline-achievements li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ---------- PRICING TABLE ---------- */
.pricing-table {
    margin-top: 32px;
}

.pricing-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    margin-bottom: 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-item:hover {
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.pricing-item:last-child {
    margin-bottom: 0;
}

/* Верхняя строка: название слева, метаданные справа */
.pricing-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pricing-top .name {
    font-weight: 650;
    color: var(--text-dark, #1e293b);
    font-size: 15px;
    flex: 1;
}

.pricing-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.pricing-meta .duration {
    color: var(--text-muted, #64748b);
    font-size: 13px;
}

.pricing-meta .price {
    font-weight: 750;
    color: var(--primary);
    font-size: 17px;
    white-space: nowrap;
}

/* Нижняя строка: описание */
.pricing-bottom {
    width: 100%;
}

.pricing-bottom .desc {
    color: var(--text-muted, #64748b);
    font-size: 13px;
    line-height: 1.6;
}

/* ---------- FINAL CTA ---------- */
.expert-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin: 20px 0 90px;
    padding: 48px 52px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 24px;
    box-sizing: border-box;
}
.expert-final-cta-content {
    max-width: 620px;
}
.expert-final-cta-content h2 {
    margin: 0 0 10px;
    color: var(--text-primary, #0f172a);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}
.expert-final-cta-content p {
    max-width: 570px;
    margin: 0 0 16px;
    color: var(--text-muted, #64748b);
    font-size: 14px;
    line-height: 1.65;
}

.expert-final-cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.expert-final-cta-actions .cta-button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- CONSULTATION PROCESS ---------- */

.consultation-process {
    max-width: 850px;
    margin-top: 34px;
}

.consultation-process-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid #e8edf3;
}

.consultation-process-item:first-child {
    border-top: 1px solid #e8edf3;
}

.consultation-process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-soft, #eff6ff);
    color: var(--primary, #2563eb);
    font-size: 13px;
    font-weight: 700;
}

.consultation-process-content {
    padding-top: 2px;
}

.consultation-process-content h3 {
    margin: 0 0 7px;
    color: var(--text-dark, #1e293b);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
}

.consultation-process-content p {
    max-width: 680px;
    margin: 0;
    color: var(--text-muted, #64748b);
    font-size: 14px;
    line-height: 1.65;
}

/* ---------- CONSULTATION RESULT ---------- */

.consultation-result-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
    margin-top: 34px;
}

.consultation-result-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-sizing: border-box;
}

.consultation-result-check {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--primary-soft, #eff6ff);
    color: var(--primary, #2563eb);
    font-size: 13px;
    font-weight: 700;
}

.consultation-result-text {
    color: var(--text-dark, #1e293b);
    font-size: 14px;
    line-height: 1.55;
}

/* ---------- FAQ ---------- */

.expert-faq {
    max-width: 850px;
    margin-top: 34px;
    border-top: 1px solid #e8edf3;
}

.expert-faq-item {
    border-bottom: 1px solid #e8edf3;
}

.expert-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}

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

.expert-faq-question {
    color: var(--text-dark, #1e293b);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.expert-faq-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-soft, #eff6ff);
    color: var(--primary, #2563eb);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

.expert-faq-item[open] .expert-faq-icon {
    transform: rotate(45deg);
}

.expert-faq-answer {
    padding: 0 52px 22px 0;
}

.expert-faq-answer p {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted, #64748b);
    font-size: 14px;
    line-height: 1.65;
}



/* ---------- Contact Grid ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.contact-card:hover {
    border-color: var(--primary, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.contact-card .contact-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.contact-card .contact-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.contact-card .contact-name {
    font-weight: 650;
    color: var(--text-dark, #1e293b);
    font-size: 14px;
}

.contact-card {
    color: var(--text-muted, #64748b);
    font-size: 12px;
    word-break: break-all;
}

.contact-card .contact-arrow {
    color: var(--text-muted, #94a3b8);
    font-size: 16px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-card:hover .contact-arrow {
    transform: translateX(4px);
    color: var(--primary, #2563eb);
}

/* ================= ПРОБЛЕМЫ ================= */
.expert-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.expert-problem-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.expert-problem-card:hover {
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.06);
}

.problem-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.expert-problem-card span:last-child {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================
   CONSULTATION REQUEST FORM
   ========================================= */
.expert-request-form {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    box-sizing: border-box;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.request-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 2px 0 20px;
    color: var(--text-muted, #64748b);
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.request-consent input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    cursor: pointer;
    accent-color: var(--primary, #2563eb);
}

.request-consent a {
    color: var(--primary, #2563eb);
    text-decoration: none;
}

.request-consent a:hover {
    text-decoration: underline;
}

.expert-request-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: var(--primary, #2563eb);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.expert-request-button:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
}

.expert-request-button:active:not(:disabled) {
    transform: translateY(0);
}

.expert-request-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.expert-request-button.loading {
    position: relative;
}

.expert-request-button.loading span {
    display: none;
}

.expert-request-button.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: request-spinner 0.7s linear infinite;
}

@keyframes request-spinner {
    to {
        transform: rotate(360deg);
    }
}

.expert-request-success {
    padding: 28px 20px;
    text-align: center;
    border-radius: 14px;
    background: var(--primary-soft, #eff6ff);
}

.success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary, #2563eb);
    font-size: 20px;
    font-weight: 700;
}

.expert-request-success strong {
    display: block;
    margin-bottom: 7px;
    color: var(--text-primary, #0f172a);
    font-size: 16px;
}

.expert-request-success p {
    max-width: 400px;
    margin: 0 auto;
    color: var(--text-muted, #64748b);
    font-size: 13px;
    line-height: 1.6;
}

.expert-request-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   АДАПТИВНОСТЬ
   ========================================= */

/* ---------- Планшеты (768-1024px) ---------- */
@media (max-width: 1024px) {
    .expert-container {
        padding: 0 20px;
    }

    .expert-hero {
        gap: 30px;
        padding: 40px 0 60px;
    }

    .expert-hero h1 {
        font-size: 38px;
    }

    .expert-about {
        gap: 50px;
        padding: 60px 0;
    }

    .expert-final-cta {
        padding: 40px 35px;
        gap: 30px;
    }
}

/* ---------- Средние планшеты (600-850px) ---------- */
@media (max-width: 850px) {
    .expert-hero {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 25px;
        padding: 35px 0 50px;
    }

    .expert-photo {
        width: 120px;
        height: 120px;
        border-radius: 28px;
    }

    .expert-hero h1 {
        font-size: 32px;
    }

    .expert-intro {
        font-size: 16px;
    }

    .expert-about {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 50px 0;
    }

    .expert-about-heading h2 {
        max-width: 100%;
    }

    .expert-about-text {
        padding-top: 0;
        max-width: 100%;
    }

    .expert-section h2 {
        font-size: 1.8rem;
    }

    .expert-final-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 30px;
        gap: 25px;
    }

    .expert-final-cta-actions {
        width: 100%;
        max-width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .expert-problems-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .expert-request-form {
        max-width: none;
        margin-left: 0;
    }

    /* ----- Адаптивность PRICING (планшеты) ----- */
    .pricing-item {
        padding: 16px 18px;
        gap: 10px;
    }

    .pricing-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .pricing-top .name {
        font-size: 14px;
        width: 100%;
    }

    .pricing-meta {
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
        flex-wrap: wrap;
    }

    .pricing-meta .duration {
        font-size: 12px;
    }

    .pricing-meta .price {
        font-size: 15px;
    }

    .pricing-bottom .desc {
        font-size: 12px;
        line-height: 1.5;
    }
}

/* ---------- Мобильные (400-600px) ---------- */
@media (max-width: 600px) {
    .expert-container {
        padding: 0 16px;
    }

    .expert-back {
        margin-top: 16px;
        font-size: 12px;
    }

    .expert-back span {
        font-size: 15px;
    }

    .expert-hero {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 0 40px;
        gap: 20px;
    }

    .expert-photo-wrapper {
        justify-content: flex-start;
        width: 100%;
    }

    .expert-photo {
        width: 88px;
        height: 88px;
        border-radius: 22px;
    }

    .expert-hero-info {
        max-width: 100%;
    }

    .expert-hero h1 {
        font-size: 28px;
        line-height: 1.05;
    }

    .expert-role {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .expert-intro {
        font-size: 15px;
        margin-bottom: 22px;
        max-width: 100%;
    }

    .expert-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .expert-hero-actions .expert-primary-button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 14px;
    }

    .expert-section {
        padding: 40px 0;
    }

    .expert-section h2 {
        font-size: 1.4rem;
        max-width: 100%;
    }

    .section-label {
        font-size: 10px;
    }

    .expert-about {
        padding: 40px 0;
        gap: 12px;
    }

    .expert-about-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .expert-problems-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .expert-problem-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .expert-problem-card span:last-child {
        font-size: 13px;
    }

    .problem-check {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .timeline {
        margin-top: 24px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 16px 0;
    }

    .timeline-period {
        font-size: 11px;
    }

    .timeline-content h3 {
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 12px;
    }

    .expert-final-cta {
        flex-direction: column;
        align-items: flex-start;
        margin: 20px 0 50px;
        padding: 24px 18px;
        border-radius: 18px;
        gap: 20px;
    }

    .expert-final-cta-content {
        max-width: 100%;
    }

    .expert-final-cta-content h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .expert-final-cta-content p {
        font-size: 13px;
        margin-bottom: 0;
        max-width: 100%;
    }

    .expert-final-cta-actions {
        width: 100%;
        max-width: 100%;
    }

    .expert-request-form {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 0;
    }

    .contact-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .contact-card .contact-icon {
        width: 22px;
        height: 22px;
    }

    .contact-card .contact-name {
        font-size: 12px;
    }

    .contact-card .contact-arrow {
        font-size: 14px;
    }

    /* ----- Адаптивность PRICING (мобильные) ----- */
    .pricing-table {
        margin-top: 24px;
    }

    .pricing-item {
        padding: 14px 16px;
        gap: 8px;
    }

    .pricing-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        width: 100%;
    }

    .pricing-top .name {
        font-size: 13px;
        width: 100%;
    }

    .pricing-meta {
        width: 100%;
        justify-content: flex-start;
        gap: 14px;
        flex-wrap: wrap;
    }

    .pricing-meta .duration {
        font-size: 11px;
    }

    .pricing-meta .price {
        font-size: 14px;
    }

    .pricing-bottom .desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .consultation-process {
        margin-top: 24px;
    }

    .consultation-process-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 18px 0;
    }

    .consultation-process-number {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 11px;
    }

    .consultation-process-content h3 {
        font-size: 14px;
    }

    .consultation-process-content p {
        font-size: 13px;
        line-height: 1.55;
    }

    .consultation-result-list {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 24px;
    }

    .consultation-result-item {
        gap: 12px;
        padding: 16px 18px;
        border-radius: 12px;
    }

    .consultation-result-check {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .consultation-result-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .expert-faq {
        margin-top: 24px;
    }

    .expert-faq-item summary {
        gap: 16px;
        padding: 18px 0;
    }

    .expert-faq-question {
        font-size: 14px;
    }

    .expert-faq-icon {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }

    .expert-faq-answer {
        padding: 0 42px 18px 0;
    }

    .expert-faq-answer p {
        font-size: 13px;
        line-height: 1.55;
    }

    .expert-stats {
        width: 100%;
        margin-top: 20px;
    }

    .expert-stat {
        padding: 15px 12px;
    }

    .expert-stat-value {
        font-size: 16px;
    }

    .expert-stat-label {
        font-size: 11px;
    }
}

/* ---------- Маленькие телефоны (до 400px) ---------- */
@media (max-width: 400px) {
    .expert-container {
        padding: 0 12px;
    }

    .expert-hero h1 {
        font-size: 24px;
    }

    .expert-photo {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .expert-intro {
        font-size: 14px;
    }

    .expert-section h2 {
        font-size: 1.2rem;
    }

    .expert-final-cta {
        padding: 20px 14px;
    }

    .expert-final-cta-content h2 {
        font-size: 1.2rem;
    }

    .expert-request-form {
        padding: 18px 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }

    .request-consent {
        font-size: 11px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .expert-problem-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .expert-problem-card span:last-child {
        font-size: 12px;
    }

    .problem-check {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    /* ----- Адаптивность PRICING (маленькие телефоны) ----- */
    .pricing-item {
        padding: 12px 14px;
        gap: 6px;
    }

    .pricing-top .name {
        font-size: 12px;
    }

    .pricing-meta {
        gap: 12px;
    }

    .pricing-meta .duration {
        font-size: 10px;
    }

    .pricing-meta .price {
        font-size: 13px;
    }

    .pricing-bottom .desc {
        font-size: 11px;
        line-height: 1.4;
    }

    .consultation-process-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .consultation-process-number {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 10px;
    }

    .consultation-process-content h3 {
        font-size: 13px;
    }

    .consultation-process-content p {
        font-size: 12px;
    }
}