/* ============================================================
   SERVICE AREAS HUB — /service-areas/
   Gulf Coast Pool Cage Pros
   Prefix: sap- (service areas page)
   ============================================================ */

/* ============================================================
   1. SHARED TOKENS & CONTAINER
   ============================================================ */

/* Centered max-width container for this page */
.sap-container {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
}

/* Section header (centered intro) */
.sap-section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.sap-section-head p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

.sap-section-head--light .sap-section-head p {
    color: rgba(255, 255, 255, 0.78);
}

/* H2 shared */
.sap-h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.sap-h2--light {
    color: #ffffff;
}

/* ============================================================
   2. BUTTONS
   ============================================================ */

.sap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.sap-btn-lg {
    font-size: 16px;
    padding: 15px 32px;
}

.sap-btn-primary {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-coastal-teal) 100%);
    color: #ffffff;
    border-color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(6, 43, 85, 0.2);
}

.sap-btn-primary:hover {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-teal) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 43, 85, 0.28);
    color: #ffffff;
}

.sap-btn-outline {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.sap-btn-outline:hover {
    background: var(--color-navy);
    color: #ffffff;
    transform: translateY(-2px);
}

.sap-btn-ghost {
    background: transparent;
    color: var(--color-teal);
    border-color: var(--color-teal);
}

.sap-btn-ghost:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateY(-2px);
}

.sap-btn-white {
    background: #ffffff;
    color: var(--color-navy);
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.sap-btn-white:hover {
    background: var(--color-sand-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    color: var(--color-navy);
}

/* ============================================================
   3. SCROLL REVEAL
   ============================================================ */

.sap-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0ms);
}

.sap-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.sap-reveal-d1 { --d: 110ms; }
.sap-reveal-d2 { --d: 220ms; }
.sap-reveal-d3 { --d: 330ms; }

/* Hero entrance — CSS-only, plays on page load */
.sap-anim {
    animation: sapFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--sap-ad, 0ms);
}

.sap-anim-d1 { --sap-ad: 120ms; }
.sap-anim-d2 { --sap-ad: 240ms; }
.sap-anim-d3 { --sap-ad: 360ms; }
.sap-anim-d4 { --sap-ad: 480ms; }

@keyframes sapFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

/* ============================================================
   4. HERO — SPLIT LAYOUT
   ============================================================ */

.sap-hero {
    background: linear-gradient(160deg, #f0f8fa 0%, var(--color-sand-light) 60%, #e8f4f7 100%);
    padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
    border-bottom: 3px solid var(--color-teal);
    overflow: hidden;
    position: relative;
}

/* Subtle teal orb in background */
.sap-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(14, 157, 180, 0.09) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

/* Split grid: text | image */
.sap-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

/* -- Left: copy -- */
.sap-hero-content {
    position: relative;
    z-index: 1;
}

.sap-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 6px 14px 6px 10px;
    background: rgba(14, 157, 180, 0.1);
    border: 1px solid rgba(14, 157, 180, 0.3);
    border-radius: 50px;
}

.sap-eyebrow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-teal);
    border-radius: 50%;
    flex-shrink: 0;
}

.sap-hero-h1 {
    font-size: clamp(30px, 4.2vw, 50px);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.sap-br { display: block; }

.sap-hero-lead {
    font-size: clamp(15px, 1.6vw, 17px);
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 540px;
}

.sap-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.sap-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.sap-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
}

.sap-trust-item span:first-child {
    color: var(--color-teal);
    font-weight: 800;
}

/* -- Right: image card -- */
.sap-hero-img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 460px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow:
        0 4px 6px rgba(6, 43, 85, 0.06),
        0 20px 50px rgba(6, 43, 85, 0.14);
}

.sap-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.sap-hero-img-wrap:hover img {
    transform: scale(1.03);
}

.sap-hero-img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(6, 43, 85, 0.88);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

/* -- Mobile hero -- */
@media (max-width: 860px) {
    .sap-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Image below text on mobile */
    .sap-hero-img-wrap {
        order: 2;
        max-height: 300px;
        aspect-ratio: 16 / 9;
    }

    .sap-hero-content {
        order: 1;
    }

    .sap-br { display: none; }
}

