/*
Theme Name: Tyneside Handyman Theme
Theme URI: https://tynesidehandyman.co.uk
Author: Tyneside Handyman
Description: Custom lightweight theme for premium speed and SEO.
Version: 1.1.0
*/

/* ============================================
   Tyneside Handyman - Modern Craftsman Design System
   A premium, high-trust handyman experience.
   ============================================ */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
    /* Brand Colors - Deep & Premium */
    --color-brand-primary: #0F172A !important;
    /* Slate 900 - Background */
    --color-brand-secondary: #1E293B !important;
    /* Slate 800 - Surface */
    --color-brand-tertiary: #334155 !important;
    /* Slate 700 - Borders/Interactive */

    /* Accent Colors - High Energy */
    --color-accent-amber: #F59E0B !important;
    /* Amber 500 - Primary Action */
    --color-accent-glow: rgba(245, 158, 11, 0.4) !important;
    --color-accent-hover: #D97706 !important;
    /* Amber 600 */

    /* Text Colors */
    --color-text-main: #F8FAFC !important;
    /* Slate 50 */
    --color-text-muted: #94A3B8 !important;
    /* Slate 400 */
    --color-text-inverted: #0F172A !important;
    /* Slate 900 */

    /* Status Colors */
    --color-success: #10B981;
    /* Emerald 500 - Online/Success */

    /* Functional */
    --color-surface-glass: rgba(15, 23, 42, 0.7);
    --glass-blur: blur(12px);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing Scale (Restored & Doubled) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 4rem;
    /* Doubled */
    --space-lg: 8rem;
    /* Doubled */
    --space-xl: 16rem;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Fonts */
    --font-display: 'Outfit', sans-serif !important;
    --font-body: 'Inter', sans-serif !important;
}

/* Visually hidden text utility for accessible link names */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============================================
   2. ANIMATIONS
   ============================================ */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes shimmer {
    0% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(245, 158, 11, 0);
    }

    50% {
        border-color: rgba(245, 158, 11, 0.6);
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0% {
        transform: rotateY(-10deg) rotateX(5deg) scale(1);
        box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    }

    50% {
        transform: rotateY(-10deg) rotateX(5deg) scale(1.02);
        box-shadow: 20px 20px 70px rgba(245, 158, 11, 0.2);
    }

    100% {
        transform: rotateY(-10deg) rotateX(5deg) scale(1);
        box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    }
}

/* ============================================
   3. RESET & BASE (Aggressive Overrides)
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin-top: 0 !important;
    /* Fix WP Admin Bar bumps */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-brand-primary) !important;
    color: var(--color-text-main) !important;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    margin: 0 !important;
    padding: 0 !important;
}

/* Override Kadence/Theme styles explicitly */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text-main) !important;
    margin-bottom: 0.5em;
    /* Reset theme margins */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--color-text-muted);
    max-width: 65ch;
    margin-bottom: 1.5rem !important;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul,
li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   3. UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--color-accent-amber);
}

/* Section spacing - responsive */
.section {
    padding: 4rem 0;
}

/* Desktop: reduce section padding */
@media (min-width: 992px) {
    .section {
        padding: 3.5rem 0;
    }

    /* Reduce footer top padding */
    .footer {
        padding-top: 3rem;
    }

    /* Reduce areas section */
    .areas-section {
        padding: 3rem 0;
    }
}

/* ============================================
   4. COMPONENTS
   ============================================ */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-accent-amber);
    color: var(--color-brand-primary);
    box-shadow: 0 4px 15px var(--color-accent-glow);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-main);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-contact {
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn-contact .btn-contact-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.95em;
}

.btn-contact .btn-contact-icons .fa-whatsapp {
    color: #25D366;
}

.btn-contact .btn-contact-icons .fa-facebook-messenger {
    color: #0084FF;
}

.btn-contact .btn-contact-icons .fa-envelope {
    color: var(--color-text-muted);
    font-size: 0.9em;
}

/* Glass Cards */
.card {
    background: var(--color-brand-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: #253347;
    /* Slightly lighter slate */
    transform: translateY(-4px);
}

/* ============================================
   5. HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: var(--color-brand-primary);
}

/* On scroll, add glass effect */
.header.scrolled {
    background: var(--color-surface-glass);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Status indicator next to logo */
.status-indicator {
    margin-left: 0.75rem;
    text-align: center;
}

/* Logo group - keeps logo and status together */
.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 0 1 auto;
}

.logo span {
    color: var(--color-accent-amber);
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.site-brand-link--footer {
    margin-bottom: 1.5rem;
}

.site-brand-logo {
    display: block;
    width: auto;
    height: 75px;
    max-width: 100%;
    object-fit: contain;
    flex: 0 0 auto;
}

.site-brand-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1;
    white-space: nowrap;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-links a:hover {
    color: var(--color-text-main);
}

/* Hide header CTA button on mobile */
.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .header-cta {
        display: inline-flex;
    }
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */

/* Hamburger Toggle Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 110;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: var(--color-accent-amber);
}

/* Hide hamburger on desktop */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Panel */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--color-brand-primary);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav-panel.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition-fast);
}

.mobile-nav-close:hover {
    background: var(--color-accent-amber);
    color: var(--color-brand-primary);
}

.mobile-nav-content {
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-content a {
    display: block;
    padding: 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-display);
    transition: var(--transition-fast);
}

