/* =========================================================
   DESIGN SYSTEM CSS VARIABLES & ROOT CONFIGURATION
========================================================= */

:root {
    --black: #050505;
    --black-soft: #0a0a0a;
    --surface: #101010;
    --surface-light: #151515;

    --white: #f4f3ee;
    --white-soft: #d8d6cf;
    --muted: #96948e;

    --gold: #ffc72c;
    --gold-dark: #c69214;

    --line: rgba(255,255,255,0.13);
    --line-soft: rgba(255,255,255,0.08);

    --max-width: 1440px;
    --header-height: 84px;
}


/* =========================================================
   GLOBAL CSS RESET & ACCESSIBILITY DEFAULTS
========================================================= */

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

html {
    scroll-behavior: smooth;
    background: var(--black);
}

section[id],
main[id],
#testimonials,
#calculator,
#portfolio,
#services,
#evaluation,
#faq,
#about,
#top {
    scroll-margin-top: calc(var(--header-height, 84px) + 20px);
}

body {
    background: var(--black);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

button {
    border: 0;
    cursor: pointer;
}

sup {
    font-size: 0.52em;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.28em;
    margin-left: 0.05em;
}

::selection {
    background: var(--gold);
    color: #000;
}


/* =========================================================
   SUBTLE FILM GRAIN OVERLAY TEXTURE
========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .045;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}


/* =========================================================
   LAYOUT UTILITY CLASSES
========================================================= */

.container {
    width: min(calc(100% - 64px), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 130px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    white-space: uppercase;

    color: var(--gold);
}

.eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
    font-size: clamp(3rem, 6vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.section-title em {
    color: var(--gold);
    font-style: normal;
}

.section-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--white-soft);
}

.gold {
    color: var(--gold);
}

.muted {
    color: var(--muted);
}


/* =========================================================
   ANIMATED LIQUID GOLD GRADIENT EFFECT (FOR 1% EMPHASIS)
========================================================= */

.liquid-percent,
.glowing-percent {
    display: inline-block;
    padding-left: 0.03em;
    padding-right: 0.08em;
    padding-bottom: 0.15em;
    margin-bottom: -0.1em;
    letter-spacing: -0.075em;
    margin-right: 0.08em;
    overflow: visible;
    vertical-align: baseline;
    color: transparent;
    background:
        radial-gradient(circle at 25% 30%, #fff5b8 0%, transparent 20%),
        radial-gradient(circle at 75% 70%, #fff 0%, transparent 17%),
        linear-gradient(120deg, #b87900, #ffc72c, #fff1a6, #d99b13, #ffc72c, #8f6200);
    background-size: 160% 160%, 180% 180%, 300% 300%;
    background-position: 0% 0%, 100% 100%, 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: liquidFlow 5s ease-in-out infinite, liquidGlow 2.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 8px rgba(255,199,44,.28)) drop-shadow(0 0 28px rgba(255,199,44,.12));
}

@keyframes liquidFlow {
    0% { background-position: 0% 0%, 100% 100%, 0% 50%; }
    25% { background-position: 50% 100%, 20% 20%, 100% 30%; }
    50% { background-position: 100% 50%, 0% 0%, 50% 100%; }
    75% { background-position: 30% 0%, 100% 70%, 0% 30%; }
    100% { background-position: 0% 0%, 100% 100%, 0% 50%; }
}

@keyframes liquidGlow {
    from { filter: drop-shadow(0 0 8px rgba(255,199,44,.22)) drop-shadow(0 0 18px rgba(255,199,44,.08)); }
    to { filter: drop-shadow(0 0 12px rgba(255,199,44,.45)) drop-shadow(0 0 34px rgba(255,199,44,.18)); }
}


/* =========================================================
   STICKY HEADER NAVIGATION STYLES
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1500;
    transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-header.scrolled {
    background: rgba(5,5,5,.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    width: min(calc(100% - 48px), 1500px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    z-index: 2501;
}

.logo-main {
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    color: var(--white);
}

.logo-main span {
    color: var(--gold);
}

.logo-sub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 4px;
    line-height: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.8vw, 26px);
}

.desktop-nav a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.92);
    transition: color .2s ease;
    white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold);
}

.desktop-nav .nav-cta {
    color: #000 !important;
    background: var(--gold);
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.desktop-nav .nav-cta:hover,
.desktop-nav .nav-cta.active {
    background: #ffd75e;
    box-shadow: 0 0 16px rgba(255,199,44,0.45);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2501;
}

.header-phone {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .05em;
    color: #ffffff;
    white-space: nowrap;
    transition: color .2s ease;
}

.header-phone:hover {
    color: var(--gold);
}

.header-cta {
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,199,44,.55);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,199,44,.08);
    color: var(--gold);
    transition: background .25s ease, transform .25s ease;
}

.header-cta:hover {
    background: var(--gold);
    color: #000;
}

.header-cta svg {
    width: 17px;
    height: 17px;
}

/* =========================================================
   INTERACTION: TACTILE TAP FEEDBACK
========================================================= */
.button:active,
.header-cta:active,
.portfolio-edge-arrow:active,
.testimonial-arrow:active,
.mobile-sticky-bar a:active,
.mobile-sticky-bar button:active {
    transform: scale(0.97) !important;
}


/* =========================================================
   MOBILE HAMBURGER MENU & DRAWER STYLES
========================================================= */

.mobile-menu-button {
    display: none;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2501;
    transition: background .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-button:hover {
    border-color: var(--gold);
}

.mobile-menu-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -0.75px;
    margin-left: -9.5px;
    width: 19px;
    height: 1.5px;
    background: var(--white);
    transform-origin: center;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), background .3s ease;
}

.mobile-menu-button span:first-child { transform: translateY(-4px); }
.mobile-menu-button span:last-child { transform: translateY(4px); }

.mobile-menu-button.active {
    border-color: rgba(255,199,44,.7);
    background: rgba(255,199,44,.12);
}

.mobile-menu-button.active span:first-child {
    transform: translateY(0) rotate(45deg);
    background: var(--gold);
}

.mobile-menu-button.active span:last-child {
    transform: translateY(0) rotate(-45deg);
    background: var(--gold);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: radial-gradient(circle at 80% 10%, rgba(255,199,44,.08), transparent 30%), #050505;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s cubic-bezier(0.16, 1, 0.3, 1), visibility .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-inner {
    width: 100%;
    height: 100%;
    padding: calc(var(--header-height, 72px) + 8px) 24px calc(16px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: clamp(42px, 5.6vh, 54px);
    border-bottom: 1px solid var(--line-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -.03em;
    color: var(--white);
    transition: color .2s ease;
}

.mobile-nav-links a:first-child { border-top: 1px solid var(--line-soft); }

.mobile-nav-links a::after {
    content: "\2197";
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: var(--gold);
}

.mobile-nav-links a.no-arrow::after {
    content: none;
    display: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--gold); }

.mobile-nav-bottom {
    padding-top: clamp(10px, 2vh, 18px);
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.6vh, 14px);
}

.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(44px, 5.5vh, 48px);
    padding: 10px 20px;
    background: var(--gold);
    color: #050505;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.15rem, 3.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 199, 44, 0.25);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus-visible {
    background: #ffcf4d;
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 199, 44, 0.35);
}