@media (max-width: 480px) {
    .sap-hero-btns {
        flex-direction: column;
    }

    .sap-hero-btns .sap-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   5. SERVICE AREA SUMMARY
   ============================================================ */

.sap-summary {
    background: #ffffff;
    padding: clamp(56px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--color-border);
}

.sap-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.sap-summary-text .sap-h2 {
    margin-bottom: 20px;
}

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

.sap-summary-text .sap-btn {
    margin-top: 8px;
}

/* Areas card */
.sap-areas-card {
    background: var(--color-sand-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
}

.sap-areas-block {
    padding: 24px 24px 20px;
}

.sap-areas-block--nearby {
    border-top: 1px solid var(--color-border);
    background: var(--color-mist);
}

.sap-areas-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sap-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sap-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-navy);
    background: #ffffff;
    border: 1.5px solid var(--color-teal);
    padding: 5px 13px;
    border-radius: 50px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sap-chip:hover {
    background: var(--color-teal);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(14, 157, 180, 0.25);
}

.sap-nearby-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 860px) {
    .sap-summary-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   6. AREA CARDS GRID
   ============================================================ */

.sap-areas {
    background: var(--color-sand);
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 3px solid var(--color-teal);
    border-bottom: 3px solid var(--color-teal);
}

.sap-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sap-area-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 24px 22px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease;
}

/* teal top accent bar on hover */
.sap-area-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 14px 14px 0 0;
}

.sap-area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(6, 43, 85, 0.11);
    border-color: rgba(14, 157, 180, 0.5);
}

.sap-area-card:hover::after {
    transform: scaleX(1);
}

.sap-area-card-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.sap-area-pin {
    font-size: 18px;
    line-height: 1.4;
    flex-shrink: 0;
}

.sap-area-card-h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
    line-height: 1.35;
}

.sap-area-card-h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sap-area-card-h3 a:hover {
    color: var(--color-teal);
}

.sap-area-card > p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0 0 18px;
    flex: 1;
}

.sap-area-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sap-area-card-link:hover {
    color: var(--color-navy);
    gap: 9px;
}

@media (max-width: 900px) {
    .sap-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .sap-area-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   7. SERVICES GRID
   ============================================================ */

.sap-services {
    background: #ffffff;
    padding: clamp(56px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--color-border);
}

.sap-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.sap-svc-card {
    background: var(--color-sand-light);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 28px 22px 24px;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.sap-svc-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.32s ease;
}

.sap-svc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(14, 157, 180, 0.13);
    border-color: rgba(14, 157, 180, 0.45);
}

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

.sap-svc-icon {
    width: 44px;
    height: 44px;
    color: var(--color-teal);
    margin-bottom: 16px;
    display: block;
}

.sap-svc-icon svg {
    width: 100%;
    height: 100%;
}

.sap-svc-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.35;
}

.sap-svc-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

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

@media (max-width: 860px) {
    .sap-svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .sap-svc-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   8. GALLERY — 3-COLUMN GRID
   ============================================================ */

.sap-gallery {
    background: #1a2a3a;
    padding: clamp(56px, 7vw, 88px) 0;
}

/* 3-col grid, every cell same aspect ratio */
.sap-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.sap-gal-item {
    margin: 0;
}

.sap-gal-img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: var(--color-navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.sap-gal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sap-gal-item:hover .sap-gal-img-wrap img {
    transform: scale(1.06);
}

/* Teal border glow on hover */
.sap-gal-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 2px solid rgba(14, 157, 180, 0);
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.sap-gal-item:hover .sap-gal-img-wrap::after {
    border-color: rgba(14, 157, 180, 0.6);
}

.sap-gal-item figcaption {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    padding: 8px 2px 0;
    line-height: 1.4;
}

/* Wide feature image — full row */
.sap-gal-feature {
    margin: 0;
}

.sap-gal-feature .sap-gal-img-wrap {
    aspect-ratio: 21 / 7;
    max-height: 260px;
}

@media (max-width: 860px) {
    .sap-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sap-gal-feature .sap-gal-img-wrap {
        aspect-ratio: 16 / 7;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .sap-gallery-grid {
        grid-template-columns: 1fr;
    }

    .sap-gal-feature .sap-gal-img-wrap {
        aspect-ratio: 4 / 3;
        max-height: none;
    }
}

/* ============================================================
   9. SERVICE CORRIDOR CARD (replaces map graphic)
   ============================================================ */

.sap-corridor {
    background: var(--color-sand-light);
    padding: clamp(48px, 6vw, 80px) 0;
    border-bottom: 1px solid var(--color-border);
}

.sap-corridor-card {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a3d6b 50%, var(--color-coastal-teal) 100%);
    border-radius: 20px;
    padding: clamp(36px, 5vw, 60px) clamp(28px, 5vw, 56px);
    position: relative;
    overflow: hidden;
}

.sap-corridor-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 157, 180, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sap-corridor-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.sap-corridor-content h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.sap-corridor-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* City strip */
.sap-corridor-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 28px;
}

.sap-corridor-strip span {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 5px 14px;
    border-radius: 50px;
}

.sap-corridor-sep {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px !important;
    font-weight: 300 !important;
}

/* ============================================================
   10. WHY CHOOSE US
   ============================================================ */

.sap-why {
    background: #ffffff;
    padding: clamp(56px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--color-border);
}

.sap-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.sap-why-copy .sap-h2 {
    margin-bottom: 18px;
}

.sap-why-copy p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 14px;
}

