/* ============================================================
   SERVICE PAGE DESIGN SYSTEM — SALT LAKE CITY, UTAH
   Clean Water, Glass & Architectural Window Care
   Focused & Diagnostic Service Architecture
   ============================================================ */

/* --- Custom Properties / Brand Design System --- */
:root {
    /* Brand Primary — Deep Teal (Clean, Water, Pure Glass) */
    --sp-primary: #0E7490;
    --sp-primary-dark: #0A5B72;
    --sp-primary-light: #17A2B8;
    --sp-primary-tint: rgba(14, 116, 144, 0.08);
    --sp-primary-glow: rgba(14, 116, 144, 0.22);
    --sp-primary-subtle: rgba(14, 116, 144, 0.04);

    /* Secondary / Contrast — Deep Navy */
    --sp-secondary: #1B2A4A;
    --sp-accent: #1B2A4A;
    --sp-navy-dark: #0F172A;
    --sp-navy-card: #1E293B;
    --sp-navy-tint: rgba(27, 42, 74, 0.06);

    /* Highlight / Accent — Sky Blue (Glass Reflection & Sky Highlight) */
    --sp-sky: #38BDF8;
    --sp-sky-dark: #0EA5E9;
    --sp-sky-tint: rgba(56, 189, 248, 0.12);
    --sp-sky-border: rgba(56, 189, 248, 0.35);

    /* Text & Content Scale */
    --sp-text: #1E293B;
    --sp-text-light: #64748B;
    --sp-text-muted: #94A3B8;
    --sp-text-white: #FFFFFF;

    /* Backgrounds & Glass Tints */
    --sp-bg: #FFFFFF;
    --sp-bg-alt: #F0F9FF;      /* Off White / Pure Water Tint */
    --sp-bg-ice: #E0F2FE;      /* Light Gray / Ice Blue */
    --sp-bg-dark: #0F172A;     /* Dark Slate */
    --sp-bg-navy: #1B2A4A;     /* Deep Navy */

    /* Borders & Dividers */
    --sp-border: #BAE6FD;
    --sp-border-subtle: rgba(186, 230, 253, 0.55);
    --sp-border-glass: rgba(14, 116, 144, 0.18);
    --sp-border-dark: rgba(255, 255, 255, 0.12);

    /* Status & Validation */
    --sp-success: #10B981;
    --sp-success-tint: rgba(16, 185, 129, 0.12);
    --sp-warning: #F59E0B;
    --sp-warning-tint: rgba(245, 158, 11, 0.12);

    /* Typography */
    --sp-font-heading: 'Outfit', sans-serif;
    --sp-font-body: 'Plus Jakarta Sans', sans-serif;
    --sp-font-accent: 'Roboto Slab', serif;

    /* Layout & Geometry */
    --sp-container: 1180px;
    --sp-radius-sm: 6px;
    --sp-radius: 10px;
    --sp-radius-lg: 16px;
    --sp-radius-xl: 24px;

    /* Elevation & Shadows */
    --sp-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --sp-shadow-sm: 0 2px 8px rgba(14, 116, 144, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
    --sp-shadow-md: 0 6px 20px rgba(14, 116, 144, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
    --sp-shadow-lg: 0 12px 36px rgba(27, 42, 74, 0.10), 0 4px 12px rgba(14, 116, 144, 0.06);
    --sp-shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.14), 0 8px 24px rgba(14, 116, 144, 0.08);
    --sp-shadow-glow: 0 0 24px rgba(56, 189, 248, 0.28);

    /* Transitions */
    --sp-transition-fast: 0.18s ease;
    --sp-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --sp-transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-logo-img {
    height: 44px;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    display: inline-block;
}

.mobile-logo-img {
    height: 38px;
    width: auto;
    max-height: 38px;
    object-fit: contain;
    display: inline-block;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-height: 42px;
    object-fit: contain;
    display: inline-block;
    margin-bottom: 12px;
}

.sp-featured-image {
    width: 100%;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sp-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* ============================================================
   1. SERVICE PAGE BODY OVERRIDE (.service-page)
   ============================================================ */
body.service-page {
    background-color: var(--sp-bg);
    color: var(--sp-text);
    font-family: var(--sp-font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Core Container */
.sp-container {
    width: 100%;
    max-width: var(--sp-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Scroll Offset for Anchor Headings */
.service-page h1,
.service-page h2,
.service-page h3,
.service-page h4 {
    scroll-margin-top: 100px;
}

/* Selection Tint */
.service-page ::selection {
    background-color: var(--sp-primary-light);
    color: #ffffff;
}

/* ============================================================
   SHARED HEADER & TOP BAR HARMONY (From index.css)
   ============================================================ */
.service-page .top-bar {
    background: var(--sp-secondary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-page .top-bar a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color var(--sp-transition-fast);
}

.service-page .top-bar a:hover {
    color: var(--sp-sky);
}

.service-page .site-header {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    transition: all var(--sp-transition);
}

.service-page .site-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.10);
}

.service-page .main-nav a:hover,
.service-page .main-nav a.active,
.service-page .dropdown-trigger:hover,
.service-page .dropdown-trigger.active {
    color: var(--sp-primary);
    background: var(--sp-primary-tint);
}

/* ============================================================
   2. SERVICE HERO (Professional Photo Backdrop & Scrim)
   ============================================================ */
.sp-hero {
    background-color: #0b1329;
    color: #ffffff;
    padding: 135px 0 72px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--sp-border-subtle);
}

.sp-hero::before,
.sp-hero::after {
    display: none;
}

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

/* Hero Diagnostic Protocol Badge */
.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sp-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sp-sky);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.sp-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--sp-sky);
    box-shadow: 0 0 8px var(--sp-sky);
    animation: spPulse 2s infinite ease-in-out;
}

@keyframes spPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.sp-hero h1 {
    font-family: var(--sp-font-heading);
    font-size: clamp(2.1rem, 4.4vw, 3.35rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    margin: 0 0 20px;
    max-width: 840px;
    letter-spacing: -0.02em;
}

.sp-hero h1 span {
    color: var(--sp-sky);
    position: relative;
    display: inline-block;
}

.sp-hero-desc {
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    color: rgba(240, 249, 255, 0.82);
    max-width: 700px;
    margin: 0 0 30px;
    line-height: 1.75;
    font-weight: 400;
}

/* Diagnostic Specification Chips in Hero */
.sp-hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.sp-spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 14px;
    border-radius: var(--sp-radius-sm);
    backdrop-filter: blur(4px);
    transition: all var(--sp-transition-fast);
}

.sp-spec-chip:hover {
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
}

.sp-spec-chip svg {
    width: 14px;
    height: 14px;
    fill: var(--sp-sky);
    flex-shrink: 0;
}

.sp-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Hero Background Layer */
.sp-hero {
    position: relative;
    overflow: hidden;
    padding: 135px 0 72px;
}

.sp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.sp-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transform: scale(1.02);
    filter: brightness(0.95) contrast(1.05);
}

.sp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 20, 42, 0.68) 0%,
        rgba(10, 20, 42, 0.45) 40%,
        rgba(10, 20, 42, 0.70) 80%,
        rgba(10, 20, 42, 0.95) 100%
    );
    z-index: 2;
}

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