.mobile-nav-content a:hover {
    color: var(--color-accent-amber);
    padding-left: 0.5rem;
}

.mobile-nav-cta {
    margin-top: 2rem !important;
    text-align: center;
    border-bottom: none !important;
}

/* Mobile nav CTA button - black text on amber background */
.mobile-nav-cta.btn-primary {
    color: var(--color-text-inverted) !important;
}

/* Hide mobile nav on desktop */
@media (min-width: 768px) {

    .mobile-nav-overlay,
    .mobile-nav-panel {
        display: none;
    }
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 7rem;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .header.scrolled {
        background: var(--color-brand-primary);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 0.75rem;
    }

    .header .logo,
    .header .logo-group,
    .header .site-brand-link {
        flex: 0 0 auto;
        min-width: 0;
    }

    .header .site-brand-logo,
    .footer .site-brand-logo {
        height: clamp(48px, 10vw, 60px);
        max-height: 60px;
        max-width: 100%;
    }

    .mobile-menu-toggle {
        flex: 0 0 44px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero h1.home-hero-title {
    font-size: clamp(2.25rem, 4vw, 3.75rem);
    line-height: 1.06;
    margin-bottom: 0.95rem;
    max-width: 23ch;
    text-wrap: balance;
}

.hero .home-hero-title-line {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

.hero h2.home-hero-subtitle {
    font-size: clamp(1.3rem, 1.95vw, 1.6rem);
    color: var(--color-text-muted) !important;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
    max-width: 40ch;
    text-wrap: pretty;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent-amber);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.95rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}



.hero-visual {
    position: relative;
    perspective: 1000px;
    min-width: 0;
}

@media (min-width: 992px) {
    .hero-content {
        max-width: 100%;
    }
}

/* Quote Tool Mockup (Redesigned Animation) */
.quote-tool-mockup {
    background: var(--color-brand-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
        border-color 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.est-mockup-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem 1rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.est-mockup-header.est-mockup-header-status-only {
    grid-template-columns: 1fr;
}

.est-mockup-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.est-mockup-status {
    justify-self: end;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
}

.est-mockup-status-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
    white-space: nowrap;
    text-align: right;
}

.est-mockup-cta {
    width: 100%;
    text-align: center;
}

.quote-tool-mockup:hover {
    transform: rotateY(-6deg) rotateX(3deg) scale(1.015);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.6);
}

/* ============================================
   MOBILE HERO ADJUSTMENTS
   ============================================ */

/* Utility to hide elements on mobile */
.hide-on-mobile {
    display: none !important;
}

@media (min-width: 768px) {
    .hide-on-mobile {
        display: flex !important;
    }
}

/* Mobile: Flat card (no tilt), fix cutoff */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding-top: clamp(7.25rem, 18vw, 8.25rem);
        padding-bottom: 2rem;
        overflow-x: hidden;
    }

    /* Slightly larger h1 on mobile for impact */
    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
        word-wrap: break-word;
    }

    /* Allow heading lines to wrap properly */
    .hero h1 span {
        white-space: normal !important;
    }

    .hero h1.home-hero-title {
        font-size: clamp(1.9rem, 8.5vw, 2.5rem);
        max-width: 100%;
    }

    .hero h2.home-hero-subtitle {
        font-size: 1.2rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero-visual {
        perspective: none;
        overflow: visible;
        width: 100%;
    }

    .quote-tool-mockup {
        transform: none !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1rem;
    }

    .quote-tool-mockup:hover {
        transform: none !important;
    }

    .est-mockup-header {
        gap: 0.65rem 0.75rem;
    }

    .est-input-panel {
        padding: 0.9rem 1rem;
        min-height: 110px;
    }

    .est-price-panel {
        padding: 1rem 0.9rem 0.9rem;
    }

    /* Keep text LEFT aligned on mobile */
    .hero-content {
        text-align: left;
    }

    .hero-desc {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Hero Bridge Line */
.hero-bridge {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem !important;
    opacity: 0.8;
}

/* Show/hide utilities */
.show-on-mobile {
    display: block;
}

@media (min-width: 768px) {
    .show-on-mobile {
        display: none;
    }
}

/* ============================================
   7. TRUST LOGO CLOUD & "THE SWITCH"
   ============================================ */
.trust-section {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 359px) {
    .est-mockup-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .est-mockup-header.est-mockup-header-status-only .est-mockup-status {
        justify-self: end;
    }

    .est-mockup-title {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .est-mockup-status {
        justify-self: start;
    }

    .est-mockup-status-text {
        text-align: left;
    }
}

.trust-section--home-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.9rem 0 2.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-section--home-divider .trust-grid {
    gap: 1rem 2.8rem;
}

.trust-section--home-divider .trust-item {
    font-size: 0.95rem;
}

.trust-section--home-divider .trust-item i {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .trust-section--home-divider {
        padding: 1.9rem 0 2.2rem;
    }

    .trust-section--home-divider .trust-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.9rem;
    }

    .trust-section--home-divider .trust-item {
        justify-content: center;
        font-size: 0.88rem;
        text-align: center;
    }

    .trust-section--home-divider .trust-item:nth-child(2),
    .trust-section--home-divider .trust-item:nth-child(3) {
        display: none;
    }
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 4rem;
    opacity: 0.85;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.trust-item i {
    font-size: 1.1rem;
}

/* Match homepage trust badge sizing on other hero trust strips */
@media (min-width: 769px) {
    .trust-section--hero .trust-item {
        font-size: 1.15rem !important;
        gap: 0.75rem;
        font-family: var(--font-body);
    }

    .trust-section--hero .trust-item i {
        font-size: 1.5rem !important;
        width: 1.5rem !important;
        text-align: center;
    }
}

/* Mobile: 2x2 grid layout for trust badges */
@media (max-width: 767px) {
    .trust-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
        justify-items: start;
        opacity: 0.9;
    }

    .trust-item {
        font-size: 0.85rem;
    }
}

/* Comparison Section */
.comparison-section {
    padding: var(--space-lg) 0;
    background: #1E293B;
}

.comparison-section.sp-section--surface-a {
    background: #1E293B;
}

.comparison-section.sp-section--surface-b {
    background: #0F172A;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .comparison-container {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.comparison-them {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
    filter: grayscale(1);
}

/* ============================================
   8. HOMEPAGE SPECIFIC FIXES (Strict Rule Set)
   ============================================ */

/* 1. Define the Parent Section Spacing (CRITICAL FIX) */
.home-areas-section {
    padding-bottom: 2rem !important;
    /* Reduced to eliminate 'void' gap */
    margin-bottom: 0 !important;
}

/* 2. Define the Layout Container for Areas */
.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0 !important;
    padding-bottom: 0;
    /* Handled by parent section now */
}

/* 3. Areas Heading (H2, 32px) */
.home-areas-heading {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    text-align: center;
    margin-bottom: 0.95rem;
    color: #fff;
}

/* 4. Area Chips Styling */
.area-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.area-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* 5. Fix the CTA Section Spacing & Typography */
.home-final-cta-section {
    text-align: center !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: #1E293B;
    border-top: none;
    padding-bottom: 4rem;
}

.home-final-cta-heading {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.home-final-cta-text {
    text-align: center !important;
    font-size: 1.25rem !important;
    color: #94A3B8;
    margin-bottom: 2.5rem !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.comparison-us {
    background: var(--color-brand-secondary);
    border-color: var(--color-accent-amber);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.05);
    transform: scale(1.02);
    position: relative;
}

.comparison-us::before {
    content: '🏆 The Choice';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--color-accent-amber);
    color: var(--color-brand-primary);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.comparison-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.comparison-us li i {
    color: var(--color-accent-amber);
}

/* ============================================
   5. PROCESS (Digital Thread Redesign)
   ============================================ */
.process-roadmap {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .process-roadmap {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
    }
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--color-brand-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    color: var(--color-accent-amber);
    transition: var(--transition-smooth);
}

.process-step:hover .process-icon-circle {
    background: var(--color-accent-amber);
    color: var(--color-brand-primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting Line */
.roadmap-line {
    display: none;
}

@media (min-width: 768px) {
    .roadmap-line {
        display: block;
        position: absolute;
        top: 40px;
        /* Center of circle */
        left: 10%;
        right: 10%;
        height: 2px;
        background-image: linear-gradient(to right, #334155 50%, transparent 50%);
        background-size: 20px 100%;
        z-index: 1;
    }
}

.comparison-them li i {
    color: #64748B;
}

/* Pulse Status */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-success);
    margin-left: 1rem;
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 768px) {
    .status-indicator {
        display: inline-flex;
    }
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Estimator Status (in quote mockup card) */
.estimator-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   8. BENTO GRID SERVICES
   ============================================ */
.section {
    padding: var(--space-lg) 0 !important;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 300px);
    }

    .bento-item:nth-child(1) {
        grid-column: span 2;
    }

    .bento-item:nth-child(4) {
        grid-column: span 2;
    }
}

.bento-item {
    position: relative;
    background: var(--color-brand-secondary);
    border-radius: var(--radius-md);
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    group-hover: scale(1.02);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-bg {
    opacity: 0.3;
}

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.bento-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    margin-top: 0;
}

.bento-item:hover .bento-details {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}

.bento-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.bento-detail-row span:last-child {
    color: var(--color-text-main);
    font-weight: 600;
}

.comparison-section p {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 3rem auto;
}

/* ============================================
   8. GLASS GRID SERVICES (New Symmetrical)
   ============================================ */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.glass-card {
    background: rgba(30, 41, 59, 0.4);
    /* Very subtle slate */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.glass-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--color-accent-amber);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
    transform: translateY(-5px);
}

.glass-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 12px;
}

