/* ============================================================
   SERVICE PAGE STYLES — Unique from Homepage
   AC Repair Orlando FL — Service-Specific Design
   ============================================================ */

/* --- Service Page Variables --- */
:root {
    --sp-primary: #0077B6;
    --sp-primary-dark: #005F8A;
    --sp-primary-light: rgba(0, 119, 182, 0.08);
    --sp-accent: #1B2A4A;
    --sp-accent-orange: #FF6B35;
    --sp-text: #2A2F3B;
    --sp-text-light: #5A6477;
    --sp-bg: #ffffff;
    --sp-bg-alt: #F5F7FA;
    --sp-bg-warm: #FBF8F5;
    --sp-border: #D8E0EA;
    --sp-green: #22A45D;
    --sp-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --sp-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --sp-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --sp-radius: 10px;
    --sp-radius-lg: 16px;
    --sp-container: 1140px;
    --sp-font-heading: 'Outfit', sans-serif;
    --sp-font-body: 'Plus Jakarta Sans', sans-serif;
    --sp-font-accent: 'Roboto Slab', serif;
}

/* --- Service Page Body Override --- */
.service-page {
    background: var(--sp-bg);
    color: var(--sp-text);
    font-family: var(--sp-font-body);
    font-size: 16px;
    line-height: 1.7;
}

.sp-container {
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   SERVICE HERO — Diagnostic-Focused
   ============================================================ */
.sp-hero {
    background: linear-gradient(135deg, #1B2A4A 0%, #0F1B30 60%, #0A1322 100%);
    padding: 130px 0 60px;
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 500px 350px at 85% 25%, rgba(0,119,182,0.12), transparent),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.sp-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--sp-bg));
    z-index: 1;
}

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

/* Breadcrumbs */
.sp-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}

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

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

.sp-breadcrumbs .sp-bc-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
}

.sp-breadcrumbs .sp-bc-current {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Content */
.sp-hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,119,182,0.12);
    border: 1px solid rgba(0,168,232,0.2);
    color: #5cbce9;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.sp-hero-badge svg {
    width: 14px; height: 14px;
    fill: #5cbce9;
}

.sp-hero h1 {
    font-family: var(--sp-font-heading);
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}

.sp-hero h1 span {
    color: #5cbce9;
}

.sp-hero-desc {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}

.sp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-hero-image {
    position: relative;
}