.sp-hero-content {
    color: #ffffff;
    max-width: 880px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   3. BREADCRUMBS
   ============================================================ */
.sp-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 13.5px;
    font-weight: 500;
}

.sp-breadcrumbs a {
    color: rgba(240, 249, 255, 0.65);
    text-decoration: none;
    transition: color var(--sp-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.sp-breadcrumbs a:hover {
    color: var(--sp-sky);
}

.sp-breadcrumbs .sep {
    color: rgba(186, 230, 253, 0.35);
    font-size: 11px;
    user-select: none;
}

.sp-breadcrumbs .current {
    color: var(--sp-sky);
    font-weight: 600;
}

/* Light Breadcrumbs Variant (when used in body) */
.sp-breadcrumbs-light a {
    color: var(--sp-text-light);
}

.sp-breadcrumbs-light a:hover {
    color: var(--sp-primary);
}

.sp-breadcrumbs-light .sep {
    color: var(--sp-border);
}

.sp-breadcrumbs-light .current {
    color: var(--sp-primary);
}

/* ============================================================
   4. SERVICE PAGE BUTTON SYSTEM (sp-btn)
   ============================================================ */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    padding: 13px 28px;
    border-radius: var(--sp-radius-sm);
    text-decoration: none;
    transition: all var(--sp-transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.015em;
    box-sizing: border-box;
    white-space: nowrap;
}

.sp-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    transition: transform var(--sp-transition-fast);
    flex-shrink: 0;
}

.sp-btn:hover svg {
    transform: translateX(2px);
}

/* Primary Button — Deep Teal with Clean Elevation */
.sp-btn-primary {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--sp-primary-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sp-btn-primary:hover {
    background: linear-gradient(135deg, var(--sp-primary-light) 0%, var(--sp-primary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.35);
}

.sp-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--sp-primary-glow);
}

/* Secondary Button — Deep Navy */
.sp-btn-secondary {
    background: var(--sp-secondary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 14px rgba(27, 42, 74, 0.2);
}

.sp-btn-secondary:hover {
    background: #243761;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(27, 42, 74, 0.3);
}

/* Accent Button — Sky Blue Luminous Highlight */
.sp-btn-accent {
    background: var(--sp-sky);
    color: var(--sp-navy-dark);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.sp-btn-accent:hover {
    background: #7dd3fc;
    color: var(--sp-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

/* Outline Button (For Dark Backgrounds) */
.sp-btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(4px);
}

.sp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Outline Dark (For Light Backgrounds) */
.sp-btn-outline-dark {
    background: transparent;
    color: var(--sp-primary);
    border: 2px solid var(--sp-primary);
}

.sp-btn-outline-dark:hover {
    background: var(--sp-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-sm);
}

/* Navy Solid Button (For Light Sections) */
.sp-btn-navy {
    background: var(--sp-secondary);
    color: #ffffff;
    border: 1px solid transparent;
}

.sp-btn-navy:hover {
    background: var(--sp-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--sp-primary-glow);
}

/* Sizing Modifiers */
.sp-btn-sm {
    padding: 9px 18px;
    font-size: 13.5px;
    border-radius: var(--sp-radius-sm);
}

.sp-btn-lg {
    padding: 16px 36px;
    font-size: 16.5px;
    border-radius: var(--sp-radius);
}

.sp-btn-block {
    width: 100%;
    display: flex;
}

/* ============================================================
   5. CONTENT SECTIONS WITH ALTERNATING BACKGROUNDS
   ============================================================ */
.sp-section {
    padding: 76px 0;
    position: relative;
    box-sizing: border-box;
}

/* Alternating Background Palette */
.sp-section-alt {
    background-color: var(--sp-bg-alt); /* #F0F9FF Off White/Water Tint */
    border-top: 1px solid var(--sp-border-subtle);
    border-bottom: 1px solid var(--sp-border-subtle);
}

.sp-section-ice {
    background-color: var(--sp-bg-ice); /* #E0F2FE Light Ice Gray */
    border-top: 1px solid var(--sp-border);
    border-bottom: 1px solid var(--sp-border);
}

.sp-section-dark {
    background: linear-gradient(145deg, #1B2A4A 0%, #15233E 50%, #0F172A 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.sp-section-dark .sp-section-subtitle {
    color: rgba(240, 249, 255, 0.75);
}

.sp-section-warm {
    background: #FAFCFE;
    border-top: 1px solid #EBF4FC;
    border-bottom: 1px solid #EBF4FC;
}

/* Section Header Typography */
.sp-section-header {
    margin-bottom: 44px;
    position: relative;
}

.sp-section-header.text-center {
    text-align: center;
}

.sp-section-header.text-center .sp-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Section Category Badges */
.sp-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sp-font-heading);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--sp-primary);
    background: var(--sp-primary-tint);
    border: 1px solid rgba(14, 116, 144, 0.2);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.sp-section-badge-navy {
    color: var(--sp-secondary);
    background: var(--sp-navy-tint);
    border-color: rgba(27, 42, 74, 0.18);
}

.sp-section-badge-sky {
    color: var(--sp-primary-dark);
    background: var(--sp-sky-tint);
    border-color: var(--sp-sky-border);
}

.sp-section-badge-dark {
    color: var(--sp-sky);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.3);
}

.sp-section-title {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.sp-section-subtitle {
    font-size: 16.5px;
    color: var(--sp-text-light);
    max-width: 720px;
    margin: 0;
    line-height: 1.75;
}

/* ============================================================
   6. TWO-COLUMN LAYOUT & SIDEBAR SYSTEM (.sp-content-grid)
   ============================================================ */
.sp-content-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.sp-content-main {
    min-width: 0;
}

.sp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sp-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 30px 26px;
    box-shadow: var(--sp-shadow-sm);
    position: relative;
    overflow: hidden;
}

.sp-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sp-sidebar-card h4 {
    font-family: var(--sp-font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--sp-secondary);
    margin: 0 0 16px;
    line-height: 1.3;
}

.sp-sidebar-card p {
    font-size: 14.5px;
    color: var(--sp-text-light);
    margin: 0 0 20px;
    line-height: 1.65;
}

/* Sidebar Services Navigation List */
.sp-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-sidebar-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--sp-bg-alt);
    border: 1px solid var(--sp-border-subtle);
    border-radius: var(--sp-radius-sm);
    color: var(--sp-text);
    font-family: var(--sp-font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--sp-transition-fast);
}