.glass-icon i {
    font-size: 1.35rem;
    color: var(--color-accent-amber);
}

.service-card .glass-icon {
    width: 3.35rem;
    height: 3.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card .glass-icon i {
    line-height: 1;
    font-size: 1.15rem;
}

.home-services-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .home-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.home-service-card {
    cursor: pointer;
}

.home-service-card:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.75);
    outline-offset: 2px;
}

.glass-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.glass-details {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.glass-card:hover .glass-details {
    opacity: 1;
}

.glass-detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.glass-detail-row span:first-child {
    color: var(--color-text-muted);
}

.glass-detail-row span:last-child {
    color: var(--color-accent-amber);
    font-weight: 600;
}

/* ============================================
   9. NEW SECTIONS (About, Testimonials, Areas)
   ============================================ */
/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-brand-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    color: var(--color-accent-amber);
    margin-bottom: 1rem;
}

/* About */
.home-about-section {
    background: #1E293B;
    padding: 6rem 0 !important;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.25rem, 5vw, 4.5rem);
    align-items: start;
    max-width: 1040px;
}

@media (min-width: 992px) {
    .about-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

.about-heading {
    margin-bottom: 1.5rem;
}

.about-content {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.about-body-text {
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 52ch;
}

@media (max-width: 991px) {
    .about-content {
        padding-left: 0;
    }
}

.about-body-text p {
    margin: 0 0 1.5rem;
}

.about-body-text p:last-child {
    margin-bottom: 0;
}

.about-img {
    aspect-ratio: 4 / 5;
    background: transparent;
    justify-self: stretch;
    max-width: 440px;
    position: relative;
    width: 100%;
}

.about-img::before {
    background:
        radial-gradient(circle at 50% 48%, rgba(245, 158, 11, 0.24) 0%, rgba(245, 158, 11, 0.14) 20%, rgba(148, 163, 184, 0.12) 43%, rgba(30, 41, 59, 0.34) 58%, transparent 78%);
    border-radius: 999px;
    content: "";
    filter: blur(2px);
    height: 82%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -45%);
    width: 104%;
    z-index: 0;
}

.about-img img,
.about-image-placeholder {
    aspect-ratio: 4 / 5;
    display: block;
    height: 100%;
    width: 100%;
}

.about-img img {
    background: transparent;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.84) 88%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 78%, rgba(0, 0, 0, 0.84) 88%, transparent 100%);
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.about-image-placeholder {
    background: transparent;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 8px;
}