.sap-why-copy .sap-btn {
    margin-top: 8px;
}

.sap-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--color-sand-light);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
}

.sap-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
    line-height: 1.5;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.2s ease;
}

.sap-why-list li:last-child {
    border-bottom: none;
}

.sap-why-list li:hover {
    background: var(--color-mist);
}

.sap-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 860px) {
    .sap-why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ============================================================
   11. PROCESS STEPS
   ============================================================ */

.sap-process {
    background: var(--color-sand-light);
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.sap-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    counter-reset: steps;
}

.sap-step {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 28px 20px 24px;
    text-align: center;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
}

.sap-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -16px;
    top: 46px;
    font-size: 18px;
    color: var(--color-teal);
    opacity: 0.5;
    font-weight: 300;
    z-index: 1;
}

.sap-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(14, 157, 180, 0.1);
    border-color: rgba(14, 157, 180, 0.45);
}

.sap-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.sap-step h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.sap-step p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--color-text-light);
    margin: 0;
}

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

    .sap-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .sap-steps {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   12. FAQ ACCORDION
   ============================================================ */

.sap-faq {
    background: var(--color-sand);
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 3px solid var(--color-teal);
}

.sap-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.sap-faq-item {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.sap-faq-item:hover {
    border-color: rgba(14, 157, 180, 0.4);
    box-shadow: 0 3px 12px rgba(14, 157, 180, 0.07);
}

.sap-faq-item.is-open {
    border-color: var(--color-teal);
    box-shadow: 0 4px 16px rgba(14, 157, 180, 0.1);
}

.sap-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.4;
    transition: background 0.2s ease;
}

.sap-faq-btn:hover {
    background: var(--color-mist);
}

/* Plus/minus icon — pure CSS */
.sap-faq-icon {
    position: relative;
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: var(--color-mist);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.3s ease;
}

.sap-faq-icon::before,
.sap-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-teal);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sap-faq-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sap-faq-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sap-faq-item.is-open .sap-faq-icon {
    background: var(--color-teal);
    transform: rotate(45deg);
}

.sap-faq-item.is-open .sap-faq-icon::before,
.sap-faq-item.is-open .sap-faq-icon::after {
    background: #ffffff;
}

.sap-faq-ans {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Override `hidden` so we can animate */
.sap-faq-ans[hidden] {
    display: block !important;
    max-height: 0;
}

.sap-faq-item.is-open .sap-faq-ans {
    max-height: 600px;
}

.sap-faq-ans p {
    padding: 4px 20px 20px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--color-text-light);
    margin: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

/* ============================================================
   13. FINAL CTA SECTION
   ============================================================ */

.sap-cta-final {
    background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 55%, #0b3f68 100%);
    padding: clamp(64px, 8vw, 100px) 0 clamp(72px, 9vw, 110px);
    position: relative;
    overflow: hidden;
}

.sap-cta-final::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 157, 180, 0.1) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.sap-cta-final::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 157, 180, 0.07) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.sap-cta-final-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
}

.sap-cta-final-inner h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.sap-cta-final-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 36px;
}