.sp-sidebar-nav li a:hover {
    background: #ffffff;
    border-color: var(--sp-primary);
    color: var(--sp-primary);
    transform: translateX(3px);
    box-shadow: var(--sp-shadow-xs);
}

.sp-sidebar-nav li a.active {
    background: var(--sp-primary);
    border-color: var(--sp-primary);
    color: #ffffff;
}

.sp-sidebar-nav li a .arrow {
    color: var(--sp-primary);
    font-size: 13px;
    transition: transform var(--sp-transition-fast);
}

.sp-sidebar-nav li a.active .arrow {
    color: #ffffff;
}

.sp-sidebar-nav li a:hover .arrow {
    transform: translateX(3px);
}

.sp-sidebar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--sp-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sp-secondary);
    margin-top: 16px;
    text-decoration: none;
    transition: color var(--sp-transition-fast);
}

.sp-sidebar-phone:hover {
    color: var(--sp-primary);
}

.sp-sidebar-phone svg {
    width: 17px;
    height: 17px;
    fill: var(--sp-primary);
}

/* ============================================================
   7. SERVICE INFO CARDS / DIAGNOSTIC GRID
   ============================================================ */
.sp-cards-grid,
.sp-consider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 14px;
}

.sp-cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 14px;
}

/* Primary Diagnostic Card */
.sp-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 34px 30px;
    position: relative;
    transition: all var(--sp-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--sp-shadow-sm);
    overflow: hidden;
}

