:root {
    --color-primary: #2596be;
    --color-primary-dark: #1d7da0;
    --color-primary-light: #e8f6fb;
    --color-navy: #123144;
    --color-text: #1f2933;
    --color-text-light: #52606d;
    --color-white: #ffffff;
    --color-border: #d9e2ec;
    --color-bg-soft: #c8dff0;
    --color-footer: #052f4a;
    --color-shadow: 0 12px 32px rgba(18, 49, 68, 0.08);
    --color-shadow-soft: 0 8px 20px rgba(18, 49, 68, 0.05);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --max-width: 1200px;
    --transition: all 0.25s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--color-text);
    background: #d6eaf7;
    line-height: 1.65;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
    border-radius: 999px;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 14px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.google-badge:hover {
    background: rgba(20, 20, 20, 0.72);
}

.google-stars {
    color: #f5a623;
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 1;
}

.google-badge-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

h1,
h2,
h3 {
    margin-top: 0;
    color: var(--color-navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

p {
    margin-top: 0;
    margin-bottom: 18px;
    color: var(--color-text-light);
    font-size: 1.02rem;
}

ul {
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
    color: var(--color-text-light);
}

.site-header {
    position: sticky;
    top: 14px;
    isolation: isolate;
    z-index: 1001;
    width: min(92%, var(--max-width));
    margin: 14px auto 0;
    background: rgba(150, 150, 150, 0.3);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(217, 226, 236, 0.55);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 28px rgba(18, 49, 68, 0.08);
    padding: 0 28px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-navy);
    white-space: nowrap;
}

.site-logo span {
    color: var(--color-primary);
}

.site-logo img {
    height: 54px;
    width: auto;
    display: block;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.nav-list a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.nav-list a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: width 0.25s ease;
}

.nav-list a:not(.btn):hover::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 220px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--color-shadow);
    z-index: 100;
}

.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    box-shadow: 0 10px 24px rgba(37, 150, 190, 0.28);
}

.btn-primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(37, 150, 190, 0.34);
}

.btn-hero {
    padding: 18px 36px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-arrow {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--color-shadow-soft);
}

.btn-secondary:hover {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ── Quote Form ─────────────────────────────────── */
.quote-form {
    max-width: 680px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row .form-group--sm {
    max-width: 120px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group .required {
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-banner {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-banner--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1.5px solid #6ee7b7;
}

.form-banner--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1.5px solid #fca5a5;
}

.form-banner--error a {
    color: #991b1b;
    font-weight: 700;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-row .form-group--sm {
        max-width: 100%;
    }
}

.hero {
    position: relative;
    overflow: hidden;
    margin-top: -110px;
    padding: 220px 0 90px;
    background: url('../images/hero8.png') center / cover no-repeat;
}

.hero--page {
    background-image: none; /* overridden per-page via inline style */
    background-position: center center;
    padding: 180px 0 120px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(37, 150, 190, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(37, 150, 190, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #ffffff;
}

.hero h2 {
    color: #ffffff;
    font-weight: 800;
}

.hero-text {
    max-width: 760px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    margin-bottom: 26px;
}


.section:nth-of-type(even) {
    background: var(--color-bg-soft);
}

.section--white {
    background: #fff !important;
}

.content-list {
    padding-left: 0;
    list-style: none;
}

.content-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.content-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(37, 150, 190, 0.12);
}

.services-grid,
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.services-grid article,
.review-card {
    background: var(--color-white);
    border: 1px solid rgba(217, 226, 236, 0.9);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: 0 4px 16px rgba(18, 49, 68, 0.10);
    transition: var(--transition);
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card p:first-of-type {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0;
}

.review-card p:last-of-type {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-text-light, #6b7280);
    border-top: 1px solid rgba(217, 226, 236, 0.8);
    padding-top: 12px;
}

.services-grid article {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: none;
}

.services-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.08) 60%);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.services-grid article:hover::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.18) 60%);
}

.services-grid article h3,
.services-grid article p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #ffffff;
}

.services-grid article p {
    margin-top: 4px;
    font-size: 0.92rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.services-grid article:hover p {
    opacity: 0.88;
    max-height: 100px;
}

.services-grid article:hover,
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--color-shadow);
    border-color: rgba(37, 150, 190, 0.22);
}

/* --- Google Reviews blockquotes --- */
.reviews-grid blockquote {
    background: var(--color-white);
    border: 1px solid rgba(217, 226, 236, 0.9);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--color-shadow-soft);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}

