/* ═══════════════════════════════════════════════
   Service Pages — Unique Design System
   Roof Repair Deltona · 2026
   Forest Green · Sage · Terracotta
   ═══════════════════════════════════════════════ */

/* ── Service Hero — Angled Split ── */
.sp-hero {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
    padding: 8rem 0 5rem;
}
.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}
.sp-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 25% 35%, rgba(82,183,136,.3) 0, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(231,111,81,.2) 0, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,.02) 40px, rgba(255,255,255,.02) 41px);
    pointer-events: none;
}
.sp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
}
.sp-breadcrumb a { color: var(--accent-light); }
.sp-breadcrumb a:hover { color: #fff; }
.sp-breadcrumb svg { width: 14px; height: 14px; color: rgba(255,255,255,.35); }
.sp-breadcrumb span { color: rgba(255,255,255,.55); }
.sp-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(64,145,108,.15);
    border: 1px solid rgba(82,183,136,.25);
    border-radius: var(--radius-full);
    color: var(--accent-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.sp-hero-label .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-light);
    animation: dotPulse 2.5s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100%{opacity:.5} 50%{opacity:1} }
.sp-hero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}
.sp-hero h1 .sp-highlight {
    color: var(--cta-light);
}
.sp-hero-desc {
    color: rgba(255,255,255,.75);
    font-size: clamp(0.9rem, 1.6vw, 1.02rem);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 640px;
}
.sp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width:639px) {
    .sp-hero { padding: 7rem 0 4rem; }
    .sp-hero-actions { flex-direction: column; }
    .sp-hero-actions .btn { justify-content: center; }
}

/* ── Trust Strip ── */
.sp-trust {
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--card-border);
    background: var(--bg);
}
.sp-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
}
.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}
.sp-trust-icon {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 10px;
    color: var(--accent-dark);
    flex-shrink: 0;
}
.sp-trust-icon svg { width: 18px; height: 18px; }

/* ── Section Base ── */
.sp-section {
    padding: 4.5rem 0;
}
.sp-section-alt {
    padding: 4.5rem 0;
    background: var(--bg-alt);
}
@media (max-width:767px) {
    .sp-section, .sp-section-alt { padding: 3rem 0; }
}
.sp-section-head {
    margin-bottom: 2.5rem;
}
.sp-section-head.centered { text-align: center; }
.sp-section-head.centered .sp-section-desc { margin-left: auto; margin-right: auto; }
.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cta);
    margin-bottom: 0.75rem;
}
.sp-eyebrow svg { width: 14px; height: 14px; }
.sp-section-title {
    font-size: clamp(1.5rem, 3.2vw, 2.15rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.sp-section-title .sp-accent { color: var(--accent); }
.sp-section-desc {
    color: var(--text-muted);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.75;
    max-width: 700px;
}

/* ── Numbered List Block ── */
.sp-numbered-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 780px;
    margin: 0 auto;
}
.sp-numbered-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.sp-numbered-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent), var(--cta));
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity var(--transition);
}
.sp-numbered-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sp-numbered-item:hover::before { opacity: 1; }
.sp-num {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.sp-numbered-item h3 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
}
.sp-numbered-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Icon Feature Grid ── */
.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 {
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.sp-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(64,145,108,.3); }
.sp-feature-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent-soft), rgba(231,111,81,.08));
    border: 1px solid rgba(64,145,108,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}
.sp-feature-icon svg { width: 20px; height: 20px; }
.sp-feature h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
}
.sp-feature p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ── Two-Column Content ── */
.sp-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width:768px) { .sp-two-col { grid-template-columns: 1fr 1fr; } }
.sp-two-col.reverse { direction: rtl; }
.sp-two-col.reverse > * { direction: ltr; }
.sp-col-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.sp-col-img img,
.sp-col-img .placeholder-img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.sp-col-text h2 {
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.sp-col-text p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.sp-col-text p:last-child { margin-bottom: 0; }
.sp-col-text a.sp-inline-link {
    color: var(--accent-dark);
    font-weight: 600;
    border-bottom: 1px solid rgba(64,145,108,.3);
    transition: all 0.2s;
}
.sp-col-text a.sp-inline-link:hover { color: var(--accent); border-color: var(--accent); }

/* ── Horizontal Process Steps ── */
.sp-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    counter-reset: step;
}
@media (min-width:640px) { .sp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .sp-steps { grid-template-columns: repeat(4, 1fr); } }
.sp-step {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all var(--transition);
    counter-increment: step;
}
.sp-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sp-step-num {
    width: 42px; height: 42px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(27,67,50,.2);
}
.sp-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
}
.sp-step p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FAQ Accordion ── */
.sp-faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.sp-faq-item {
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    margin-bottom: 0.625rem;
    overflow: hidden;
    background: var(--card);
    transition: all 0.25s;
}
.sp-faq-item:hover { border-color: rgba(64,145,108,.3); }
.sp-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.15rem 1.35rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    gap: 1rem;
    transition: color 0.2s;
}
.sp-faq-q:hover { color: var(--accent-dark); }
.sp-faq-arrow {
    width: 26px; height: 26px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}
.sp-faq-arrow svg { width: 14px; height: 14px; 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: 600px;
}
.sp-faq-a-inner {
    padding: 0 1.35rem 1.15rem;
}
.sp-faq-a-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

/* ── Related Services Pills ── */
.sp-related {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    padding: 1.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
}
.sp-related-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    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(--accent-dark);
    transition: all 0.25s;
}
.sp-related-pill:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27,67,50,.15);
}
.sp-related-pill svg { width: 13px; height: 13px; }

/* ── CTA Banner ── */
.sp-cta-banner {
    position: relative;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent-dark) 100%);
    border-radius: 1.25rem;
    overflow: hidden;
    max-width: 840px;
    margin: 0 auto;
}
.sp-cta-banner::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(82,183,136,.2), transparent 70%);
    border-radius: 50%;
    top: -30%;
    right: -10%;
    filter: blur(50px);
    pointer-events: none;
}
.sp-cta-banner h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.3rem, 2.8vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
}
.sp-cta-banner p {
    position: relative;
    color: rgba(255,255,255,.75);
    font-size: 0.93rem;
    line-height: 1.7;
    max-width: 580px;
    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.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sp-local-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(82,183,136,.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.sp-local-card h2 {
    position: relative;
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 800;
    margin-bottom: 0.875rem;
}
.sp-local-card p {
    position: relative;
    color: rgba(255,255,255,.78);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 0.875rem;
}
.sp-local-card p:last-child { margin-bottom: 0; }

/* ── Checklist Grid ── */
.sp-checklist {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width:640px) { .sp-checklist { grid-template-columns: repeat(2, 1fr); } }
.sp-check-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.sp-check-item:hover { border-color: rgba(64,145,108,.25); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.sp-check-icon {
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231,111,81,.1);
    color: var(--cta);
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 800;
}
.sp-check-item h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
}
.sp-check-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── Responsive Print ── */
@media print {
    .sp-hero, .sp-cta-banner, .sp-trust, .sp-related { display: none; }
}
