/* File: wp-content/themes/log-core/assets/css/log-contact-form-qa.css */
/* Depends on: log-contact-form-card.css (inherits tokens, form card) */
/* Prefix: .log-co- */

/* ═══════════════════════════════════════════════════
   QUICK ANSWERS SECTION
   ═══════════════════════════════════════════════════ */
.log-co-qa-section {
    background: linear-gradient(170deg, var(--paper-50), var(--blush-100));
    padding: 80px 24px;
}

.log-co-qa-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.log-co-qa-header {
    text-align: center;
    margin-bottom: 52px;
}

.log-co-qa-header .log-co-section-eyebrow {
    display: block;
    text-align: center;
    margin-bottom: 14px;
}

.log-co-qa-header .log-co-section-eyebrow::before {
    display: none;
}

.log-co-qa-header h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.8vw, 44px);
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.15;
}

.log-co-qa-header h2 em {
    font-style: italic;
    color: var(--plum-700);
}

/* .page .type-page .entry-content p (style.css, specificity 0,3,1) forces
   justify on every <p> inside WP page content — matches .log-co-sub since
   this whole section lives in raw page content. Match its specificity to
   win instead of reaching for !important. */
.log-co-qa-section .log-co-qa-inner .log-co-qa-header p.log-co-sub {
    font-size: 14.5px;
    color: var(--gray-600);
    margin-top: 10px;
    text-align: center;
}

.log-co-qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.log-co-qa-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: all .28s var(--ease);
    display: flex;
    gap: 16px;
}

.log-co-qa-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.log-co-qa-card.log-co-tall {
    padding: 36px 26px;
}

.log-co-qa-q-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-top: 2px;
}

.log-co-qa-card-body h4 {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 8px;
    line-height: 1.25;
}

.log-co-qa-card-body p {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════ */
.log-co-cta-band {
    background: linear-gradient(155deg, var(--plum-950) 0%, var(--plum-800) 55%, var(--plum-700) 100%);
    margin: 0px 50px 20px 50px !important;
    border-radius: 26px;
    padding: 64px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 94%;
}

.log-co-cta-band::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(94, 238, 192, .07);
    border-radius: 50%;
    bottom: -200px;
    right: -120px;
}

.log-co-cta-band::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(94, 238, 192, .05);
    border-radius: 50%;
    top: -60px;
    left: 40%;
}

.log-co-cta-text {
    position: relative;
    z-index: 1;
}

.log-co-cta-text h2 {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 0px;
}

.log-co-cta-text h2 em {
    font-style: italic;
    color: var(--sage-400);
}

.log-co-cta-text p {
    font-size: 14px;
    color: #d6c4cd;
    margin-top: 10px;
    max-width: 440px;
    line-height: 1.65;
}

.log-co-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.log-co-btn-sage {
    background: var(--sage-500);
    color: var(--plum-950);
    font-weight: 700;
    font-size: 13.5px;
    padding: 15px 28px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .25s var(--ease);
    text-decoration: none;
}

.log-co-btn-sage:hover {
    background: var(--sage-400);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(29, 219, 149, .3);
}

.log-co-btn-ghost {
    border: 1.4px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    padding: 15px 28px;
    border-radius: var(--r-pill);
    transition: all .25s var(--ease);
    text-decoration: none;
}

.log-co-btn-ghost:hover {
    background: rgba(255, 255, 255, .12);
}

.log-co-btn-sage .icon,
.log-co-btn-ghost .icon {
    width: 15px;
    height: 15px;
}

/* ── Below form wrap ── */
.log-co-below-form-wrap {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.log-co-bfw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.log-co-bfw-stat {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.log-co-bfw-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.log-co-bfw-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 219, 149, .1);
    color: var(--sage-600);
}

.log-co-bfw-stat-icon .icon {
    width: 16px;
    height: 16px;
}

.log-co-bfw-num {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.1;
}

.log-co-bfw-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 2px;
}

.log-co-bfw-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.log-co-bfw-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.log-co-bfw-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.log-co-bfw-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 219, 149, .1);
    color: var(--sage-600);
    margin-bottom: 12px;
}

.log-co-bfw-card-icon .icon {
    width: 17px;
    height: 17px;
}

.log-co-bfw-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: 10px;
}

.log-co-bfw-hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
}

.log-co-bfw-day {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 600;
}

.log-co-bfw-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-700);
}

.log-co-bfw-time.log-co-bfw-open {
    color: var(--sage-600);
}

.log-co-bfw-card-body {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
}

.log-co-bfw-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(29, 219, 149, .1);
    color: var(--sage-600);
    font-size: 11px;
    font-weight: 800;
    padding: 5px 11px;
    border-radius: var(--r-pill);
}

.log-co-bfw-badge .icon {
    width: 11px;
    height: 11px;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — form + QA + CTA
   ═══════════════════════════════════════════════════ */
@media (max-width: 1080px) {
    .log-co-contact-shell {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .log-co-cta-band {
        flex-direction: column;
        text-align: center;
    }

    .log-co-cta-text p {
        max-width: none;
    }

    .log-co-cta-actions {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .cu-half-row {
        grid-template-columns: 1fr;
    }

    .log-co-below-form-strip {
        grid-template-columns: 1fr;
    }

    .log-co-qa-grid {
        grid-template-columns: 1fr;
    }

    .log-co-bfw-stats {
        grid-template-columns: 1fr 1fr;
    }

    .log-co-bfw-cards {
        grid-template-columns: 1fr;
    }

    .log-co-social-row {
        flex-direction: column;
    }

    .log-co-cta-band {
        margin: 10px 16px !important;
        padding: 40px 24px;
    }

    .log-co-qa-section {
        padding: 60px 18px;
    }
}

@media (max-width: 480px) {
    .log-co-subject-grid {
        grid-template-columns: 1fr 1fr;
    }

    .log-co-form-steps {
        display: none;
    }

    .log-co-form-card-head {
        padding: 24px 20px;
    }

    .log-co-form-card-body {
        padding: 24px 20px;
    }

    .log-co-bfw-stats {
        grid-template-columns: 1fr;
    }

    .log-co-contact-shell {
        padding: 60px 18px 70px;
    }
}