/* ==========================================================================
   HouseRoot — style.css
   Design tokens → base → layout → components → sections → motion → responsive
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --orange: #F58220;
  --orange-deep: #D86A0C;
  --orange-text: #D14F00;
  --amber: #F7A200;
  --ember: linear-gradient(135deg, #F7A200 0%, #F58220 55%, #E05A05 100%);
  --tint: #FFE6D2;
  --tint-soft: #FFF1E6;

  --ink: #1A1A1A;
  --ink-2: #242424;
  --ink-line: #2E2E2E;
  --text: #1A1A1A;
  --text-2: #5A5A5A;
  --text-3: #7A7A7A;
  --text-4: #9A9A9A;
  --muted: #B5B5B5;
  --on-dark-2: #B9B2AA;

  --ground: #F3EDE6;
  --card: #FAF6F1;
  --white: #FFFFFF;
  --field: #F6F1EB;
  --line: #EADFD4;
  --line-soft: #F1E8DF;

  --r-pill: 999px;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 22px;
  --r-sm: 16px;

  --shadow-card: 0 30px 80px -40px rgba(0, 0, 0, .25);
  --shadow-float: 0 24px 60px -24px rgba(0, 0, 0, .35);
  --shadow-hover: 0 28px 60px -30px rgba(0, 0, 0, .3);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .18s;
  --t-base: .3s;
  --t-slow: .6s;

  --wrap: 1360px;
  --pad: 56px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-text); text-decoration: none; }
a:hover { color: #A33D00; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.page { width: 100%; }
.card-shell { background: var(--card); background-image: radial-gradient(900px 600px at 100% 0%, rgba(245, 130, 32, .10), rgba(245, 130, 32, 0) 65%), radial-gradient(700px 500px at 0% 40%, rgba(247, 162, 0, .07), rgba(247, 162, 0, 0) 65%); min-height: 100vh; }
.card-shell--dark { background: var(--ink); background-image: none; color: var(--white); }
.inner { width: 100%; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: 72px; padding-bottom: 72px; }
.section--white { background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F0 100%); position: relative; }
.section--white::before, .section--card::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; border-radius: inherit; background: radial-gradient(720px 420px at 88% 8%, rgba(245, 130, 32, .10), rgba(245, 130, 32, 0) 70%), radial-gradient(560px 360px at 6% 96%, rgba(247, 162, 0, .08), rgba(247, 162, 0, 0) 70%); }
.section--white > *, .section--card > * { position: relative; z-index: 1; }
.section--card { background: linear-gradient(180deg, #FAF6F1 0%, #FFF3E8 100%); position: relative; }
.section--dark { background: var(--ink); color: var(--white); }
.section--ember { background: var(--ember); color: var(--white); position: relative; overflow: hidden; }
.section--top-round { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.rule { width: 40px; height: 4px; border-radius: 2px; background: var(--orange); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.section--dark .eyebrow, .section--ember .eyebrow, .card-shell--dark .eyebrow { color: var(--amber); }
.section--ember .eyebrow { color: #fff; opacity: .85; }
.lede { font-size: 16px; line-height: 1.6; color: var(--text-2); }
.section--dark .lede, .card-shell--dark .lede { color: var(--on-dark-2); }
.section--ember .lede { color: #fff; opacity: .92; }
.muted { color: var(--orange-text); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .muted, .muted .w { background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--start { align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.chevron-bg { position: absolute; width: 760px; height: 760px; background: linear-gradient(135deg, #F7A200, #F26B0E); opacity: .12; clip-path: polygon(50% 0, 100% 42%, 100% 60%, 50% 18%, 0 60%, 0 42%); pointer-events: none; }
.chevron-bg--white { background: #fff; opacity: .1; }

/* Type scale */
.h-display { font-size: 24px; overflow-wrap: anywhere; line-height: 1.25; letter-spacing: -.01em; }
.h-1 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.h-2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.h-3 { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.h-3--section { font-size: 18px; font-weight: 700; padding-bottom: 4px; }
.h-4 { font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 30px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  font: 700 15px var(--font-body); color: #fff; background: var(--ember); box-shadow: 0 10px 24px -14px rgba(224, 90, 5, .6);
  transition: background var(--t-fast) ease, transform var(--t-fast) ease, box-shadow var(--t-fast) ease, color var(--t-fast) ease;
  white-space: nowrap;
}
.btn:hover { background: linear-gradient(135deg, #F29A00 0%, #E8730F 55%, #CC4E00 100%); color: #fff; transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(224, 90, 5, .7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--lg { height: 64px; padding: 0 36px; }
.btn--dark { background: var(--ink); box-shadow: none; }
.btn--dark:hover { background: var(--orange); }
.btn--white { background: #fff; color: var(--ink); box-shadow: none; }
.btn--white:hover { background: var(--tint); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--outline:hover { background: var(--tint-soft); }
.btn--outline:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--block { width: 100%; }
.btn--round { width: 54px; height: 54px; padding: 0; border-radius: 50%; }
.btn-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--field); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast); flex-shrink: 0; }
.btn-arrow:hover { background: var(--tint); color: var(--orange-text); }
.link { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.link:hover { color: var(--orange-text); }
.link--u { padding-bottom: 4px; border-bottom: 2px solid var(--orange); }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: #fff; border-radius: var(--r-pill); padding: 6px; gap: 4px; box-shadow: 0 1px 0 var(--line); position: relative; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex-shrink: 0; position: relative; z-index: 1; height: 44px; padding: 0 28px; border-radius: var(--r-pill); border: 0; background: transparent; font: 600 15px var(--font-body); color: var(--ink); cursor: pointer; transition: color var(--t-base) ease; }
.seg button:hover { color: var(--orange-text); }
.seg button.is-on { color: #fff; }
.seg__thumb { position: absolute; top: 6px; left: 6px; height: 44px; width: 0; border-radius: var(--r-pill); background: var(--orange); transition: left var(--t-base) var(--ease), width var(--t-base) var(--ease); }
.seg--sm button { height: 40px; padding: 0 18px; font-size: 14px; }
.seg--sm .seg__thumb { height: 40px; }

/* ---------- Pills, chips, tags ---------- */
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--field); font: 600 13px var(--font-body); color: var(--text-2); }
.tag { position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); background: var(--orange); color: #fff; z-index: 1; }
.tag--dark { background: var(--ink); }
.tag--white { background: #fff; color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font: 700 12px var(--font-body); }

/* ---------- Photo placeholders ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-md); background: linear-gradient(180deg, #DADADA 0%, #BDBDBD 100%); display: flex; align-items: center; justify-content: center; color: #6E6E6E; font: 600 14px var(--font-body); text-align: center; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--sq { border-radius: 0; }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%; border: 0; border-radius: 12px; padding: 0 16px; height: 44px;
  font: 500 14px var(--font-body); color: var(--ink); background: var(--field); outline: none;
  transition: box-shadow var(--t-fast);
}
.textarea { height: auto; border-radius: 12px; padding: 12px 16px; resize: vertical; min-height: 80px; }
.select { appearance: none; -webkit-appearance: none; 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='%231A1A1A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 2px var(--orange); }
.input::placeholder, .textarea::placeholder { color: var(--text-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-card { background: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .3); }
.form-card .btn { height: 46px; border-radius: 12px; font-size: 14px; }
.split > .form-card { max-width: 540px; width: 100%; justify-self: end; }
.form-note { font-size: 12px; line-height: 1.5; color: #8A8A8A; text-align: center; }
.form-success { display: none; text-align: center; padding: 32px 0; gap: 10px; flex-direction: column; align-items: center; }
.form-success.is-on { display: flex; }
.form-card.is-sent > :not(.form-success) { display: none; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; min-height: 32px; }
.check input { width: 18px; height: 18px; accent-color: var(--orange); margin: 0; }

/* ---------- Header / nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px 0 28px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 24px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 40px -28px rgba(0, 0, 0, .35); transition: height var(--t-base) var(--ease), box-shadow var(--t-base); }
.nav__logo img { height: 26px; width: auto; transition: height var(--t-base) var(--ease); }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a, .nav__right > a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 14px; position: relative; padding: 4px 0; }
.card-shell--dark .nav__links a, .card-shell--dark .nav__right > a:not(.btn) { color: #fff; }
.nav__links a::after, .nav__right > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease); }
.nav__links a:hover::after, .nav__right > a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active:not(.btn) { color: var(--orange-text); font-weight: 700; }
.card-shell--dark .nav a.is-active:not(.btn) { color: var(--amber); }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav .btn--sm { height: 38px; padding: 0 18px; font-size: 13px; }
.nav__login { margin-right: -10px; }
.card-shell--dark .nav__login { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.card-shell--dark .nav__login:hover { background: rgba(255, 255, 255, .1); }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav__burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t-base) var(--ease), opacity var(--t-base); }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header.is-stuck .nav { height: 54px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 18px 40px -22px rgba(0, 0, 0, .45); }
.header.is-stuck .nav__logo img { height: 22px; }
.header { position: sticky; top: 0; z-index: 50; padding: 12px var(--pad) 0; pointer-events: none; }
.header .nav { pointer-events: auto; }
.card-shell--dark .nav { background: rgba(36, 36, 36, .94); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 40px -28px rgba(0, 0, 0, .8); }
.card-shell--dark .nav__burger { background: var(--ink-line); }
.card-shell--dark .nav__burger span { background: #fff; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(26, 26, 26, .45); opacity: 0; transition: opacity var(--t-base); }
.drawer__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(360px, calc(100% - 24px)); background: #fff; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; transform: translateX(110%); transition: transform .45s var(--ease); overflow: auto; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a:not(.btn) { display: block; padding: 14px 0; font: 600 18px var(--font-display); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.drawer__panel a.is-active:not(.btn) { color: var(--orange-text); }
.drawer__close { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--field); cursor: pointer; font-size: 22px; }
.drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: clamp(600px, 86vh, 800px); margin-top: -72px; display: flex; align-items: center; overflow: hidden; background: #F3EDE4; }
.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(250, 246, 241, .96) 0%, rgba(250, 246, 241, .88) 28%, rgba(250, 246, 241, .55) 46%, rgba(250, 246, 241, 0) 64%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(250, 246, 241, 0), rgba(250, 246, 241, .9)); }
.hero__grid { position: relative; z-index: 2; width: 100%; padding-top: 100px; padding-bottom: 120px; }
.hero__copy { display: flex; flex-direction: column; gap: 18px; max-width: 520px; min-width: 0; }
.hero__title { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; max-width: 420px; }
.hero__lede { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 420px; }
.hero .search { max-width: 480px; }
/* Floating search panel under the hero */
.finder-wrap { position: relative; z-index: 3; margin-top: -72px; }
.finder { max-width: 1180px; margin: 0 auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .04); padding: 0 24px 20px; }
.finder__tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line-soft); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.finder__tabs::-webkit-scrollbar { display: none; }
.finder__tabs button { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border: 0; background: transparent; font: 600 14px var(--font-body); color: var(--text-2); cursor: pointer; position: relative; white-space: nowrap; transition: color var(--t-fast); }
.finder__tabs button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ember); transform: scaleX(0); transition: transform var(--t-base) var(--ease); }
.finder__tabs button:hover { color: var(--ink); }
.finder__tabs button.is-on { color: var(--ink); }
.finder__tabs button.is-on::after { transform: scaleX(1); }
.finder__tabs button.is-on svg { color: var(--orange-text); }
.finder__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: 12px; align-items: end; }
.finder__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.finder__lbl { font-size: 12px; font-weight: 600; color: var(--text-3); padding-left: 2px; }
.finder__in { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: var(--field); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-3); transition: box-shadow var(--t-fast); }
.finder__in:focus-within { box-shadow: inset 0 0 0 2px var(--orange); }
.finder__in input, .finder__in select { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 600 14px var(--font-body); color: var(--ink); padding: 0; appearance: none; -webkit-appearance: none; cursor: pointer; }
.finder__in input { cursor: text; }
.finder__in input::placeholder { color: var(--text-4); font-weight: 500; }
.finder__in select { background: 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='%231A1A1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; padding-right: 22px; }
.finder__btn { height: 52px; padding: 0 28px; border-radius: 14px; }
.callout { position: absolute; z-index: 2; display: flex; align-items: center; color: var(--ink); }
.callout__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(245, 130, 32, .25); flex-shrink: 0; position: relative; }
.callout__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: ring 2.4s ease-out infinite; }
.callout__line { width: 56px; height: 0; border-top: 1.5px dashed rgba(26, 26, 26, .45); flex-shrink: 0; }
.callout__card { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .6); white-space: nowrap; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.callout__card strong { font: 600 15px var(--font-display); }
.callout__card span { font-size: 13px; color: var(--text-2); }
.callout:hover { color: var(--ink); }
.callout:hover .callout__card { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.callout--roof { left: 66%; top: 29%; }
.callout--visit { right: 39.5%; top: 71%; flex-direction: row-reverse; }
.search { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--r-pill); padding: 8px 8px 8px 22px; box-shadow: 0 12px 32px -20px rgba(0, 0, 0, .25), 0 0 0 1px #ECECEC; transition: box-shadow var(--t-base); }
.search:focus-within { box-shadow: 0 12px 32px -20px rgba(0, 0, 0, .25), 0 0 0 2px var(--orange); }
.search input { flex: 1; border: 0; outline: none; font: 500 16px var(--font-body); color: var(--ink); background: transparent; min-width: 0; }
.quote { font: italic 500 20px var(--font-body); line-height: 1.45; color: var(--text-2); max-width: 380px; }
.hairline { width: 48px; height: 1px; background: #E2E2E2; }
.stats { display: flex; }
.stats > div { display: flex; flex-direction: column; gap: 4px; padding-right: 24px; margin-right: 24px; border-right: 1px solid rgba(26, 26, 26, .12); }
.stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stat { font: 700 24px var(--font-display); letter-spacing: -.01em; line-height: 1; }
.stat-l { font-size: 14px; color: var(--text-3); font-weight: 500; }
.avatars { display: flex; align-items: center; }
.avatars span { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--card); margin-left: -14px; background: linear-gradient(135deg, #E9E9E9, #CFCFCF); display: inline-flex; align-items: center; justify-content: center; font: 700 12px var(--font-body); color: #8A8A8A; transition: transform var(--t-base) var(--ease); }
.avatars span:first-child { margin-left: 0; }
.avatars:hover span { transform: translateX(6px); }
.avatars:hover span:first-child { transform: none; }
.avatars__plus { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 0 var(--line); font: 600 22px var(--font-display); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.post-card__img { display: block; height: 200px; border-radius: 0; color: #6E6E6E; }
.post-card__body { padding: 20px 22px 24px; flex: 1; }
.post-card__body h2 a { color: var(--ink); }
.post-card__body h2 a:hover { color: var(--orange-text); }
.post-card__body p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.post-card__meta { font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.post { max-width: 760px; margin: 0 auto; }
.post-cover { height: 380px; border-radius: 20px; }
.prose { font-size: 16px; line-height: 1.75; color: var(--text); display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 20px; margin-top: 12px; }
.prose h3 { font-size: 17px; font-weight: 600; margin-top: 6px; }
.prose h4 { font-size: 16px; font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose blockquote { border-left: 3px solid var(--orange); padding: 6px 0 6px 18px; color: var(--text-2); font-style: italic; }
.prose img { border-radius: 16px; width: 100%; }
.prose code { background: var(--field); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Why HouseRoot (home) ---------- */
.why-panel { position: relative; overflow: hidden; background: var(--ember); color: #fff; border-radius: 28px; padding: 56px 48px; display: flex; flex-direction: column; gap: 40px; box-shadow: 0 40px 80px -40px rgba(224, 90, 5, .55); }
.why-panel .eyebrow { color: #fff; opacity: .85; }
.why-panel .rule { background: #fff; opacity: .9; }
.why-panel .lede { color: #fff; opacity: .92; }
.why-panel__blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(40px); }
.why-panel__blob--a { width: 420px; height: 420px; left: -120px; bottom: -200px; background: rgba(255, 220, 180, .45); }
.why-panel__blob--b { width: 360px; height: 360px; right: 18%; top: -160px; background: rgba(255, 245, 230, .35); }
.why { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.why__item { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 18px 40px -24px rgba(0, 0, 0, .35); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: transform var(--t-base) var(--ease), background var(--t-base), border-color var(--t-base); }
.why__item:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .6); }
.why__ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.why__item h3 { color: #fff; }
.why__item p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .88); }

/* ---------- How it works (home) ---------- */
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: how; position: relative; }
.how::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 80px; border-top: 2px dashed var(--line); }
.how__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; }
.how__art { width: 100%; max-width: 230px; aspect-ratio: 220 / 150; background: var(--card); border-radius: 22px; padding: 12px 10px; margin-bottom: 8px; transition: transform var(--t-base) var(--ease), background var(--t-base); }
.how__art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.how__step:hover .how__art { transform: translateY(-4px); background: var(--tint-soft); }
.how__step h3 { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.how__n { font: 700 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text); }
.how__step p { font-size: 14px; line-height: 1.55; color: var(--text-2); max-width: 260px; }

/* ---------- Feature rows ---------- */
.feat { display: flex; align-items: center; gap: 24px; background: #fff; border-radius: var(--r-md); padding: 24px 28px; color: var(--ink); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.feat__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--t-base) var(--ease); }
.feat:hover .feat__ic { transform: rotate(-8deg) scale(1.05); }
.feat:hover .btn-arrow { background: var(--orange); color: #fff; transform: translateX(4px); }
.play-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--r-pill); padding: 10px 24px 10px 10px; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .35); color: var(--ink); font-size: 15px; line-height: 1.3; white-space: nowrap; transition: transform var(--t-base) var(--ease); }
.play-pill:hover { transform: translate(-50%, -50%) scale(1.04); color: var(--ink); }
.play-pill__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; position: relative; }
.play-pill__ic::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--orange); opacity: 0; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.8); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }

/* ---------- Filter bar ---------- */
.bar { display: grid; grid-template-columns: 1fr 1fr 1fr auto; background: #fff; border-radius: var(--r-pill); padding: 6px 6px 6px 22px; width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .3), 0 0 0 1px #ECECEC; align-items: center; }
.bar--4 { grid-template-columns: 1.2fr 1fr 1fr 1fr auto; max-width: none; }
.bar .btn { height: 48px; padding: 0 24px; font-size: 14px; }
.bar__f { display: flex; align-items: center; gap: 12px; padding: 4px 16px 4px 0; border-right: 1px solid var(--line); margin-right: 16px; }
.bar__f > svg { width: 18px; height: 18px; flex-shrink: 0; }
.bar__f:last-of-type { border-right: 0; }
.bar__f label { display: flex; flex-direction: column; gap: 1px; font: 600 13px var(--font-body); color: var(--ink); flex: 1; }
.bar__f select { border: 0; background: transparent; font: 500 13px var(--font-body); color: var(--text-3); padding: 0; outline: none; appearance: none; -webkit-appearance: none; cursor: pointer; }

/* ---------- Project cards ---------- */
.pcard { background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pcard .photo { height: 230px; border-radius: 0; }
.pcard .photo img { transition: transform .8s var(--ease); }
.pcard:hover .photo img { transform: scale(1.05); }
.pcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pcard__meta { font-size: 14px; color: var(--text-3); }
.pcard__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-soft); margin-top: auto; }
.price { font: 700 18px var(--font-display); color: #F26B0E; }
.save { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; transition: background var(--t-fast), transform var(--t-fast); }
.save:hover { background: var(--tint); transform: scale(1.08); }
.save.is-saved svg { fill: var(--orange); stroke: var(--orange); }
.save.is-saved { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(1.25); } }

/* ---------- Listing layout + filter rail ---------- */
.listing-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.rail { background: var(--card); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; }
.rail h3 { font: 600 13px var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.rail__body { display: flex; flex-direction: column; gap: 22px; }
.rail__group { display: flex; flex-direction: column; gap: 10px; }
.rail__promo { position: relative; }
.rail__promo::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 1px; background: var(--line); }
.rail__toggle { display: none; }
.pg { display: flex; justify-content: center; gap: 8px; }
.pg a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; transition: background var(--t-fast), color var(--t-fast); }
.pg a:hover { background: var(--tint); color: var(--orange-text); }
.pg a.is-on { background: var(--orange); color: #fff; }

/* ---------- Project detail ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: 520px; }
.gallery > :first-child { grid-row: 1 / span 2; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; background: var(--card); border-radius: 24px; padding: 14px; }
.fact { background: #fff; border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fact span { font-size: 12px; font-weight: 600; color: #8A8A8A; letter-spacing: .04em; text-transform: uppercase; }
.fact strong { font: 600 16px var(--font-display); }
.tabs { display: flex; gap: 4px; background: #fff; border-radius: var(--r-pill); padding: 6px; align-self: flex-start; position: sticky; top: 88px; z-index: 5; box-shadow: 0 1px 0 var(--line); max-width: 100%; overflow-x: auto; }
.tabs a { height: 42px; padding: 0 20px; border-radius: var(--r-pill); display: inline-flex; align-items: center; font: 600 14px var(--font-body); color: var(--ink); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.tabs a:hover { background: var(--tint-soft); color: var(--orange-text); }
.tabs a.is-on { background: var(--ink); color: #fff; }
.units { width: 100%; border-collapse: collapse; background: #fff; }
.units th, .units td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line-soft); }
.units th { font-weight: 600; color: #8A8A8A; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: #FAFAFA; }
.units tr:last-child td { border-bottom: 0; }
.units tbody tr { transition: background var(--t-fast); }
.units tbody tr:hover { background: #FFF8F2; }
.table-wrap { overflow-x: auto; border-radius: 20px; box-shadow: 0 0 0 1px var(--line-soft); }
.amen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--card); border-radius: 24px; padding: 14px; }
.amen div { background: #fff; border-radius: 16px; padding: 16px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.near { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.near:last-child { border-bottom: 0; }
.verdict { background: var(--ink); color: #fff; border-radius: 26px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.verdict ul { padding-left: 18px; list-style: disc; font-size: 15px; line-height: 1.7; color: #D9D4CE; }
.sticky-card { background: #fff; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .3); position: sticky; top: 100px; }
.advisor { display: flex; align-items: center; gap: 14px; }
.advisor__pic { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #E9E9E9, #CFCFCF); display: inline-flex; align-items: center; justify-content: center; font: 700 14px var(--font-body); color: #8A8A8A; flex-shrink: 0; }

/* ---------- About / Developers / Contact bits ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; background: var(--card); border-radius: 28px; padding: 14px; }
.kpi { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.kpi strong { font: 700 24px var(--font-display); letter-spacing: -.01em; line-height: 1; }
.kpi > span { font-size: 14px; color: var(--text-3); font-weight: 500; }
.kpis--dark { background: transparent; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpis--dark .kpi { background: var(--ink-2); border: 1px solid var(--ink-line); color: #fff; }
.kpis--dark .kpi strong { color: var(--amber); font-size: 24px; }
.kpis--dark .kpi > span { color: var(--on-dark-2); }
.value { background: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value__n { font: 700 15px var(--font-display); color: var(--orange); letter-spacing: .08em; }
.value p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.step { display: flex; gap: 18px; background: var(--card); border-radius: 22px; padding: 24px; }
.step__n { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 15px var(--font-display); flex-shrink: 0; }
.member .photo { height: 260px; }
.member { display: flex; flex-direction: column; gap: 12px; }
.member .photo img { transition: transform .8s var(--ease), filter .8s; filter: grayscale(.2); }
.member:hover .photo img { transform: scale(1.04); filter: none; }
.svc { background: #fff; border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.svc__ic { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); display: inline-flex; align-items: center; justify-content: center; }
.svc p { font-size: 15px; line-height: 1.6; color: var(--text-2); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow div { background: var(--card); border-radius: 20px; padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.flow .n { font: 700 13px var(--font-display); color: var(--orange); letter-spacing: .08em; }
.flow strong { font: 600 16px var(--font-display); }
.flow span { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.dash { background: #fff; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .35); color: var(--ink); }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash__kpi { background: var(--card); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.dash__kpi span { font-size: 11px; font-weight: 600; color: #8A8A8A; text-transform: uppercase; letter-spacing: .06em; }
.dash__kpi strong { font: 700 22px var(--font-display); }
.dash__kpi--hot { background: var(--tint); }
.dash__kpi--hot span { color: #B84A00; }
.dash__kpi--hot strong { color: var(--orange-text); }
.dash__row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; align-items: center; font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.dash__row:last-child { border-bottom: 0; }
.dash__head { font-size: 11px; font-weight: 600; color: #8A8A8A; text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1E7A3C; display: inline-block; margin-right: 6px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.glass-form { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.glass-form .label { color: #fff; }
.glass-form .input, .glass-form .select, .glass-form .textarea { background: #fff; }
.way { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--ink); }
.way__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); display: inline-flex; align-items: center; justify-content: center; }
.way span { font-size: 14px; line-height: 1.5; color: #6E6E6E; }
.agent { background: #fff; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base); }
.agent:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.agent .photo { width: 100%; height: 200px; border-radius: 18px; }
.agent.is-hidden { display: none; }
.faq details { background: #fff; border-radius: 18px; padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 600 16px var(--font-display); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--font-display); color: var(--orange); transition: transform var(--t-base) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.faq .faq__body { overflow: hidden; }
.contact-line { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.contact-line:hover { color: var(--orange-text); }
.contact-line__ic { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); flex-shrink: 0; }
.contact-line__ic--soft { background: var(--tint); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { font-size: 15px; line-height: 1.6; color: var(--on-dark-2); max-width: 360px; }
.footer h4 { font: 600 13px var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col span { color: #fff; font-size: 15px; }
.footer__col span { color: var(--on-dark-2); line-height: 1.6; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; color: #8A8A8A; }
.footer__bottom a { color: #8A8A8A; }
.footer__bottom a:hover { color: #fff; }

/* Floating WhatsApp */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 16px 36px -14px rgba(37, 211, 102, .7); transition: transform var(--t-base) var(--ease); }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }

/* ---------- Motion: reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > :nth-child(1) { transition-delay: .0s; }
[data-stagger].is-in > :nth-child(2) { transition-delay: .08s; }
[data-stagger].is-in > :nth-child(3) { transition-delay: .16s; }
[data-stagger].is-in > :nth-child(4) { transition-delay: .24s; }
[data-stagger].is-in > :nth-child(5) { transition-delay: .32s; }
[data-stagger].is-in > :nth-child(6) { transition-delay: .40s; }
[data-stagger].is-in > :nth-child(7) { transition-delay: .48s; }
[data-stagger].is-in > :nth-child(8) { transition-delay: .56s; }

/* Hero entrance (runs once on load) */
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(1) { animation-delay: .05s; }
.hero__copy > :nth-child(2) { animation-delay: .15s; }
.hero__copy > :nth-child(3) { animation-delay: .25s; }
.hero__copy > :nth-child(4) { animation-delay: .32s; }
.hero__copy > :nth-child(5) { animation-delay: .4s; }
.hero__copy > :nth-child(6) { animation-delay: .48s; }
.hero__art { animation: enter 1s ease both; }
.callout { animation: rise .9s var(--ease) both; }
.callout--roof { animation-delay: .7s; }
.callout--visit { animation-delay: .85s; }
.listing { animation: rise .9s var(--ease) both .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Word-by-word headline */
.words .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); animation: word .8s var(--ease) forwards; }
@keyframes word { to { opacity: 1; transform: none; } }