.mobile-nav-cta:active {
    transform: translateY(1px);
}

.mobile-nav-call {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

.mobile-nav-call strong {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(18px, 4.8vw, 22px);
    font-weight: 500;
    letter-spacing: -.02em;
    color: var(--white);
    transition: color .2s ease;
}

.mobile-nav-call:hover strong,
.mobile-nav-call:focus-visible strong {
    color: var(--gold);
}


/* =========================================================
   HERO SECTION STYLES
========================================================= */

.hero {
    min-height: 100svh;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    background-image: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.78) 100%), linear-gradient(90deg, rgba(0,0,0,.3), transparent 55%, rgba(0,0,0,.25)), url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2400&q=88");
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, var(--black) 100%);
    z-index: -1;
}

.hero-content {
    width: min(1200px, calc(100% - 48px));
    text-align: center;
    margin-inline: auto;
    padding-top: 70px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: clamp(3.6rem, 9vw, 9.2rem);
    line-height: .82;
    letter-spacing: -.065em;
    text-wrap: balance;
    text-shadow: 0 3px 30px rgba(0,0,0,.35);
}

.hero-line { display: block; }
.hero-line:nth-child(2) { margin-top: 8px; }
.hero-dot { margin-left: -0.12em; display: inline-block; }

.hero-rotator {
    margin-top: 34px;
    min-height: 38px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    font-weight: 300;
    color: rgba(255,255,255,.88);
    letter-spacing: -.02em;
}

.rotating-text { color: var(--gold); font-weight: 500; }

.hero-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    min-height: 54px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button-primary { background: var(--gold); color: #000; }
.button-primary:hover { background: #ffd75e; transform: translateY(-2px); }

.button-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
}

.button-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(255,255,255,.5);
}

.hero-scroll-line {
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}


/* =========================================================
   ABOUT SECTION STYLES
========================================================= */

.about {
    position: relative;
    background: var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 120px 0 100px;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.about-image::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 450px;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(255, 199, 44, 0.22) 0%, rgba(255, 199, 44, 0.08) 48%, transparent 75%);
    filter: blur(30px);
    z-index: 1;
    pointer-events: none;
}

.about-image img {
    width: 100%;
    max-width: 660px;
    height: auto;
    object-fit: contain;
    filter: contrast(1.04);
    position: relative;
    z-index: 2;
    transform: scale(1.08);
    transform-origin: center center;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 96%);
    mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 96%);
}

.about-copy { padding-left: 20px; }
.about-copy .section-title { margin-top: 18px; }
.about-copy > p { margin-top: 26px; max-width: 580px; }
.about-actions { margin-top: 36px; display: flex; gap: 15px; flex-wrap: wrap; }

.about-title-line { display: inline; }
.about-title-break { display: inline; }

@media (min-width: 1101px) {
    .about-title-break { display: block; }
}


