/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #FFFFFF;
    --bg-alt: #F5F5F5;
    --dark: #111111;
    --text: #222222;
    --muted: #666666;
    --accent: #d8250b;
    --accent-dark: #aa0000;
    --accent-rgb: 216, 37, 11;
    --accent-2: #f8f8f8;
    --accent-2-dark: #cacaca;
    --white: #FFFFFF;
    --hero-overlay: linear-gradient(to right, rgba(0,0,0,0.88) 40%, rgba(0,0,0,0.25) 100%);
    --border: rgba(0,0,0,0.08);
    --shadow: 0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.18);
    --radius: 6px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--white); }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 0.95;
    color: var(--dark);
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-header h2 { font-size: clamp(32px, 4.5vw, 48px); }
.section-header p {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.7;
}
.section-header.align-left { text-align: left; margin-left: 0; }

/* ===== SCROLL-FADE ANIMATION ===== */
.anim-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.anim-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    padding: 15px 28px;
    white-space: nowrap;
    transition: var(--transition);
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--white { background: var(--white); color: var(--dark); }
.btn--white:hover { background: var(--bg-alt); transform: translateY(-2px); }
.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--block { width: 100%; }

/* ===== NAVIGATION ===== */
/* Transparent over the hero on load; solid white with dark text once scrolled past it. */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    height: 84px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.is-scrolled {
    background: #202020;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(16px, 4.2vw, 26px);
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav.is-scrolled .nav__logo { color: var(--white); text-shadow: none; }
.nav__logo-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Only show the text company name when there's no image logo (see .has-image-logo) */
.nav__logo.has-image-logo .nav__logo-text { display: none; }
/* Logo badge doesn't force a shape on real logo images — not every logo is a circle/square.
   Only the text-initial fallback (no logo uploaded, or the image failed to load) gets a circle chip. */
.nav__logo-badge {
    height: 56px;
    max-width: 220px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav__logo-badge img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.nav__logo-badge span {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
    background: rgba(255,255,255,0.16);
    transition: background-color 0.3s ease;
}
.nav.is-scrolled .nav__logo-badge span { background: rgba(255,255,255,0.14); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}
.nav__links > li { position: relative; }
.nav__links > li > a,
.nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-size: 15.5px;
    font-weight: 500;
    padding: 10px 14px;
    position: relative;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav.is-scrolled .nav__links > li > a,
.nav.is-scrolled .nav__link { color: var(--white); text-shadow: none; }
.nav__links > li > a::after,
.nav__link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__links > li > a:hover,
.nav__link:hover { color: var(--accent); }
.nav__links > li > a:hover::after,
.nav__link:hover::after,
.nav__links > li.is-open .nav__link::after { transform: scaleX(1); }
.nav__link svg { width: 10px; height: 10px; transition: transform 0.25s ease; }
.nav__links > li.has-dropdown:hover .nav__link svg,
.nav__links > li.is-open .nav__link svg { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav__links > li.has-dropdown:hover .dropdown,
.nav__links > li.has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 4px;
}
.dropdown li a:hover { background: var(--bg-alt); color: var(--accent); }

.nav__cta { flex-shrink: 0; }

.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: var(--transition), background-color 0.3s ease; }
/* The mobile toggle is only ever shown against the transparent (white icon) or
   is-scrolled (also forced open when the mobile menu itself is open — see main.js)
   nav backgrounds, both dark, so the icon stays white in both states. */
.nav.is-scrolled .nav__toggle span { background: var(--white); }
.nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 380px;
    background: var(--white);
    z-index: 99;
    padding: 100px 28px 40px;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav__mobile-backdrop.is-open { opacity: 1; visibility: visible; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.nav__mobile > ul > li > a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    font-size: 19px;
    font-weight: 600;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
}
.nav__mobile-sub { padding-left: 14px; display: none; }
.nav__mobile-sub.is-open { display: flex; }
.nav__mobile-sub li a { color: var(--muted); font-size: 15px; font-weight: 500; padding: 10px 4px; }
.nav__mobile .btn { width: 100%; }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark);
    clip-path: polygon(0 0, 100% 0, 100% 82%, 62% 82%, 38% 100%, 0 100%);
    padding-bottom: 110px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    padding: 90px 40px 60px;
}
.hero__headline {
    font-size: clamp(38px, 6vw, 80px);
    line-height: 0.95;
    color: var(--white);
    margin-bottom: 22px;
}
.hero__sub {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    color: rgba(255,255,255,0.88);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 34px;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__actions .btn { height: 52px; padding: 0 30px; }
/* Hero CTA gets a frosted-glass treatment instead of the solid accent fill used everywhere
   else — a translucent, blurred button that reads as "glass" against the photo background,
   with the accent color appearing as a glow around it only on hover/focus. */
.hero .btn--primary {
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--white);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.hero .btn--primary:hover,
.hero .btn--primary:focus-visible {
    background: rgba(255,255,255,0.22);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.4), 0 8px 30px rgba(var(--accent-rgb), 0.35);
    transform: translateY(-2px);
}
.hero__phone-label { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.hero__phone-number { font-family: var(--font-body); font-weight: 700; font-size: 24px; color: var(--white); }
.hero__phone-number:hover { color: var(--accent); }

.hero__social-proof { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__avatars { display: flex; flex-shrink: 0; }
.hero__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}
.hero__avatars .hero__avatar:first-child { margin-left: 0; }
.hero__avatar--google { z-index: 3; }
.hero__avatar--facebook { background: #1877F2; z-index: 2; }
.hero__avatar--thumbtack { background: #009FD9; z-index: 1; }
.hero__rating-value { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--white); }
.hero__rating-stars { color: #FBBC05; font-size: 11px; letter-spacing: 1px; }
.hero__rating-caption { font-size: 10.5px; color: rgba(255,255,255,0.6); }

/* ===== SHARED STATS BAR (hero + about page include this exact component) ===== */
.hero-stats__rule {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 0 0 24px;
}
.stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.stats-bar__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.stats-bar__item:first-child { padding-left: 0; }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    color: var(--accent);
    line-height: 1;
}
.stats-bar__label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* Light-background contexts (e.g. the About page, which sits on --bg not --dark)
   need dark-friendly label color instead of the hero's white-on-dark treatment. */
.about-stats-section .stats-bar__label { color: var(--muted); }
.about-stats-section .stats-bar__item { border-right-color: var(--border); }
.about-stats-section .stats-bar { justify-content: center; }
/* In the hero specifically, stat values go white to match the headline/CTA rather than
   the accent color used everywhere else this same component appears (e.g. About page). */
.hero .stats-bar__value { color: var(--white); }
/* The hero's 4 stats must always read as one line, never wrap into a stack — tighten
   the item spacing and keep labels from breaking onto a second line to make room. */
.hero .stats-bar { flex-wrap: nowrap; }
.hero .stats-bar__item { padding: 0 16px; white-space: nowrap; }
.hero .stats-bar__item:first-child { padding-left: 0; }

/* ===== ABOUT ===== */
.section-after-hero {
    margin-top: -80px;
    position: relative;
    z-index: 2;
    background: #ffffff;
}
.about { background: var(--bg); padding: 40px 0 110px; }
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.about__media { position: relative; padding: 12px 12px 0 0; }
.about__media::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent);
    border-radius: var(--radius);
    z-index: 0;
}
.about__media > img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
}
.about__media .ba-slider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 520px;
    aspect-ratio: auto;
    max-height: none;
    margin-top: 0;
    border-radius: var(--radius);
}
.about__content {
    text-align: right;
    padding-top: 8px;
}
.about__content h2 { font-size: clamp(32px, 4vw, 48px); }
.about__content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.75;
    margin: 20px 0 30px;
    margin-left: auto;
}
/* Stat rows now come from the shared .stats-bar component (see partials/stats-bar.html)
   included via                 <div class="stats-bar">
                    <div class="stats-bar__item">
                        <span class="stats-bar__value" data-count="10">10+</span>
                        <span class="stats-bar__label">Years Experience</span>
                    </div>
                    <div class="stats-bar__item">
                        <span class="stats-bar__value" data-count="40">40+</span>
                        <span class="stats-bar__label">Projects Completed</span>
                    </div>
                    <div class="stats-bar__item">
                        <span class="stats-bar__value" data-count="4.9" data-decimal="1">4.9</span>
                        <span class="stats-bar__label">Star Rating</span>
                    </div>
                    <div class="stats-bar__item">
                        <span class="stats-bar__value" data-count="20">20+</span>
                        <span class="stats-bar__label">Reviews</span>
                    </div>
                </div>
 — this is what fixed the about-stat color bug
   structurally: there's only one markup/CSS source for stat rows now. On the About page,
   the stats sit in a raised card pulled up with a negative margin so it straddles the
   boundary between the page-hero photo above and the plain section below — reads as
   floating above both rather than just being the top of the next section. */
