/* ==========================================================================
   Kloster Home Group — Design System
   Brand colors:
     --navy   #1a3141  (primary)
     --rust   #c85023  (accent)
     --mist   #f3fcfd  (light cool)
     --fog    #f3f4f5  (light neutral)
   ========================================================================== */

:root {
  --navy: #1a3141;
  --navy-800: #22415494;
  --navy-deep: #12242f;
  --rust: #c85023;
  --rust-dark: #a53f18;
  --mist: #f3fcfd;
  --fog: #f3f4f5;
  --white: #ffffff;
  --ink: #1a3141;
  --muted: #5c6b74;
  --line: #e4e8ea;

  --shadow-sm: 0 1px 2px rgba(26, 49, 65, .06), 0 4px 12px rgba(26, 49, 65, .06);
  --shadow-md: 0 8px 30px rgba(26, 49, 65, .12);
  --shadow-lg: 0 24px 60px rgba(18, 36, 47, .22);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-head: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--rust);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--rust); display: inline-block;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; color: var(--navy); letter-spacing: -.01em; }
h2.title { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 20px; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 620px; }

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 700; font-size: .98rem;
  cursor: pointer; border: 2px solid transparent; transition: all .3s var(--ease);
  font-family: var(--font-body);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--rust); color: #fff; box-shadow: 0 10px 24px rgba(200, 80, 35, .32); }
.btn--primary:hover { background: var(--rust-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(200, 80, 35, .4); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--block { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s var(--ease);
  padding: 22px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; transition: color .35s; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--rust); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(200, 80, 35, .35);
}
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.1; }
.brand__name span { display: block; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }

/* Logo image lockup (nav + footer) */
.brand--logo img { height: 100px; width: auto; display: block; }
.nav.scrolled .brand--logo img { height: 68px; transition: height .35s var(--ease); }
.footer .brand--logo img { height: 150px; }

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a { color: #fff; font-weight: 600; font-size: .96rem; opacity: .9; transition: opacity .25s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { padding: 11px 22px; font-size: .9rem; }

/* Scrolled state */
.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav.scrolled .brand,
.nav.scrolled .nav__links a { color: var(--navy); }
.nav.scrolled .nav__links a { opacity: .8; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--navy); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 36, 47, .92) 0%, rgba(18, 36, 47, .7) 42%, rgba(18, 36, 47, .25) 100%),
    linear-gradient(to top, rgba(18, 36, 47, .6), transparent 40%);
}
.hero__inner { padding: 140px 0 90px; max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 100px;
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 28px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #58d68d; box-shadow: 0 0 0 4px rgba(88, 214, 141, .25); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: #c85023; }
.hero__sub { font-size: 1.2rem; color: rgba(255, 255, 255, .88); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

/* Honest rating strip (replaces invented stat counters) */
.hero__rating { display: inline-flex; align-items: center; gap: 14px; }
.hero__rating .stars { display: flex; gap: 3px; color: #f5a623; }
.hero__rating .stars svg { width: 22px; height: 22px; }
.hero__rating .rtxt { font-size: .98rem; color: rgba(255, 255, 255, .9); }
.hero__rating .rtxt b { color: #fff; font-weight: 700; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 4px; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 7px; } 100% { opacity: 0; top: 18px; } }

/* ==========================================================================
   Trust logos / marquee bar
   ========================================================================== */
.trust { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 30px 0; }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--rust); flex: none; }

/* ==========================================================================
   About / Agent intro
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; bottom: -26px; right: -20px; background: #fff; border-radius: 20px;
  padding: 22px 26px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line);
}
.about__badge .ring {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rust), var(--rust-dark)); color: #fff;
}
.about__badge .ring svg { width: 26px; height: 26px; }
.about__badge b { font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); display: block; line-height: 1; }
.about__badge span { font-size: .82rem; color: var(--muted); }

.about__list { display: grid; gap: 18px; margin: 30px 0 34px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; }
.about__list .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(200, 80, 35, .12); color: var(--rust); display: grid; place-items: center; flex: none; margin-top: 2px; }
.about__list .tick svg { width: 15px; height: 15px; }
.about__list b { color: var(--navy); }
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.5rem; color: var(--navy); margin-top: 8px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { background: var(--fog); }
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 38px 32px;
  border: 1px solid var(--line); transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--rust); transition: width .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, var(--navy), #2c5064); color: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--rust); font-weight: 700; font-size: .92rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .3s; }
.card:hover .card__link svg { transform: translateX(5px); }

/* ==========================================================================
   Process / Steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.step { position: relative; padding-top: 28px; }
.step__num { font-family: var(--font-head); font-size: 3.4rem; color: var(--rust); opacity: .22; line-height: 1; font-weight: 600; }
.step h3 { font-size: 1.25rem; margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: .96rem; }
.step::before { content: ""; position: absolute; top: 44px; left: 62px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step:last-child::before { display: none; }

/* ==========================================================================
   Stats banner
   ========================================================================== */
.statsband { position: relative; color: #fff; overflow: hidden; }
.statsband__bg { position: absolute; inset: 0; z-index: -2; }
.statsband__bg img { width: 100%; height: 100%; object-fit: cover; }
.statsband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 36, 47, .93), rgba(18, 36, 47, .93)); }
.statsband__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.statsband__item .num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
.statsband__item .num span { color: var(--rust); }
.statsband__item .lab { opacity: .82; font-size: .96rem; margin-top: 4px; }

