/* ═══════════════════════════════════════════════════
   Service Pages — Unique Design System
   Roofing La Mesa CA · Earth-Tone Artisan Aesthetic
   ═══════════════════════════════════════════════════ */

/* ── Service Page Hero — Warm Split Design ── */
.sp-hero {
    position: relative;
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 55%, #0a1a10 100%);
    padding: 8.5rem 0 4rem;
    overflow: hidden;
}

@media (max-width: 767px) {
    .sp-hero {
        padding: 7rem 0 2.5rem;
    }
}

.sp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: 1;
}

.sp-hero-accent {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.sp-hero-accent-1 {
    top: -15%;
    right: 10%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12), transparent 70%);
}

.sp-hero-accent-2 {
    bottom: -10%;
    left: 5%;
    background: radial-gradient(circle, rgba(194, 69, 45, 0.08), transparent 70%);
}

/* Hero Content */
.sp-hero-inner {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .sp-hero-inner {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

/* Hero Breadcrumb */
.sp-crumbs {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

.sp-crumbs a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-crumbs a:hover {
    color: #fff;
}

.sp-crumbs svg {
    width: 12px;
    height: 12px;
    opacity: 0.4;
}

/* Hero Tag */
.sp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 6px;
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.sp-hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Hero H1 */
.sp-hero h1 {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.sp-hero h1 em {
    font-style: normal;
    color: var(--accent-light);
}

/* Hero Description */
.sp-hero-desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(0.88rem, 1.6vw, 1rem);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 580px;
}

.sp-home-link {
    margin: -0.85rem 0 1.35rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

.sp-home-link a {
    color: var(--accent-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sp-home-link a:hover {
    color: #ffffff;
}

/* Hero Buttons */
.sp-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

@media (max-width: 767px) {
    .sp-hero-btns {
        flex-direction: column;
    }

    .sp-hero-btns .btn {
        justify-content: center;
    }
}

/* Hero Image */
.sp-hero-media {
    position: relative;
}

.sp-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.08);
}

.sp-hero-img img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .sp-hero-img img {
        min-height: 240px;
    }
}

/* Hero Stat Pills */
.sp-hero-stats {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.sp-stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
}

.sp-stat-pill svg {
    width: 16px;
    height: 16px;
    color: var(--accent-light);
}

/* ── Section System ── */
.sp-section {
    padding: 5rem 0;
}

.sp-section-warm {
    padding: 5rem 0;
    background: var(--bg-alt);
}

@media (max-width: 767px) {

    .sp-section,
    .sp-section-warm {
        padding: 3.25rem 0;
    }
}

/* Section Header */
.sp-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3rem;
}

.sp-heading-left {
    text-align: left;
    max-width: 780px;
    margin: 0 0 2.5rem;
}

.sp-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.875rem;
    background: var(--accent-soft);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 6px;
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.875rem;
}

.sp-label svg {
    width: 14px;
    height: 14px;
}

.sp-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 0.875rem;
}

.sp-title .text-accent {
    color: var(--accent-dark);
}

.sp-subtitle {
    color: var(--text-muted);
    font-size: clamp(0.88rem, 1.4vw, 1rem);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto;
}

.sp-heading-left .sp-subtitle {
    margin: 0;
}

/* ── Warning/Damage Grid — Roof Repair ── */
.sp-warn-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.125rem;
}

@media (min-width: 640px) {
    .sp-warn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sp-warn-card {
    display: flex;
    gap: 1rem;
    padding: 1.375rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: all 0.3s var(--transition);
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
}

.sp-warn-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--cta);
    border-radius: 3px 0 0 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.sp-warn-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sp-warn-card:hover::before {
    opacity: 1;
}

.sp-warn-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cta-soft);
    color: var(--cta);
    border-radius: 10px;
    flex-shrink: 0;
}

.sp-warn-icon svg {
    width: 20px;
    height: 20px;
}

.sp-warn-card h3 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.sp-warn-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

/* ── Process Steps — Vertical ── */
.sp-process {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-left: 3.5rem;
}

.sp-process::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--cta-light));
    border-radius: 2px;
}

.sp-process-step {
    position: relative;
    margin-bottom: 2.25rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s;
}

.sp-process-step:last-child {
    margin-bottom: 0;
}

.sp-process-step:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 160, 23, 0.3);
}

.sp-step-num {
    position: absolute;
    left: -3.5rem;
    top: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(27, 67, 50, 0.3);
}