.about-stats-section {
    background: transparent;
    padding: 0 0 60px;
    position: relative;
    z-index: 3;
    margin-top: -90px;
}
.about-stats-section .container {
    max-width: 900px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 36px 48px;
}

/* ===== SERVICES (corner-to-corner photos, text on the opposite side every time) =====
   Each row is a photo column + a text column, each exactly half the row's width, with zero
   gap between them and zero gap between rows. Alternating which side the photo sits on
   (nth-child(even) reverses it) means the photo's corner always lands exactly on the column
   boundary — so image 1's bottom-right corner sits at the same point as image 2's top-left,
   then image 2's bottom-left matches image 3's top-right, and so on. No JS needed: as long as
   both columns stay exactly 50/50, the touch holds at any width. Text always ends up on
   the side opposite whichever side that row's photo landed on. */
.services { background: var(--bg-alt); padding: 120px 0; }
.service-rows {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.service-row {
    display: flex;
    height: 440px;
}
.service-row:nth-child(even) { flex-direction: row-reverse; }
.service-row__media,
.service-row__content { width: 50%; flex-shrink: 0; height: 100%; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-row__content {
    background: var(--bg);
    padding: 48px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.service-row__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.service-row__content h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.service-row__content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.service-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}
.service-link:hover { color: var(--accent-dark); }

/* ===== BEFORE/AFTER SLIDER (shared, used within About) ===== */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 640px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    margin-top: 56px;
}
.ba-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.ba-slider__before { z-index: 1; }
.ba-slider__after { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-slider__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--white);
    z-index: 3;
    transform: translateX(-50%);
}
.ba-slider__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--dark);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.ba-slider__label {
    position: absolute;
    top: 18px;
    z-index: 3;
    background: rgba(17,17,17,0.7);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 7px 16px;
    border-radius: 999px;
}
.ba-slider__label--before { right: 18px; }
.ba-slider__label--after { left: 18px; }

