/* ===== PAGE HERO BASE ===== */
.page-hero {
    padding: 108px 0 72px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.page-hero-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 20px;
}
.page-hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 40px;
    justify-content: center;
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span[aria-current] { color: #0f172a; font-weight: 500; }

/* ===== FAQ HERO (два столбца, как Service Area) ===== */
.faq-hero {
    padding-bottom: 56px;
    text-align: left;
}
.faq-hero .breadcrumb { justify-content: flex-start; margin-bottom: 40px; }
.faq-hero .page-hero-content { max-width: none; margin: 0; text-align: left; }
.faq-hero .page-hero-title { text-align: left; }
.faq-hero .page-hero-sub {
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    text-align: left;
}
.faq-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
    gap: 56px;
    align-items: center;
}
.faq-hero-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
}

/* Phone block — amber style (same as service-area) */
.sa-big-phone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 28px;
    background: rgba(245,158,11,0.07);
    border: 1.5px solid rgba(245,158,11,0.32);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(245,158,11,0.10);
    text-decoration: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    font-weight: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.sa-big-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, transparent 60%);
    pointer-events: none;
}
@media (min-width: 641px) {
    .sa-big-phone { cursor: default; pointer-events: none; }
}
@media (max-width: 640px) {
    .sa-big-phone:hover { transform: translateY(-2px); }
}
.sa-phone-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.sa-phone-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b45309;
}
.sa-phone-number {
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #92400e;
    line-height: 1;
    white-space: nowrap;
}
.sa-phone-hint {
    font-size: 0.76rem;
    color: var(--muted);
    margin-top: 2px;
}
.sa-phone-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    font-size: 0.74rem;
    font-weight: 600;
    color: #b45309;
}
.sa-phone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d97706;
    box-shadow: 0 0 0 0 rgba(217,119,6,0.5);
    animation: sa-pulse 2.2s ease infinite;
    flex-shrink: 0;
}
@keyframes sa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(217,119,6,0.5); }
    65%  { box-shadow: 0 0 0 10px rgba(217,119,6,0); }
    100% { box-shadow: 0 0 0 0 rgba(217,119,6,0); }
}
.faq-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}
.faq-hero-actions .btn-primary,
.faq-hero-actions .btn-ghost {
    min-height: 54px;
    justify-content: center;
}

/* responsive */
@media (max-width: 900px) {
    .faq-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .faq-hero { text-align: center; }
    .faq-hero .breadcrumb { justify-content: center; }
    .faq-hero .page-hero-content { text-align: center; }
    .faq-hero .page-hero-title { text-align: center; }
    .faq-hero .page-hero-sub { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
    .faq-hero {
        padding-bottom: 44px;
    }

    .faq-hero .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .faq-hero-inner {
        gap: 28px;
    }

    .sa-big-phone {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 18px 16px;
        text-align: center;
        border-radius: 20px;
    }

    .sa-phone-info {
        width: 100%;
        align-items: center;
    }

    .sa-phone-number {
        font-size: 1.24rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .sa-phone-hint {
        max-width: 240px;
        line-height: 1.35;
    }

    .sa-phone-status {
        justify-content: center;
        font-size: 0.72rem;
    }
}
@media (max-width: 500px) {
    .faq-hero-actions { grid-template-columns: 1fr; }
    .faq-hero-actions .btn-primary,
    .faq-hero-actions .btn-ghost { width: 100%; }
}

@media (min-width: 641px) {
    .page-hero-sub a[href^="tel:"],
    .faq-page-section a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}

/* ===== FAQ PAGE ===== */
.faq-page-section {
    padding: 0 0 80px;
}
.faq-page-section .faq-list {
    max-width: 780px;
    margin: 0 auto;
}

/* ===== CTA ===== */
.faq-cta-section { padding: 0 0 80px; }
.faq-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.faq-cta-text h2 {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.faq-cta-text p { color: var(--muted); font-size: 0.92rem; }
.faq-cta-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.faq-cta-mobile { display: none !important; }
.faq-cta-desktop { display: inline-flex; }

/* ===== TABLET / MOBILE ===== */
@media (max-width: 900px) {
    .faq-cta-box { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 640px) {
    body.page-template-page-faq .scrollbg {
        display: none;
    }

    body.page-template-page-faq .faq-item,
    body.page-template-page-faq .faq-cta-box,
    body.page-template-page-faq .sa-big-phone {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .faq-cta-desktop { display: none !important; }
    .faq-cta-mobile  { display: inline-flex !important; }
    .faq-cta-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
    }
    .faq-cta-actions .btn-primary,
    .faq-cta-actions .btn-ghost { width: 100%; justify-content: center; }
}