/* =========================================================
   TESTIMONIALS SECTION (STACKED GRID CAROUSEL)
========================================================= */

.testimonials {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 130px 0;
}

.testimonial-wrap {
    max-width: 1100px;
    margin-inline: auto;
}

.testimonial-slider { margin-top: 70px; }

.testimonial-box {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-items: start;
    position: relative;
    width: 100%;
}

.testimonial {
    grid-area: 1 / 1 / 2 / 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.testimonial.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 100px;
    line-height: .5;
    color: var(--gold);
}

.quote {
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 2.1rem);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -.03em;
}

.testimonial-stars {
    margin-top: 22px;
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 0.25em;
    line-height: 1;
}

.testimonial-meta {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-top: 1px solid var(--line);
    padding-top: 25px;
}

.testimonial-name { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 18px; color: var(--white); }
.testimonial-location { margin-top: 4px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.testimonial-controls { display: flex; gap: 12px; }

.testimonial-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}

.testimonial-arrow:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(12, 12, 15, 0.95);
}

.testimonial-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}


/* =========================================================
   COMMISSION CALCULATOR SECTION STYLES
========================================================= */

.calculator-section {
    background: var(--black);
    border-bottom: 1px solid var(--line);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.calculator-copy { max-width: 650px; }
.calculator-copy .section-title { margin-top: 20px; }
.calculator-copy p { margin-top: 35px; max-width: 560px; }

.calculator-card {
    background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    border: 1px solid var(--line);
    padding: clamp(28px, 5vw, 55px);
    border-radius: 2px;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 11px;
    color: var(--muted);
}

.price-input {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -.06em;
    padding: 0 0 15px;
    outline: none;
}

.price-input:focus { border-color: var(--gold); }

.price-slider {
    width: 100%;
    margin-top: 30px;
    appearance: none;
    height: 2px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 25%, rgba(255,255,255,.18) 25%, rgba(255,255,255,.18) 100%);
    outline: none;
}

.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid #111;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}

.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid #111;
    box-shadow: 0 0 0 1px var(--gold);
    cursor: pointer;
}

.calculator-results {
    margin-top: 45px;
    border-top: 1px solid var(--line);
}

.result-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--muted);
}

.result-row strong { color: var(--white); font-weight: 400; }

.result-row.savings {
    padding-top: 28px;
    margin-top: 10px;
    font-size: 18px;
}

.result-row.savings strong {
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    letter-spacing: -.04em;
}

.calculator-cta {
    width: 100%;
    margin-top: 28px;
    cursor: pointer;
}

.calculator-fineprint {
    margin-top: 15px;
    font-size: 13px;
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}


/* =========================================================
   FEATURED SALES PORTFOLIO CAROUSEL
========================================================= */

.portfolio {
    background: #080808;
    border-bottom: 1px solid var(--line);
    padding: 130px 0;
}

.portfolio-header { text-align: center; margin-bottom: 50px; }
.portfolio-carousel-wrapper { position: relative; width: 100%; }

.portfolio-carousel-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.portfolio-carousel-track::-webkit-scrollbar { display: none; }

.portfolio-edge-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    background: rgba(0,0,0,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease;
}

.portfolio-edge-arrow:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.portfolio-edge-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.portfolio-edge-arrow.prev { left: -26px; }
.portfolio-edge-arrow.next { right: -26px; }

.portfolio-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 320px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.02);
    transition: border-color .3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover { border-color: var(--gold); }

.portfolio-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }

.portfolio-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    padding: 6px 12px;
    letter-spacing: 0.12em;
}

.portfolio-info {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portfolio-info h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -.02em;
    line-height: 1.25;
    margin: 0;
}

.portfolio-location {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    font-weight: 600;
}


/* =========================================================
   PROOF METRICS STRIP
========================================================= */

.proof-strip {
    border-bottom: 1px solid var(--line);
    background: var(--black);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.proof-item {
    min-height: 150px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--line);
    text-align: center;
}

.proof-item:first-child { border-left: 1px solid var(--line); }

.proof-number {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1;
}

.proof-percent { font-size: inherit; }

.proof-label {
    margin-top: 9px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--muted);
}


/* =========================================================
   MISSION STATEMENT SECTION
========================================================= */

.mission { padding: 140px 0; background: var(--black); }

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mission-right-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-left: 1px solid var(--line);
    padding-left: 50px;
}


/* =========================================================
   WHAT'S INCLUDED / VALUE PROPOSITION GRID
========================================================= */

.what-you-get {
    border-top: 1px solid var(--line);
    background: var(--black);
    padding: 140px 0;
}

.what-header-centered {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 70px;
}

.what-header-centered .eyebrow { justify-content: center; }