.sp-hero-image .img-placeholder {
    min-height: 280px;
    border-radius: var(--sp-radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
}

.sp-hero-image .img-placeholder svg {
    fill: rgba(255,255,255,0.2);
}

.sp-hero-image .img-placeholder span {
    color: rgba(255,255,255,0.35);
}

.sp-hero-image .service-hero-image {
    width: 100%;
    min-height: 280px;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--sp-radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

/* Service Page Buttons */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: var(--sp-radius);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sp-btn svg {
    width: 16px; height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.sp-btn-primary {
    background: var(--sp-primary);
    color: #fff;
}

.sp-btn-primary:hover {
    background: var(--sp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,119,182,0.3);
}

.sp-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}

.sp-btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
}

.sp-btn-navy {
    background: var(--sp-accent);
    color: #fff;
}

.sp-btn-navy:hover {
    background: #243556;
}

.sp-btn-accent {
    background: var(--sp-accent-orange);
    color: #fff;
}

.sp-btn-accent:hover {
    background: #E05A28;
}

/* ============================================================
   SP SECTION SYSTEM
   ============================================================ */
.sp-section {
    padding: 72px 0;
}

.sp-section-alt { background: var(--sp-bg-alt); }
.sp-section-warm { background: var(--sp-bg-warm); }
.sp-section-dark {
    background: #0E1525;
    color: rgba(255,255,255,0.82);
}

.sp-section-dark h2,
.sp-section-dark h3 { color: #fff; }

.sp-label {
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 12.5px;
    color: var(--sp-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.sp-title {
    font-family: var(--sp-font-heading);
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 800;
    color: var(--sp-accent);
    line-height: 1.2;
    margin-bottom: 16px;
}

.sp-section-dark .sp-title { color: #fff; }

.sp-desc {
    font-size: 16px;
    color: var(--sp-text-light);
    line-height: 1.7;
    max-width: 620px;
}

.sp-section-dark .sp-desc { color: rgba(255,255,255,0.65); }

/* ============================================================
   SIGNS / SYMPTOMS — Diagnostic Card Grid
   ============================================================ */
.sp-signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.sp-sign-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 20px;
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sp-sign-card:hover {
    border-color: rgba(0,119,182,0.2);
    box-shadow: var(--sp-shadow-sm);
}

.sp-sign-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,107,53,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-sign-icon svg {
    width: 18px; height: 18px;
    fill: var(--sp-accent-orange);
}

.sp-sign-card h3 {
    font-family: var(--sp-font-heading);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--sp-accent);
    margin-bottom: 4px;
}

.sp-sign-card p {
    font-size: 13.5px;
    color: var(--sp-text-light);
    line-height: 1.6;
}

/* ============================================================
   SERVICE PROCESS STEPS — Numbered
   ============================================================ */
.sp-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
    counter-reset: spstep;
}

.sp-process-step {
    padding: 28px 22px;
    border-radius: var(--sp-radius-lg);
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    counter-increment: spstep;
    position: relative;
}

.sp-process-step::before {
    content: counter(spstep, decimal-leading-zero);
    font-family: var(--sp-font-heading);
    font-weight: 800;
    font-size: 32px;
    color: rgba(0,119,182,0.1);
    display: block;
    line-height: 1;
    margin-bottom: 14px;
}

.sp-process-step h3 {
    font-size: 16.5px;
    margin-bottom: 8px;
}

.sp-process-step p {
    font-size: 14px;
    color: var(--sp-text-light);
    line-height: 1.65;
}

/* ============================================================
   WHAT THIS SERVICE INCLUDES — Checklist
   ============================================================ */
.sp-includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.sp-includes-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: var(--sp-bg);
    border-radius: var(--sp-radius);
    border: 1px solid var(--sp-border);
    font-size: 14.5px;
    color: var(--sp-text);
    line-height: 1.55;
}

.sp-includes-item svg {
    width: 18px; height: 18px;
    fill: var(--sp-green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   COMMON CAUSES — Bordered List
   ============================================================ */
.sp-causes-list {
    margin-top: 32px;
    max-width: 700px;
}

.sp-causes-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--sp-border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.sp-causes-item:last-child { border-bottom: none; }

.sp-causes-item svg {
    width: 18px; height: 18px;
    fill: var(--sp-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.sp-causes-item h3 {
    font-size: 15.5px;
    margin-bottom: 4px;
}

.sp-causes-item p {
    font-size: 14px;
    color: var(--sp-text-light);
    line-height: 1.6;
}

/* ============================================================
   CLIMATE CONTEXT — Bordered Info
   ============================================================ */
.sp-climate-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
    align-items: start;
}

.sp-climate-text p {
    font-size: 15px;
    color: var(--sp-text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.sp-climate-factors {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-climate-factor {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--sp-bg);
    border-radius: var(--sp-radius);
    border-left: 3px solid var(--sp-primary);
}

.sp-climate-factor svg {
    width: 16px; height: 16px;
    fill: var(--sp-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-climate-factor p {
    font-size: 13.5px;
    color: var(--sp-text);
    line-height: 1.55;
}

/* ============================================================
   SAFE HOMEOWNER OBSERVATIONS
   ============================================================ */
.sp-safe-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.sp-safe-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(34,164,93,0.05);
    border-radius: var(--sp-radius);
    border: 1px solid rgba(34,164,93,0.15);
    font-size: 14px;
    color: var(--sp-text);
    line-height: 1.55;
}

.sp-safe-item svg {
    width: 16px; height: 16px;
    fill: var(--sp-green);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================================
   REPAIR VS REPLACEMENT
   ============================================================ */
.sp-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.sp-compare-card {
    border-radius: var(--sp-radius-lg);
    border: 1px solid var(--sp-border);
    overflow: hidden;
}

.sp-compare-header {
    padding: 16px 20px;
    font-family: var(--sp-font-heading);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.sp-compare-header.repair { background: var(--sp-primary); }
.sp-compare-header.replace { background: var(--sp-accent); }

.sp-compare-body {
    padding: 20px;
}

.sp-compare-body li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--sp-text-light);
    line-height: 1.55;
    margin-bottom: 10px;
}

.sp-compare-body li svg {
    width: 14px; height: 14px;
    fill: var(--sp-green);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================================
   FAQ — Service Page Style
   ============================================================ */
.sp-faq-list {
    max-width: 760px;
    margin-top: 36px;
}

.sp-faq-item {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.sp-faq-item.active {
    border-color: var(--sp-primary);
}

.sp-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--sp-accent);
    text-align: left;
    gap: 14px;
    transition: background 0.2s;
}

.sp-faq-question:hover { background: var(--sp-bg-alt); }

.sp-faq-question:focus-visible {
    outline: 2px solid var(--sp-primary);
    outline-offset: -2px;
}

.sp-faq-question svg {
    width: 18px; height: 18px;
    fill: var(--sp-primary);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.sp-faq-item.active .sp-faq-question svg {
    transform: rotate(180deg);
}

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

.sp-faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 14.5px;
    color: var(--sp-text-light);
    line-height: 1.7;
}

.sp-faq-item.active .sp-faq-answer {
    max-height: 400px;
}

/* ============================================================
   RELATED SERVICES
   ============================================================ */
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.sp-related-card {
    padding: 22px;
    border-radius: var(--sp-radius-lg);
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    transition: all 0.3s;
}

.sp-related-card:hover {
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-3px);
    border-color: transparent;
}

.sp-related-card h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.sp-related-card p {
    font-size: 13.5px;
    color: var(--sp-text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.sp-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--sp-primary);
}

.sp-related-link:hover { gap: 10px; }

.sp-related-link svg {
    width: 14px; height: 14px;
    fill: var(--sp-primary);
}

/* ============================================================
   MID-PAGE CTA BAND
   ============================================================ */
.sp-mid-cta {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    padding: 48px 0;
    text-align: center;
}

.sp-mid-cta h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: #fff;
    margin-bottom: 12px;
}

.sp-mid-cta p {
    font-size: 15.5px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.sp-mid-cta .sp-btn-primary {
    background: #fff;
    color: var(--sp-primary);
}

.sp-mid-cta .sp-btn-primary:hover {
    background: var(--sp-bg-alt);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.sp-bottom-cta {
    background: var(--sp-accent);
    padding: 64px 0;
    text-align: center;
}

.sp-bottom-cta h2 {
    font-size: clamp(24px, 3.5vw, 34px);
    color: #fff;
    margin-bottom: 14px;
}

.sp-bottom-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.sp-cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   CONTENT PROSE (body paragraphs within sections)
   ============================================================ */
.sp-prose {
    max-width: 700px;
}

.sp-prose p {
    font-size: 15.5px;
    color: var(--sp-text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.sp-prose a {
    color: var(--sp-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sp-prose a:hover {
    color: var(--sp-primary-dark);
}

/* ============================================================
   RESPONSIVE — Service Pages
   ============================================================ */
@media (max-width: 1024px) {
    .sp-hero-layout { grid-template-columns: 1fr; }
    .sp-hero-image { display: none; }
    .sp-climate-box { grid-template-columns: 1fr; }
    .sp-compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sp-hero { padding: 100px 0 50px; }
    .sp-section { padding: 52px 0; }
    .sp-signs-grid { grid-template-columns: 1fr; }
    .sp-process-steps { grid-template-columns: 1fr; }
    .sp-includes-list { grid-template-columns: 1fr; }
    .sp-safe-list { grid-template-columns: 1fr; }
    .sp-related-grid { grid-template-columns: 1fr; }
    .sp-hero-actions { flex-direction: column; }
    .sp-hero-actions .sp-btn { width: 100%; }
}
