/*
Theme Name: Smith & Son's Mobile Homes
Theme URI: https://smithandsonshomes.com
Author: The Agncy Media
Description: Brand-new Fleetwood manufactured homes, placed on your land in Northeast Georgia — with the real price up front and none of the dealership markup. Lead-generation site. Archetype: The Outlaw.
Version: 1.5.0
License: GNU General Public License v2 or later
Text Domain: smithandsons
*/

/* ============================================================
   BRAND SYSTEM — from the build spec
   - Brand Black #090909  → primary background / canvas
   - Brand Red   #CC1100  → accent. ONE red moment per screen:
                            the price, the call-out, OR the CTA.
                            NEVER decoration.
   - Brand White #FFFFFF  → headlines + REAL NUMBERS (never gray-mush)
   - Display : Oswald 700 ITALIC  (all headlines)
   - Body    : SF Pro → system stack
   The one rule that governs the whole site: THE PRICE GOES FIRST.
   ============================================================

   ── The "one red moment" convention used in this build ──
   * Most pages: the CTA button is the red moment.
   * Model detail page: the FULL-INSTALL price is the red moment;
     the CTA there uses the outline/white treatment instead.
   Do not add a second red element to any single screen.
   ============================================================ */

:root {
    --brand-black: #090909;
    --brand-red:   #CC1100;
    --brand-white: #FFFFFF;

    /* Neutral ramp — structure only, never used for real numbers. */
    --charcoal:   #141414;
    --surface:    #161616;
    --line:       #2A2A2A;
    --mid-gray:   #6E6E6E;
    --pale-gray:  #B4B4B4;
    --off-white:  #ECECEC;

    --color-bg:      var(--brand-black);
    --color-surface: var(--surface);
    --color-line:    var(--line);
    --color-text:    var(--pale-gray);
    --color-heading: var(--brand-white);
    --color-accent:  var(--brand-red);

    --font-display: "Oswald", "Oswald Fallback", Impact, "Haettenschweiler", sans-serif;
    --font-body:    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

    /* Type scale — web translations of the brand kit's print scale. */
    --fs-display: clamp(2.5rem, 6vw, 4.5rem);
    --fs-h1:      clamp(1.75rem, 3.5vw, 2.5rem);
    --fs-h2:      1.25rem;
    --fs-body:    1.0625rem;            /* 17px base */

    --container-max: 1240px;
    --measure:       680px;

    --pad-section-y: clamp(64px, 9vw, 120px);
    --pad-x:         5%;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    background: var(--color-bg);
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Headlines: Oswald, 700, italic, tight & loud ── */
h1, h2, h3,
.display,
.site-header__wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    color: var(--color-heading);
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

.display { font-size: var(--fs-display); }

p { max-width: var(--measure); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

strong { color: var(--color-heading); font-weight: 700; }
em { font-style: italic; }

/* Real numbers — white, never gray. */
.num { color: var(--brand-white); font-variant-numeric: tabular-nums; }

::selection { background: var(--brand-red); color: var(--brand-white); }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.section { padding: var(--pad-section-y) var(--pad-x); }
.section--surface { background: var(--color-surface); }
.section--hairline { border-top: 1px solid var(--color-line); }

.section__inner,
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    width: 100%;
}

.section__head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 860px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--color-text); margin-top: 16px; font-size: 1.125rem; }
.section__head--center p { margin-inline: auto; }

.kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pale-gray);
    margin-bottom: 18px;
}
.kicker--red { color: var(--brand-red); }       /* use sparingly — counts as the red moment */

