/* ============================================================
   SERVICE PAGE STYLES — Plumbing Brownsville
   Unique from Homepage — Diagnostic-focused layout
   ============================================================ */

/* --- Variables --- */
:root {
    --sp-primary: #0E6BA8;
    --sp-primary-dark: #0A4F7D;
    --sp-primary-light: rgba(14, 107, 168, 0.08);
    --sp-accent: #162A3E;
    --sp-text: #333333;
    --sp-text-light: #5a6474;
    --sp-bg: #ffffff;
    --sp-bg-alt: #f5f7fa;
    --sp-bg-warm: #f8f6f3;
    --sp-border: #e4e7ec;
    --sp-green: #2e8b57;
    --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
   ============================================================ */
.sp-hero {
    background: linear-gradient(135deg, #162A3E 0%, #0e1f30 60%, #0a1622 100%);
    padding: 130px 0 60px;
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.02)' 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 .sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
}

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

.sp-hero h1 {
    font-family: var(--sp-font-heading);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 720px;
}

.sp-hero h1 span {
    color: var(--sp-primary);
}

.sp-hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 600px;
    margin: 0 0 28px;
    line-height: 1.7;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.sp-btn-primary {
    background: var(--sp-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 107, 168, 0.25);
}

.sp-btn-primary:hover {
    background: var(--sp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 107, 168, 0.35);
}

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

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

.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: #fff;
}

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

/* ============================================================
   SECTIONS
   ============================================================ */
.sp-section {
    padding: 70px 0;
}

.sp-section-alt {
    background: var(--sp-bg-alt);
}

.sp-section-warm {
    background: var(--sp-bg-warm);
}

.sp-section-dark {
    background: linear-gradient(135deg, #162A3E, #0e1f30);
    color: #fff;
}

.sp-section-header {
    margin-bottom: 10px;
}

.sp-section-title {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 14px;
    line-height: 1.25;
}

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

.sp-section-subtitle {
    font-size: 16px;
    color: var(--sp-text-light);
    max-width: 680px;
    margin: 0 0 40px;
    line-height: 1.7;
}

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

/* ============================================================
   WARNING / SIGNS CARDS GRID
   ============================================================ */
.sp-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sp-font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--sp-primary);
    background: var(--sp-primary-light);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.sp-section-badge-navy {
    color: var(--sp-accent);
    background: rgba(22, 42, 62, 0.08);
}

.sp-cards-grid,
.sp-consider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 10px;
}

.sp-card {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 34px 30px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.sp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary) 0%, #3a8fca 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.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: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--sp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

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

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

.sp-card-num {
    font-family: var(--sp-font-heading);
    font-size: 13px;
    font-weight: 800;
    color: var(--sp-accent);
    opacity: 0.6;
}

.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 10px;
    border-radius: 6px;
}

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

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

/* Consideration Cards */
.sp-consider-card {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.sp-consider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-accent) 0%, #3a506b 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.sp-consider-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(22, 42, 62, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-accent);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

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

.sp-consider-card:hover .sp-consider-icon {
    background: var(--sp-accent);
    color: #fff;
    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.15rem;
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 6px;
}

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

.sp-btn-navy {
    background: var(--sp-accent);
    color: #fff;
    white-space: nowrap;
    transition: all 0.3s ease;
}

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

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

.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 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

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

.sp-layer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(22, 42, 62, 0.08);
    border-color: rgba(22, 42, 62, 0.25);
}

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

.sp-layer-watermark {
    position: absolute;
    top: 14px;
    right: 22px;
    font-family: var(--sp-font-heading);
    font-size: 58px;
    font-weight: 900;
    color: rgba(22, 42, 62, 0.05);
    line-height: 1;
    pointer-events: none;
    transition: all 0.3s ease;
    user-select: none;
}

.sp-layer-card:hover .sp-layer-watermark {
    color: rgba(14, 107, 168, 0.12);
    transform: scale(1.08) translateY(2px);
}

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

.sp-layer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #162A3E 0%, #2a3d5e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(22, 42, 62, 0.2);
    transition: all 0.3s ease;
}

.sp-layer-icon svg {
    width: 24px;
    height: 24px;
    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 rgba(14, 107, 168, 0.3);
}

.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-accent);
}

.sp-layer-title {
    font-family: var(--sp-font-heading);
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 12px;
    line-height: 1.35;
    border: none;
    padding: 0;
}

.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-accent);
    transition: all 0.2s ease;
}

.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, 107, 168, 0.2);
    background: rgba(14, 107, 168, 0.04);
}

@media (max-width: 820px) {
    .sp-layer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

/* ============================================================
   INTRO — Two Column
   ============================================================ */
.sp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

.sp-intro-image img,
.sp-intro-image .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

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

/* ============================================================
   CONTENT SECTIONS — Rich Text
   ============================================================ */
.sp-content h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 20px;
    line-height: 1.3;
}