.sp-process-step h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.sp-process-step p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ── Content Split — Image + Text ── */
.sp-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .sp-split {
        grid-template-columns: 1fr 1fr;
    }

    .sp-split.flip {
        direction: rtl;
    }

    .sp-split.flip>* {
        direction: ltr;
    }
}

.sp-split-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
}

.sp-split-img img {
    width: 100%;
    display: block;
}

.sp-split-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
}

.sp-split-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.sp-split-text p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.78;
    margin-bottom: 0.875rem;
}

.sp-split-text p:last-child {
    margin-bottom: 0;
}

/* ── Hero & Split Image Styles ── */

.sp-hero-image {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .sp-hero-image {
        min-height: 240px;
    }
}

/* ── Material Cards — Roof Installation ── */
.sp-material-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .sp-material-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sp-material-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sp-material-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
    position: relative;
    display: flex;
    flex-direction: column;
}

.sp-material-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 160, 23, 0.35);
}

.sp-material-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 12px;
    margin-bottom: 1.125rem;
}

.sp-material-icon svg {
    width: 24px;
    height: 24px;
}

.sp-material-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.sp-material-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Horizontal Timeline — Installation ── */
.sp-h-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .sp-h-timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .sp-h-timeline::before {
        content: '';
        position: absolute;
        top: 28px;
        left: 40px;
        right: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent), var(--cta-light));
        z-index: 0;
    }
}

.sp-h-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.sp-h-step-dot {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 3px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.sp-h-step:hover .sp-h-step-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-xl);
}

.sp-h-step h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.sp-h-step p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* ── Comparison Panel — Replacement ── */
.sp-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .sp-compare {
        grid-template-columns: 1fr 1fr;
    }
}

.sp-compare-col {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--card-border);
}

.sp-compare-repair {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(16, 185, 129, 0.02));
    border-color: rgba(16, 185, 129, 0.2);
}

.sp-compare-replace {
    background: linear-gradient(135deg, rgba(194, 69, 45, 0.06), rgba(194, 69, 45, 0.02));
    border-color: rgba(194, 69, 45, 0.2);
}

.sp-compare-col h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sp-compare-repair h3 {
    color: #059669;
}

.sp-compare-replace h3 {
    color: var(--cta);
}

.sp-compare-col ul {
    list-style: none;
    padding: 0;
}

.sp-compare-col li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.sp-compare-col li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 0.875rem;
}

.sp-compare-repair li::before {
    color: #10b981;
}

.sp-compare-replace li::before {
    color: var(--cta);
}

/* ── Checklist Grid — Inspection ── */
.sp-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .sp-checklist {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sp-checklist {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sp-check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.125rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s;
}

.sp-check-item:hover {
    border-color: rgba(27, 67, 50, 0.25);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.sp-check-mark {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: 6px;
    flex-shrink: 0;
}

.sp-check-mark svg {
    width: 14px;
    height: 14px;
}

.sp-check-item h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.sp-check-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

/* ── Numbered Info Cards ── */
.sp-num-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.125rem;
}

@media (min-width: 768px) {
    .sp-num-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.sp-num-card {
    display: flex;
    gap: 1.125rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s;
}

.sp-num-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 160, 23, 0.25);
}

.sp-num-badge {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 2px solid rgba(212, 160, 23, 0.25);
    color: var(--accent-dark);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    border-radius: 10px;
    flex-shrink: 0;
}

.sp-num-card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.sp-num-card p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Feature Highlight Boxes ── */
.sp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .sp-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sp-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sp-feature-box {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.35s;
    box-shadow: var(--shadow-xs);
}

.sp-feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.sp-feature-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border: 1px solid rgba(212, 160, 23, 0.15);
    color: var(--accent-dark);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.sp-feature-icon svg {
    width: 22px;
    height: 22px;
}

.sp-feature-box h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.sp-feature-box p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Benefit Pills ── */
.sp-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.sp-benefit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.125rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s;
}

.sp-benefit:hover {
    border-color: rgba(27, 67, 50, 0.3);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.sp-benefit svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ── FAQ Accordion ── */
.sp-faq {
    max-width: 780px;
    margin: 0 auto;
}

.sp-faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 0.625rem;
    background: var(--card);
    overflow: hidden;
    transition: all 0.3s;
}

.sp-faq-item:hover {
    border-color: rgba(212, 160, 23, 0.3);
}

.sp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.125rem 1.375rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    text-align: left;
    gap: 1rem;
    transition: color 0.2s;
}

.sp-faq-q:hover {
    color: var(--primary);
}