/* ===== WHY CHOOSE US =====
   A photo + numbered list instead of a grid of icon-in-a-circle cards — that pattern reads
   as generic/AI-template no matter how it's styled. Numbers reuse the same display-font
   treatment as .process-step__num elsewhere in the site for visual consistency. */
.why { background: var(--bg); padding: 120px 0; }
.why__layout {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 72px;
    align-items: center;
}
.why__media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: var(--radius);
}
.why__content .section-header,
.why__content .eyebrow { text-align: left; margin: 0 0 8px; max-width: none; }
.why__content h2 { margin-bottom: 32px; }
.why__list { display: flex; flex-direction: column; }
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}
.why__list .why-item:last-child { border-bottom: 1px solid var(--border); }
.why-item__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 28px;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}
.why-item__body h3 { font-size: 18px; margin-bottom: 6px; }
.why-item__body p {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== PROJECTS GALLERY ===== */
.projects { background: var(--dark); padding: 120px 0; }
.projects .eyebrow { color: var(--accent); }
.projects h2 { color: var(--white); font-size: clamp(30px, 4.5vw, 48px); }
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.project-card {
    position: relative;
    height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
}
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover img { transform: scale(1.06); }
.project-card.is-hidden { display: none; }
.project-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 22px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.project-card:hover .project-card__overlay { transform: translateY(0); opacity: 1; }
.project-card__overlay h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 4px;
}
.project-card__overlay span {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: rgba(255,255,255,0.75);
    text-transform: none;
}

