:root {
  --deep: #1F3A2E; --deeper: #142820; --accent: #C8A15A; --accent2: #E2C27F;
  --ink: #1d2320; --muted: #5d6660; --paper: #FBF7EF; --card: #F3ECDF; --line: #E4D9C4;
  --wa: #25D366; --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
h2 { font-size: clamp(30px, 4.2vw, 52px); color: var(--deep); margin-bottom: 18px; }
h3 { font-size: 20px; color: var(--deep); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.body { font-size: 17px; color: var(--muted); max-width: 52ch; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.tint { background: var(--card); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; border: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--accent); color: var(--deeper); box-shadow: 0 10px 30px -10px rgba(200,161,90,.8); }
.btn-gold:hover { background: var(--accent2); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.big { padding: 20px 34px; font-size: 17px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(16px, 4vw, 44px); transition: background .3s, padding .3s, box-shadow .3s; }
.nav.solid { background: rgba(20,40,32,.88); backdrop-filter: blur(14px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 8px 30px -18px rgba(0,0,0,.6); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand .mark { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.brand .mark img { width: 100%; height: 100%; }
.brand .word { font-weight: 700; letter-spacing: .22em; font-size: 14px; line-height: 1.2; }
.brand .word small { display: block; font-weight: 500; letter-spacing: .12em; font-size: 9.5px; opacity: .75; }
.links { display: flex; gap: 28px; }
.links a { color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--accent); transition: right .25s; }
.links a:hover::after { right: 0; }

/* hero */
.hero { position: relative; height: 100svh; min-height: 620px; background: linear-gradient(180deg, #cfe0e6 0%, #efe7d6 100%); overflow: hidden; }
#house3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#house3d:active { cursor: grabbing; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(20,40,32,.88) 0%, rgba(20,40,32,.55) 34%, rgba(20,40,32,0) 62%), linear-gradient(0deg, rgba(20,40,32,.55) 0%, rgba(20,40,32,0) 30%), linear-gradient(180deg, rgba(20,40,32,.5) 0%, rgba(20,40,32,0) 18%); }
.hero-copy { position: absolute; left: clamp(16px, 6vw, 90px); top: 50%; transform: translateY(-50%); max-width: 620px; color: #fff; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero-copy .eyebrow { color: var(--accent2); }
.hero h1 { font-size: clamp(40px, 6.3vw, 84px); color: #fff; }
.hero h1 em { color: var(--accent2); }
.hero .lede { font-size: clamp(16px, 1.5vw, 19px); color: #dbe5df; margin: 22px 0 30px; max-width: 46ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-controls { position: absolute; right: clamp(16px, 4vw, 44px); bottom: 34px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chip { background: rgba(20,40,32,.6); color: #fff; border: 1px solid rgba(255,255,255,.25); padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; backdrop-filter: blur(8px); transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent2); }
.chip.active { background: var(--accent); color: var(--deeper); border-color: var(--accent); }
.hero-hint { position: absolute; left: clamp(16px, 6vw, 90px); bottom: 34px; color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* marquee */
.marquee { background: var(--deep); color: #fff; overflow: hidden; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.marquee .track { display: flex; gap: 34px; width: max-content; animation: slide 36s linear infinite; font-family: Fraunces, serif; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* two col + compare */
.two { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; font-size: 16px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--deeper); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.ticks.light li { color: #d7e1db; }
.compare { position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(20,40,32,.55); user-select: none; touch-action: pan-y; background: #fff; }
.compare > img, .compare-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #fff; }
.compare-top img { object-fit: contain; background: #fff; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--accent); transform: translateX(-50%); cursor: ew-resize; outline: none; }
.compare .handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--deeper); display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; }
.compare .handle:focus-visible span, .compare:hover .handle span { transform: translate(-50%, -50%) scale(1.08); }
.compare .tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(20,40,32,.85); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.compare .tag.l { left: 16px; } .compare .tag.r { right: 16px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; perspective: 1000px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .25s; will-change: transform; }
.card:hover { box-shadow: 0 30px 60px -30px rgba(20,40,32,.5); }
.card .ph { aspect-ratio: 4/3.2; overflow: hidden; background: #fff; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .ph img { transform: scale(1.06); }
.card .cb { padding: 20px 22px 24px; }
.card .num { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .15em; }
.card h3 { margin: 6px 0 8px; font-size: 19px; }
.card p { font-size: 14.5px; color: var(--muted); }
.pill { display: inline-block; font-family: Inter, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--deeper); padding: 3px 8px; border-radius: 999px; vertical-align: middle; }

/* dark video section */
.dark { background: var(--deep); color: #fff; }
.dark h2 { color: #fff; } .dark h2 em { color: var(--accent2); }
.dark .body { color: #c3d0c8; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.videos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.vid { position: relative; border-radius: var(--r); overflow: hidden; background: #0d1a14; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.vid video { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.vid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 13px; color: #d9e2dc; background: linear-gradient(0deg, rgba(10,20,15,.9), rgba(10,20,15,0)); }
.vid figcaption b { display: block; font-family: Fraunces, serif; font-size: 18px; color: #fff; }
.vbtn { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(200,161,90,.95); color: var(--deeper); font-size: 12px; font-weight: 700; }
.vid-side { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 28px; }
.vid-side h3 { color: #fff; margin-bottom: 14px; }
.vid-side .ticks { margin-top: 0; }
.vid-side .ticks li { font-size: 14.5px; }
.vid-side .mt { margin-top: 26px; }
.goodfor { display: flex; flex-wrap: wrap; gap: 8px; }
.goodfor span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(226,194,127,.4); color: var(--accent2); }
.offer { flex-wrap: wrap; margin-top: 26px; background: var(--accent); color: var(--deeper); border-radius: 14px; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.offer b { font-family: Fraunces, serif; font-size: 17px; display: block; }
.offer small { display: block; font-size: 12px; opacity: .8; }
.offer .price { font-family: Fraunces, serif; font-size: 28px; font-weight: 700; text-align: right; line-height: 1; }
.offer .price small { font-family: Inter, sans-serif; font-size: 11px; font-weight: 500; margin-top: 4px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 36px; box-shadow: 0 40px 90px -50px rgba(20,40,32,.5); }
.calc-in { padding: clamp(24px, 4vw, 48px); }
.calc-out { padding: clamp(24px, 4vw, 48px); background: var(--deep); color: #fff; display: flex; flex-direction: column; }
.lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.area-read { font-family: Fraunces, serif; font-size: clamp(52px, 7vw, 84px); font-weight: 700; color: var(--deep); line-height: 1; margin: 10px 0 18px; }
.area-read span { font-size: .32em; color: var(--muted); font-weight: 500; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--fill, 16%), var(--line) var(--fill, 16%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); border: 5px solid var(--accent); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--deep); border: 5px solid var(--accent); cursor: pointer; }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 10px; }
.floors { display: flex; align-items: center; gap: 16px; margin: 30px 0 22px; }
.seg { display: inline-flex; background: var(--card); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--deep); color: #fff; }
.switch { display: flex; align-items: center; gap: 12px; font-weight: 500; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch .knob { width: 48px; height: 28px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.switch input:checked + .knob { background: var(--accent); }
.switch input:checked + .knob::after { transform: translateX(20px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--deep); outline-offset: 2px; }
.calc-out .line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: opacity .3s; }
.calc-out .line small { color: #9fb2a7; font-size: 12px; }
.calc-out .line b { font-size: 20px; white-space: nowrap; }
.calc-out .line.off { opacity: .35; text-decoration: line-through; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0 6px; }
.total span { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent2); font-weight: 600; }
.total b { font-family: Fraunces, serif; font-size: clamp(40px, 5vw, 56px); color: #fff; }
.per { color: #9fb2a7; font-size: 13px; margin-bottom: 22px; }
.calc-out .btn { margin-top: auto; }
.fine { font-size: 12px; color: #9fb2a7; text-align: center; margin-top: 10px; }
.table-wrap { margin-top: 40px; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.rates th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 20px; border-bottom: 1px solid var(--line); }
.rates td { padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background .25s; }
.rates tr:last-child td { border-bottom: 0; }
.rates td:last-child { font-weight: 700; color: var(--deep); }
.rates tr.hit td { background: #f7eed9; }
.rates tr.hit td:first-child { box-shadow: inset 4px 0 0 var(--accent); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; position: relative; }
.step .n { width: 46px; height: 46px; border-radius: 50%; background: var(--deep); color: var(--accent2); display: grid; place-items: center; font-family: Fraunces, serif; font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* final + footer */
.final { background: radial-gradient(120% 140% at 80% 0%, #2d5241 0%, var(--deep) 45%, var(--deeper) 100%); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.final-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.final h2 { color: #fff; } .final h2 em { color: var(--accent2); }
.final p { color: #c3d0c8; font-size: 18px; }
.final p b { color: var(--accent2); }
.foot { background: var(--deeper); color: #b9c7bf; font-size: 13px; padding: 22px 0; }
.foot-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot b { color: var(--accent2); }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); transform: scale(0); transition: transform .3s; }
.fab.show { transform: scale(1); }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .links { display: none; }
  .two, .calc { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .videos { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .brand .word { font-size: 12px; letter-spacing: .16em; }
  .brand .word small { font-size: 8px; }
  .nav .btn.small { padding: 8px 14px; font-size: 13px; }
  .hero-copy { top: 96px; transform: none; right: 16px; }
  .hero-shade { background: linear-gradient(180deg, rgba(20,40,32,.9) 0%, rgba(20,40,32,.6) 50%, rgba(20,40,32,0) 72%), linear-gradient(0deg, rgba(20,40,32,.6) 0%, rgba(20,40,32,0) 25%); }
  .hero .lede { margin: 14px 0 20px; }
  .hero-cta .btn { padding: 12px 18px; font-size: 14px; }
  .hero-controls { left: 16px; right: 16px; justify-content: center; bottom: 20px; }
  .hero-hint { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  .offer { flex-direction: column; align-items: flex-start; }
  .offer .price { text-align: left; }
  .fab { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
