/* Google Fonts import removed for performance */

:root {
    --primary: hsl(210, 100%, 45%);
    --primary-dark: hsl(212, 100%, 30%);
    --accent: hsl(188, 100%, 40%);
    --accent-light: hsl(188, 100%, 95%);
    --text-main: hsl(210, 24%, 16%);
    --text-muted: hsl(210, 12%, 45%);
    --bg-light: hsl(210, 40%, 98%);
    --bg-white: hsl(0, 0%, 100%);
    --border-color: hsl(210, 16%, 92%);
    --danger: hsl(12, 95%, 48%);
    --danger-light: hsl(12, 95%, 96%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-accent {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-danger {
    background-color: var(--danger);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--bg-white);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    text-decoration: none;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-link img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    text-decoration: none;
}

.header-phone-cta {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-phone-cta:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Desktop Dropdown Menu Styling */
@media (min-width: 769px) {
    .dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--bg-white);
        min-width: 220px;
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        z-index: 1000;
        padding: 0.5rem 0;
        list-style: none;
        margin: 0;
        
        /* Smooth fade/slide transition */
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        pointer-events: none;
    }
    
    /* Open on hover */
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    /* Open on keyboard focus for accessibility */
    .dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .dropdown-menu li {
        width: 100%;
        display: block;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 0.6rem 1.25rem;
        color: var(--text-main);
        font-size: 0.95rem;
        font-weight: 500;
        border-bottom: none !important;
        text-align: left;
        transition: var(--transition);
        white-space: nowrap;
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background-color: var(--bg-light);
        color: var(--primary);
        text-decoration: none;
    }
}

.menu-toggle-checkbox,
.menu-toggle-button {
    display: none;
}

/* Hero Section */
.hero {
    background-color: var(--bg-white);
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-trust-tag {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.hero-bullets {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
}

.hero-bullets li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-image-container {
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    display: block;
    width: min(100%, 480px);
    height: min(90vw, 480px);
    max-height: 480px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
}

/* Sections */
section {
    padding: 5rem 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-white {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

/* Zigzag Layout */
.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.zigzag-row:last-child {
    margin-bottom: 0;
}

.zigzag-row.reverse .zigzag-content {
    order: 2;
}

.zigzag-row.reverse .zigzag-image {
    order: 1;
}

.zigzag-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 16/10;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

/* Cards */
.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.card h2,
.card h3 {
    color: var(--primary-dark);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0;
}

.card h2::after {
    display: none;
}


/* Services Page Hub List styling */
.services-list-container {
    margin: 2.5rem 0;
}

.services-list-container .card {
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.faq-title-area {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq-title-area h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid var(--border-color);
}

.faq-question-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.faq-question-link:hover {
    color: var(--primary);
}

.faq-answer {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Call To Action Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--bg-white);
    text-align: center;
    padding: 5rem 0;
    border-top: 5px solid var(--accent);
}

.cta-banner h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.2rem;
}

.cta-phone-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-light);
    display: block;
    margin: 1.5rem 0;
    transition: var(--transition);
}

.cta-phone-number:hover {
    color: var(--bg-white);
    text-decoration: none;
    transform: scale(1.03);
}

/* Service Area specifics */
.neighborhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.neighborhood-tag {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

/* Article Styling */
.article-header {
    background-color: var(--bg-white);
    padding: 4rem 0 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.article-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.article-meta {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-md);
    margin: 1.5rem 0 2.5rem 0;
    box-shadow: var(--shadow-md);
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-content h2 {
    margin: 2.5rem 0 1.25rem 0;
    font-size: 1.75rem;
}

.article-content h3 {
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.article-table th, .article-table td {
    padding: 0.85rem 1rem;
    text-align: left;
}

.article-table th {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    font-weight: 600;
}

.article-table tr {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
}

.article-table tr:nth-of-type(even) {
    background-color: var(--bg-light);
}

/* Contact Details Page layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-dark);
    background-color: var(--accent-light);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    min-width: 90px;
    text-align: center;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contact-item-details h3,
.contact-item-details h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-item-details p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Footer styling */
footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem 0;
    margin-top: auto;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.footer-nav a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-contact a {
    color: var(--accent-light);
}

.footer-contact a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--bg-white);
}

/* Mobile Sticky CTA Bar styling */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    border-top: 3px solid var(--accent);
    padding: 0.75rem 1rem;
    z-index: 999;
    display: none;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}

.mobile-sticky-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--bg-white) !important;
    text-align: center;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-sticky-cta-btn:hover {
    text-decoration: none;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-container, .zigzag-row, .contact-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile layouts are stacked */
    header {
        position: relative;
        height: auto;
        min-height: 64px;
        padding: 0.5rem 0;
        display: flex;
        align-items: center;
    }
    
    .header-container {
        position: relative;
    }
    
    /* Toggle input is visually hidden but accessible */
    .menu-toggle-checkbox {
        display: block;
        position: absolute;
        opacity: 0;
        width: 32px;
        height: 32px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 111;
        cursor: pointer;
        margin: 0;
        pointer-events: auto;
    }
    
    .menu-toggle-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        cursor: pointer;
        z-index: 110;
    }
    
    .hamburger-line {
        display: block;
        width: 26px;
        height: 2.5px;
        background-color: var(--primary-dark);
        border-radius: 2px;
        transition: var(--transition);
    }
    
    /* Hamburger to X transition when checked */
    .menu-toggle-checkbox:checked + .menu-toggle-button .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle-checkbox:checked + .menu-toggle-button .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle-checkbox:checked + .menu-toggle-button .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Keyboard Focus Indicator */
    .menu-toggle-checkbox:focus-visible + .menu-toggle-button {
        outline: 2px solid var(--primary);
        outline-offset: 4px;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--border-color);
        z-index: 99;
        padding: 1rem 0;
        gap: 0;
    }
    
    .menu-toggle-checkbox:checked ~ nav {
        display: block;
    }
    
    .nav-links {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
        padding: 0;
    }
    
    .nav-links li {
        width: 100%;
        list-style: none;
    }
    
    .nav-links a {
        display: block;
        padding: 0.85rem 5%;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
        color: var(--text-main);
        font-weight: 600;
        box-sizing: border-box;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background-color: var(--bg-light);
        color: var(--primary);
        text-decoration: none;
        border-bottom-color: var(--border-color);
    }
    
    .header-phone-cta {
        display: none !important;
    }
    
    /* Mobile Dropdown (Flat, Expanded inside Hamburger) */
    .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        background-color: var(--bg-light);
        box-shadow: none;
        border-top: none;
        border-bottom: none;
        padding: 0;
        margin: 0;
        list-style: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
    
    .dropdown-menu li {
        width: 100%;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 0.8rem 5% 0.8rem 10%; /* Indent child links slightly */
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        color: var(--text-muted);
        font-weight: 500;
        box-sizing: border-box;
        background-color: var(--bg-light);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-menu a:hover,
    .dropdown-menu a.active {
        background-color: var(--border-color);
        color: var(--primary);
        text-decoration: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-bullets {
        align-items: center;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .hero-content h1 {
        order: -2;
    }
    
    .zigzag-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .zigzag-row.reverse .zigzag-content {
        order: 1;
    }
    
    .zigzag-row.reverse .zigzag-image {
        order: 2;
    }
    
    .grid-2, .grid-3, .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Mobile sticky CTA is visible on scroll */
    body {
        padding-bottom: 60px;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
}

/* Visual Cleanup High-Contrast Overrides */
footer a {
    color: var(--accent-light) !important;
    text-decoration: underline;
}

footer a:hover {
    color: var(--bg-white) !important;
}

.footer-brand a {
    color: var(--accent-light) !important;
}

.footer-brand a:hover {
    color: var(--bg-white) !important;
}

.card .cta-phone-number {
    color: var(--primary-dark) !important;
}

.card .cta-phone-number:hover {
    color: var(--primary) !important;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7) !important; /* increased contrast from 0.5 */
}

/* Service Area Section Styling */
.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.service-area-section {
    padding: 5rem 0;
}

.service-area-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
}

.entity-links-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.entity-links-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 1.05rem;
}

.entity-links-list li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.entity-links-list a {
    color: var(--text-main);
    font-weight: 500;
}

.entity-links-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .service-area-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .entity-links-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* YouTube progressive facade player */
.youtube-facade {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background-color: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.youtube-facade img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.youtube-facade iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-facade .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    z-index: 2;
    transition: opacity 0.3s, transform 0.3s;
}

.youtube-facade .play-button svg {
    width: 100%;
    height: 100%;
}

.youtube-facade:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Mobile-responsive Swipe-Card Slider */
.slider-container {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    max-width: 800px;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.slider-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Clean Firefox UI */
    width: 100%;
}

.slider-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.slide-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    padding: 0 0.25rem;
    box-sizing: border-box;
}

.slide-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: block;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.slider-nav .dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border: none;
    border-radius: 50%;
    transition: var(--transition);
    cursor: pointer;
    padding: 0;
}

.slider-nav .dot:hover {
    background-color: var(--text-muted);
}

.slider-nav .dot.active {
    background-color: var(--primary);
    width: 20px;
    border-radius: 5px;
}

@media (max-width: 576px) {
    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .slider-btn.prev {
        left: 8px;
    }
    .slider-btn.next {
        right: 8px;
    }
}