/* ===== PORTFOLIO SLIDER (homepage teaser only — /projects/ keeps the full static grid) =====
   Same track+transform technique as the reviews carousel below: a flex track wider than its
   wrapper, moved with translateX, three cards visible at a time on desktop. */
.projects__slider-wrap { overflow: hidden; margin-top: 56px; }
.projects__track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.projects__track .project-card { flex: 0 0 calc((100% - 56px) / 3); }
.projects__dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.projects__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}
.projects__dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ===== PROCESS ===== */
.process { background: var(--bg-alt); padding: 120px 0; }
.process__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 56px;
    position: relative;
}
.process-step { position: relative; text-align: center; padding: 0 8px; }
.process-step::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 30px);
    right: calc(-50% + 30px);
    height: 1px;
    background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-step__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 42px;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.55;
}

/* ===== REVIEWS ===== */
.reviews { background: var(--bg-alt); padding: 120px 0; }
.reviews__track-wrap { overflow: hidden; }
.reviews__track {
    display: flex;
    gap: 28px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-card {
    flex: 0 0 calc(33.333% - 19px);
    background: var(--white);
    border-radius: 16px;
    padding: 26px 26px 22px;
    position: relative;
}
.review-card__google { position: absolute; top: 24px; right: 24px; }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 26px; }
.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.review-card__meta { flex: 1; min-width: 0; }
.review-card__name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-transform: none;
    color: var(--dark);
}
.review-card__sub { font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.review-card__service {
    display: inline-block;
    margin-top: 6px;
    background: var(--bg-alt);
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: none;
    padding: 3px 10px;
    border-radius: 999px;
}
.review-card__service:empty { display: none; }
.review-card__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.review-card .stars { color: #FBBC05; font-size: 15px; letter-spacing: 2px; }
.review-text {
    font-family: var(--font-body);
    font-weight: 400;
    text-transform: none;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-card.is-expanded .review-text { -webkit-line-clamp: unset; overflow: visible; }
.review-card__more {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}
.review-card__more:hover { color: var(--dark); }
.reviews__dots { display: none; justify-content: center; gap: 8px; margin-top: 28px; }
.reviews__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: var(--transition); }
.reviews__dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ===== FAQ ===== */
.faq { background: var(--bg); padding: 120px 0; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1.5px solid var(--dark); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 24px 4px;
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 600;
    color: var(--dark);
}
.faq-q__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-a p {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 4px 22px;
}

/* ===== SERVICE AREAS ===== */
.areas { background: var(--dark); padding: 100px 0; }
.areas .eyebrow { color: var(--accent); }
.areas h2 { color: var(--white); }
.areas__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 44px;
}
.area-pill {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 999px;
    transition: var(--transition);
}
.area-pill:nth-child(3n+2) { background: var(--accent-2); }
.area-pill:hover { background: var(--accent-dark); }
.areas__map {
    margin-top: 48px;
    border-radius: var(--radius);
    overflow: hidden;
}
.areas__map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* ===== FINAL CTA ===== */
.final-cta { background: var(--accent); padding: 110px 0; text-align: center; }
.final-cta h2 {
    color: var(--white);
    font-weight: 900;
    font-size: clamp(36px, 6vw, 64px);
    margin-bottom: 20px;
}
.final-cta p {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.final-cta__actions { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ===== MARQUEE ===== */
.marquee { background: var(--dark); overflow: hidden; padding: 18px 0; }
.marquee__track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}
.marquee__item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
    padding: 0 28px;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.15);
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 90px 0 0; }
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}
.footer__logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}
.footer__tagline {
    font-family: var(--font-body);
    font-size: 14.5px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 300px;
}
.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer__col a, .footer__col li a {
    display: block;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

/* ===== NAV ACTIVE PAGE ===== */
.nav__links > li > a.is-active,
.nav__link.is-active,
.dropdown li a.is-active {
    color: var(--accent);
}
.nav__links > li > a.is-active::after {
    transform: scaleX(1);
}
.nav__mobile > ul > li > a.is-active,
.nav__mobile-sub li a.is-active {
    color: var(--accent);
}

/* ===== INTERIOR PAGE HERO (services hub, service detail, about, contact) ===== */
.page-hero {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: center;
    background: var(--dark) center/cover no-repeat;
    padding: 140px 0 70px;
}
.page-hero__overlay { position: absolute; inset: 0; background: var(--hero-overlay); }
.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.page-hero__content h1 {
    font-size: clamp(34px, 5.5vw, 60px);
    color: var(--white);
    margin: 10px 0 16px;
}
.page-hero__content p {
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 400;
    text-transform: none;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 26px;
}

/* ===== SERVICES HUB ===== */
.services-hub { background: var(--bg-alt); padding: 100px 0; }
.services-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}
.service-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1.5px solid transparent;
    overflow: hidden;
    transition: var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card__media img { width: 100%; height: 220px; object-fit: cover; }