/* Mission banner variant */
.statsband__quote { max-width: 820px; margin: 0 auto; text-align: center; }
.statsband__quote .mark { font-family: var(--font-head); font-size: 4rem; line-height: 0; color: var(--rust); display: block; margin-bottom: 26px; }
.statsband__quote p { font-family: var(--font-head); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.35; color: #fff; font-weight: 500; }
.statsband__quote .by { margin-top: 24px; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; opacity: .8; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.tests { background: var(--mist); }
.tests__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.quote { background: #fff; border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.quote .stars { color: #f5a623; display: flex; gap: 3px; margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote p { color: var(--navy); font-size: 1.05rem; margin-bottom: 24px; }
.quote__by { display: flex; align-items: center; gap: 14px; }
.quote__by .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote__by b { display: block; color: var(--navy); font-size: .98rem; }
.quote__by span { font-size: .84rem; color: var(--muted); }

/* ==========================================================================
   CTA / Contact
   ========================================================================== */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 80, 35, .32), transparent 70%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.contact h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.contact .lede { color: rgba(255, 255, 255, .82); }
.contact__points { margin-top: 32px; display: grid; gap: 18px; }
.contact__points li { display: flex; gap: 14px; align-items: center; }
.contact__points .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; }
.contact__points .ic svg { width: 20px; height: 20px; color: var(--rust); }
.contact__points b { display: block; }
.contact__points span { font-size: .88rem; opacity: .7; }

.form { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--navy); background: var(--fog); transition: all .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust); background: #fff; box-shadow: 0 0 0 4px rgba(200, 80, 35, .1); }
.field textarea { resize: vertical; min-height: 100px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { margin-bottom: 20px; }
.footer__about { font-size: .95rem; max-width: 300px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: .95rem; transition: color .25s; }
.footer__links a:hover { color: var(--rust); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; transition: all .3s; }
.footer__social a:hover { background: var(--rust); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.footer__bottom a:hover { color: var(--rust); }

/* ==========================================================================
   Home Valuation page
   ========================================================================== */
.val-hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; padding: 130px 0 70px; }
.val-hero__bg { position: absolute; inset: 0; z-index: -2; }
.val-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.val-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 36, 47, .82) 0%, rgba(18, 36, 47, .6) 48%, rgba(18, 36, 47, .28) 100%),
    linear-gradient(to top, rgba(18, 36, 47, .45), transparent 50%);
}
.val-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.val-hero__copy { max-width: 520px; }
.val-hero__copy h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 22px 0 20px; }
.val-hero__copy h1 em { font-style: italic; color: var(--rust); }
.val-hero__sub { font-size: 1.14rem; color: rgba(255, 255, 255, .88); margin-bottom: 28px; }
.val-hero__points { display: grid; gap: 14px; }
.val-hero__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: rgba(255, 255, 255, .95); }
.val-hero__points .tick { width: 26px; height: 26px; border-radius: 50%; background: rgba(200, 80, 35, .2); color: var(--rust); display: grid; place-items: center; flex: none; }
.val-hero__points .tick svg { width: 15px; height: 15px; }