@media (max-width: 700px) {
    .buyer-rebate-grid { grid-template-columns: 1fr; }
    .buyer-steps-wrap { padding: 32px 20px; }
    .buyer-actions .button { width: 100%; }

    .what-header-centered {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .what-header-centered .eyebrow {
        justify-content: center !important;
    }
}

.benefit-grid-clean {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.benefit-clean {
    min-height: 210px;
    padding: 40px 35px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
    transition: border-color .3s ease;
}

.benefit-clean:hover { border-color: rgba(255,199,44,0.4); }

.benefit-clean h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin-bottom: 14px;
    color: var(--white);
}

.benefit-clean p {
    color: var(--muted);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================================
   SERVICES BREAKDOWN STYLES
========================================================= */

.services {
    background: #080808;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 140px 0;
}

.services-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.services-header-right { max-width: 440px; text-align: right; }
.service-list { border-top: 1px solid var(--line); }

.service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    padding: 55px 0;
    border-bottom: 1px solid var(--line);
}

.service-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.3rem, 4vw, 4.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}

.service-description {
    max-width: 600px;
    margin-top: 17px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--muted);
}

.service-action { white-space: nowrap; }

.services-title-line { display: inline; }
.services-title-break { display: inline; }

@media (min-width: 1101px) {
    .services-title-break { display: block; }
}


/* =========================================================
   STEP-BY-STEP PROCESS SECTION
========================================================= */

.process {
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 140px 0;
}

.process-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 65px;
}

.process-intro-text { margin-top: 0; }
.process-intro p { max-width: 550px; color: var(--white-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 18px; line-height: 1.7; }
.process-list { border-top: 1px solid var(--line); }

.process-row {
    display: grid;
    grid-template-columns: 90px 1fr 1.25fr;
    gap: 35px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.process-number {
    color: var(--gold);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
}

.process-row h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.process-row p { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.65; }


/* =========================================================
   AREAS SERVED GRID
========================================================= */

.areas {
    background: #080808;
    border-bottom: 1px solid var(--line);
    padding: 140px 0;
}

.areas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin-bottom: 75px;
}

.area-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.area {
    min-height: 115px;
    padding: 30px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    letter-spacing: -.035em;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.area:hover {
    background: rgba(255, 199, 44, 0.05);
    border-color: var(--gold);
    color: var(--gold);
}


/* =========================================================
   STATIC IN-PAGE EVALUATION FORM SECTION
========================================================= */

.evaluation {
    border-top: 1px solid var(--line-soft);
    background: radial-gradient(circle at 15% 20%, rgba(255,199,44,.07), transparent 35%), #080808;
}

.evaluation-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.evaluation-copy .section-title { margin-top: 20px; }
.evaluation-copy > p { margin-top: 35px; max-width: 530px; }

.guarantees { margin-top: 45px; display: flex; flex-direction: column; }

.guarantee {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--white-soft);
}

.guarantee:last-child { border-bottom: 1px solid var(--line); }
.guarantee-check { color: var(--gold); }

.form-card {
    padding: clamp(25px, 5vw, 50px);
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
}

.form-control {
    width: 100%;
    min-height: 53px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 0;
    outline: none;
    background: rgba(255,255,255,.035);
    color: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: border-color .25s ease, box-shadow .25s ease;
}

textarea.form-control { min-height: 130px; resize: vertical; }

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #111111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 38px;
    color: #f4f3ee;
    color-scheme: dark;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
}

select.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffc72c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

select.form-control option { background-color: #111111; color: #f4f3ee; }
select.form-control option:checked { background-color: #242424; color: var(--gold); }

.form-control:focus { 
    border-color: var(--gold); 
    box-shadow: 0 0 0 1px var(--gold);
}

.form-submit { margin-top: 25px; width: 100%; }
.form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.form-fineprint {
    margin-top: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
}


/* =========================================================
   FAQ ACCORDION STYLES
========================================================= */

.faq { background: var(--black); border-top: 1px solid var(--line-soft); }
.faq-list { margin-top: 65px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
    width: 100%;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: transparent;
    color: #ffffff;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -.02em;
    cursor: pointer;
    transition: color .2s ease;
}

.faq-question:hover {
    color: var(--gold);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    transform-origin: center center;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background-color: var(--gold);
    border-radius: 1px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--gold);
}

.faq-answer {
    max-width: 820px;
    padding: 4px 0 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.05rem, 1.4vw, 1.15rem);
    font-weight: 450;
    line-height: 1.75;
    color: #eceae3;
    display: none;
}

.faq-answer p {
    margin-bottom: 16px;
    line-height: 1.75;
    color: inherit;
    font-size: inherit;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong,
.faq-answer b {
    color: #ffffff;
    font-weight: 700;
}

.faq-answer a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color .2s ease;
}

.faq-answer a:hover {
    color: #ffffff;
}

.faq-item.open .faq-answer { display: block; }


/* =========================================================
   FOOTER STYLES
========================================================= */

.footer { padding: 100px 0 40px; background: #030303; border-top: 1px solid var(--line); }

.footer-name {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.8rem, 6.8vw, 6.2rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--white);
    text-transform: none;
}

.footer-name span { color: var(--gold); font-weight: 500; }

.footer-title-sub {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 16px;
    display: block;
}

.footer-grid {
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-column { display: flex; flex-direction: column; gap: 10px; }

.footer-heading {
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--muted);
}

.footer-column a,
.footer-column p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    color: var(--white-soft);
}