.service-card__content { padding: 24px 26px 28px; }
.service-card__content h3 { font-size: 22px; margin-bottom: 10px; }
.service-card__content p {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
}
.service-card__link {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent);
}

/* ===== SERVICE TEASER (home page) ===== */
.services-teaser__more { text-align: center; margin-top: 48px; }

/* ===== WHAT'S INCLUDED (service detail) ===== */
.whats-included { background: var(--bg); padding: 100px 0; }
.whats-included__list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 32px;
}
.whats-included__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--text);
}
.whats-included__item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ===== DETAIL BEFORE/AFTER (service detail page) ===== */
.detail-ba { background: var(--bg-alt); padding: 100px 0; }
.detail-ba__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.detail-ba__content h2 { font-size: clamp(30px, 4vw, 44px); }
.detail-ba__content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.75;
    margin-top: 18px;
}

/* ===== LEAD FORM (service detail + contact pages) ===== */
.detail-form { background: var(--bg); padding: 100px 0; }
.lead-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lead-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.lead-form input,
.lead-form select {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: var(--white);
    transition: var(--transition);
}
.lead-form input:focus,
.lead-form select:focus { border-color: var(--accent); }

/* ===== OWNER BIO (about page) ===== */
.owner-bio { background: var(--bg); padding: 100px 0 0; }
.owner-bio__grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 64px;
    align-items: center;
}
.owner-bio__media img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
}
.owner-bio__content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.75;
    margin-top: 16px;
}

/* ===== CREDENTIALS (about page) ===== */
.credentials { background: var(--bg); padding: 40px 0 60px; }
.credentials__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.credential-badge {
    display: inline-flex;
    align-items: center;
    background: var(--bg-alt);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
}

/* ===== REVIEWS TEASER GRID (home page, no carousel) ===== */
.reviews-teaser__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== CONTACT PAGE ===== */
.contact-section { background: var(--bg); padding: 100px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: start;
}
.contact-info h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.contact-info__phone,
.contact-info__email {
    display: block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}
.contact-info__phone:hover,
.contact-info__email:hover { color: var(--accent); }
.contact-info__hours {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}
.contact-info__hours h4 {
    font-size: 15px;
    margin-bottom: 8px;
}
.contact-info__hours p {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 400;
    text-transform: none;
    color: var(--muted);
    line-height: 1.7;
    white-space: pre-line;
}