/* ============================================================
   BUTTONS — .btn-primary is the red moment on most screens
   ============================================================ */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 1.05rem;
    padding: 16px 30px;
    border-radius: 2px;
    transition: transform 0.15s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--brand-white);
}
.btn-primary:hover { transform: translateY(-2px); background: #e01400; }

/* Outline / white treatment — used where the PRICE is already the red moment. */
.btn-outline {
    background: transparent;
    color: var(--brand-white);
    border-color: var(--brand-white);
}
.btn-outline:hover { background: var(--brand-white); color: var(--brand-black); transform: translateY(-2px); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ============================================================
   SCROLL-REVEAL (GPU; respects reduced-motion)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: translate3d(0,0,0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9,9,9,0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px var(--pad-x);
    gap: 24px;
}
.site-header__wordmark {
    font-size: 1.3rem;
    color: var(--brand-white);
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}
.site-header__wordmark span { color: var(--brand-red); } /* the apostrophe-S accent — header's single red mark */

/* Brand logo (badge) — shown when assets/images/logo.* exists. */
.site-header__brand { display: flex; align-items: center; }
.site-header__logo { height: 54px; width: auto; display: block; }

.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.site-header__menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--off-white);
    transition: color 0.15s var(--ease);
}
.site-header__menu a:hover { color: var(--brand-white); }

.site-header__cta {
    background: var(--brand-red);
    color: var(--brand-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 11px 20px;
    border-radius: 2px;
    transition: transform 0.15s var(--ease), background 0.2s var(--ease);
}
.site-header__cta:hover { transform: translateY(-1px); background: #e01400; }

.site-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.site-header__toggle span {
    width: 26px; height: 2px; background: var(--brand-white); display: block;
}

/* Mobile drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    background: var(--brand-black);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 24px var(--pad-x);
    visibility: hidden;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.mobile-drawer__close {
    align-self: flex-end;
    background: none; border: 0; cursor: pointer;
    width: 40px; height: 40px; position: relative;
}
.mobile-drawer__close span {
    position: absolute; left: 8px; top: 19px; width: 24px; height: 2px; background: var(--brand-white);
}
.mobile-drawer__close span:first-child { transform: rotate(45deg); }
.mobile-drawer__close span:last-child { transform: rotate(-45deg); }
.mobile-drawer__inner { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.mobile-drawer .site-header__menu { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
.mobile-drawer .site-header__menu a { font-size: 1.5rem; font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; padding: 10px 0; }
.mobile-drawer__cta {
    margin-top: 24px;
    background: var(--brand-red);
    color: var(--brand-white);
    font-family: var(--font-display);
    font-weight: 700; font-style: italic; text-transform: uppercase;
    text-align: center;
    padding: 16px; border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: clamp(60px, 11vw, 140px) var(--pad-x) clamp(56px, 9vw, 110px);
    border-bottom: 1px solid var(--color-line);
}
.hero__inner { max-width: var(--container-max); margin-inline: auto; }
.hero h1 { font-size: var(--fs-display); max-width: 16ch; }
.hero p { font-size: 1.2rem; color: var(--off-white); margin-top: 24px; max-width: 60ch; }
.hero__small {
    margin-top: 28px;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pale-gray);
}
.hero__breadcrumb {
    display: flex; gap: 10px; align-items: center;
    font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase;
    color: var(--mid-gray); margin-bottom: 22px;
}
.hero__breadcrumb a:hover { color: var(--brand-white); }

/* ============================================================
   PROOF BLOCKS / GENERIC 3-UP
   ============================================================ */
.proof-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.proof {
    border: 1px solid var(--color-line);
    padding: 28px;
    border-radius: 3px;
    background: var(--color-surface);
}
.proof h3 { margin-bottom: 12px; }
.proof p { color: var(--color-text); }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { border-top: 2px solid var(--color-line); padding-top: 18px; } /* neutral hairline — red is reserved for price/call-out/CTA, never decoration */
.step__num {
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    color: var(--brand-white); font-size: 2rem; display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--color-text); }

/* Local trust strip */
.trust-strip {
    text-align: center;
    padding: clamp(36px, 6vw, 64px) var(--pad-x);
    border-block: 1px solid var(--color-line);
    background: var(--color-surface);
}
.trust-strip p { margin-inline: auto; font-size: 1.15rem; color: var(--off-white); max-width: 60ch; }

/* ============================================================
   HOME CARDS (browse grid + teaser)
   ============================================================ */
.homes-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.home-card {
    position: relative;
    display: flex; flex-direction: column;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-surface);
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
/* "Most Popular" call-out (the red moment on that card). */
.home-card__badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--brand-red); color: var(--brand-white);
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem;
    padding: 6px 12px; border-radius: 2px;
}
.model-badge {
    display: inline-block; margin-bottom: 12px;
    background: var(--brand-red); color: var(--brand-white);
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem;
    padding: 6px 14px; border-radius: 2px;
}
.home-card:hover { border-color: var(--brand-white); transform: translateY(-3px); }
.home-card__media { aspect-ratio: 4 / 3; background: #0d0d0d; overflow: hidden; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; }
.home-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.home-card__name { font-size: 1.35rem; }
.home-card__spec { font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pale-gray); }