.footer-column a:hover { color: var(--gold); }

.footer-bottom {
    margin-top: 70px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 11px;
    color: var(--muted);
}

.footer-credit a,
.footer-bottom a {
    color: var(--white-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-credit a:hover,
.footer-bottom a:hover {
    color: var(--gold);
}

.footer-credit a:hover {
    color: var(--gold);
}


/* =========================================================
   STICKY MOBILE BOTTOM BAR
========================================================= */

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    z-index: 1200;
    justify-content: space-between;
    gap: 10px;
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .3s ease;
    will-change: transform, opacity;
}

.mobile-sticky-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-sticky-bar a,
.mobile-sticky-bar button {
    flex: 1;
    min-height: 44px;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .25s ease;
}


/* =========================================================
   MODAL OVERLAY & POPUP CONTAINER
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(12px);
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal {
    width: min(520px, 100%);
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    background: #0c0c0c;
    border: 1px solid var(--line);
    padding: 26px 24px 22px;
    position: relative;
    transform: translateY(18px) scale(.98);
    transition: transform .3s ease;
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease;
    padding: 0;
}

.modal-close:hover { border-color: var(--gold); color: var(--gold); }

.modal-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    display: block;
}

.modal-title {
    padding-right: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(1.65rem, 4.2vw, 2.3rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.modal-subtitle {
    margin-top: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    color: var(--muted);
}

.modal .form-grid { margin-top: 18px; gap: 12px; }
.modal .form-group { gap: 4px; }
.modal .form-label { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal .form-control { min-height: 40px; padding: 8px 12px; font-size: 13.5px; }
.modal textarea.form-control { min-height: 48px; resize: vertical; }
.modal .form-submit { margin-top: 14px; min-height: 46px; font-size: 13.5px; }
.modal .form-fineprint { margin-top: 8px; font-size: 11.5px; text-align: center; }


/* =========================================================
   SCROLL REVEAL UTILITIES
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }



/* =========================================================
   BUYER 1% CASH BACK REBATE SECTION
========================================================= */

.buyer-cashback {
    padding: 130px 0;
    background: radial-gradient(circle at 50% 15%, rgba(255,199,44,.05), transparent 50%), var(--black);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.buyer-cashback-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.buyer-rebate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}

.buyer-rebate-card {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 34px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.buyer-rebate-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 199, 44, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(255, 199, 44, 0.08);
}

.buyer-rebate-card.highlight {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(255,199,44,0.08) 0%, var(--surface) 100%);
}

.buyer-popular-tag {
    position: absolute;
    top: -12px;
    background: var(--gold);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 3px 12px;
    border-radius: 999px;
}

.buyer-card-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: 8px;
}

.buyer-price {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.03em;
    color: var(--white);
    margin-bottom: 18px;
}

.buyer-rebate-pill {
    width: 100%;
    background: rgba(255, 199, 44, 0.12);
    border: 1px solid rgba(255, 199, 44, 0.35);
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.buyer-rebate-pill span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.buyer-rebate-pill strong {
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -.02em;
}

.buyer-card-note {
    font-size: 13px;
    color: var(--white-soft);
    line-height: 1.5;
}

.buyer-steps-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 50px 40px;
    margin-bottom: 50px;
}

.buyer-steps-header {
    text-align: center;
    margin-bottom: 40px;
}

.buyer-steps-title {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-top: 6px;
}

.buyer-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.buyer-step-item {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid var(--line-soft);
}

.buyer-step-num {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.buyer-step-item h4 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
}

.buyer-step-item p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.buyer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.buyer-fineprint {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.calc-buyer-callout {
    margin-top: 20px;
    padding: 12px 16px;
    background: rgba(255, 199, 44, 0.06);
    border: 1px dashed rgba(255, 199, 44, 0.35);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--white-soft);
}

.calc-buyer-callout a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.calc-buyer-callout a:hover {
    color: #fff;
}

/* =========================================================
   RESPONSIVE TABLET BREAKPOINT (< 1100px)
========================================================= */

@media (max-width: 1100px) {
    .buyer-rebate-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .buyer-steps-grid { grid-template-columns: 1fr; gap: 28px; }
    .buyer-step-item { padding-left: 16px; }

    .desktop-nav { display: none; }
    .mobile-menu-button { display: flex; }
    .header-phone { display: none; }
    .header-actions { margin-left: auto; }

    .about-grid,
    .mission-grid,
    .calculator-grid,
    .evaluation-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-copy { padding-left: 0; }
    .about-image img { max-width: 520px; transform: none; }

    .mission-right-content {
        border-left: none;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 30px;
    }

    .portfolio-card { flex: 0 0 calc((100% - 24px) / 2); }
    .portfolio-edge-arrow.prev { left: -16px; }
    .portfolio-edge-arrow.next { right: -16px; }

    .benefit-grid-clean { grid-template-columns: repeat(2, 1fr); }
    .evaluation-copy { max-width: 700px; }

    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid .footer-column:first-child { grid-column: 1 / -1; }
}


/* =========================================================
   RESPONSIVE MOBILE BREAKPOINT (< 700px)
========================================================= */

