/* shared.css - rules present on every page (design system, reset, layout, @font-face) */

/* vietnamese */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/barlow-300-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/barlow-300-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/barlow-300-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-500-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-500-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-500-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-600-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-condensed-400-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-condensed-400-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-condensed-400-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/barlow-condensed-600-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-vietnamese.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-latin-ext.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-latin.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    /* Normalize scrolling on EVERY page so the centered nav/footer never
       shift when switching pages: clip horizontal overflow at the root,
       and always keep the vertical scrollbar so the content width is
       constant whether or not a page scrolls. (index.html previously set
       overflow-x:hidden on <body> and services.html didn't, which moved
       the scrollbar between the two pages.) */
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Jumping to the hero quote form (e.g. CTA buttons → #hero-form) lands ~100px
   down so the form's top clears the fixed header instead of being cut off. */
#hero-form {
    scroll-margin-top: 100px;
}


.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
}

.nav-logo img {
    height: 76px;
    width: auto;
    display: block;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}


.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}


/* Hamburger toggle — hidden on desktop, revealed at ≤1024px in
   responsive.css (must stay in sync with the 1025px breakpoint in nav.js).
   Three bars morph into an X when the menu is open (the .nav-open class is
   set on <nav> by assets/js/nav.js). */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #0f1b2d;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.form-field {
    margin-bottom: 14px;
}

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

.service-link:hover {
    gap: 10px;
}


.social-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}


.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e6ebf2;
    margin-bottom: 28px;
}


.footer-logo {
    display: inline-block;
    line-height: 0;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 72px;
    width: auto;
    display: block;
}


.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}


/* ============================================================
   NAV + FOOTER — visual styling (SINGLE SOURCE for every page)
   Moved here out of index.css / services.css so the header and footer
   render identically on all pages. Uses explicit colors, not page
   tokens, because index.css and services.css define different token
   sets (index's --gold === services' oklch(0.623 0.214 259.815), etc.). Structure lives
   above (.nav-inner, .footer-top, …); @media tweaks in responsive.css.
   ============================================================ */

/* --- Nav bar ---
   Sits in the page flow (position:relative) so it takes up space and the hero
   starts below it (hero min-height = calc(100vh - nav height)). Once scrolled
   past, assets/js/nav.js adds `.is-stuck` → position:fixed with a slide-down
   reveal, and sets a matching padding-top on <body> so the page doesn't jump
   when the nav leaves the flow. */
nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e6ebf2;
    box-shadow: 0 1px 0 rgba(7, 17, 27, 0.04);
    padding: 0 24px;
}

/* Pinned to the top once scrolled past (toggled in nav.js), with a slide-down
   reveal and a slightly stronger shadow to lift it off the page. */
nav.is-stuck {
    position: fixed;
    box-shadow: 0 4px 16px rgba(7, 17, 27, 0.08);
    animation: navSlideDown 0.3s ease;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4a6a8a;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: oklch(0.623 0.214 259.815);
}

.nav-phone {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: oklch(0.623 0.214 259.815);
    text-decoration: none;
}

/* --- Services dropdown (desktop). Mobile/accordion overrides in
   responsive.css; caret toggle behaviour in assets/js/nav.js. --- */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: none;
    border: 0;
    color: #4a6a8a;
    cursor: pointer;
}

.nav-caret {
    transition: transform 0.2s ease;
}

.nav-submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: -12px;
    margin-top: 18px;
    min-width: 232px;
    padding: 8px 0;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 6px;
    box-shadow: 0 16px 32px rgba(7, 17, 27, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 101;
}