@media (min-width: 992px) {
    .about-img {
        justify-self: center;
        margin-top: -3rem;
        transform: translateX(-1.5rem);
    }
}

@media (max-width: 991px) {
    .about-img {
        justify-self: center;
        margin-left: auto;
        margin-right: auto;
        max-width: min(76vw, 360px);
        width: 100%;
    }
}

/* Areas */
.areas-section {
    background: #0F172A;
    text-align: center;
    padding: var(--space-lg) 0;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.area-tag {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-areas-header {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.home-areas-heading {
    margin-bottom: 0.9rem;
}

.home-areas-subheading {
    margin: 0 auto;
    max-width: 76ch;
    color: var(--color-text-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.home-areas-map-card {
    margin-bottom: 2rem;
}

.home-area-hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1080px;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .home-area-hub-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-area-hub-card {
    text-align: left;
    height: 100%;
}

.home-area-hub-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.25rem;
}

.home-area-hub-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.1rem;
}

.home-area-hub-link {
    font-weight: 600;
}

.home-areas-footer {
    text-align: center;
    margin-top: 2rem;
}

.home-areas-footer-text {
    color: var(--color-text-muted);
    margin: 0 auto 1rem;
    max-width: 62ch;
}

/* Areas archive (/areas/) */
.areas-archive-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 1rem;
}

.areas-archive-hero .hero-grid {
    align-items: center;
    text-align: center;
    display: block;
}

.areas-archive-hero .hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.areas-archive-top-section {
    background: #1E293B;
    padding-top: 1.25rem;
}

.areas-archive-top-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.areas-archive-top-layout>* {
    min-width: 0;
}

.areas-archive-top-layout--no-map {
    grid-template-columns: 1fr !important;
}

.areas-archive-map-card {
    margin: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    align-self: start;
}

.areas-archive-map-card .map-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.areas-archive-hub-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    height: 100%;
    min-height: 0;
    grid-auto-rows: 1fr;
    align-content: stretch;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    min-width: 0;
}

.areas-archive-hub-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.45rem;
    padding: 0.95rem 0.95rem 0.9rem;
    min-height: 0;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    align-content: start;
    transition: var(--transition-smooth);
}

.areas-archive-hub-card:hover {
    border-color: rgba(245, 158, 11, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.areas-archive-hub-card .glass-icon {
    width: 2.85rem;
    height: 2.85rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 0.15rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: var(--color-accent-amber);
}

.areas-archive-hub-card .glass-icon i {
    line-height: 1;
    font-size: 1rem;
}

.areas-archive-hub-card h3 {
    margin: 0;
    line-height: 1.24;
    font-size: 1.2rem;
    min-height: 2.5em;
}

.areas-archive-hub-card p {
    margin: 0 !important;
    line-height: 1.42;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: none;
    min-height: 4.15em;
}

.areas-archive-hub-card .home-area-hub-link {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.96rem;
}

.areas-archive-directory-section {
    background: #0F172A;
}

.areas-directory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.areas-directory-column {
    background: rgba(30, 41, 59, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.2rem;
}

.areas-directory-column h3 {
    margin: 0 0 0.9rem;
    font-size: 1.1rem;
}

.areas-directory-column h3 a {
    color: var(--color-text-main);
    text-decoration: none;
}

.areas-directory-column h3 a:hover {
    color: var(--color-accent-amber);
}

.areas-directory-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.areas-directory-list a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
}

.areas-directory-list a:hover {
    color: var(--color-accent-amber);
}

.areas-archive-unique-section {
    background: #1E293B;
}

.areas-archive-unique-header {
    text-align: center;
    margin-bottom: 2rem;
}

.areas-archive-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1150px;
    margin: 0 auto;
}

.areas-archive-benefit-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.25rem 1.2rem;
    transition: var(--transition-smooth);
}

.areas-archive-benefit-card:hover {
    border-color: rgba(245, 158, 11, 0.28);
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.areas-archive-benefit-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: var(--color-accent-amber);
    margin-bottom: 0.95rem;
}