.sp-content h3 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--sp-accent);
    margin: 32px 0 12px;
    line-height: 1.35;
    padding-left: 16px;
    border-left: 3px solid var(--sp-primary);
}

.sp-content h4 {
    font-family: var(--sp-font-heading);
    font-size: 1.05rem;
    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,
.sp-content-block p {
    margin: 0 0 16px;
    line-height: 1.8;
    color: var(--sp-text);
    font-size: 15.5px;
}

.sp-content-block a {
    color: var(--sp-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.2s;
}

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

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

.sp-content ul li {
    padding: 6px 0 6px 28px;
    position: relative;
    line-height: 1.7;
}

.sp-content ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 14px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--sp-primary);
    border-radius: 50%;
}

/* Two-column content layout */
.sp-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.sp-sidebar-card {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 30px;
    position: sticky;
    top: 100px;
    box-shadow: var(--sp-shadow-md);
}

.sp-sidebar-card h4 {
    font-family: var(--sp-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sp-accent);
    margin: 0 0 16px;
}

.sp-sidebar-card h4::before {
    display: none;
}

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

.sp-sidebar-card .sp-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

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

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

/* ============================================================
   FEATURE LIST & FEATURE CARDS (Scope & Inclusions)
   ============================================================ */
.sp-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.sp-feature-item {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 28px 26px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.sp-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--sp-primary) 0%, #3a8fca 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sp-feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 107, 168, 0.3);
    box-shadow: var(--sp-shadow-md);
}

.sp-feature-item:hover::before {
    opacity: 1;
}

.sp-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 12px;
    background: var(--sp-primary-light);
    color: var(--sp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sp-feature-icon svg {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    fill: currentColor;
    display: block;
}

.sp-feature-item:hover .sp-feature-icon {
    background: var(--sp-primary);
    color: #fff;
    transform: scale(1.06);
}

.sp-feature-text {
    flex: 1;
    min-width: 0;
}

.sp-feature-text h3 {
    font-family: var(--sp-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 8px;
    line-height: 1.35;
    border: none;
    padding: 0;
}

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

@media (max-width: 768px) {
    .sp-feature-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sp-feature-item {
        padding: 22px 18px;
        gap: 16px;
    }
}

/* ============================================================
   PROCESS STEPS / METHODOLOGY GRID
   ============================================================ */
.sp-process-grid,
.sp-process-steps,
.sp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.sp-process-step,
.sp-step {
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 30px 24px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sp-process-step:hover,
.sp-step:hover {
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-3px);
    border-color: var(--sp-primary);
}

.sp-process-step::before,
.sp-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sp-primary);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}

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

.sp-step-number,
.sp-process-num,
.sp-step-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: var(--sp-primary-light);
    color: var(--sp-primary);
    font-family: var(--sp-font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}

.sp-process-step:hover .sp-step-number,
.sp-process-step:hover .sp-process-num,
.sp-step:hover .sp-step-num {
    background: var(--sp-primary);
    color: #fff;
}

.sp-process-content,
.sp-step-content {
    flex: 1;
}

.sp-process-step h3,
.sp-step h3,
.sp-process-content h3,
.sp-step-content h3 {
    font-family: var(--sp-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 10px;
    border: none;
    padding: 0;
    line-height: 1.35;
}

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

@media (max-width: 1024px) {
    .sp-process-grid,
    .sp-process-steps,
    .sp-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sp-process-grid,
    .sp-process-steps,
    .sp-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CHECK LISTS & BULLET SYSTEMS
   ============================================================ */
.sp-check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
}

.sp-check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--sp-text);
    line-height: 1.5;
}

.sp-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230E6BA8'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center center / contain;
}

@media (max-width: 640px) {
    .sp-check-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.sp-faq-list {
    max-width: 860px;
    margin: 32px auto 0;
}

.sp-faq-item {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--sp-bg);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.sp-faq-item:hover {
    border-color: rgba(14, 107, 168, 0.25);
    box-shadow: var(--sp-shadow-sm);
}

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

.sp-faq-question,
.sp-faq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 26px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--sp-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sp-accent);
    text-align: left;
    gap: 18px;
    transition: all 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

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

.sp-faq-icon,
.sp-faq-btn .faq-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: var(--sp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.25rem;
    color: var(--sp-primary);
    font-weight: 500;
    line-height: 1;
}

.sp-faq-item.active .sp-faq-question,
.sp-faq-item.active .sp-faq-btn {
    color: var(--sp-primary);
}

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

.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
}

.sp-faq-item.active .sp-faq-answer {
    max-height: 500px;
    opacity: 1;
}