/* Price first: single full-setup-included price leads the card. */
.home-card__prices { display: flex; flex-direction: column; gap: 4px; }
.home-card__price {
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    color: var(--brand-white);                 /* real number — white, never gray */
    font-size: 1.9rem; line-height: 1;
}
.price-note { font-size: 0.74rem; color: var(--mid-gray); line-height: 1.35; }

.home-card__btn {
    margin-top: auto;
    display: inline-block; text-align: center;
    border: 2px solid var(--brand-white);
    color: var(--brand-white);
    font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase;
    padding: 11px; border-radius: 2px;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.home-card:hover .home-card__btn { background: var(--brand-white); color: var(--brand-black); }

/* Browse filter bar (optional/no-JS friendly anchor) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; color: var(--pale-gray); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }

.midline { text-align: center; max-width: 64ch; margin: clamp(40px,6vw,64px) auto 0; color: var(--off-white); font-size: 1.15rem; }

/* Empty state */
.empty-state { text-align: center; padding: clamp(48px,8vw,96px) 0; }
.empty-state h2 { margin-bottom: 14px; }
.empty-state p { margin-inline: auto; color: var(--color-text); }

/* ============================================================
   MODEL DETAIL
   ============================================================ */
.model__spec-line {
    font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--pale-gray); margin-top: 16px;
}

/* Price block — the hero of the model page. Full-install is THE red moment here. */
.price-block {
    margin-top: 32px;
    border: 1px solid var(--color-line);
    border-left: 4px solid var(--brand-red);
    background: var(--color-surface);
    padding: 28px 30px;
    border-radius: 4px;
    max-width: 560px;
}
.price-block__starting { font-size: 0.95rem; color: var(--pale-gray); }
.price-block__starting .num { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.4rem; }
.price-block__install { margin-top: 14px; }
.price-block__install-label { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pale-gray); }
.price-block__install-val {
    font-family: var(--font-display); font-style: italic; font-weight: 700;
    color: var(--brand-red);                       /* THE red moment on the model page */
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    line-height: 1;
    display: block;
    margin-top: 4px;
}
.price-block__note { margin-top: 10px; font-size: 0.95rem; color: var(--off-white); font-style: italic; }
.price-block__disclaimer { margin-top: 8px; font-size: 0.8rem; color: var(--mid-gray); }

/* Gallery */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; background: #0d0d0d; }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 16/9; }

.floorplan { background: var(--brand-white); padding: 24px; border-radius: 4px; }
.floorplan img { margin-inline: auto; }
.floorplan .lightbox-trigger { display: block; cursor: zoom-in; }
.figure-caption { margin-top: 14px; color: var(--pale-gray); font-size: 0.95rem; font-style: italic; }

/* ── Model detail: slim header ── */
.model-header { padding: clamp(28px, 5vw, 48px) var(--pad-x) clamp(18px, 3vw, 28px); }
.model-header h1 { font-size: var(--fs-h1); margin-top: 6px; }

/* ── Model detail: media area (Zillow-style carousel) ── */
.model-media { padding: 0 var(--pad-x) clamp(28px, 5vw, 48px); }