/* Invisible bridge across the gap so the menu stays open while the
   cursor travels from "Services" down to the panel. */
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret,
.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-submenu a {
    display: block;
    padding: 10px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4a6a8a;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-submenu a:hover {
    background: #f3f6fa;
    color: oklch(0.623 0.214 259.815);
}

/* Free Quote button. Scoped to the nav (0-2-0) so it overrides each
   page's own base .btn — index and services size .btn differently —
   and looks identical everywhere. Body buttons are untouched. */
.nav-cta .btn--gold {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid oklch(0.623 0.214 259.815);
    background: oklch(0.623 0.214 259.815);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-cta .btn--gold:hover {
    background: oklch(0.488 0.243 264.376);
    border-color: oklch(0.488 0.243 264.376);
    transform: translateY(-1px);
}

/* --- Footer (light) --- */
footer {
    background: #ffffff;
    border-top: 1px solid #e6ebf2;
    padding: 64px 0 32px;
    color: #1a2f4a;
    /* Pin line-height so footer text doesn't inherit each page's
       differing body line-height (index 1.65 vs services 1.6). */
    line-height: 1.6;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #4a6a8a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-line {
    font-size: 0.85rem;
    color: #1a2f4a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-line a {
    color: oklch(0.623 0.214 259.815);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-line a:hover {
    color: oklch(0.488 0.243 264.376);
}

.footer-col-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #4a6a8a;
    margin-bottom: 18px;
}

.footer-nav a {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a2f4a;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav a::before {
    content: '›';
    color: oklch(0.623 0.214 259.815);
    font-size: 1rem;
}

.footer-nav a:hover {
    color: oklch(0.623 0.214 259.815);
}

.footer-copy {
    font-size: 0.9rem;
    color: #4a6a8a;
}

.social-btn {
    width: 40px;
    height: 40px;
    background: #f3f6fa;
    border: 1px solid #e6ebf2;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #1a2f4a;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-btn:hover {
    border-color: oklch(0.623 0.214 259.815);
    color: oklch(0.623 0.214 259.815);
    background: #ffffff;
}


/* --- Location map section ("Find Us") — single source for every page,
   rendered via partials/map.njk. Explicit colors (not page tokens) so it
   looks identical on index.html and services.html. --- */
.map-section {
    padding: 72px 24px;
    background: #ffffff;
}

.map-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.map-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: #1a2f4a;
    margin-bottom: 32px;
}

.map-embed {
    width: 100%;
    height: 420px;
    background: #ffffff;
    border: 1px solid #c8d9ee;
    border-radius: 8px;
    overflow: hidden;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* --- Certification badge logo (I-CAR / DuPont / BBB) — shared by both
   pages: index uses it inside .cert-badge, services inside .cert-item. --- */
.cert-badge-icon {
    height: 64px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge-icon img {
    max-height: 64px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
}


/* --- About-section photo — shared by both pages: fills the .about-photo
   box (each page styles the box itself with its own tokens). --- */
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}


/* ============================================================
   QUOTER MODAL — reusable "Instant Quote" overlay
   Markup: index.html (#quoter-modal). Behavior: assets/js/quoter.js.
   Self-contained colors so it drops onto any page regardless of that
   page's design tokens. Override --quoter-accent to retint the icon.
   ============================================================ */
.quoter-modal {
    --quoter-accent: oklch(0.623 0.214 259.815);
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* The HTML `hidden` attribute must win over display:flex above. */
.quoter-modal[hidden] {
    display: none;
}

.quoter-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 896px;
    max-height: 95vh;
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    animation: quoter-fade-in-up 0.25s ease-out;
}

.quoter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f1f1;
}

.quoter-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quoter-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    background: var(--quoter-accent);
    color: #ffffff;
}

.quoter-title {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #0f1b2d;
}

.quoter-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: #334155;
    background: #f1f1f1;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.quoter-close:hover {
    background: #e2e2e2;
}

.quoter-body {
    height: 75vh;
    background: #f9fafb;
}

.quoter-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@keyframes quoter-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── REVIEWS (shared "What Our Customers Say" partial) ──────────────────────
   Included on the homepage AND every service page. Those pages use DIFFERENT
   design-token sets, so this block uses EXPLICIT values (not var(--…)) and
   sets its own padding, so the section renders identically everywhere. */
#reviews {
    background: #F4F6F9;
    padding: 96px 24px;
}

#reviews .container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1.5px solid #E8ECF2;
    border-radius: 10px;
    padding: 14px 20px;
}

.rating-score {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #0B1F3A;
}

.rating-stars {
    color: oklch(0.623 0.214 259.815);
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-label {
    font-size: 14px;
    color: #4A5A6B;
}

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

.review-card {
    background: #FFFFFF;
    border: 1.5px solid #E8ECF2;
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow .2s;
}

.review-card:hover {
    box-shadow: 0 4px 24px rgba(11, 31, 58, 0.12);
}

.review-stars {
    color: oklch(0.623 0.214 259.815);
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 16px;
    color: #4A5A6B;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0B1F3A;
    letter-spacing: 0.06em;
}

.reviews-footer {
    text-align: center;
    margin-top: 32px;
}

.reviews-more {
    display: inline-block;
    padding: 11px 24px;
    border-radius: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0B1F3A;
    border: 2px solid #0B1F3A;
    transition: all .22s ease;
}

.reviews-more:hover {
    background: #0B1F3A;
    color: #FFFFFF;
}

/* ── FAQ accordion (shared structure — same on the homepage and service pages) ──
   Explicit hex so it renders identically regardless of each page's tokens. The
   homepage keeps its own #faq overrides in index.css (more specific → homepage
   unaffected); service pages style their FAQ entirely from here. Service-page
   tweaks (single column, centered) live in services.css. */
.faq-header {
    margin-bottom: 52px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
}

.faq-item {
    border-bottom: 1px solid #c8d9ee;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    color: #1a2f4a;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.faq-question:hover {
    color: oklch(0.623 0.214 259.815);
}

.faq-icon {
    width: 24px;
    height: 24px;
    background: #eef3fa;
    border: 1px solid #c8d9ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    color: oklch(0.623 0.214 259.815);
    transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(59, 130, 246, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 0 22px;
    font-size: 1rem;
    color: #4a6a8a;
    line-height: 1.72;
}