.areas-archive-benefit-icon i {
    line-height: 1;
    font-size: 1rem;
}

.areas-archive-benefit-card h3 {
    margin: 0 0 0.55rem;
    font-size: 1.22rem;
}

.areas-archive-benefit-card p {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.areas-archive-final-cta-section {
    background: rgba(255, 255, 255, 0.02);
    padding-top: 2rem;
}

@media (max-width: 900px) {
    .areas-archive-hub-grid {
        grid-template-columns: 1fr;
        height: auto;
        grid-auto-rows: auto;
    }

    .areas-archive-hub-card {
        gap: 0.55rem;
    }

    .areas-archive-hub-card h3,
    .areas-archive-hub-card p {
        min-height: 0;
    }
}

@media (min-width: 900px) {
    .areas-archive-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .areas-archive-top-layout {
        grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
        gap: 1rem;
    }

    .areas-archive-map-card {
        height: 100%;
    }

    .areas-archive-hub-grid {
        grid-template-rows: repeat(2, minmax(0, 1fr));
        max-width: 39rem;
    }
}

@media (min-width: 760px) {
    .areas-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1140px) {
    .areas-directory-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ============================================
   10. FOOTER
   ============================================ */
.footer {
    background: #020617;
    /* Very dark slate */
    padding: var(--space-lg) 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col {
    min-width: 0;
}

.footer-col-brand {
    max-width: 38rem;
}

.footer-col-links {
    min-width: 0;
}

@media (min-width: 980px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr));
        column-gap: clamp(2.5rem, 3.6vw, 3.5rem);
        row-gap: 2rem;
        align-items: start;
    }

    .footer-col-brand {
        padding-right: 1.25rem;
    }

    .footer-col-links:last-child {
        padding-left: 0.35rem;
    }
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-accent-amber);
}

.footer-view-all-link,
.footer-view-all-services {
    display: inline-flex;
    align-items: center;
    margin-top: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-amber);
    font-size: 0.95rem;
}

.footer-view-all-link:hover,
.footer-view-all-services:hover {
    color: #fbbf24;
    text-decoration: underline !important;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-copy {
    margin: 0 !important;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.55rem;
    font-size: 0.875rem;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    line-height: 1.2;
}

.footer-legal-links a:hover {
    color: var(--color-accent-amber);
}

.footer-legal-dot {
    color: rgba(148, 163, 184, 0.7);
    line-height: 1;
}

/* Legal Pages */
.legal-page {
    background: linear-gradient(180deg, #0b1326 0%, #0f172a 24%, #0f172a 100%);
}

.legal-page-header {
    padding-top: 8rem;
    padding-bottom: 2rem;
}

.legal-page-wrap {
    max-width: 980px;
}

.legal-page-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-page-meta::before {
    content: '';
    width: 1.75rem;
    height: 1px;
    background: rgba(245, 158, 11, 0.65);
}

.legal-page-title {
    margin-bottom: 1rem;
}

.legal-page-subtitle {
    margin-bottom: 0 !important;
    font-size: clamp(1rem, 1.9vw, 1.13rem);
    color: #B7C3D7;
}

.legal-page-body {
    padding-top: 1rem;
    padding-bottom: 4rem;
}

.legal-page-card {
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius-lg);
    padding: clamp(1.35rem, 3vw, 3rem);
    box-shadow: 0 28px 65px rgba(2, 6, 23, 0.36);
}

.legal-page-card h2,
.legal-page-card h3 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
}

.legal-page-card h2:first-of-type,
.legal-page-card h3:first-of-type {
    margin-top: 0;
}

.legal-page-card p {
    max-width: none;
    margin-bottom: 1rem !important;
}

.legal-page-card ul,
.legal-page-card ol {
    margin: 0 0 1.15rem 1.25rem !important;
    padding-left: 1rem !important;
}

.legal-page-card ul {
    list-style: disc !important;
}

.legal-page-card ol {
    list-style: decimal !important;
}

.legal-page-card li {
    list-style: inherit !important;
    margin: 0.4rem 0 !important;
    color: var(--color-text-muted);
}

.legal-page-card strong {
    color: var(--color-text-main);
}

.legal-page-card hr {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.legal-page-card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: rgba(15, 23, 42, 0.45);
}

.legal-page-card th,
.legal-page-card td {
    border: 1px solid rgba(148, 163, 184, 0.25);
    padding: 0.75rem;
    text-align: left;
    font-size: 0.96rem;
    color: var(--color-text-muted);
}

.legal-page-card th {
    color: var(--color-text-main);
    font-weight: 600;
    background: rgba(30, 41, 59, 0.78);
}

/* Sticky Mobile CTA */
.mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--color-brand-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    z-index: 99;
}

@media (min-width: 768px) {
    .mobile-sticky {
        display: none;
    }
}

/* Add padding to body on mobile to prevent sticky CTA from covering content */
@media (max-width: 767px) {
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.page-template-template-quote {
        padding-bottom: 0 !important;
    }

    .footer-bottom-inner {
        justify-content: center;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .legal-page-header {
        padding-top: 7rem;
        padding-bottom: 1rem;
    }

    .legal-page-body {
        padding-bottom: 3rem;
    }

    .legal-page-card table,
    .legal-page-card thead,
    .legal-page-card tbody,
    .legal-page-card th,
    .legal-page-card td,
    .legal-page-card tr {
        display: block;
        width: 100%;
    }

    .legal-page-card table {
        border: 0;
    }

    .legal-page-card tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: var(--radius-sm);
        overflow: hidden;
    }

    .legal-page-card th,
    .legal-page-card td {
        border: 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    }

    .legal-page-card tr th:last-child,
    .legal-page-card tr td:last-child {
        border-bottom: 0;
    }
}