@media (max-width: 700px) {
    :root { --header-height: 72px; }
    .container { width: min(calc(100% - 36px), var(--max-width)); }
    .section { padding: 85px 0; }
    body { padding-bottom: 64px; }
    .mobile-sticky-bar { display: flex; }

    .site-header { height: var(--header-height); }
    .header-inner { width: calc(100% - 28px); padding: 0 0 0 2px; }
    .logo { font-size: 17px; white-space: nowrap; }

    .header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .mobile-menu-button {
        display: flex;
        margin-left: auto;
        width: 44px;
        height: 44px;
        z-index: 2500;
    }

    .header-cta { display: none; }
    .mobile-nav-inner { padding: calc(var(--header-height) + 20px) 22px 35px; }
    .mobile-nav-links a { min-height: 62px; font-size: 2.2rem; }

    .hero { min-height: 100svh; background-position: 62% center; }
    .hero-content { width: calc(100% - 30px); padding-top: 50px; }
    .hero-title { font-size: clamp(3.25rem, 15vw, 5.7rem); line-height: .86; letter-spacing: -.07em; }
    .hero-line:nth-child(2) { margin-top: 5px; }
    .hero-rotator { margin-top: 25px; font-size: 1.15rem; }

    .hero-actions { margin-top: 28px; flex-direction: column; width: 100%; }
    .hero-actions .button { width: min(100%, 330px); }
    .hero-scroll { bottom: 20px; font-size: 12px; }

    .about-grid { gap: 45px; }
    .about-image::before { width: 280px; height: 330px; }

    .proof-grid { grid-template-columns: 1fr 1fr; }
    .proof-item { min-height: 125px; padding: 20px 12px; }
    .proof-item:nth-child(2) { border-right: 0; }
    .proof-item:nth-child(3), .proof-item:nth-child(4) { border-top: 1px solid var(--line); }
    .proof-item:nth-child(3) { border-left: 1px solid var(--line); }
    .proof-number { font-size: 2rem; }
    .proof-label { font-size: 11px; }

    .benefit-grid-clean { grid-template-columns: 1fr; }
    .benefit-clean { min-height: auto; padding: 28px 22px; }

    .services-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 50px;
    }

    .services-header-right { max-width: 100%; text-align: left; }

    .service-item { grid-template-columns: 1fr; gap: 20px; padding: 35px 0; }
    .service-action { grid-column: 1; margin-top: 5px; }
    .service-title { font-size: 2.35rem; }

    .portfolio-card { flex: 0 0 calc(100% - 40px); min-width: 260px; }
    .portfolio-info { padding: 18px 20px 20px; }
    .portfolio-info h3 { font-size: 18px; }
    .portfolio-location { font-size: 11px; }
    .portfolio-edge-arrow { width: 44px; height: 44px; top: 38%; }
    .portfolio-edge-arrow svg { width: 14px; height: 14px; }
    .portfolio-edge-arrow.prev { left: 4px; }
    .portfolio-edge-arrow.next { right: 4px; }

    .process-intro { grid-template-columns: 1fr; gap: 30px; margin-bottom: 45px; align-items: flex-start; }
    .process-intro-text { margin-top: 0; }
    .process-intro p { font-size: 16px; }

    .process-row { grid-template-columns: 42px 1fr; gap: 16px; padding: 28px 0; }
    .process-number { padding-top: 4px; font-size: 12px; }
    .process-row h3 { font-size: 24px; }
    .process-row p { grid-column: 2; margin-top: 4px; font-size: 15px; }

    .calculator-grid { gap: 45px; }
    .calculator-card { padding: 25px 20px; }
    .price-input { font-size: 3.2rem; }

    .areas-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .area-list { grid-template-columns: 1fr 1fr; }
    .area { min-height: 95px; padding: 20px 16px; font-size: 1.25rem; }

    .testimonial-slider { margin-top: 50px; }
    .quote-mark { font-size: 70px; }
    .quote { font-size: 1.45rem; }
    .testimonial-meta {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
        padding-top: 20px;
    }
    .testimonial-meta > div:first-child {
        flex: 1;
        min-width: 0;
        padding-right: 10px;
    }
    .testimonial-name {
        font-size: 17px;
        line-height: 1.25;
    }
    .testimonial-location {
        margin-top: 3px;
        font-size: 11px;
    }
    .testimonial-controls {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
        margin-left: auto;
    }
    .testimonial-arrow {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }
    .testimonial-arrow svg {
        width: 15px;
        height: 15px;
    }

    .evaluation-grid { gap: 50px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full { grid-column: auto; }
    .form-control, .modal .form-control { font-size: 16px !important; }

    .faq-list { margin-top: 45px; }
    .faq-question { padding: 22px 0; font-size: 1.25rem; font-weight: 600; }
    .faq-answer { font-size: 1.05rem; line-height: 1.68; padding: 0 0 24px; }

    .footer { padding-top: 75px; }
    .footer-name { font-size: clamp(3.2rem, 14vw, 5.5rem); }
    .footer-grid { margin-top: 70px; grid-template-columns: 1fr 1fr; gap: 40px 25px; }
    .footer-grid .footer-column:first-child { grid-column: 1 / -1; }
    .footer-bottom { margin-top: 55px; flex-direction: column; gap: 15px; align-items: flex-start; }

    .modal { padding: 22px 18px 18px; width: min(440px, 100%); }
    .modal .form-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .modal .form-group:nth-child(1), .modal .form-group:nth-child(2) { grid-column: span 1; }
    .modal .form-group:nth-child(3), .modal .form-group:nth-child(4), .modal .form-group:nth-child(5) { grid-column: 1 / -1; }
    .modal-title { font-size: 1.55rem; }
    .modal .form-submit { margin-top: 10px; min-height: 44px; }
    
    .what-header-centered {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .what-header-centered .eyebrow {
        justify-content: center !important;
    }
}


/* =========================================================
   SMALL PHONES BREAKPOINT (< 390px)
========================================================= */

@media (max-width: 390px) {
    .testimonial-name { font-size: 15.5px; }
    .testimonial-controls { gap: 8px; }
    .testimonial-arrow { width: 42px; height: 42px; }
    .testimonial-arrow svg { width: 14px; height: 14px; }
    .hero-title { font-size: 3rem; }
    .hero-content { width: calc(100% - 24px); }
    .proof-number { font-size: 1.75rem; }
    .area { font-size: 1.1rem; }
    .service-title { font-size: 2rem; }
    .logo { font-size: 15.5px; }
    .modal { padding: 18px 14px 14px; }
    .modal .form-grid { grid-template-columns: 1fr; gap: 8px; }
    .modal .form-group:nth-child(1), .modal .form-group:nth-child(2) { grid-column: auto; }
    .modal-title { font-size: 1.4rem; }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY OVERRIDE
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   DEDICATED 1% BUYER CASH BACK LANDING PAGE STYLES
========================================================= */

.nav-new-pill {
    display: inline-block;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: var(--gold);
    color: var(--black);
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.buyer-hero-section {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: radial-gradient(circle at 50% 15%, rgba(255, 199, 44, 0.08) 0%, transparent 60%), var(--bg);
    border-bottom: 1px solid var(--line);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.buyer-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 199, 44, 0.1);
    border: 1px solid rgba(255, 199, 44, 0.25);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.buyer-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--white);
    max-width: 950px;
    margin: 0 auto 20px;
}

.buyer-hero-title em {
    font-style: normal;
    color: var(--gold);
}

.buyer-hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 820px;
    margin: 0 auto 36px;
}

