/* ============================================================
   SERVICE PAGE STYLES — Unique from Homepage
   Based on SP.css reference adapted to The Villages teal color scheme
   ============================================================ */

/* --- Variables --- */
:root {
    --sp-primary: #0E7C6B;
    --sp-primary-dark: #0a6358;
    --sp-primary-light: rgba(14, 124, 107, 0.08);
    --sp-secondary: #1C2B3A;
    --sp-accent: #1C2B3A;
    --sp-copper: #C27838;
    --sp-text: #333333;
    --sp-text-light: #5a6474;
    --sp-bg: #ffffff;
    --sp-bg-alt: #f5f7fa;
    --sp-bg-warm: #faf8f5;
    --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(145deg, var(--sp-secondary) 0%, #0F1923 60%, #0A2E28 100%);
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(14, 124, 107, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.sp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-copper), var(--sp-primary));
    z-index: 3;
}

.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, 124, 107, 0.25);
}

.sp-btn-primary:hover {
    background: var(--sp-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 124, 107, 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, #1C2B3A, #132230);
    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-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%, var(--sp-copper) 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, 124, 107, 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-badge-alert {
    color: var(--sp-primary);
    background: var(--sp-primary-light);
    border-color: rgba(14, 124, 107, 0.2);
}

.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-section-badge-navy {
    color: var(--sp-accent);
    background: rgba(28, 43, 58, 0.08);
}

.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(28, 43, 58, 0.25);
}

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

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

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

.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(28, 43, 58, 0.08);
    border-color: rgba(28, 43, 58, 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(28, 43, 58, 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, 124, 107, 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, #1C2B3A 0%, #2a3d54 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(28, 43, 58, 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, 124, 107, 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, 124, 107, 0.2);
    background: rgba(14, 124, 107, 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 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sp-intro-image:hover img {
    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,
.sp-content h3.sp-layer-title {
    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;
}

/* Card titles are h3 for heading order but keep the h4 card look */
.sp-content h3.sp-layer-title {
    padding-left: 0;
    border-left: none;
}

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

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

.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,
.sp-sidebar-card h3 {
    font-family: var(--sp-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--sp-accent);
    margin: 0 0 16px;
}

/* Sidebar title is h3 for heading order but keeps the h4 look */
.sp-sidebar-card h3 {
    line-height: 1.2;
    padding-left: 0;
    border-left: none;
}

.sp-sidebar-card h4::before,
.sp-sidebar-card h3::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);
}

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

.sp-process-step {
    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 ease;
    overflow: hidden;
}

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

.sp-process-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 {
    transform: scaleX(1);
}

.sp-step-number {
    width: 44px;
    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.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.3s;
}

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

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

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

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

.sp-faq-item {
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--sp-bg);
    transition: box-shadow 0.3s;
}

.sp-faq-item:hover {
    box-shadow: var(--sp-shadow-sm);
}

.sp-faq-item.active {
    border-color: var(--sp-primary);
    box-shadow: 0 2px 12px rgba(14, 124, 107, 0.08);
}

.sp-faq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--sp-font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-accent);
    text-align: left;
    gap: 16px;
}

.sp-faq-btn .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sp-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

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

.sp-faq-btn .faq-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--sp-primary);
    transition: fill 0.3s;
}

.sp-faq-item.active .sp-faq-btn .faq-icon svg {
    fill: #fff;
}

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

.sp-faq-item.active .sp-faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.sp-faq-answer p {
    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(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

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

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

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

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

.sp-related-card span {
    font-family: var(--sp-font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sp-accent);
}

.sp-related-card .arrow {
    margin-left: auto;
    color: var(--sp-primary);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.sp-related-card:hover .arrow {
    opacity: 1;
}

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

.sp-mid-cta-box {
    background: linear-gradient(135deg, #1C2B3A 0%, #132230 70%, #0b1a28 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(28, 43, 58, 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, 124, 107, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.sp-mid-cta-tag {
    display: inline-block;
    background: rgba(14, 124, 107, 0.2);
    color: #5ae0c8;
    border: 1px solid rgba(14, 124, 107, 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,
.sp-mid-cta-heading {
    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, 124, 107, 0.35);
}

.sp-mid-cta-actions .sp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 124, 107, 0.5);
}

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

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

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

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

@media (max-width: 900px) {
    .sp-mid-cta-box {
        grid-template-columns: 1fr;
        padding: 34px 24px;
        gap: 24px;
    }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.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 {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(135deg, #e8edf2, #d3dbe5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sp-text-light);
    font-size: 13px;
    font-weight: 500;
    gap: 8px;
}

.sp-placeholder svg {
    width: 40px;
    height: 40px;
    fill: #b0bec5;
}

/* ============================================================
   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::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sp-primary) 0%, var(--sp-primary-dark) 100%);
    transform: scaleY(1);
    transition: width 0.3s;
}

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

.sp-subservice-card:hover::after {
    width: 6px;
}

.sp-subservice-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--sp-primary-light), rgba(14, 124, 107, 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;
}

/* ============================================================
   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);
    }
}

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


/* Sidebar trust line */
.sp-sidebar-trust {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