/* Top teal diagnostic stripe */
.sp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary) 0%, var(--sp-sky) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--sp-transition);
}

.sp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-shadow-lg);
    border-color: rgba(14, 116, 144, 0.4);
}

.sp-card:hover::before {
    transform: scaleX(1);
}

.sp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.sp-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--sp-primary-tint);
    border: 1px solid rgba(14, 116, 144, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    transition: all var(--sp-transition);
    flex-shrink: 0;
}

.sp-card-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.sp-card:hover .sp-card-icon {
    background: var(--sp-primary);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 4px 14px var(--sp-primary-glow);
}

.sp-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-card-num {
    font-family: var(--sp-font-heading);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--sp-secondary);
    opacity: 0.65;
    letter-spacing: 0.5px;
}

.sp-card-badge {
    font-family: var(--sp-font-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--sp-text-light);
    background: var(--sp-bg-alt);
    border: 1px solid var(--sp-border);
    padding: 4px 11px;
    border-radius: 6px;
}

.sp-card-badge-alert {
    color: #B91C1C;
    background: #FEF2F2;
    border-color: #FECACA;
}

.sp-card-title {
    font-family: var(--sp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 12px;
    line-height: 1.35;
}

.sp-card-desc {
    font-size: 15px;
    color: var(--sp-text-light);
    line-height: 1.75;
    margin: 0;
    flex-grow: 1;
}

/* Diagnostic Key Takeaway Tip Box inside Card */
.sp-card-tip {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: var(--sp-bg-alt);
    border: 1px dashed var(--sp-border);
    border-radius: 8px;
    padding: 13px 15px;
    margin-top: 20px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sp-text);
}

.sp-card-tip svg {
    width: 17px;
    height: 17px;
    fill: var(--sp-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-card-tip strong {
    color: var(--sp-secondary);
    font-weight: 700;
}

/* Consideration / Assessment Cards (.sp-consider-card) */
.sp-consider-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all var(--sp-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--sp-shadow-sm);
}

.sp-consider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-secondary) 0%, var(--sp-primary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--sp-transition);
}

.sp-consider-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-shadow-lg);
    border-color: rgba(27, 42, 74, 0.3);
}

.sp-consider-card:hover::before {
    transform: scaleX(1);
}

.sp-consider-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sp-navy-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-secondary);
    transition: all var(--sp-transition);
    flex-shrink: 0;
}

.sp-consider-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

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

.sp-consider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-left: 5px solid var(--sp-primary);
    border-radius: var(--sp-radius-lg);
    padding: 24px 30px;
    margin-top: 40px;
    box-shadow: var(--sp-shadow-sm);
}