.sap-cta-final-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sap-cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 540px) {
    .sap-cta-final-btns {
        flex-direction: column;
    }

    .sap-cta-final-btns .sap-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   14. STICKY MOBILE CTA BAR
   ============================================================ */

.sap-sticky-bar {
    display: none; /* hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--color-navy-dark);
    border-top: 3px solid var(--color-teal);
    /* two equal columns */
    grid-template-columns: 1fr 1fr;
}

.sap-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
    line-height: 1;
}

.sap-sticky-btn--call {
    color: rgba(255, 255, 255, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.sap-sticky-btn--call:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.sap-sticky-btn--cta {
    background: var(--color-teal);
    color: #ffffff;
}

.sap-sticky-btn--cta:hover {
    background: var(--color-teal-light);
    color: #ffffff;
}

/* Only show sticky bar on mobile */
@media (max-width: 768px) {
    .sap-sticky-bar {
        display: grid;
    }

    /* Push footer content above the sticky bar */
    .sap-page ~ .footer,
    main.sap + .footer {
        padding-bottom: 64px;
    }
}

/* ============================================================
   15. GLOBAL SECTION RHYTHM
   ============================================================ */

/* Give the page bottom breathing room on mobile for the sticky bar */
@media (max-width: 768px) {
    .sap-cta-final {
        padding-bottom: calc(clamp(72px, 9vw, 110px) + 56px);
    }
}

/* ============================================================
   16. ACCESSIBILITY
   ============================================================ */

.sap-faq-btn:focus-visible,
.sap-btn:focus-visible,
.sap-chip:focus-visible,
.sap-area-card-link:focus-visible {
    outline: 3px solid var(--color-teal);
    outline-offset: 3px;
}

/* ============================================================
   17. HERO HEIGHT CONSTRAINT
   ============================================================ */

/* Height is controlled by the image wrap's own max-height (500px) — no clip on the outer section */

/* ============================================================
   18. INTRO SECTION — 2-col with stats
   ============================================================ */

.sap-intro {
    background: #ffffff;
    padding: clamp(56px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--color-border);
}

.sap-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.sap-intro-text .sap-h2 {
    margin-bottom: 20px;
}

.sap-intro-text p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 22px;
}

.sap-intro-text .sap-btn {
    margin-top: 16px;
}

.sap-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sap-stat-card {
    background: var(--color-sand-light);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sap-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(14, 157, 180, 0.1);
    border-color: rgba(14, 157, 180, 0.45);
}

.sap-stat-num {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sap-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    line-height: 1.4;
}

@media (max-width: 860px) {
    .sap-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .sap-intro-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   19. CITY CARD — COUNTY LABEL
   ============================================================ */

.sap-area-county {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: -4px 0 10px;
}

/* ============================================================
   20. SERVICE CARDS — 4-COL VARIANT & LEARN-MORE LINK
   ============================================================ */

.sap-svc-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

.sap-svc-card--linked {
    display: flex;
    flex-direction: column;
}

.sap-svc-card--linked p {
    flex: 1;
    margin-bottom: 20px;
}

.sap-svc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-teal);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.sap-svc-link:hover {
    color: var(--color-navy);
    gap: 9px;
}

@media (max-width: 900px) {
    .sap-svc-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .sap-svc-grid--4col {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   21. NEAR-ME SECTION
   ============================================================ */

.sap-near-me {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0b3f6e 50%, var(--color-coastal-teal) 100%);
    padding: clamp(56px, 7vw, 88px) 0;
    position: relative;
    overflow: hidden;
}

.sap-near-me::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -8%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(14, 157, 180, 0.12) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.sap-near-me-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
}

.sap-near-me-content h2 {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.sap-near-me-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 28px;
}

.sap-near-me-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sap-near-me-signals {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sap-signal-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    transition: background 0.2s ease;
}

.sap-signal-item:hover {
    background: rgba(255, 255, 255, 0.14);
}

.sap-signal-icon {
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.sap-signal-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sap-signal-item a:hover {
    color: #ffffff;
}

@media (max-width: 860px) {
    .sap-near-me-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 480px) {
    .sap-near-me-btns {
        flex-direction: column;
    }

    .sap-near-me-btns .sap-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   22. COUNTY COVERAGE SECTION
   ============================================================ */

.sap-counties {
    background: var(--color-sand-light);
    padding: clamp(56px, 7vw, 88px) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 3px solid var(--color-teal);
}

.sap-county-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.sap-county-card {
    background: #ffffff;
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 22px 18px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
}

.sap-county-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 0 0 14px 14px;
}

.sap-county-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(14, 157, 180, 0.1);
    border-color: rgba(14, 157, 180, 0.4);
}

.sap-county-card:hover::after {
    transform: scaleX(1);
}

.sap-county-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.sap-county-cities {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.sap-county-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
}

.sap-county-note a,
.sap-county-note-link {
    color: var(--color-teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.sap-county-note a:hover,
.sap-county-note-link:hover {
    color: var(--color-navy);
}

@media (max-width: 1100px) {
    .sap-county-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .sap-county-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 440px) {
    .sap-county-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   23. VALUE CARDS — WHY CHOOSE US (6-CARD GRID)
   ============================================================ */

.sap-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sap-value-card {
    background: var(--color-sand-light);
    border: 1.5px solid var(--color-border);
    border-radius: 14px;
    padding: 28px 22px 26px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.sap-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy) 0%, var(--color-teal) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    border-radius: 14px 14px 0 0;
}

.sap-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(14, 157, 180, 0.12);
    border-color: rgba(14, 157, 180, 0.45);
}

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

.sap-value-icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 14px;
    display: block;
}

.sap-value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
    line-height: 1.35;
}