/* Form card (reuses .form field styles) */
.val-form { background: #fff; border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.val-form h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 6px; }
.val-form > p { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.val-form .field { margin-bottom: 18px; }
.val-form .field label { display: block; font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.val-form .field input, .val-form .field select, .val-form .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 1rem; color: var(--navy); background: var(--fog); transition: all .25s;
}
.val-form .field input:focus, .val-form .field select:focus, .val-form .field textarea:focus {
  outline: none; border-color: var(--rust); background: #fff; box-shadow: 0 0 0 4px rgba(200, 80, 35, .1);
}
.val-form .field textarea { resize: vertical; min-height: 84px; }
.val-form .field input.val-invalid, .val-form .field select.val-invalid { border-color: #c0392b; background: #fff5f4; }
.val-search { position: relative; }
.val-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line, #e4e8ea); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 260px; overflow-y: auto; }
.val-suggest__item { padding: 10px 12px; border-radius: 8px; font-size: .92rem; color: var(--navy); cursor: pointer; }
.val-suggest__item:hover, .val-suggest__item.is-active { background: rgba(200, 80, 35, .1); }
.val-hint { display: block; font-size: .76rem; color: var(--muted); margin-top: 6px; }
.val-optional { font-weight: 500; color: var(--muted); }
.val-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 4px 0 20px; line-height: 1.5; cursor: pointer; }
.val-consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--rust); }