.btn-full {
    flex: 1;
}

/* ============================================
     11. SERVICE PAGE SPECIFIC STYLES
     ============================================ */

/* Pricing Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--color-brand-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-amber);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border: 1px solid var(--color-accent-amber);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.check-list {
    margin: 2rem 0;
    flex-grow: 1;
}

.check-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.check-list li i {
    color: var(--color-accent-amber);
    margin-top: 0.2rem;
}

/* FAQ Accordion - Premium Design */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-main);
    transition: all 0.2s ease;
    gap: 1rem;
}

.faq-question:hover {
    color: var(--color-accent-amber);
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-amber);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--color-accent-amber);
    color: #0f172a;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: all 0.3s ease;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-height: 500px;
}

/* Glass Card Links (Service Cards) */
.glass-card-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

.card-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.card-link:hover {
    color: var(--color-accent-amber);
    text-decoration: underline;
}

.card-link-primary {
    color: #F59E0B;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.card-link-primary:hover {
    color: #D97706;
    text-decoration: underline;
}

.link-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

/* Ensure glass-card uses flexbox for uniform height */
.glass-card {
    display: flex;
    flex-direction: column;
}

/* Map Card (Coverage Map) */
.map-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.map-card-sm {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.map-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Benefits Grid (Replaces Pricing) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--color-accent-amber);
    transform: translateY(-5px);
}

.benefit-icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-accent-amber);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--color-brand-secondary) 0%, #0f172a 100%);
    border: 1px solid var(--color-accent-amber);
    border-radius: var(--radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent-amber), transparent);
    opacity: 0.5;
}

/* ============================================
     12. LOCATION PAGE SPECIFIC STYLES
     ============================================ */

/* Map Container */
.location-map-container {
    height: 400px;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 3rem 0;
    position: relative;
}

.location-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) invert(0.92) contrast(0.83);
    /* Dark mode map theme */
}

/* Neighborhood List */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.neighborhood-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.neighborhood-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-main);
    border-color: var(--color-accent-amber);
}

/* ============================================
   13. SERVICE PAGE SPECIFIC STYLES (Restored)
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.benefit-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--color-accent-amber);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 1.5rem;
    color: var(--color-accent-amber);
    background: rgba(245, 158, 11, 0.1);
    padding: 1rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}


/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--color-accent-amber);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 4rem auto;
    max-width: 900px;
}


/* ============================================
   MOBILE SPACING OVERRIDES
   Reduce excessive vertical spacing on mobile
   ============================================ */