.sap-value-card p {
    font-size: 14px;
    line-height: 1.72;
    color: var(--color-text-light);
    margin: 0;
}

@media (max-width: 900px) {
    .sap-value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .sap-value-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   24. HERO TRUST BAR — service tag strip
   ============================================================ */

.sap-hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-top: 24px;
    padding: 10px 16px;
    background: rgba(14, 157, 180, 0.08);
    border: 1px solid rgba(14, 157, 180, 0.22);
    border-radius: 8px;
}

.sap-hero-trust-bar span {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-navy);
    white-space: nowrap;
}

.sap-htb-dot {
    color: var(--color-teal) !important;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Deeper image card shadow */
.sap-hero-img-wrap {
    box-shadow:
        0 2px 4px rgba(6, 43, 85, 0.06),
        0 12px 32px rgba(6, 43, 85, 0.16),
        0 32px 64px rgba(6, 43, 85, 0.12);
}

@media (max-width: 480px) {
    .sap-hero-trust-bar {
        gap: 4px 8px;
        padding: 8px 12px;
    }
}

/* ============================================================
   25. INTRO — PROBLEMS CARD
   ============================================================ */

.sap-problems-card {
    background: var(--color-navy);
    border-radius: 16px;
    padding: 28px 28px 24px;
    color: #ffffff;
    align-self: start;
}

.sap-problems-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.sap-problems-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.sap-problems-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--color-teal-light);
}

.sap-problems-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sap-problems-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
}

.sap-problems-list li:last-child {
    border-bottom: none;
}

.sap-problems-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--color-teal-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.sap-problems-note {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    font-style: italic;
    line-height: 1.5;
}

/* ============================================================
   26. CITY CARDS — BUTTON-STYLE LINK + EQUAL HEIGHT
   ============================================================ */

.sap-area-card {
    /* ensure equal height via flex column */
    display: flex;
    flex-direction: column;
}

.sap-area-card > p:not(.sap-area-county) {
    flex: 1;
}

.sap-area-card-h3 {
    font-size: 19px;
    font-weight: 800;
}

.sap-area-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-navy);
    background: var(--color-mist);
    border: 1.5px solid rgba(14, 157, 180, 0.35);
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: auto;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.sap-area-card-btn:hover {
    background: var(--color-teal);
    color: #ffffff;
    border-color: var(--color-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(14, 157, 180, 0.28);
}

/* ============================================================
   27. NEAR-ME — EYEBROW LABEL
   ============================================================ */

.sap-near-me-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--color-teal-light);
    margin-bottom: 12px;
}

.sap-near-me-content h2 em {
    font-style: normal;
    color: var(--color-teal-light);
}

/* ============================================================
   28. GALLERY — POST-GALLERY CTA
   ============================================================ */

