/* ============================================================
   Section-pack scaffolding (sp-*). Part of core/ — replace-only
   on client sites, never edit per site. Everything references
   theme.json presets so the pack re-skins with the site tokens.
   ============================================================ */

.sp-card {
    background: var(--wp--preset--color--muted);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    height: 100%;
}

.sp-card h4 {
    font-family: var(--wp--preset--font-family--ui, var(--wp--preset--font-family--body));
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Numbered how-it-works steps */
.sp-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    font-family: var(--wp--preset--font-family--heading);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Stats row */
.sp-stat-number {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 3rem;
    line-height: 1.1;
    color: var(--wp--preset--color--primary);
    margin: 0;
}

.sp-stat-label {
    color: var(--wp--preset--color--secondary, var(--wp--preset--color--contrast));
    font-size: 0.9375rem;
    margin-top: 0.25rem;
}

/* Testimonial cards */
.sp-quote-card {
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--muted);
    border-bottom: 3px solid var(--wp--preset--color--accent);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    height: 100%;
}

.sp-quote-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
}

/* Single quote band */
.sp-quote-band {
    background: var(--wp--preset--color--muted);
    text-align: center;
}

.sp-quote-band blockquote {
    max-width: 640px;
    margin: 0 auto;
    border: none;
    font-size: 1.375rem;
    line-height: 1.5;
}

/* FAQ (details blocks) */
.sp-faq details {
    background: var(--wp--preset--color--base);
    border: 1px solid var(--wp--preset--color--muted);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.sp-faq summary {
    font-family: var(--wp--preset--font-family--ui, var(--wp--preset--font-family--body));
    font-weight: 600;
    cursor: pointer;
    color: var(--wp--preset--color--contrast);
}

.sp-faq details[open] summary {
    margin-bottom: 0.5rem;
}

/* Service-area city links */
.sp-citylinks {
    list-style: none;
    padding: 0;
    column-count: 3;
    column-gap: 1.5rem;
}

.sp-citylinks li {
    break-inside: avoid;
    background: var(--wp--preset--color--muted);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
}

.sp-citylinks li a {
    text-decoration: none;
    font-family: var(--wp--preset--font-family--ui, var(--wp--preset--font-family--body));
    font-weight: 500;
}

@media (max-width: 767px) {
    .sp-citylinks { column-count: 1; }
}

/* Contact + hours */
.sp-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 0;
    border-top: 1px solid var(--wp--preset--color--muted);
    margin: 0;
}

.sp-hours-row:first-of-type { border-top: none; }

.sp-hours-row p { margin: 0; font-weight: 500; }