.sp-consider-footer-text h4 {
    font-family: var(--sp-font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 6px;
}

.sp-consider-footer-text p {
    font-size: 14.5px;
    color: var(--sp-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ============================================================
   8. ARCHITECTURAL / DIAGNOSTIC LAYER CARDS
   ============================================================ */
.sp-layer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 18px;
}

.sp-layer-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 34px 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--sp-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--sp-shadow-sm);
}

.sp-layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sp-primary) 0%, var(--sp-sky) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--sp-transition);
}

.sp-layer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sp-shadow-lg);
    border-color: rgba(14, 116, 144, 0.35);
}

.sp-layer-card:hover::before {
    transform: scaleY(1);
}

/* Watermark Number in background */
.sp-layer-watermark {
    position: absolute;
    top: 14px;
    right: 22px;
    font-family: var(--sp-font-heading);
    font-size: 60px;
    font-weight: 900;
    color: rgba(14, 116, 144, 0.06);
    line-height: 1;
    pointer-events: none;
    transition: all var(--sp-transition);
    user-select: none;
}

.sp-layer-card:hover .sp-layer-watermark {
    color: rgba(14, 116, 144, 0.14);
    transform: scale(1.08) translateY(2px);
}

.sp-layer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.sp-layer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sp-secondary) 0%, #2A3F6C 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 42, 74, 0.2);
    transition: all var(--sp-transition);
}

.sp-layer-icon svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.sp-layer-card:hover .sp-layer-icon {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    transform: scale(1.06);
    box-shadow: 0 6px 16px var(--sp-primary-glow);
}

.sp-layer-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-layer-num {
    font-family: var(--sp-font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--sp-primary);
    text-transform: uppercase;
}

.sp-layer-phase {
    font-family: var(--sp-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sp-secondary);
}

.sp-layer-title {
    font-family: var(--sp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 12px;
    line-height: 1.35;
}

.sp-layer-desc {
    font-size: 14.5px;
    color: var(--sp-text-light);
    line-height: 1.75;
    margin: 0 0 20px;
    flex-grow: 1;
}

.sp-layer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px dashed var(--sp-border);
}

.sp-layer-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--sp-bg-alt);
    border: 1px solid var(--sp-border);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-secondary);
    transition: all var(--sp-transition-fast);
}

.sp-layer-tag svg {
    width: 12px;
    height: 12px;
    fill: var(--sp-primary);
    flex-shrink: 0;
}

.sp-layer-card:hover .sp-layer-tag {
    border-color: rgba(14, 116, 144, 0.3);
    background: rgba(14, 116, 144, 0.06);
    color: var(--sp-primary-dark);
}

/* ============================================================
   9. SUB-SERVICES GRID
   ============================================================ */
.sp-subservices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.sp-subservice-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-left: 4px solid var(--sp-primary);
    border-radius: 0 var(--sp-radius) var(--sp-radius) 0;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all var(--sp-transition);
    position: relative;
    overflow: hidden;
}

.sp-subservice-card:hover {
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-3px);
    border-color: rgba(14, 116, 144, 0.3);
}

.sp-subservice-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sp-primary-tint);
    border: 1px solid rgba(14, 116, 144, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sp-primary);
    transition: all var(--sp-transition);
}

.sp-subservice-badge svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill var(--sp-transition-fast);
}

.sp-subservice-card:hover .sp-subservice-badge {
    background: var(--sp-primary);
    color: #ffffff;
}

.sp-subservice-info h4 {
    font-family: var(--sp-font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0;
    line-height: 1.35;
}

/* ============================================================
   10. SERVICE PROCESS STEPS (Different Layout From Homepage)
   Structured Diagnostic Protocol Layout
   ============================================================ */
.sp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
    position: relative;
}

.sp-process-step {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: all var(--sp-transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--sp-shadow-xs);
}

.sp-process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary) 0%, var(--sp-sky) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--sp-transition);
}

.sp-process-step:hover {
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-4px);
    border-color: rgba(14, 116, 144, 0.35);
}

.sp-process-step:hover::before {
    transform: scaleX(1);
}

.sp-step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sp-primary-tint) 0%, var(--sp-bg-ice) 100%);
    color: var(--sp-primary);
    font-family: var(--sp-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(14, 116, 144, 0.18);
    transition: all var(--sp-transition);
}

