/**
 * Support Page Styles
 *
 * @package SunnyHQ
 */

/* ============================================
   SUPPORT HERO
   ============================================ */
.support-hero {
    background: var(--navy);
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.support-hero-arcs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.support-hero-arcs svg {
    width: 100%;
    height: 100%;
}

.support-hero .container {
    position: relative;
    z-index: 2;
}

.support-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.support-hero-eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1.5rem;
}

.support-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.support-hero-subhead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   PRIMARY SUPPORT CARDS
   ============================================ */
.support-primary {
    padding: 5rem 0;
    background: #fff;
}

.support-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.support-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.support-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 40px rgba(2, 0, 81, 0.1);
    transform: translateY(-4px);
}

.support-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.support-card-icon.coral {
    background: rgba(255, 96, 72, 0.1);
    color: var(--coral);
}

.support-card-icon.navy {
    background: rgba(2, 0, 81, 0.08);
    color: var(--navy);
}

.support-card h3 {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 1.25rem;
}

.support-card p {
    font-size: 1rem;
    color: var(--navy-50);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.support-card-stat {
    display: block;
    font-size: 0.8125rem;
    color: var(--navy-50);
    margin-top: 1rem;
}

/* Email display with copy button */
.support-email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.support-email-address {
    font-family: var(--font-ui);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--coral);
}

.support-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--navy-70);
    cursor: pointer;
    transition: all 0.2s;
}

.support-copy-btn:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.support-copy-btn.copied {
    background: #d1fae5;
    border-color: #34d399;
    color: #059669;
}

.support-copy-btn svg {
    width: 14px;
    height: 14px;
}

/* Phone display */
.support-phone-display {
    display: block;
    font-family: var(--font-ui);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.2s;
}

.support-phone-display:hover {
    color: var(--coral);
}

/* ============================================
   SUPPORT FORM
   ============================================ */
.support-form-section {
    padding: 5rem 0;
    background: #F8F7F4;
}

.support-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.support-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.support-form-header h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 400;
    color: var(--navy);
    margin: 0 0 0.75rem;
}

.support-form-header p {
    font-size: 1.0625rem;
    color: var(--navy-50);
    margin: 0;
}

.support-form {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(2, 0, 81, 0.06);
}

.support-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: var(--coral);
}

.form-group .optional {
    font-weight: 400;
    color: var(--navy-50);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--navy);
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 96, 72, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--navy-30);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.support-form-submit {
    text-align: center;
    padding-top: 0.5rem;
}

.support-form-submit .btn {
    min-width: 200px;
}

/* Form success state */
.support-form-success {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(2, 0, 81, 0.06);
}

.support-form-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #d1fae5;
    border-radius: 50%;
    color: #059669;
    margin-bottom: 1.5rem;
}

.support-form-success h3 {
    font-family: var(--font-h);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--navy);
    margin: 0 0 0.75rem;
}

.support-form-success p {
    font-size: 1.0625rem;
    color: var(--navy-50);
    margin: 0;
}

/* Form error state */
.support-form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.support-form-error p {
    font-size: 0.9375rem;
    color: #991b1b;
    margin: 0;
}

/* ============================================
   RESPONSE TIME STATS (uses stats-light from inner-page.css)
   ============================================ */
.support-stats-section {
    background: #F8F7F4;
}

.support-stats-section .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.support-stats-section .stat-card {
    text-align: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.support-testimonials {
    padding: 5rem 0;
    background: var(--gray-50);
}

.support-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.support-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(2, 0, 81, 0.06);
}

.support-testimonial-card .testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.25rem;
}

.support-testimonial-card .testimonial-stars svg {
    width: 20px;
    height: 20px;
}

.support-testimonial-card blockquote {
    font-family: var(--font-h);
    font-size: 1.125rem;
    font-weight: 400;
    font-style: italic;
    color: var(--navy);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.support-testimonial-card .testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.support-testimonial-card .testimonial-author strong {
    font-size: 0.9375rem;
    color: var(--navy);
}

.support-testimonial-card .testimonial-author span {
    font-size: 0.8125rem;
    color: var(--navy-50);
}

/* ============================================
   CTA SECTION
   ============================================ */
.support-cta {
    padding: 6rem 0;
    background: var(--navy);
}

.support-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.support-cta h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 1rem;
}

.support-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0 0 2rem;
}

.support-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.support-faq {
    padding: 6rem 0;
    background: #fff;
}

.support-faq h2 {
    font-family: var(--font-h);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 400;
    color: var(--navy);
    text-align: center;
    margin: 0 0 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-ui);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--coral);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 1rem;
    color: var(--navy-70);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .support-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .support-stats-section .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .support-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .support-hero {
        padding: 8rem 0 4rem;
    }

    .support-hero h1 {
        font-size: 2rem;
    }

    .support-hero-subhead {
        font-size: 1.0625rem;
    }

    .support-primary,
    .support-form-section,
    .support-stats,
    .support-testimonials,
    .support-cta,
    .support-faq {
        padding: 4rem 0;
    }

    .support-form-grid {
        grid-template-columns: 1fr;
    }

    .support-form {
        padding: 2rem 1.5rem;
    }

    .support-card {
        padding: 2rem 1.5rem;
    }

    .support-email-display {
        flex-direction: column;
        gap: 0.5rem;
    }

    .support-email-address {
        font-size: 1.125rem;
    }

    .support-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .support-cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }
}