.carousel { position: relative; max-width: 1040px; margin-inline: auto; }
/* The track IS the horizontal scroller — native swipe/scroll + snap. */
.carousel__track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    background: #0d0d0d;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox */
}
.carousel__track::-webkit-scrollbar { display: none; } /* WebKit */
.carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: block;
}
.carousel__slide[hidden] { display: none; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.carousel__slide--tour { cursor: default; }
.carousel__slide--tour iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Prev / next */
.carousel__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(9,9,9,0.6); color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.35);
    font-size: 1.6rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s var(--ease);
}
.carousel__nav:hover { background: var(--brand-red); border-color: var(--brand-red); }
.carousel__nav--prev { left: 14px; }
.carousel__nav--next { right: 14px; }

/* Dots */
.carousel__dots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--line); transition: background 0.2s var(--ease); }
.carousel__dot.is-active { background: var(--brand-red); }

/* (legacy) static render grid — kept for any non-carousel use */
.model-gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.model-gallery .lightbox-trigger { display: block; cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.model-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #0d0d0d; transition: transform 0.3s var(--ease); }
.model-gallery .lightbox-trigger:hover img { transform: scale(1.04); }

/* Responsive Matterport tour embed (16:9) */
.tour-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0d0d0d; border-radius: 4px; overflow: hidden; }
.tour-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Lightbox overlay */
.lightbox {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(0,0,0,0.93);
    display: none; align-items: center; justify-content: center;
    padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 95vw; max-height: 90vh; border-radius: 3px; }
.lightbox__close {
    position: absolute; top: 18px; right: 24px;
    background: none; border: 0; color: var(--brand-white);
    font-size: 2.5rem; line-height: 1; cursor: pointer;
}

/* Specs table + full-install includes */
.specs-table { width: 100%; border-collapse: collapse; max-width: 640px; }
.specs-table th, .specs-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.specs-table th { color: var(--pale-gray); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.8rem; width: 45%; }
.specs-table td { color: var(--brand-white); }

.includes-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.includes-list li { display: flex; gap: 12px; align-items: baseline; color: var(--off-white); }
.includes-list li::before { content: "\2192"; color: var(--brand-white); font-weight: 700; }

.blurb { max-width: 64ch; font-size: 1.2rem; color: var(--off-white); }

/* ============================================================
   VERSUS TABLE (Why No Markup)
   ============================================================ */
.versus { width: 100%; border-collapse: collapse; }
.versus th {
    font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase;
    font-size: 1.1rem; padding: 18px 20px; text-align: left; border-bottom: 2px solid var(--color-line);
}
.versus th.versus__ours { color: var(--brand-white); }
.versus th.versus__theirs { color: var(--mid-gray); }
.versus td { padding: 16px 20px; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.versus td.versus__ours { color: var(--off-white); }
.versus td.versus__theirs { color: var(--mid-gray); }
.versus tr td.versus__ours { border-left: 3px solid var(--brand-red); } /* the red moment: our column */

.todo-block {
    border: 1px dashed var(--mid-gray);
    background: var(--color-surface);
    padding: 24px; border-radius: 4px; margin-top: 32px; color: var(--pale-gray);
}
.todo-block strong { color: var(--brand-white); }

/* ============================================================
   COUNTIES (Service Area + footer)
   ============================================================ */
.counties { list-style: none; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.county { border: 1px solid var(--color-line); padding: 22px; border-radius: 4px; background: var(--color-surface); }
.county h3 { margin-bottom: 8px; }
.county p { color: var(--color-text); }
.county a:hover h3 { color: var(--brand-white); }

/* ============================================================
   LEAD FORM
   ============================================================ */
.leadform-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.leadform { border: 1px solid var(--color-line); background: var(--color-surface); padding: clamp(24px,4vw,40px); border-radius: 6px; }
/* GHL embed: drop the dark card chrome so the form controls its own look. */
.leadform--embed { padding: 0; border: 0; background: transparent; border-radius: 8px; overflow: hidden; }
.leadform--embed iframe { display: block; width: 100%; min-height: 886px; }
.leadform__head h2 { margin-bottom: 10px; }
.leadform__head p { color: var(--off-white); font-style: italic; margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pale-gray); }
.field label .req { color: var(--brand-red); }
.field input,
.field select,
.field textarea {
    background: var(--brand-black);
    border: 1px solid var(--color-line);
    color: var(--brand-white);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 13px 14px;
    border-radius: 3px;
    width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--brand-white); }