.sp-process-step:hover .sp-step-number {
    background: var(--sp-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--sp-primary-glow);
    transform: scale(1.05);
}

.sp-process-step h3 {
    font-family: var(--sp-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 10px;
    line-height: 1.35;
}

.sp-process-step p {
    font-size: 14.5px;
    color: var(--sp-text-light);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

/* Alternative Linear Diagnostic Timeline Workflow */
.sp-protocol-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sp-protocol-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 26px 30px;
    position: relative;
    transition: all var(--sp-transition);
    align-items: center;
}

.sp-protocol-step:hover {
    box-shadow: var(--sp-shadow-md);
    border-color: var(--sp-primary);
    transform: translateX(4px);
}

.sp-protocol-badge {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--sp-primary-tint);
    border: 1px solid rgba(14, 116, 144, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    font-family: var(--sp-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.sp-protocol-badge span {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.sp-protocol-content h3 {
    font-family: var(--sp-font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 6px;
}

.sp-protocol-content p {
    font-size: 14.5px;
    color: var(--sp-text-light);
    margin: 0;
    line-height: 1.65;
}

/* ============================================================
   11. CHECKLIST & INCLUSION LIST SYSTEM
   ============================================================ */
.sp-checklist-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 34px 30px;
    box-shadow: var(--sp-shadow-sm);
    margin-top: 24px;
}

.sp-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 28px;
    margin-top: 20px;
}

.sp-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--sp-text);
}

.sp-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sp-success-tint);
    color: var(--sp-success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.sp-check-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Comparison Scope Box: Included vs Specialty Add-On */
.sp-scope-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 30px;
}

.sp-scope-col {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 30px 26px;
    box-shadow: var(--sp-shadow-xs);
}

.sp-scope-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--sp-border-subtle);
}

.sp-scope-col-header h4 {
    font-family: var(--sp-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0;
}

.sp-scope-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
}

.sp-scope-pill-included {
    background: var(--sp-success-tint);
    color: var(--sp-success);
}

.sp-scope-pill-addon {
    background: var(--sp-sky-tint);
    color: var(--sp-primary);
}

.sp-scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-scope-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--sp-text);
}

/* ============================================================
   12. ENVIRONMENTAL & WASATCH FRONT LOCAL CONTEXT CALLOUTS
   ============================================================ */
.sp-env-callout {
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 1px solid var(--sp-border);
    border-left: 6px solid var(--sp-primary);
    border-radius: var(--sp-radius-lg);
    padding: 34px 32px;
    margin: 36px 0;
    position: relative;
    box-shadow: var(--sp-shadow-sm);
}

.sp-env-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.sp-env-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    flex-shrink: 0;
}

.sp-env-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.sp-env-title {
    font-family: var(--sp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0;
    line-height: 1.3;
}

.sp-env-desc {
    font-size: 15px;
    color: var(--sp-text);
    line-height: 1.75;
    margin: 0 0 16px;
}

.sp-env-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.sp-env-card {
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-sm);
    padding: 16px;
}

.sp-env-card h5 {
    font-family: var(--sp-font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--sp-primary-dark);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sp-env-card p {
    font-size: 13px;
    color: var(--sp-text-light);
    margin: 0;
    line-height: 1.55;
}

/* ============================================================
   13. RICH CONTENT TYPOGRAPHY & INTRO GRIDS (.sp-content)
   ============================================================ */
.sp-content h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    font-weight: 700;
    color: var(--sp-secondary);
    margin: 0 0 18px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.sp-content h3 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--sp-secondary);
    margin: 34px 0 14px;
    line-height: 1.35;
    padding-left: 16px;
    border-left: 4px solid var(--sp-primary);
}

.sp-content h4 {
    font-family: var(--sp-font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--sp-text);
    margin: 24px 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-content h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--sp-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.sp-content p {
    margin: 0 0 18px;
    line-height: 1.8;
    color: var(--sp-text);
    font-size: 16px;
}

.sp-content ul,
.sp-content ol {
    margin: 0 0 20px;
    padding-left: 0;
    list-style: none;
}

.sp-content ul li {
    padding: 7px 0 7px 28px;
    position: relative;
    line-height: 1.7;
    color: var(--sp-text);
}

.sp-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 15px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--sp-primary);
    border-radius: 50%;
    background-color: var(--sp-bg-ice);
}

/* Two-Column Intro Showcase */
.sp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.sp-intro-image {
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    background: var(--sp-bg-alt);
    border: 1px solid var(--sp-border);
    box-shadow: var(--sp-shadow-md);
    position: relative;
}

