/* 
   Plumber On Call - Global Styles
   Color palette:
   - Primary Blue: #007BFF
   - Secondary Navy: #001F3F
   - Light Gray: #F8F9FA
   - White: #FFFFFF
   - Green (CTA): #28A745
*/

/* CSS Reset & Base Typography */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #001F3F;
    background-color: #F8F9FA;
    line-height: 1.6;
    text-align: center;
}

input,
textarea,
select {
    text-align: left;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: #001F3F;
}

p {
    margin-top: 0;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 640px;
    margin: 0.5rem auto 0;
    color: #555;
}

.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

.card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-link {
    margin-top: auto;
    font-weight: 600;
    color: #007BFF;
}

.card-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background-color: #007BFF;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0062CC;
    box-shadow: 0 14px 35px rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #007BFF;
}

.btn-outline:hover {
    background-color: #007BFF;
    color: #FFFFFF;
}

.btn-success {
    background-color: #28A745;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background-color: #218838;
    box-shadow: 0 14px 35px rgba(40, 167, 69, 0.4);
}

.btn-block {
    width: 100%;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(120deg, #001F3F, #007BFF);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    min-height: 0;
    transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Header bar spans full viewport width so nav and call can sit at edges */
.site-header .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    min-height: 90px;
    flex-wrap: nowrap;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    pointer-events: auto;
}

.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 75px;
    width: auto;
    max-height: 75px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: #FFFFFF;
    position: relative;
    padding: 0.5rem 0.85rem;
    white-space: nowrap;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    bottom: 0.35rem;
    height: 2px;
    width: 0;
    background-color: #007BFF;
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: calc(100% - 1.7rem);
}

.nav-link:hover,
.nav-link:focus {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.nav-link--active {
    color: #FFFFFF;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
}

.nav-link.nav-link--active::after {
    width: calc(100% - 1.7rem);
}

.nav-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
    background: #001F3F;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 31, 63, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-phone-btn:hover {
    background: #00264D;
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.45);
    transform: translateY(-1px);
    text-decoration: none;
}

.nav-phone-btn .nav-phone-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: block;
    filter: invert(1);
}

.mobile-menu-list a img.mobile-phone-icon {
    vertical-align: middle;
    margin-right: 0.35rem;
}

.btn-phone-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    vertical-align: middle;
    margin-right: 0.4rem;
}

/* Dropdown Menus */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background-color: transparent;
    padding: 0.5rem 0.85rem;
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    color: #FFFFFF;
    transition: color 0.2s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
    background-color: transparent;
    border-color: transparent;
    color: #FFFFFF;
    outline: none;
}

.dropdown-toggle span {
    font-size: 0.65em;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.nav-item.dropdown-open .dropdown-toggle {
    background-color: transparent;
    border-color: transparent;
    color: #FFFFFF;
}

.nav-item.dropdown-open .dropdown-toggle span {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    margin-top: 0.4rem;
    left: 0;
    min-width: 240px;
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1001;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: #001F3F;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 123, 255, 0.08);
    color: #007BFF;
    padding-left: 1.25rem;
}

.nav-item.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile menu: hidden on desktop so it doesn't sit in the layout */
.mobile-menu {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #CED4DA;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #FFFFFF;
}

.hamburger span {
    position: relative;
    display: block;
    width: 18px;
    height: 2px;
    background-color: #001F3F;
    transition: background-color 0.2s ease;
}

.hamburger span::before,
.hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background-color: #001F3F;
    transition: transform 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

.hamburger span::before {
    top: -6px;
}

.hamburger span::after {
    bottom: -6px;
}

.hamburger.is-open span {
    background-color: transparent;
}

.hamburger.is-open span::before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.is-open span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-menu {
        display: none;
    }

    .nav-right {
        gap: 0.75rem;
    }

    .hamburger {
        display: inline-flex;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
        z-index: 998;
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0.75rem 0;
    }

    .mobile-menu-list li {
        border-bottom: 1px solid #F1F3F5;
    }

    .mobile-menu-list a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: #001F3F;
        font-weight: 500;
    }

    .mobile-submenu {
        padding-left: 1.5rem;
        background-color: #F8F9FA;
    }

    .mobile-submenu a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 460px;
    color: #FFFFFF;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #001F3F;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    opacity: 0.72;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 31, 63, 0.62), rgba(0, 123, 255, 0.48));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 32rem;
    margin: 0 auto 1.5rem auto;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.hero-badges {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    justify-content: center;
}

.hero-badges li {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(248, 249, 250, 0.12);
    border: 1px solid rgba(248, 249, 250, 0.18);
}

.hero-side-card {
    background-color: rgba(255, 255, 255, 0.96);
    color: #001F3F;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.hero-side-card h2 {
    margin-bottom: 0.4rem;
}

.hero-side-card p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: #495057;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-form label {
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-form input,
.hero-form select,
.contact-form input,
.contact-form select,
.contact-form textarea,
.modal-form input {
    width: 100%;
    border-radius: 0.55rem;
    border: 1px solid #CED4DA;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
}

.hero-form input:focus,
.hero-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.modal-form input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.16);
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        padding-top: 5rem;
        padding-bottom: 3rem;
    }

    .hero {
        text-align: left;
    }
}

/* Trust Logos */
.section-trust {
    background-color: #FFFFFF;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.trust-logo {
    height: 42px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.trust-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-2px);
}

/* Additional Logo */
.additional-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.additional-logo-img {
    height: 180px;
    width: auto;
    max-width: 600px;
    object-fit: contain;
}