.field textarea { min-height: 110px; resize: vertical; }

.leadform__submit {
    width: 100%;
    background: var(--brand-red);
    color: var(--brand-white);
    font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase;
    font-size: 1.2rem;
    padding: 17px; border: 0; border-radius: 3px; cursor: pointer; margin-top: 6px;
    transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.leadform__submit:hover { background: #e01400; transform: translateY(-2px); }

.leadform__success {
    display: none;
    border: 1px solid var(--brand-white);
    padding: 22px; border-radius: 4px; color: var(--off-white); font-size: 1.1rem;
}
.leadform__success.is-visible { display: block; }

.reassure { list-style: none; display: grid; gap: 22px; }
.reassure li { display: flex; gap: 12px; align-items: baseline; color: var(--off-white); font-size: 1.05rem; }
.reassure li::before { content: "\2192"; color: var(--brand-white); font-weight: 700; }
.phone-fallback { margin-top: 30px; color: var(--pale-gray); }
.phone-fallback strong { color: var(--brand-white); }

/* ============================================================
   CTA SECTION (closing)
   ============================================================ */
.cta { text-align: center; padding: clamp(64px,10vw,128px) var(--pad-x); border-top: 1px solid var(--color-line); }
.cta__inner { max-width: 760px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta p { margin: 20px auto 0; color: var(--off-white); font-size: 1.15rem; }
.cta .cta-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--color-line); padding: clamp(48px,7vw,80px) var(--pad-x) 32px; background: var(--brand-black); }
.site-footer__inner { max-width: var(--container-max); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer__wordmark { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 1.4rem; color: var(--brand-white); }
.site-footer__wordmark span { color: var(--brand-red); }
.site-footer__brandlink { display: inline-block; }
.site-footer__logo { width: 210px; max-width: 70%; height: auto; }
.site-footer__tagline { margin-top: 14px; color: var(--pale-gray); font-size: 0.95rem; }
.site-footer h4 { font-family: var(--font-display); font-style: italic; font-weight: 700; text-transform: uppercase; color: var(--brand-white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--pale-gray); }
.site-footer a:hover { color: var(--brand-white); }
.site-footer__counties { margin-top: 14px; color: var(--mid-gray); font-size: 0.9rem; }
.site-footer__legal { max-width: var(--container-max); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--color-line); color: var(--mid-gray); font-size: 0.85rem; }
.site-footer__legal a:hover { color: var(--brand-white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .proof-grid, .steps, .homes-grid, .gallery, .model-gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery__main { grid-column: 1 / -1; }
    .leadform-wrap { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .site-header__nav { display: none; }
    .site-header__toggle { display: flex; }
    .site-header__logo { height: 44px; }
    .proof-grid, .steps, .homes-grid, .counties, .gallery, .model-gallery, .site-footer__inner { grid-template-columns: 1fr; }
    .gallery__main { aspect-ratio: 4/3; }
    .versus thead { display: none; }
    .versus, .versus tbody, .versus tr, .versus td { display: block; width: 100%; }
    .versus tr { border-bottom: 1px solid var(--color-line); padding: 8px 0; }
    .versus td { border: 0; padding: 8px 0; }
    .versus td.versus__ours { border-left: 3px solid var(--brand-red); padding-left: 14px; }
    .versus td.versus__ours::before { content: "Our way: "; color: var(--pale-gray); font-weight: 700; }
    .versus td.versus__theirs::before { content: "The old way: "; color: var(--mid-gray); font-weight: 700; }
}