.sp-intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform var(--sp-transition-slow);
}

.sp-intro-image:hover img {
    transform: scale(1.03);
}

/* ============================================================
   14. IMAGE PLACEHOLDER SYSTEM
   ============================================================ */
.img-placeholder,
.sp-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--sp-primary);
    font-family: var(--sp-font-heading);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 24px;
    border: 1px dashed var(--sp-primary);
    box-sizing: border-box;
    gap: 10px;
    transition: border-color var(--sp-transition-fast), background-color var(--sp-transition-fast);
}

.img-placeholder:hover,
.sp-placeholder:hover {
    border-color: var(--sp-primary-dark);
    background: linear-gradient(135deg, #D4EDFD 0%, #AEE1FC 100%);
}

.img-placeholder span,
.sp-placeholder span {
    max-width: 90%;
    line-height: 1.5;
}

.sp-placeholder svg {
    width: 38px;
    height: 38px;
    fill: var(--sp-primary);
}

/* ============================================================
   15. SERVICE FAQ SECTION (Diagnostic Accordion)
   ============================================================ */
.sp-faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.sp-faq-item {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
    transition: all var(--sp-transition);
}

.sp-faq-item:hover {
    box-shadow: var(--sp-shadow-sm);
    border-color: rgba(14, 116, 144, 0.35);
}

.sp-faq-item.active {
    border-color: var(--sp-primary);
    box-shadow: 0 4px 18px rgba(14, 116, 144, 0.12);
}

.sp-faq-btn,
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sp-font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sp-secondary);
    text-align: left;
    gap: 16px;
    line-height: 1.4;
    transition: color var(--sp-transition-fast);
}

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

.sp-faq-btn .faq-icon,
.faq-q .faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sp-primary-tint);
    color: var(--sp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 700;
    transition: all var(--sp-transition);
}

.sp-faq-item.active .faq-icon {
    background: var(--sp-primary);
    color: #ffffff;
    transform: rotate(45deg);
}

.sp-faq-answer,
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.38s ease;
    box-sizing: border-box;
}

.sp-faq-item.active .sp-faq-answer,
.faq-item.active .faq-a {
    max-height: 600px;
    padding: 0 24px 22px;
}

.sp-faq-answer p,
.faq-a p {
    margin: 0;
    font-size: 15.5px;
    color: var(--sp-text-light);
    line-height: 1.8;
}

/* ============================================================
   16. RELATED SERVICES GRID
   ============================================================ */
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.sp-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    text-decoration: none;
    transition: all var(--sp-transition);
    box-shadow: var(--sp-shadow-xs);
}

.sp-related-card:hover {
    border-color: var(--sp-primary);
    box-shadow: var(--sp-shadow-sm);
    transform: translateX(4px);
}

.sp-related-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sp-primary-tint);
    border: 1px solid rgba(14, 116, 144, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--sp-primary);
    transition: all var(--sp-transition-fast);
}

.sp-related-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.sp-related-card:hover .sp-related-icon {
    background: var(--sp-primary);
    color: #ffffff;
}

.sp-related-card span {
    font-family: var(--sp-font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--sp-secondary);
    transition: color var(--sp-transition-fast);
}

.sp-related-card:hover span {
    color: var(--sp-primary);
}

.sp-related-card .arrow {
    margin-left: auto;
    color: var(--sp-primary);
    font-size: 1.15rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--sp-transition-fast);
}

.sp-related-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Home Link Transition Section */
.sp-home-link-section {
    padding: 28px 0;
    background: var(--sp-bg-alt);
    border-top: 1px solid var(--sp-border-subtle);
    border-bottom: 1px solid var(--sp-border-subtle);
    text-align: center;
}

.sp-home-link-section p {
    margin: 0;
    font-size: 15px;
    color: var(--sp-text-light);
}

.sp-home-link-section a {
    color: var(--sp-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--sp-transition-fast);
}

.sp-home-link-section a:hover {
    color: var(--sp-primary-dark);
}

/* ============================================================
   17. MID-PAGE SERVICE CTA SECTION
   ============================================================ */
.sp-mid-cta-section {
    padding: 44px 0;
    background: var(--sp-bg-alt);
}