@media (max-width: 767px) {

    /* Generic section padding reduction */
    .section {
        padding: 3rem 0 !important;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    /* Comparison section (Why I'm Different) */
    .comparison-section {
        padding: 3rem 0;
    }

    .comparison-section .section-header {
        margin-bottom: 2rem;
    }

    /* Trust section */
    .trust-section {
        padding: 2rem 0;
    }

    /* Areas section */
    .areas-section {
        padding: 3rem 0;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    /* Process/roadmap section */
    .process-roadmap {
        gap: 2rem;
    }

    /* CTA Box - reduce margins */
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
    }

    /* Hide decorative elements that may crop awkwardly */
    .roadmap-line {
        display: none;
    }

    /* Improved Mobile Sticky Layout - 40/60 split, no wrapping */
    .mobile-sticky {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 0.75rem 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
        gap: 0.75rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    }

    .mobile-sticky .btn {
        white-space: nowrap;
        padding: 0.8rem 0.5rem;
        font-size: 0.95rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Show status indicator on mobile header */
    .status-indicator {
        display: flex;
        margin-left: 0.75rem;
    }

    /* WhatsApp button - slightly wider for comfort */
    .mobile-sticky .btn-secondary {
        flex: 0 0 40%;
    }

    /* Quote button - wider (60%) */
    .mobile-sticky .btn-primary {
        flex: 1;
    }

    /* Process steps stack vertically */
    .process-roadmap {
        flex-direction: column;
        gap: 3rem;
    }

    .process-step {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
    }

    /* Reset vertical connectors */
    .process-step::after {
        content: '';
        /* Vertical line between steps */
        position: absolute;
        left: 50%;
        top: 100%;
        height: 3rem;
        width: 2px;
        background: linear-gradient(to bottom, var(--color-accent-amber), rgba(255, 255, 255, 0.1));
        transform: translateX(-50%);
        z-index: 0;
    }

    .process-step:last-child::after {
        display: none;
    }

    /* Adjust Hero Typography for Mobile */
    .hero h1 {
        font-size: 2.25rem;
        /* Reduced to fit on 2 lines */
        line-height: 1.1;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Ensure buttons don't wrap text */
    .btn {
        white-space: nowrap;
    }
}

/* ============================================
   USP COPY UPDATE STYLES
   Hero chips, comparison tagline, responsive CTAs
   ============================================ */

/* Hero Chips Row */
.hero-chips {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.hero-chips span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Comparison Tagline */
.comparison-tagline {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Responsive CTA Labels */
.cta-short {
    display: none;
}

.cta-full {
    display: inline;
}

/* On smaller screens, show short CTA */
@media (max-width: 1024px) {
    .header-cta .cta-short {
        display: inline;
    }

    .header-cta .cta-full {
        display: none;
    }
}

/* Mobile: Ensure chips are hidden */
@media (max-width: 767px) {
    .hero-chips {
        display: none;
    }
}

/* ============================================
   FAQ ANSWER TEXT STYLES
   ============================================ */

.faq-answer p {
    margin-bottom: 0.75rem !important;
}

.faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.faq-answer ul {
    margin-left: 1.25rem !important;
    margin-bottom: 0.75rem !important;
}

.faq-answer ul li {
    list-style: disc !important;
    margin-bottom: 0.25rem !important;
    padding-left: 0.25rem !important;
}

/* ============================================
   SINGLE CONTENT TEMPLATES (SERVICE / AREA / LOCATION)
   ============================================ */
.sp-hero {
    padding: 8rem 0 4.5rem;
    min-height: auto;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.sp-breadcrumbs {
    margin-bottom: 1rem;
}

.sp-breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none !important;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

.sp-breadcrumbs a {
    color: var(--color-text-muted);
}

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

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

.sp-hero-title {
    margin-bottom: 0.85rem;
    line-height: 1.06;
    font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.sp-hero-subheading {
    margin: 0 0 1.2rem !important;
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: #c1cedd;
    font-weight: 500;
    max-width: 54ch;
}

.sp-hero-intro {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.72;
    color: var(--color-text-muted);
    max-width: 60ch;
}

.sp-hero-actions {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.sp-hero-image {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
}

.sp-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4);
}

.sp-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2) 0%, transparent 55%);
    pointer-events: none;
}

.sp-trust-section {
    padding: 1.9rem 0 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-trust-section .trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.8rem;
}

.sp-trust-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #c8d2df;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.sp-trust-item i {
    color: var(--color-accent-amber);
    font-size: 1rem;
}

.sp-proof-strip {
    padding: 1.6rem 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-proof-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.sp-proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.52rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #d5deea;
    font-size: 0.85rem;
    font-weight: 600;
}

.sp-section {
    padding: 5.25rem 0;
}

.sp-section--surface-a {
    background: #1E293B;
}

.sp-section--surface-b {
    background: #0F172A;
}

.sp-section--alt {
    background: #1E293B;
}

.sp-section--elevated {
    background: #1E293B;
}

.sp-section--dark {
    background: #0F172A;
}

.sp-section-header {
    text-align: center;
    margin: 0 auto 3.25rem;
    max-width: 820px;
}

.sp-section-header h2 {
    margin-bottom: 0.6rem;
}

.sp-section-header p {
    margin: 0 auto;
    max-width: 64ch;
    color: var(--color-text-muted);
}

.sp-cta-center {
    margin-top: 2.3rem;
    text-align: center;
}

.sp-scope-block {
    max-width: 1100px;
    margin: 0 auto;
}

.sp-scope-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr;
}

.sp-scope-card {
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.35rem 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    min-height: 100%;
}

.sp-scope-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--color-accent-amber);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sp-scope-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sp-scope-card-title {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
}

.sp-scope-card-text {
    margin: 0 !important;
    color: #edf3fb;
    line-height: 1.55;
    font-size: 1rem;
}

.sp-scope-card-text strong {
    color: #ffffff;
    font-weight: 700;
}

.sp-scope-origin {
    margin: 0 auto 1rem;
    max-width: 760px;
    text-align: center;
    font-size: 0.88rem;
    color: #9fb0c5;
}

.sp-custom-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.55rem 1.75rem;
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    color: #c8d6e8;
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
}

.sp-custom-content p {
    margin: 0 0 1rem;
}

.sp-custom-content p:last-child {
    margin-bottom: 0;
}

.sp-custom-content ul,
.sp-custom-content ol {
    margin: 0.25rem 0 1rem 1.25rem;
    padding: 0;
}

.sp-custom-content li {
    margin-bottom: 0.45rem;
}

.sp-custom-content li:last-child {
    margin-bottom: 0;
}

.sp-custom-content strong {
    color: #ffffff;
    font-weight: 700;
}

.sp-custom-content em {
    color: #d8e5f6;
}

.sp-custom-content a {
    color: var(--color-accent-amber);
    text-underline-offset: 2px;
}

.sp-custom-content a:hover {
    color: #ffd089;
}

.sp-included-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-included-card {
    background: rgba(15, 23, 42, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.35rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.sp-included-icon {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.12);
    color: var(--color-accent-amber);
    font-size: 1.3rem;
    margin-bottom: 0.95rem;
}

.sp-included-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
}

.sp-included-card p {
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: none;
}

.sp-link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    max-width: 860px;
    margin: 0 auto;
}

.sp-link-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.74);
    padding: 1rem 1.05rem;
    color: #edf3fb;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: all 0.22s ease;
    text-decoration: none;
}

.sp-link-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--color-accent-amber);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sp-link-card-label {
    margin-top: 0.55rem;
    font-size: 1.06rem;
    font-weight: 600;
    line-height: 1.45;
}

.sp-link-card:hover {
    border-color: rgba(245, 158, 11, 0.45);
    background: rgba(245, 158, 11, 0.08);
    transform: translateY(-2px);
}

.sp-note {
    margin-top: 1rem;
    text-align: center;
    color: #9aacc2;
    font-size: 0.92rem;
}