.sp-faq-arrow {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.sp-faq-arrow svg {
    width: 13px;
    height: 13px;
    stroke: var(--text-muted);
    transition: transform 0.3s;
}

.sp-faq-item.open .sp-faq-arrow {
    background: var(--accent-soft);
}

.sp-faq-item.open .sp-faq-arrow svg {
    transform: rotate(180deg);
    stroke: var(--accent-dark);
}

.sp-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sp-faq-item.open .sp-faq-a {
    max-height: 500px;
}

.sp-faq-a-inner {
    padding: 0 1.375rem 1.25rem;
}

.sp-faq-a-inner p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.78;
}

/* ── CTA Block ── */
.sp-cta {
    position: relative;
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-dark) 60%, #0a1a10 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sp-cta::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.15), transparent 70%);
    border-radius: 50%;
    top: -25%;
    right: -8%;
    filter: blur(50px);
    pointer-events: none;
}

.sp-cta h2 {
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.sp-cta p {
    position: relative;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

.sp-cta-btns {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem;
}

/* ── Local Relevance Card ── */
.sp-local-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sp-local-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -25%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sp-local-card h2 {
    position: relative;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 800;
    margin-bottom: 0.875rem;
}

.sp-local-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    line-height: 1.78;
    margin-bottom: 0.875rem;
}

.sp-local-card p:last-child {
    margin-bottom: 0;
}

/* ── Internal Links Section ── */
.sp-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    padding: 1.25rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}

.sp-related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow-xs);
}

.sp-related-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.sp-related-link svg {
    width: 13px;
    height: 13px;
}

/* ── Text Content Block ── */
.sp-content {
    max-width: 780px;
    margin: 0 auto;
}

.sp-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}

.sp-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 1.25rem 0 0.4rem;
}

.sp-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.78;
    margin-bottom: 0.875rem;
}

.sp-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(27, 67, 50, 0.25);
    transition: all 0.2s;
}

.sp-content a:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

/* ── Milestone Steps — Replacement ── */
.sp-milestones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .sp-milestones {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-milestone:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.625rem);
        margin-inline: auto;
        width: 100%;
    }
}

.sp-milestone {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sp-milestone::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.sp-milestone:hover {
    box-shadow: var(--shadow-md);
}

.sp-milestone:hover::after {
    opacity: 1;
}

.sp-milestone-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 8px;
    flex-shrink: 0;
}

.sp-milestone h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.sp-milestone p {
    color: var(--text-muted);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* ── Print ── */
@media print {

    .sp-hero,
    .sp-cta,
    .sp-related,
    .sp-hero-stats {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   Services We Provide — Scope Grid Component
   ═══════════════════════════════════════════════════ */
.sp-scope-section {
    padding: 4.5rem 0 3.75rem;
    background: var(--bg-subtle, #FAF5EC);
    border-bottom: 1px solid var(--card-border, #E8DFD0);
}

.sp-scope-header {
    margin-bottom: 2.25rem;
}

.sp-scope-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}

.sp-scope-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0;
}

.sp-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 960px) {
    .sp-scope-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .sp-scope-section {
        padding: 3rem 0 2.5rem;
    }

    .sp-scope-title {
        font-size: 1.75rem;
    }

    .sp-scope-desc {
        font-size: 0.95rem;
    }

    .sp-scope-grid {
        grid-template-columns: 1fr;
    }
}

.sp-scope-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    background: #ffffff;
    border-radius: 10px;
    padding: 1.25rem 1.5rem 1.25rem 1.65rem;
    border: 1px solid var(--card-border, #E8DFD0);
    box-shadow: 0 2px 8px rgba(44, 36, 22, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: default;
    overflow: hidden;
}

.sp-scope-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4.5px;
    background: var(--primary);
    border-radius: 0 3px 3px 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-scope-card:hover {
    transform: translateY(-3px);
    border-color: rgba(27, 67, 50, 0.25);
    box-shadow: 0 10px 25px rgba(27, 67, 50, 0.10);
}

.sp-scope-card:hover::before {
    background: var(--accent);
    top: 10px;
    bottom: 10px;
}

.sp-scope-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 8px;
    background: rgba(27, 67, 50, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.sp-scope-card:hover .sp-scope-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.06);
}

.sp-scope-icon svg {
    width: 22px;
    height: 22px;
}

.sp-scope-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    transition: color 0.2s ease;
}

.sp-scope-card:hover .sp-scope-name {
    color: var(--primary);
}