.sp-mid-cta-box {
    background: linear-gradient(140deg, #1B2A4A 0%, #15233E 60%, #0F172A 100%);
    border-radius: var(--sp-radius-xl);
    padding: 48px 52px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Luminous Teal Glow Orb in background */
.sp-mid-cta-box::before {
    content: '';
    position: absolute;
    top: -90px;
    right: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.35) 0%, rgba(56, 189, 248, 0.1) 50%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.sp-mid-cta-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: var(--sp-sky);
    border: 1px solid rgba(56, 189, 248, 0.35);
    font-family: var(--sp-font-heading);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.sp-mid-cta-content h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.4rem, 2.5vw, 1.95rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    line-height: 1.25;
}

.sp-mid-cta-content p {
    color: rgba(240, 249, 255, 0.8);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 20px;
}

.sp-mid-cta-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

.sp-mid-cta-perks span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sp-mid-cta-perks svg {
    width: 15px;
    height: 15px;
    fill: var(--sp-sky);
    flex-shrink: 0;
}

.sp-mid-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sp-radius);
    padding: 30px 26px;
    backdrop-filter: blur(4px);
}

.sp-mid-cta-actions .sp-btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 15.5px;
    padding: 14px 24px;
}

.sp-mid-cta-phone-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-mid-cta-or {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.sp-mid-cta-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-family: var(--sp-font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--sp-transition-fast);
}

.sp-mid-cta-phone:hover {
    color: var(--sp-sky);
}

.sp-mid-cta-phone svg {
    width: 17px;
    height: 17px;
    fill: var(--sp-sky);
}

/* ============================================================
   18. SERVICE CTA BOTTOM BANNER
   ============================================================ */
.sp-cta-banner {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 60%, var(--sp-secondary) 100%);
    padding: 68px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.sp-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sp-cta-banner h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.35rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.25;
}

.sp-cta-banner p {
    color: rgba(240, 249, 255, 0.88);
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 16.5px;
    line-height: 1.75;
}

.sp-cta-banner .sp-btn {
    background: #ffffff;
    color: var(--sp-primary-dark);
    font-weight: 700;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.16);
}

.sp-cta-banner .sp-btn:hover {
    background: var(--sp-secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.25);
}

.sp-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--sp-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--sp-transition-fast);
}

.sp-cta-phone:hover {
    color: var(--sp-sky);
}

.sp-cta-phone svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ============================================================
   19. BACK TO TOP BUTTON (.back-to-top)
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--sp-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 990;
    box-shadow: 0 4px 16px var(--sp-primary-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--sp-transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--sp-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(14, 116, 144, 0.45);
}

.back-to-top:active {
    transform: translateY(0);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform var(--sp-transition-fast);
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* ============================================================
   20. RESPONSIVE DESIGN ADJUSTMENTS
   ============================================================ */
@media (max-width: 1100px) {
    .sp-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .sp-subservices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 968px) {
    .sp-hero {
        padding: 115px 0 56px;
    }

    .sp-content-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sp-sidebar {
        order: 2;
    }

    .sp-sidebar-sticky {
        position: static;
    }

    .sp-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sp-layer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sp-mid-cta-box {
        grid-template-columns: 1fr;
        padding: 38px 28px;
        gap: 28px;
    }

    .sp-scope-comparison {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sp-section {
        padding: 56px 0;
    }

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

    .sp-hero-desc {
        font-size: 1rem;
    }

    .sp-cards-grid,
    .sp-consider-grid,
    .sp-cards-grid-3 {
        grid-template-columns: 1fr;
        gap: 18px;
    }

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

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

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

    .sp-checklist-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .sp-card,
    .sp-consider-card,
    .sp-layer-card {
        padding: 26px 20px;
    }

    .sp-protocol-step {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 20px;
    }

    .sp-protocol-badge {
        width: 52px;
        height: 52px;
        font-size: 1.1rem;
    }

    .sp-consider-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
        gap: 16px;
    }

    .sp-consider-footer-action,
    .sp-btn-navy {
        width: 100%;
        justify-content: center;
    }

    .sp-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .sp-hero-actions .sp-btn {
        width: 100%;
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 580px) {
    .sp-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sp-breadcrumbs {
        font-size: 12.5px;
    }

    .sp-hero {
        padding: 105px 0 48px;
    }

    .sp-faq-btn,
    .faq-q {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .sp-faq-item.active .sp-faq-answer,
    .faq-item.active .faq-a {
        padding: 0 18px 18px;
    }

    .sp-env-callout {
        padding: 24px 20px;
    }

    .sp-checklist-card {
        padding: 24px 20px;
    }
}

/* ============================================================
   21. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