.buyer-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.buyer-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
    max-width: 900px;
    margin: 0 auto;
}

.buyer-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--white);
}

.buyer-trust-item svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Dedicated Buyer Calculator */
.buyer-calc-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 44px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    margin-top: 40px;
}

.buyer-calc-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.buyer-calc-display-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.buyer-calc-val-input {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 16px;
    text-align: right;
    width: 220px;
    letter-spacing: -.02em;
}

.buyer-presets-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.buyer-preset-btn {
    padding: 8px 16px;
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

.buyer-preset-btn:hover,
.buyer-preset-btn.active {
    background: rgba(255, 199, 44, 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.buyer-calc-output-card {
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.12) 0%, rgba(20, 20, 22, 0.95) 100%);
    border: 1px solid rgba(255, 199, 44, 0.35);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.buyer-calc-output-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.buyer-output-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.buyer-output-amount {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.buyer-output-ltt-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 199, 44, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 16px;
}

.buyer-output-explainer {
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Uses Grid */
.buyer-uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.buyer-use-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 28px 22px;
    transition: transform .3s ease, border-color .3s ease;
}

.buyer-use-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 199, 44, 0.4);
}

.buyer-use-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 199, 44, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.buyer-use-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.buyer-use-card p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

/* Comparison Table */
.buyer-table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-top: 40px;
}

.buyer-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}

.buyer-compare-table th,
.buyer-compare-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-soft);
}

.buyer-compare-table th {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: var(--surface-light);
}

.buyer-compare-table th.col-predy {
    background: rgba(255, 199, 44, 0.12);
    color: var(--gold);
    border-top: 3px solid var(--gold);
}

.buyer-compare-table td.col-predy {
    background: rgba(255, 199, 44, 0.03);
    font-weight: 500;
    color: var(--white);
}

.buyer-check-icon {
    color: #34c759;
    font-weight: 700;
    font-size: 18px;
    margin-right: 6px;
}

.buyer-cross-icon {
    color: #ff3b30;
    font-weight: 700;
    font-size: 18px;
    margin-right: 6px;
}

@media (max-width: 1024px) {
    .buyer-uses-grid { grid-template-columns: repeat(2, 1fr); }
    .buyer-calc-box { padding: 28px 20px; }
}

@media (max-width: 640px) {
    .buyer-uses-grid { grid-template-columns: 1fr; }
    .buyer-trust-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
    .buyer-hero-actions .button { width: 100%; }
    .buyer-calc-val-input { width: 100%; font-size: 26px; }
    .buyer-calc-display-wrap { flex-direction: column; align-items: stretch; }
    .buyer-compare-table th,
    .buyer-compare-table td { padding: 14px 16px; font-size: 13.5px; }
}