/* ===== PROJECTS HUB (full portfolio page) ===== */
.projects-hub { background: var(--bg-alt); padding: 60px 0 120px; }
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.project-filter {
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    transition: var(--transition);
}
.project-filter:hover { border-color: var(--accent); color: var(--accent); }
.project-filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--white); }
.projects__grid--hub { margin-top: 0; }

/* ===== REVIEWS PAGE (full testimonials list) ===== */
.reviews-page { background: var(--bg-alt); padding: 100px 0; }

/* ===== AREA PAGE LOCAL INTRO TEXT ===== */
.local-intro { background: var(--bg); padding: 100px 0 20px; }

/* ===== AREAS WE SERVE HUB ===== */
.areas-hub { background: var(--bg); padding: 100px 0; }
.areas-hub__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 56px;
}
.area-hub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--bg-alt);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--dark);
    transition: var(--transition);
}
.area-hub-card svg { flex-shrink: 0; color: var(--accent); }
.area-hub-card:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .nav__logo { flex: 1; min-width: 0; }
    .project-card__overlay { transform: translateY(0); opacity: 1; }
    .projects__track .project-card { flex: 0 0 calc((100% - 28px) / 2); }
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__media img, .about__media .ba-slider { height: 380px; }
    .about__content { text-align: left; padding-top: 0; }
    .about__content p { margin-left: 0; }
    .why__layout { grid-template-columns: 1fr; gap: 36px; }
    .why__media img { height: 360px; }
    .projects__grid { grid-template-columns: 1fr 1fr; }
    /* Side-by-side photo/text columns get cramped on narrow screens, so each row stacks
       (photo on top, text below, both full-width) instead of sitting opposite each other. */
    .service-row, .service-row:nth-child(even) { flex-direction: column; height: auto; }
    .service-row__media, .service-row__content { width: 100%; }
    .service-row__media img { height: 260px; }
    .service-row__content { padding: 24px; }
    .service-rows { gap: 24px; }
    .process__grid { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
    .process-step::after { display: none; }
    .review-card { flex: 0 0 calc(50% - 14px); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .services-hub__grid { grid-template-columns: 1fr 1fr; }
    .whats-included__list { grid-template-columns: 1fr; }
    .detail-ba__grid { grid-template-columns: 1fr; gap: 40px; }
    .owner-bio__grid { grid-template-columns: 1fr; gap: 32px; }
    .owner-bio__media img { height: 320px; }
    .reviews-teaser__grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .areas-hub__grid { grid-template-columns: repeat(3, 1fr); }
    .about-stats-section { margin-top: -50px; }
    .about-stats-section .container { padding: 24px 20px; }
}

@media (max-width: 768px) {
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 70% 90%, 30% 100%, 0 100%);
        padding-bottom: 90px;
    }
    .projects__track .project-card { flex: 0 0 100%; }
    .stats-bar,
    .hero .stats-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
    .stats-bar__item,
    .hero .stats-bar__item {
        flex: 1 1 40%;
        border-right: none;
        padding: 0;
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .container { padding: 0 20px; }
    .nav__inner { padding: 0 20px; }
    .hero__content { padding: 90px 20px 70px; }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero__actions .btn { width: 100%; }
    .projects__grid { grid-template-columns: 1fr; }
    .why__media img { height: 260px; }
    .service-row__media img { height: 220px; }
    .process__grid { grid-template-columns: 1fr; gap: 28px; }
    .review-card { flex: 0 0 100%; }
    .stats-bar { justify-content: flex-start; }
    .final-cta__actions { flex-direction: column; }
    .final-cta__actions .btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; }
    .services-hub__grid { grid-template-columns: 1fr; }
    .reviews-teaser__grid { grid-template-columns: 1fr; }
    .areas-hub__grid { grid-template-columns: 1fr 1fr; }
    .about-stats-section { margin-top: -30px; }
    .about-stats-section .container { padding: 20px 16px; }
    .about-stats-section .stats-bar { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .about-stats-section .stats-bar__item { flex: 1 1 40%; border-right: none; padding: 0; }
}