.reviews-grid blockquote:hover {
    transform: translateY(-4px);
    box-shadow: var(--color-shadow);
    border-color: rgba(37, 150, 190, 0.22);
}

.reviews-grid blockquote p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.reviews-grid blockquote footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
}

.reviews-grid blockquote footer span {
    flex: 1;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-star {
    font-size: 1.1rem;
    color: #d1d5db;
}

.review-star.filled {
    color: #f59e0b;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-google-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.review-google-logo:hover {
    opacity: 1;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f0f5f8;
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-top: 20px;
    margin-bottom: 8px;
    width: fit-content;
}

.reviews-summary-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.reviews-summary-rating .review-star {
    font-size: 1.3rem;
}

.reviews-summary-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.reviews-summary-divider {
    width: 1px;
    height: 28px;
    background: rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.btn-share-review {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-dark, #1a2e3b);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-share-review:hover {
    opacity: 0.85;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--color-text-light, #6b7280);
    padding: 24px 0;
}

.services-grid h3 a {
    color: #ffffff;
}

.services-grid h3 a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.section-link-row {
    margin-top: 24px;
}

.area-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.area-list li {
    margin: 0;
}

.area-list a {
    display: block;
    padding: 18px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--color-shadow-soft);
    color: var(--color-navy);
    font-weight: 700;
}

.area-list a:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 150, 190, 0.3);
    box-shadow: var(--color-shadow);
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: var(--color-footer);
    color: rgba(255, 255, 255, 0.92);
    padding-top: 56px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-column {
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.footer-logo span {
    color: #ffffff;
}

.footer-brand-text {
    color: rgba(255, 255, 255, 0.82);
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-column h3 {
    color: #ffffff;
    margin: 0 0 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin: 0 0 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    opacity: 0.82;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.42);
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 44px;
    padding: 20px 0 24px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.footer-bottom a {
    color: #ffffff;
}

.footer-bottom a:hover {
    opacity: 0.85;
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-only { display: none; }

@media (max-width: 1024px) {
    .services-grid,
    .reviews-grid,
    .area-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 86px 0 72px;
    }

    .hero--page {
        padding: 120px 0 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
    }


    .services-grid,
    .reviews-grid,
    .area-list {
        grid-template-columns: 1fr;
    }

    /* Mobile header layout */
    .header-inner {
        min-height: 34px;
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0;
    }

    .site-logo {
        width: 50%;
    }

    .site-logo img {
        width: 60%;
        height: auto;
    }

    .hamburger {
        display: flex;
        border: 1px solid rgba(18, 49, 68, 0.18);
        border-radius: 4px;
        padding: 6px;
    }

    .desktop-only {
        display: none;
    }

    .site-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        padding: 100px 32px 32px;
        z-index: 999;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .site-nav.nav-open {
        display: block;
        animation: navSlideIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes navSlideIn {
        from {
            opacity: 0;
            transform: translateY(-12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1.5px solid rgba(18, 49, 68, 0.15);
        border-radius: 50%;
        background: transparent;
        color: var(--color-text);
        cursor: pointer;
        transition: background 0.18s, color 0.18s;
    }

    .nav-close:hover {
        background: var(--color-primary-light);
        color: var(--color-primary-dark);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        background: none;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
        box-shadow: none;
    }

    .nav-list > li > a:not(.btn) {
        display: block;
        padding: 14px 20px;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--color-text);
        border-radius: 999px;
        border-bottom: none;
        background: rgba(18, 49, 68, 0.06);
        margin-bottom: 8px;
    }

    .nav-list > li > .btn {
        margin-bottom: 8px;
    }


    .nav-list a::after {
        display: none;
    }

    .mobile-only {
        display: none;
    }

    /* Mobile dropdown — always visible as a sub-list */
    .nav-dropdown .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: none;
        padding: 0 0 4px 16px;
        min-width: 0;
    }

    .dropdown-menu a {
        padding: 10px 0;
        font-size: 1rem;
        font-weight: 400;
        color: var(--color-text);
        border-bottom: none;
    }

    .site-nav .nav-list > li > a:hover,
    .site-nav .dropdown-menu a:hover {
        color: var(--color-text);
        background: none;
    }

    .google-badge {
        margin-top: 175px;
    }

    .reviews-summary {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .reviews-summary-divider {
        display: none;
    }

    .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-logo {
        font-size: 1.7rem;
    }

    .footer-column h3 {
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(94%, var(--max-width));
    }

    h1 {
        font-size: 2.15rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}