.sp-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1150px;
    margin: 0 auto;
}

.sp-gallery-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.75);
}

.sp-gallery-link {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.sp-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-gallery-link:hover img {
    transform: scale(1.05);
}

.sp-gallery-placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-gallery-content {
    padding: 1rem;
}

.sp-gallery-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.sp-gallery-content p {
    margin: 0 !important;
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.55;
}

.sp-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 1150px;
    margin: 0 auto;
}

.sp-testimonial {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sp-testimonial-stars {
    color: var(--color-accent-amber);
    font-size: 0.9rem;
}

.sp-testimonial-quote {
    color: #e7eef9;
    margin: 0 !important;
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: none;
}

.sp-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
}

.sp-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.2);
    color: #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-testimonial-name {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
}

.sp-testimonial-location {
    margin: 0;
    font-size: 0.82rem;
    color: #a6b8cd;
}

.sp-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-after-step {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.74);
    padding: 1.35rem 1.2rem;
    text-align: left;
    min-height: 100%;
}

.sp-after-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--color-accent-amber);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.sp-after-step h3 {
    margin: 0 0 0.45rem;
    font-size: 1.04rem;
}

.sp-after-step p {
    margin: 0 !important;
    max-width: none;
    line-height: 1.62;
    font-size: 0.93rem;
}

.sp-faq {
    max-width: 840px;
    margin: 0 auto;
    display: grid;
    gap: 0.6rem;
}

.sp-faq-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.7);
    overflow: hidden;
    scroll-margin-top: 7rem;
    transition: border-color 0.24s ease, background-color 0.24s ease;
}

.sp-faq-item[open] {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(15, 23, 42, 0.9);
}

.sp-faq-item--highlight {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35);
}

.sp-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 0.95rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #f3f8ff;
    font-size: 0.95rem;
    font-weight: 600;
}

.sp-faq-item summary::-webkit-details-marker {
    display: none;
}

.sp-faq-item summary i {
    color: var(--color-accent-amber);
    transition: transform 0.2s ease;
}

.sp-faq-item[open] summary i {
    transform: rotate(180deg);
}

.sp-faq-answer {
    padding: 0 1rem 1rem;
    color: #bccadc;
    line-height: 1.7;
    font-size: 0.94rem;
}

.sp-faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.sp-coverage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    align-items: start;
    max-width: 1140px;
    margin: 0 auto;
}

.sp-coverage-map img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sp-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sp-pill-list--center {
    justify-content: center;
}

.sp-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #d3e0ee;
    font-size: 0.86rem;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.sp-pill:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.45);
    color: #e7f0ff;
}

.sp-coverage-copy {
    margin: 0.9rem 0 0.8rem !important;
    line-height: 1.7;
    max-width: none;
}

.sp-text-link {
    color: #60a5fa;
    font-weight: 600;
}

.sp-text-link:hover {
    color: #93c5fd;
}

.sp-hero a:focus-visible,
.sp-hero button:focus-visible,
.sp-section a:focus-visible,
.sp-section button:focus-visible,
.sp-final-cta a:focus-visible,
.sp-final-cta button:focus-visible,
.sp-faq-item summary:focus-visible,
.sp-gallery-link:focus-visible,
.sp-lightbox__close:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
    border-radius: 10px;
}

.sp-compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
}

.sp-compare-card {
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.7);
}

.sp-compare-card h3 {
    font-size: 1.02rem;
    margin: 0 0 0.7rem;
}

.sp-compare-card ul {
    display: grid;
    gap: 0.5rem;
}

.sp-compare-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sp-compare-card--usual i {
    color: #f87171;
}

.sp-compare-card--better i {
    color: #34d399;
}

.sp-final-cta {
    padding: 5.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-final-cta.sp-section--surface-a {
    background: #1E293B;
}

.sp-final-cta.sp-section--surface-b {
    background: #0F172A;
}

.sp-final-cta h2 {
    margin-bottom: 0.9rem;
}

.sp-final-cta p {
    margin: 0 auto 2.1rem !important;
    max-width: 60ch;
    font-size: 1.1rem;
}

.sp-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.sp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(2, 6, 23, 0.92);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-lightbox[hidden] {
    display: none;
}

.sp-lightbox__dialog {
    width: min(100%, 980px);
    position: relative;
}

.sp-lightbox__close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    cursor: pointer;
}

.sp-lightbox__image {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-lightbox__caption {
    margin-top: 0.7rem;
    text-align: center;
    color: #c8d4e2;
    font-size: 0.92rem;
}

@media (min-width: 768px) {
    .sp-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.8rem;
    }

    .sp-trust-section .trust-grid {
        justify-content: center;
        gap: 1rem 3.4rem;
    }

    .sp-scope-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sp-included-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sp-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sp-testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sp-after-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sp-coverage-grid {
        grid-template-columns: minmax(300px, 460px) minmax(0, 1fr);
        gap: 2rem;
    }

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

@media (max-width: 767px) {
    .sp-hero {
        padding-top: 6.7rem;
    }

    .sp-hero-title {
        font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    }

    .sp-hero-image {
        order: 2;
    }

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

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

    .sp-trust-section .trust-grid {
        justify-content: center;
        gap: 0.8rem 1.2rem;
    }

    .sp-trust-section .trust-item {
        justify-content: center;
        font-size: 0.88rem;
    }

    .sp-lightbox {
        padding: 1rem;
    }
}