/* Counters */
[data-count] { font-variant-numeric: tabular-nums; }

/* Marquee (optional) */
.marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Page transition */
body.is-leaving { animation: leave .3s ease forwards; }
@keyframes leave { to { opacity: 0; transform: translateY(-8px); } }
body { animation: enter .5s ease both; }
@keyframes enter { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; }
  .words .w { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --pad: 36px; }
  .nav__links { display: none; }
  .nav__right > a:not(.btn) { display: none; }
  .nav__burger { display: inline-flex; }
  .hero { min-height: 0; display: block; }
  .hero::before, .hero::after, .callout { display: none; }
  .hero__art { position: relative; height: 300px; margin-top: 84px; }
  .finder-wrap { margin-top: 0; padding-top: 8px; }
  .finder__row { grid-template-columns: 1fr 1fr; }
  .finder__btn { grid-column: 1 / -1; }
  .hero__img { object-position: 50% 70%; }
  .hero__grid { padding-top: 36px; padding-bottom: 48px; }
  .hero__copy { max-width: none; }
  .split, .listing-layout, .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts, .amen, .kpis, .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis--dark { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bar, .bar--4 { grid-template-columns: 1fr; border-radius: 28px; gap: 4px; }
  .how { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-panel { padding: 40px 28px; }
  .how::before { display: none; }
  .bar__f { border-right: 0; border-bottom: 1px solid var(--line); margin-right: 0; padding: 12px 0; }
  .bar__f:last-of-type { border-bottom: 0; }
  .rail { position: static; }
  .rail__toggle { display: inline-flex; }
  .rail__body { display: none; }
  .rail.is-open .rail__body { display: contents; }
  .sticky-card { position: static; }
  .tabs { top: 76px; }
  .gallery { height: 420px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  .section--top-round { border-radius: 28px 28px 0 0; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .how { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-cover { height: 220px; }
  .why { grid-template-columns: 1fr; }
  .why-panel { padding: 32px 20px; border-radius: 22px; }
  .nav { height: 54px; padding: 0 8px 0 16px; border-radius: 16px; }
  .nav__login { display: none; }
  .header { padding-top: 10px; }
  .hero { margin-top: -64px; }
  .hero__art { margin-top: 74px; }
  .nav__logo img { height: 22px; }
  .hero__art { height: 220px; }
  .finder { padding: 0 16px 16px; border-radius: 18px; }
  .finder__row { grid-template-columns: 1fr; gap: 10px; }
  .finder__tabs button { padding: 0 12px; height: 48px; }
  .listing { position: static; width: 100%; margin-top: 12px; }
  .listing { position: relative; z-index: 1; }
  .grid-3, .grid-4, .form-grid, .footer__grid, .facts, .amen, .flow, .dash__kpis { grid-template-columns: 1fr; }
  .stats { flex-wrap: wrap; gap: 16px; }
  .stats > div { border-right: 0; margin-right: 0; padding-right: 0; }
  .seg button { padding: 0 18px; font-size: 14px; }
  .form-card, .glass-form { padding: 18px; }
  .split > .form-card { max-width: none; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .gallery > :first-child { grid-row: auto; height: 240px; }
  .gallery > * { height: 150px; }
  .verdict { padding: 24px; }
  .verdict__cols { grid-template-columns: 1fr !important; }
  .dash__row { grid-template-columns: 1fr 1fr; }
  .feat { padding: 20px; gap: 16px; }
  .feat__ic { width: 60px; height: 60px; }
  .feat .btn-arrow { display: none; }
  .wa-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