/* ---- Report ---- */
.val-report-section { background: var(--fog); }
.val-report { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); overflow: hidden; }
.val-report__head { background: var(--navy); color: #fff; padding: 34px 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.val-report__head .eyebrow { color: #fff; opacity: .85; margin-bottom: 8px; }
.val-report__head .eyebrow::before { background: var(--rust); }
.val-report__head h2 { color: #fff; font-size: 1.7rem; margin: 0; }
.val-report__addr { font-size: .95rem; opacity: .85; margin-top: 6px; }
.val-report__date { font-size: .82rem; opacity: .7; text-align: right; white-space: nowrap; }

.val-report__body { padding: 40px; }
.val-estimate { text-align: center; padding: 8px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.val-estimate .lab { font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); }
.val-estimate .big { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.8rem, 7vw, 4.4rem); color: var(--navy); line-height: 1.05; margin: 6px 0 4px; }
.val-estimate .rng { color: var(--muted); font-size: 1rem; }
.val-estimate .rng b { color: var(--navy); }

.val-bar { max-width: 520px; margin: 22px auto 0; }
.val-bar__track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #d8e0e4, var(--rust), #d8e0e4); position: relative; }
.val-bar__dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.val-bar__ends { display: flex; justify-content: space-between; margin-top: 8px; font-size: .8rem; color: var(--muted); }

.val-section-title { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.2rem; margin: 0 0 16px; }
.val-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.val-fact { background: var(--fog); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-align: center; }
.val-fact .v { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--navy); line-height: 1.1; }
.val-fact .k { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

.val-comps { width: 100%; border-collapse: collapse; font-size: .92rem; }
.val-comps th, .val-comps td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.val-comps th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.val-comps td { color: var(--navy); }
.val-comps td.num, .val-comps th.num { text-align: right; white-space: nowrap; }
.val-comps tr:last-child td { border-bottom: 0; }
.val-comps__wrap { overflow-x: auto; margin-bottom: 20px; }

.val-note { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 30px; }
.val-note b { color: var(--navy); }
.val-note p { color: var(--muted); font-size: .95rem; margin: 4px 0 0; }

.val-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; padding-top: 8px; }
.val-disclaimer { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 26px; line-height: 1.6; }
.val-emailed { text-align: center; color: #2e9e5b; font-weight: 700; font-size: .92rem; margin-bottom: 22px; }

/* Loading / status message under the button */
.val-status { margin-top: 16px; text-align: center; font-size: .92rem; font-weight: 600; }
.val-status.err { color: #c0392b; }

@media (max-width: 960px) {
  .val-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .val-hero__copy { max-width: none; }
  .val-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .val-hero { padding: 110px 0 50px; }
  .val-form { padding: 26px 20px; }
  .val-report__body { padding: 26px 20px; }
  .val-report__head { padding: 26px 22px; }
}

/* ==========================================================================
   Marketing flyer report
   ========================================================================== */
.val-report .val-cta { padding: 26px 40px 0; }
.val-report .val-disclaimer { padding: 14px 40px 20px; margin-top: 0; }
.val-report .val-emailed { padding: 16px 40px 0; margin: 0; }

/* Report typography: a modern geometric sans (Garet-style), scoped to the report
   only so the rest of the site keeps its Fraunces + Plus Jakarta Sans pairing. */
.val-report { --font-head: "Outfit", system-ui, sans-serif; --font-body: "Outfit", system-ui, sans-serif; --gold: #c99a5b; }

.fly { --gold: #c99a5b; position: relative; }

/* Hero */
.fly-hero { position: relative; line-height: 0; }
.fly-hero__img { width: 100%; height: clamp(280px, 34vw, 440px); object-fit: cover; display: block; }
.fly-hero__img--placeholder { background: linear-gradient(135deg, #2c5064, var(--navy-deep)); }
.fly-hero__badge {
  position: absolute; top: 0; left: 0; background: var(--navy-deep);
  width: 25%; min-width: 210px; box-sizing: border-box;
  padding: 1% 5% 1% 3%; clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.fly-hero__badge img { height: 150px; width: auto; display: block; }
.fly-hero__ribbon {
  position: absolute; top: 26px; right: 0; display: flex; align-items: center; gap: 14px;
  background: var(--gold); color: var(--navy-deep); padding: 12px 26px 12px 22px;
  border-radius: 8px 0 0 8px; line-height: 1.25; font-size: 1.05rem;
}
.fly-hero__ribbon b { font-weight: 800; }
.fly-hero__ricon { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy-deep); display: grid; place-items: center; flex: none; }
.fly-hero__ricon svg { width: 22px; height: 22px; }

/* Title + value band */
.fly-title { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px 40px; background: #fff; flex-wrap: wrap; box-shadow: 0 14px 30px -22px rgba(26, 49, 65, .55); }
.fly-title__left h2 { font-family: var(--font-head); font-weight: 500; text-transform: lowercase; font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--navy); line-height: 1.02; }
.fly-title__addr { display: inline-block; margin-top: 10px; padding-bottom: 6px; color: var(--navy); font-weight: 600; border-bottom: 3px solid var(--gold); }
.fly-title__right { text-align: right; min-width: 260px; }
.fly-title__lab { color: var(--gold); font-weight: 700; text-transform: lowercase; letter-spacing: .02em; font-size: 1.05rem; }
.fly-title__price { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.fly-title__range { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.2; margin-top: 2px; }
.fly-title__note { color: var(--muted); font-size: .95rem; }

/* Three columns */
.fly-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; padding: 26px 40px 24px; }
.fly-col__title { font-family: var(--font-head); font-weight: 600; text-transform: lowercase; font-size: 1.3rem; color: var(--navy); margin-bottom: 18px; line-height: 1.1; }
.fly-col__title--gold { color: var(--gold); }

.fly-tiles { display: grid; gap: 18px; }
.fly-tile { display: flex; gap: 14px; align-items: flex-start; }
.fly-tile__ic { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.fly-tile__ic svg { width: 22px; height: 22px; }
.fly-tile b { color: var(--navy); display: block; }
.fly-tile p { color: var(--muted); font-size: .9rem; margin-top: 2px; }

.fly-reasons { display: grid; gap: 16px; }
.fly-reasons li { display: flex; gap: 12px; align-items: flex-start; }
.fly-check { width: 30px; height: 30px; border-radius: 50%; background: rgba(201, 154, 91, .18); color: var(--gold); display: grid; place-items: center; flex: none; margin-top: 2px; }
.fly-check svg { width: 15px; height: 15px; }
.fly-reasons b { color: var(--navy); }
.fly-reasons p { color: var(--muted); font-size: .9rem; margin-top: 2px; }

.fly-comp { display: flex; gap: 14px; margin-bottom: 16px; }
.fly-comp__photo img, .fly-comp__ph { width: 96px; height: 72px; border-radius: 8px; object-fit: cover; display: block; flex: none; background: #dfe4e7; }
.fly-comp__addr { font-size: .85rem; color: var(--navy); font-weight: 600; }
.fly-comp__sold { color: var(--navy); font-weight: 800; font-size: .78rem; letter-spacing: .06em; margin-top: 3px; }
.fly-comp__price { color: var(--navy); font-weight: 700; }
.fly-comp__dom { color: var(--muted); font-size: .82rem; }
.fly-muted { color: var(--muted); font-size: .9rem; }
.fly-updates { margin: 0 40px 24px; }

/* Agent footer */
.fly-foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding: 28px 40px 20px; border-top: 1px solid var(--line); align-items: start; }
.fly-foot__agent { display: flex; gap: 16px; }
.fly-foot__head { width: 92px; height: 116px; object-fit: cover; border-radius: 10px; flex: none; }
.fly-foot__hd { color: var(--gold); font-weight: 700; }
.fly-foot__agent p { color: var(--muted); font-size: .9rem; margin: 6px 0 12px; }
.fly-foot__sig { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.7rem; color: var(--navy); line-height: 1; }
.fly-foot__role { font-size: .85rem; color: var(--navy); font-weight: 700; margin-top: 4px; }
.fly-foot__role span { text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; }
.fly-foot__contact { display: grid; gap: 10px; align-content: start; }
.fly-foot__contact a { color: var(--navy); font-weight: 600; font-size: .95rem; }
.fly-foot__contact a:hover { color: var(--rust); }
.fly-foot__area { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.fly-foot__qr { text-align: center; }
.fly-foot__qr img { width: 112px; height: 112px; margin: 0 auto 8px; }
.fly-foot__qr span { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }
/* Navy branded closing bar (last band of the flyer; prints in the PDF) */
.fly-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--navy-deep); padding: 16px 40px; }
.fly-bar__brand { color: #fff; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.fly-bar__tag { color: var(--gold); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }

/* Above-bar confidence pill is print-only; on screen it lives in the CTA row */
.fly-confidence { display: none; text-align: center; padding: 4px 40px 20px; }
/* CTA row: buttons stay centered, confidence pill pinned to the right */
.val-report .val-cta { position: relative; }
.val-cta__conf { position: absolute; right: 40px; bottom: 0; }
.fly-confidence__pill { display: inline-flex; align-items: center; gap: 8px; background: var(--mist); color: var(--navy); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; font-size: .82rem; font-weight: 600; }
.fly-confidence__pill svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.fly-confidence__pill b { color: var(--rust); }

@media (max-width: 900px) {
  .fly-cols { grid-template-columns: 1fr; gap: 28px; }
  .fly-foot { grid-template-columns: 1fr; }
  .fly-title__right { text-align: left; }
  .val-cta__conf { position: static; transform: none; margin: 4px auto 0; }
}

/* Phones: shrink the hero logo badge + ribbon so they don't dominate the report */
@media (max-width: 560px) {
  .fly-hero__badge { width: 40%; min-width: 0; padding: 0 30px 0 14px; }
  .fly-hero__badge img { height: 64px; }
  .fly-hero__ribbon { font-size: .74rem; padding: 8px 14px 8px 11px; gap: 8px; top: 12px; }
  .fly-hero__ricon { width: 30px; height: 30px; }
  .fly-hero__ricon svg { width: 15px; height: 15px; }
}

/* ---- Print: fit the whole flyer report on one 8.5" x 11" page ---- */
@media print {
  @page { size: letter portrait; margin: 0.3in; }
  html, body { background: #fff !important; }
  .nav, .footer, .val-hero, .val-cta, .hero__scroll, .val-status, .val-emailed, .grecaptcha-badge { display: none !important; }
  .val-report-section { padding: 0 !important; background: #fff !important; }
  .val-report { box-shadow: none !important; border: none !important; border-radius: 0 !important; max-width: none !important; }

  /* Preserve colors and keep the flyer from splitting across pages.
     Scoped to the whole report so the navy bar + confidence pill (which live
     outside .fly) keep their backgrounds when printed. */
  .val-report, .val-report * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fly { page-break-inside: avoid; break-inside: avoid; }

  /* Force the multi-column layouts (print width is < 900px, which would otherwise stack them) */
  .fly-cols { grid-template-columns: repeat(3, 1fr) !important; gap: 18px !important; padding: 16px 26px 6px !important; }
  .fly-foot { grid-template-columns: 1.4fr 1fr 1fr !important; gap: 18px !important; padding: 16px 26px 16px !important; }
  .fly-title__right { text-align: right !important; }

  /* Hero */
  .fly-hero__img { height: 260px !important; }
  .fly-hero__badge { width: 18% !important; min-width: 150px !important; padding: 0 6% 0 4% !important; }
  .fly-hero__badge img { height: 62px !important; }
  .fly-hero__ricon { width: 30px !important; height: 30px !important; }
  .fly-hero__ricon svg { width: 16px !important; height: 16px !important; }
  .fly-hero__ribbon { font-size: 10px !important; gap: 8px !important; }

  /* Title + value */
  .fly-title { padding: 12px 26px 10px !important; gap: 14px !important; box-shadow: none !important; }
  .fly-title__left h2 { font-size: 22px !important; }
  .fly-title__addr { margin-top: 5px !important; font-size: 11px !important; }
  .fly-title__right { min-width: 190px !important; }
  .fly-title__lab { font-size: 11px !important; }
  .fly-title__price { font-size: 22px !important; }
  .fly-title__range { font-size: 12px !important; }
  .fly-title__note { font-size: 10px !important; }

  /* Columns */
  .fly-col__title { font-size: 14px !important; margin-bottom: 9px !important; }
  .fly-tiles { gap: 9px !important; }
  .fly-tile__ic { width: 30px !important; height: 30px !important; }
  .fly-tile__ic svg { width: 15px !important; height: 15px !important; }
  .fly-tile b, .fly-reasons b { font-size: 11px !important; }
  .fly-tile p, .fly-reasons p { font-size: 9.5px !important; }
  .fly-reasons { gap: 9px !important; }
  .fly-check { width: 22px !important; height: 22px !important; margin-top: 1px !important; }
  .fly-check svg { width: 11px !important; height: 11px !important; }
  .fly-comp { margin-bottom: 9px !important; gap: 10px !important; }
  .fly-comp__photo img, .fly-comp__ph { width: 74px !important; height: 56px !important; }
  .fly-comp__addr { font-size: 9.5px !important; }
  .fly-comp__price { font-size: 11px !important; }
  .fly-comp__sold, .fly-comp__dom { font-size: 9px !important; }

  .fly-updates { margin: 0 26px 10px !important; font-size: 10px !important; }

  /* Agent footer */
  .fly-foot__head { width: 66px !important; height: 84px !important; }
  .fly-foot__hd { font-size: 11px !important; }
  .fly-foot__agent p { font-size: 9.5px !important; margin: 4px 0 7px !important; }
  .fly-foot__sig { font-size: 20px !important; }
  .fly-foot__role { font-size: 9.5px !important; }
  .fly-foot__contact { gap: 6px !important; }
  .fly-foot__contact a { font-size: 10px !important; }
  .fly-foot__area { font-size: 9px !important; }
  .fly-foot__qr img { width: 78px !important; height: 78px !important; }
  .fly-foot__qr span { font-size: 8.5px !important; }

  /* Confidence pill (a row above the disclaimer) */
  .fly-confidence { display: block !important; padding: 2px 26px 3px !important; }

  /* Disclaimer */
  .val-report .val-disclaimer { padding: 12px 26px 14px !important; font-size: 8px !important; margin-top: 0 !important; line-height: 1.35 !important; page-break-inside: avoid; }

  /* Navy branded bar — last band at the very bottom */
  .fly-bar { padding: 12px 26px !important; }
  .fly-bar__brand { font-size: 9px !important; }
  .fly-bar__tag { font-size: 8.5px !important; }
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 46px; }
  .about__media { max-width: 460px; }
  .cards, .tests__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::before { display: none; }
  .statsband__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column;
    background: #fff; padding: 100px 34px 40px; gap: 26px; align-items: flex-start;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav__links.open { transform: none; }
  .nav__links a { color: var(--navy); font-size: 1.1rem; }
  .nav__toggle { display: block; z-index: 101; }
  .nav__links .nav__cta { color: #fff; }
  .hero__stats { gap: 30px; }
  .hero__stat .num { font-size: 2rem; }
  .cards, .tests__grid, .steps, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .about__badge { right: 10px; bottom: -20px; }
  .form { padding: 28px 22px; }
}

/* ==========================================================================
   Legal pages (terms.html, privacy-policy.html)
   ========================================================================== */
.legal { padding: 130px 0 90px; background: var(--fog); }
.legal__wrap { max-width: 820px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(28px, 5vw, 60px); }
.legal h1 { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.1; }
.legal__updated { color: var(--muted); font-size: .9rem; margin: 10px 0 4px; }
.legal__intro { color: var(--ink); margin: 20px 0 8px; line-height: 1.7; }
.legal h2 { color: var(--navy); font-size: 1.2rem; margin: 34px 0 10px; }
.legal p { color: var(--ink); line-height: 1.7; margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { color: var(--ink); line-height: 1.7; margin-bottom: 8px; }
.legal a { color: var(--rust); font-weight: 600; }
.legal__contact { margin-top: 6px; line-height: 1.7; color: var(--ink); }
.legal__back { display: inline-block; margin-top: 34px; }