.sp-faq-answer-inner,
.sp-faq-answer p {
    padding: 0 26px 22px;
    margin: 0;
    font-size: 15px;
    color: var(--sp-text-light);
    line-height: 1.8;
}

/* ============================================================
   RELATED SERVICES
   ============================================================ */
.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.sp-related-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 26px;
    background: var(--sp-bg);
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

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

.sp-related-card:hover {
    border-color: rgba(14, 107, 168, 0.3);
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-4px);
}

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

.sp-related-card h3 {
    font-family: var(--sp-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--sp-accent);
    margin: 0 0 12px;
    line-height: 1.35;
    border: none;
    padding: 0;
    transition: color 0.2s ease;
}

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

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

.sp-related-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sp-font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--sp-primary);
    transition: gap 0.2s ease;
    margin-top: auto;
}

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

@media (max-width: 900px) {
    .sp-related-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ============================================================
   BOTTOM CTA SECTION
   ============================================================ */
.sp-cta-section {
    padding: 70px 0;
    background: var(--sp-bg-alt);
}

.sp-cta-block {
    background: linear-gradient(135deg, #162A3E 0%, #0e1f30 100%);
    border-radius: var(--sp-radius-lg);
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--sp-shadow-lg);
    position: relative;
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
}

.sp-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.sp-cta-block h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.sp-cta-block p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.sp-cta-block .sp-btn {
    position: relative;
    z-index: 1;
    font-size: 15.5px;
    padding: 14px 34px;
}

/* ============================================================
   HOME LINK & CTA BANNER
   ============================================================ */
.sp-home-link-section {
    padding: 26px 0;
    background: var(--sp-bg-alt);
    text-align: center;
}

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

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

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

.sp-cta-banner {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sp-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.sp-cta-banner h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

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

.sp-cta-banner .sp-btn {
    background: #fff;
    color: var(--sp-primary);
    font-weight: 700;
}

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

.sp-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--sp-font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
}

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

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.sp-placeholder,
.sp-placeholder-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border: 1px dashed #cbd5e1;
    border-radius: var(--sp-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sp-text-light);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--sp-font-heading);
    gap: 12px;
    padding: 24px;
    text-align: center;
    box-sizing: border-box;
}

.sp-placeholder svg,
.sp-placeholder-img svg {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    stroke: var(--sp-primary);
    color: var(--sp-primary);
}

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

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

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

.sp-subservice-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--sp-primary-light), rgba(14, 107, 168, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

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

.sp-subservice-badge svg {
    width: 20px;
    height: 20px;
    fill: var(--sp-primary);
    transition: fill 0.3s;
}

.sp-subservice-card:hover .sp-subservice-badge svg {
    fill: #fff;
}

.sp-subservice-info h4 {
    font-family: var(--sp-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-accent);
    margin: 0;
    line-height: 1.3;
}

.sp-subservice-info h4::before {
    display: none;
}

/* Mid-page CTA */
.sp-mid-cta-section {
    padding: 40px 0;
    background: var(--sp-bg-alt);
}

.sp-mid-cta-box {
    background: linear-gradient(135deg, #162A3E 0%, #0e1f30 70%, #0a1622 100%);
    border-radius: var(--sp-radius-lg);
    padding: 44px 48px;
    color: #fff;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 26, 46, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-mid-cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 107, 168, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.sp-mid-cta-tag {
    display: inline-block;
    background: rgba(14, 107, 168, 0.2);
    color: #5bb8e8;
    border: 1px solid rgba(14, 107, 168, 0.35);
    font-family: var(--sp-font-heading);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.sp-mid-cta-content h2 {
    font-family: var(--sp-font-heading);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.25;
}

.sp-mid-cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 18px;
}

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

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

.sp-mid-cta-perks svg {
    width: 15px;
    height: 15px;
    fill: #4ade80;
    flex-shrink: 0;
}

.sp-mid-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--sp-radius);
    padding: 28px 24px;
}

.sp-mid-cta-actions .sp-btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 13px 22px;
    box-shadow: 0 4px 16px rgba(14, 107, 168, 0.35);
}

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

.sp-mid-cta-phone:hover {
    color: #5bb8e8;
}

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

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

/* ============================================================
   CARD TIP
   ============================================================ */
.sp-card-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--sp-bg-alt);
    border: 1px dashed var(--sp-border);
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--sp-text-light);
}

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 968px) {
    .sp-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .sp-sidebar-card {
        position: static;
        order: -1;
    }

    .sp-hero {
        padding: 110px 0 50px;
    }

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

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

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

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

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

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

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

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

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

    .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;
    }

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

@media (max-width: 600px) {
    .sp-container {
        padding: 0 16px;
    }

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

    .sp-content h3 {
        font-size: 1.05rem;
    }

    .sp-faq-btn {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
}

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