/* Services Section */
.section-services {
    background: radial-gradient(circle at top left, rgba(0, 123, 255, 0.08), transparent 55%),
                radial-gradient(circle at bottom right, rgba(40, 167, 69, 0.08), transparent 55%);
}

.service-card h3 {
    font-size: 1.15rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.9rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #FFFFFF;
    font-size: 0.9rem;
}

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

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

/* Reviews Carousel */
.section-reviews {
    background-color: #FFFFFF;
}

.section-reviews--compact {
    padding-bottom: 2.25rem;
}

.reviews-carousel {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.reviews-track {
    position: relative;
    overflow: hidden;
}

.review-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.review-content {
    background-color: #F8F9FA;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.review-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
}

.reviewer-name {
    margin-bottom: 0.1rem;
}

.reviewer-location {
    margin: 0;
    font-size: 0.85rem;
    color: #6C757D;
}

.review-rating {
    color: #FFC107;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.reviews-controls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.reviews-see-more {
    margin-top: 1.75rem;
    text-align: center;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background-color: #DEE2E6;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.reviews-dot.active {
    background-color: #007BFF;
    transform: scale(1.2);
}

/* About Section */
.section-about {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #E9F5FF 100%);
}

.about-text p {
    color: #495057;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "";
    flex-shrink: 0;
    width: 1.1em;
    height: 1.1em;
    background: url("images/wrench.svg") no-repeat center/contain;
    background-color: transparent;
}


.about-images {
    position: relative;
}

.about-image-main {
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.about-image-secondary {
    position: absolute;
    right: 6%;
    bottom: -12%;
    width: 46%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.about-image-badge {
    position: absolute;
    left: -6%;
    top: -10%;
    width: 32%;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
    .about-images {
        margin-top: 1.5rem;
    }

    .about-image-secondary,
    .about-image-badge {
        position: static;
        width: 48%;
        display: inline-block;
        margin-top: 1rem;
    }
}

/* Blog Section */
.section-blog {
    background-color: #FFFFFF;
}

.blog-card h3 {
    font-size: 1.1rem;
}

/* Contact Section */
.section-contact {
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.1), transparent 55%);
}

.contact-text p {
    color: #495057;
}

.contact-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.contact-highlight h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.contact-highlight p {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 900px) {
    .contact-highlights {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrapper {
    background-color: #FFFFFF;
    border-radius: 1rem;
    padding: 2rem 1.75rem;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 700px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-form label,
.modal-form label {
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-form textarea {
    resize: vertical;
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #6C757D;
}

/* Footer */
.site-footer {
    background-color: #001F3F;
    color: #FFFFFF;
    padding-top: 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-text {
    font-size: 0.9rem;
    color: #CED4DA;
    max-width: 420px;
}

.footer-heading {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links a {
    color: #E9ECEF;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0 1.25rem;
    font-size: 0.8rem;
    color: #ADB5BD;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-social span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background-color: rgba(248, 249, 250, 0.1);
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    z-index: 1200;
}

.modal-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: #FFFFFF;
    border-radius: 1rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    position: relative;
}

.modal-backdrop.is-visible .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-content {
    padding: 2.2rem 2rem 2rem;
}

#offer-modal-backdrop .modal-content {
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 0.75rem;
}

.modal-content p {
    margin-bottom: 1.25rem;
    color: #495057;
}

.modal-ctas {
    margin-top: 1rem;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background-color: #F1F3F5;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #E9ECEF;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: none;
    background: #007BFF;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: #0062CC;
}

.back-to-top:focus {
    outline: 2px solid #007BFF;
    outline-offset: 2px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile active nav link */
.mobile-menu-list a.nav-link--active {
    color: #007BFF;
    font-weight: 600;
}

/* Reduced motion: tone down animations */
.reduce-motion .reveal-on-scroll,
.reduce-motion .reveal-on-scroll.is-visible {
    transition-duration: 0.01ms;
}

.reduce-motion .back-to-top,
.reduce-motion .back-to-top.is-visible {
    transition-duration: 0.01ms;
}

.reduce-motion .site-header {
    transition: none;
}

/* Page Templates: Location & Service */
.page-hero {
    position: relative;
    padding: 4rem 0 3rem;
    background-color: #001F3F;
    color: #FFFFFF;
    overflow: hidden;
    min-height: 500px;
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero-subtitle {
    color: #DDE4F0;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(248, 249, 250, 0.12);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.page-hero-details {
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 0.9rem;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
}


.page-hero-details p {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .page-hero-inner {
        grid-template-columns: 1fr;
    }
}

.page-section {
    padding: 3rem 0;
}

.two-column-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    border-bottom: 1px solid #E9ECEF;
    padding: 0.75rem 0;
}

.faq-question {
    font-weight: 600;
}

.neighborhoods-image {
    margin-top: 1.25rem;
}

.neighborhoods-image img {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.faq-answer {
    font-size: 0.95rem;
    color: #495057;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.stat-card {
    background-color: #FFFFFF;
    border-radius: 0.9rem;
    padding: 1rem 1.2rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.stat-value {
    font-size: 1.45rem;
    font-weight: 700;
    color: #007BFF;
}

.stat-label {
    font-size: 0.85rem;
    color: #6C757D;
}

@media (max-width: 800px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.before-after-card {
    background-color: #FFFFFF;
    border-radius: 0.9rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.before-after-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.before-after-label {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    background: linear-gradient(135deg, #007BFF, #28A745);
}

@media (max-width: 800px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }
}

/* Map Placeholder */
.map-placeholder {
    background: linear-gradient(135deg, #E9ECEF, #DEE2E6);
    border-radius: 0.9rem;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C757D;
    font-size: 0.95rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* Accessibility helpers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