/* =========================================================
   FAILSAFE: GUARANTEE BUYER PAGE CONTENT IS NEVER HIDDEN
========================================================= */

.buyer-hero-section .reveal,
.buyer-hero-section *,
.buyer-calc-box,
.buyer-calc-box.reveal,
.buyer-uses-grid,
.buyer-use-card,
.buyer-use-card.reveal,
.buyer-table-wrap,
.buyer-table-wrap.reveal,
.buyer-steps-wrap,
.buyer-steps-wrap.reveal,
.buyer-cashback-page .reveal {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}


/* =========================================================
   ANTI-SLOP BUYER PAGE ENHANCEMENTS: HIERARCHY & RHYTHM
========================================================= */

/* Hero Asymmetric Trust Layout */
.buyer-hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    max-width: 820px;
    margin: 32px auto 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.buyer-hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.buyer-hero-card-left h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.buyer-hero-card-left p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.buyer-hero-card-right {
    background: var(--surface-light);
    border: 1px solid rgba(255, 199, 44, 0.25);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.buyer-hero-card-right .rebate-callout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.02em;
}

.buyer-hero-card-right .rebate-callout span {
    color: var(--gold);
}

.buyer-hero-card-right small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

/* Asymmetric Closing Cost Relief Layout */
.buyer-relief-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 40px;
}

.buyer-flagship-card {
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.08) 0%, var(--surface) 100%);
    border: 1px solid rgba(255, 199, 44, 0.3);
    border-radius: 12px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.buyer-flagship-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 199, 44, 0.15);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--gold);
    width: fit-content;
    margin-bottom: 16px;
}

.buyer-flagship-card h3 {
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.25;
}

.buyer-flagship-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.buyer-tax-breakdown-box {
    background: var(--surface-light);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}

.buyer-tax-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--line-soft);
}

.buyer-tax-row:last-child {
    border-bottom: none;
    padding-top: 12px;
    font-weight: 700;
    font-size: 15px;
}

.buyer-tax-row.highlight-row {
    color: var(--gold);
    border-top: 1px solid rgba(255, 199, 44, 0.3);
}

.buyer-companion-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buyer-companion-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform .2s ease, border-color .2s ease;
}

.buyer-companion-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 199, 44, 0.4);
}

.buyer-companion-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 199, 44, 0.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.buyer-companion-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.buyer-companion-content p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

/* Timeline Process Layout */
.buyer-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 48px;
}

.buyer-timeline-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.buyer-timeline-item.active-step {
    border-color: rgba(255, 199, 44, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.buyer-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.buyer-timeline-badge {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--gold);
    background: rgba(255, 199, 44, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
}

.buyer-timeline-phase {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.buyer-timeline-item h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

.buyer-timeline-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Accessible focus ring for human affordance */
.form-control:focus-visible {
    outline: 2px solid var(--gold) !important;
    outline-offset: 2px;
    border-color: var(--gold) !important;
}

@media (max-width: 900px) {
    .buyer-relief-layout { grid-template-columns: 1fr; }
    .buyer-timeline { grid-template-columns: 1fr; }
    .buyer-hero-card-grid { grid-template-columns: 1fr; }
}


/* Suppress default OS number input spinners across all browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}


/* =========================================================
   LEGAL PAGES (TERMS & PRIVACY) - ELEGANT CLEAN DOCUMENT
========================================================= */

.legal-hero {
    padding-top: calc(var(--header-height, 84px) + 40px);
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-soft);
    background: radial-gradient(circle at 50% 10%, rgba(255, 199, 44, 0.04) 0%, transparent 60%);
}

.legal-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.legal-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
    color: var(--gold);
}

.legal-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.2);
}

.legal-breadcrumb-current {
    color: var(--white);
}

.legal-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--white);
    margin-bottom: 14px;
}

.legal-title em {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.legal-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white-soft);
    max-width: 720px;
    margin: 0;
}

.legal-document-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 48px 24px 90px;
}

.legal-document-wrapper h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-document-wrapper p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--white-soft);
    margin-bottom: 16px;
}

.legal-document-wrapper ol,
.legal-document-wrapper ul {
    margin: 12px 0 20px 24px;
    color: var(--white-soft);
    font-size: 15px;
    line-height: 1.75;
}

.legal-document-wrapper li {
    margin-bottom: 10px;
}

.legal-document-wrapper a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.legal-document-wrapper a:hover {
    color: var(--white);
}

@media (max-width: 700px) {
    .legal-hero {
        padding-top: calc(var(--header-height, 84px) + 24px);
        padding-bottom: 30px;
    }
    .legal-title {
        font-size: 2.2rem;
    }
    .legal-document-wrapper {
        padding-top: 32px;
        padding-bottom: 60px;
    }
    .legal-document-wrapper h2 {
        font-size: 18px;
    }
    .legal-document-wrapper p {
        font-size: 14px;
    }
}
