/**
 * Drive - Final CTA Section Component Styles
 *
 * Clean centered final action row:
 * - Grey50 (#F4F5F7) background
 * - Teal envelope icon + "Have more questions? We're here to help"
 * - Button/Outline: Grey50 fill, 2px charcoal (#2B2D42) border, turns charcoal with white text on hover (NO GLOW)
 *
 * @package Drive
 */

/* ==========================================================================
   1. Section Wrapper & Container
   ========================================================================== */
.final-cta-section {
    background-color: #F4F5F7; /* Grey50 matching Figma */
    padding: 3.5rem 0 5.5rem;
    position: relative;
    border: none !important;
}

.final-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

/* ==========================================================================
   2. Help Link Row
   ========================================================================== */
.final-help-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 1rem;
    color: #55576D; /* Muted */
    font-weight: 500;
}

.help-envelope-icon {
    color: #00B4A6; /* Primary theme teal */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-text {
    color: #55576D; /* Muted */
}

.help-link {
    color: #2B2D42; /* Charcoal */
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 160ms ease;
}

.help-link:hover,
.help-link:focus-visible {
    color: #00B4A6;
}

/* ==========================================================================
   3. Outlined Choose State Button (Button/Outline: NO GLOW)
   ========================================================================== */
.btn-outline-choose-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0.75rem 1.75rem;
    background-color: #F4F5F7; /* Grey50 fill */
    border: 2px solid #2B2D42; /* 2px charcoal border */
    color: #2B2D42 !important;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: none !important; /* NO GLOW */
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
    box-sizing: border-box;
}

.btn-outline-choose-state:hover,
.btn-outline-choose-state:focus-visible {
    background-color: #2B2D42; /* Turns charcoal */
    color: #ffffff !important; /* White text */
    border-color: #2B2D42;
    transform: translateY(-2px);
    box-shadow: none !important;
    outline: none;
}

/* ==========================================================================
   4. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 640px) {
    .final-cta-section {
        padding: 2.5rem 0 4rem;
    }

    .btn-outline-choose-state {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 13px;
    }

    .final-help-row {
        font-size: 0.8125rem;
        flex-wrap: nowrap;
        white-space: nowrap;
        gap: 0.4rem;
        width: 100%;
        justify-content: center;
    }

    .help-envelope-icon svg {
        width: 16px;
        height: 16px;
    }

    .final-cta-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (max-width: 360px) {
    .final-help-row {
        font-size: 0.72rem;
        gap: 0.3rem;
    }

    .help-envelope-icon svg {
        width: 14px;
        height: 14px;
    }

    .final-cta-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