.sap-gallery-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.sap-gallery-cta p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .sap-gallery-cta {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .sap-gallery-cta .sap-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   29. PREMIUM POLISH — HERO
   ============================================================ */

/* Dominant primary CTA inside hero */
.sap-hero-btns .sap-btn-primary {
    font-size: 16px;
    font-weight: 800;
    padding: 16px 34px;
    letter-spacing: 0.2px;
    box-shadow: 0 6px 20px rgba(6, 43, 85, 0.28), 0 2px 6px rgba(6, 43, 85, 0.14);
}

.sap-hero-btns .sap-btn-primary:hover {
    box-shadow: 0 10px 30px rgba(6, 43, 85, 0.34), 0 4px 10px rgba(6, 43, 85, 0.18);
    transform: translateY(-3px);
}

/* Better spacing rhythm between hero elements */
.sap-hero-h1 {
    margin-bottom: 22px;
}

.sap-hero-lead {
    margin-bottom: 36px;
}

.sap-hero-btns {
    margin-bottom: 28px;
}

/* Slightly taller image card */
.sap-hero-img-wrap {
    max-height: 500px;
    border-radius: 22px;
    box-shadow:
        0 2px 4px rgba(6, 43, 85, 0.05),
        0 8px 24px rgba(6, 43, 85, 0.14),
        0 28px 56px rgba(6, 43, 85, 0.18),
        0 48px 80px rgba(6, 43, 85, 0.10);
}

/* ============================================================
   30. PREMIUM POLISH — SERVICE CARDS
   ============================================================ */

/* Larger, bolder icons */
.sap-svc-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

/* Bolder service card titles */
.sap-svc-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

/* Learn More link bolder */
.sap-svc-link {
    font-size: 14px;
    font-weight: 800;
    padding-top: 4px;
}

/* Service CTA row: larger buttons, better balance */
.sap-svc-cta {
    margin-top: 52px;
}

.sap-svc-cta .sap-btn {
    font-size: 16px;
    font-weight: 800;
    padding: 16px 36px;
}

/* ============================================================
   31. PREMIUM POLISH — NEAR-ME KEYWORD CHIPS
   ============================================================ */

.sap-nm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 28px;
}

.sap-nm-chip {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.2px;
    max-width: 100%;
}

@media (max-width: 400px) {
    .sap-nm-chip {
        font-size: 11.5px;
        padding: 5px 11px;
    }
}

/* ============================================================
   32. PREMIUM POLISH — GALLERY
   ============================================================ */

/* Fixed height — explicit px on both wrap and img so height is unambiguous */
.sap-gal-img-wrap {
    aspect-ratio: unset !important;
    height: 220px;
    background: #1a2a3a;
}

.sap-gal-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Feature image — same treatment */
.sap-gal-feature .sap-gal-img-wrap {
    aspect-ratio: unset !important;
    height: 220px;
    max-height: none;
}

.sap-gal-feature .sap-gal-img-wrap img {
    height: 220px;
}

@media (max-width: 480px) {
    .sap-gal-img-wrap,
    .sap-gal-feature .sap-gal-img-wrap {
        height: 180px;
    }
    .sap-gal-img-wrap img,
    .sap-gal-feature .sap-gal-img-wrap img {
        height: 180px;
    }
}

/* Sharper, more readable captions */
.sap-gal-item figcaption,
.sap-gal-feature figcaption {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.2px;
}

/* ============================================================
   33. PREMIUM POLISH — COUNTY CARDS
   ============================================================ */

/* Make county name feel like a header badge */
.sap-county-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-mist);
    width: 100%;
    line-height: 1.3;
}

.sap-county-name::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.sap-county-cities {
    font-size: 13px;
    line-height: 1.75;
    color: var(--color-text-light);
}

/* ============================================================
   34. PREMIUM POLISH — INTRO PROBLEMS CARD BUTTON
   ============================================================ */

/* Remove reliance on inline style — target the button inside the card */
.sap-problems-card .sap-btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 800;
}

/* ============================================================
   35. PREMIUM POLISH — CITY CARD TITLE
   ============================================================ */

.sap-area-card-h3 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.sap-area-card-h3 a {
    color: var(--color-navy);
}

/* Ensure card description text doesn't overflow equal-height layout */
.sap-area-card > p:not(.sap-area-county) {
    margin-bottom: 18px;
}

/* ============================================================
   36. PREMIUM POLISH — HERO TRUST BAR REFINEMENT
   ============================================================ */

.sap-hero-trust-bar {
    border-radius: 10px;
    margin-top: 26px;
}

.sap-hero-trust-bar span:not(.sap-htb-dot) {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 0.1px;
}
