:root {
  --ink: #101216;
  --ink-2: #1b1f26;
  --text: #1a1d23;
  --muted: #5e6672;
  --line: #e3e6ea;
  --bg: #f6f7f9;
  --card: #ffffff;
  --accent: #ff4b17;
  --accent-dark: #d93a0b;
  --ok: #1f9d55;
  --warn: #c98a00;
  --bad: #9aa1ab;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,18,22,.06), 0 6px 20px rgba(16,18,22,.06);
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); letter-spacing: .01em; line-height: 1.05; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--accent); font-size: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .1s; font-family: var(--body); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-wa { background: #25d366; color: #06361a; }
.btn-wa:hover { background: #1fbd5a; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Top bar + header */
.topbar { background: var(--accent); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; padding: 7px 12px; }
.topbar a { color: #fff; }
.header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 40; }
.header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { font-family: var(--head); font-weight: 800; font-size: 1.6rem; text-decoration: none; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: .92rem; color: #d7dbe0; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav .btn { margin-left: 6px; color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-top: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(255,75,23,.35), transparent 60%), linear-gradient(160deg, #101216 0%, #1d222b 100%); color: #fff; padding: 72px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: #c9ced6; max-width: 560px; }
.hero h1 span { color: var(--accent); }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.hero-card h3 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; padding: 10px 0; color: #dfe3e8; }
.steps li::before { content: counter(s); flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--head); font-size: 1.1rem; }
.steps b { color: #fff; display: block; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0; } }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust div { padding: 18px 12px; text-align: center; font-weight: 600; font-size: .92rem; }
.trust b { display: block; font-family: var(--head); text-transform: uppercase; font-size: 1.15rem; color: var(--accent); }
@media (max-width: 700px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 18px; text-decoration: none; font-family: var(--head); text-transform: uppercase; font-weight: 800; font-size: 1.3rem; overflow-wrap: anywhere; hyphens: auto; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform .15s; }
.tile:hover { transform: translateY(-3px); }
.tile::after { content: "→"; color: var(--accent); font-size: 1.4rem; }
.tile small { font-family: var(--body); text-transform: none; font-weight: 500; font-size: .8rem; color: #aab1bb; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(16,18,22,.12); }
.card-img { aspect-ratio: 4/3; background: #eceef1; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin: 2px 0; }
.meta { color: var(--muted); font-size: .85rem; }
.price { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 1.25rem; }
.price s { color: var(--muted); font-weight: 500; font-size: .95rem; margin-left: 6px; }
.price .sale { color: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e9f7ef; color: var(--ok); width: fit-content; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.soon { background: #fff6e0; color: var(--warn); }
.badge.sold { background: #eef0f2; color: var(--bad); }
.ribbon { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .05em; }

/* Inventory filters */
.inv-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filters { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); position: sticky; top: 88px; }
.filters h3 { font-size: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,75,23,.15); }
textarea { min-height: 90px; resize: vertical; }
.inv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.inv-toolbar select { width: auto; }
.filter-toggle { display: none; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 860px) {
  .inv-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* Unit page */
.unit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
.gallery-main { aspect-ratio: 4/3; background: #eceef1; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-main img.gal-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; will-change: opacity; }
.gallery-main img.gal-layer.on { opacity: 1; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(16,18,22,.6); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.gal-nav:hover { background: var(--accent); }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(16,18,22,.65); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 74px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #eceef1; }
.thumbs button.active { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.panel { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.unit-price { font-size: 2rem; font-weight: 800; margin: 6px 0 2px; }
.unit-price s { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-left: 8px; }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; }
.specs td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs td:first-child { color: var(--muted); width: 42%; }
.pickup-box { background: #fff4ef; border: 1px solid #ffd5c6; border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 14px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 10px; font-weight: 600; font-size: .92rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: #c0392b; }
@media (max-width: 860px) { .unit { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* Reviews / locations / content */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.review { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 6px; }
.locs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.loc { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.loc iframe { width: 100%; height: 240px; border: 0; display: block; background: #e8eaed; }
.loc .in { padding: 20px; }
.hours { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .92rem; }
.hours td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.page-head { background: var(--ink); color: #fff; padding: 44px 0 36px; }
.page-head p { color: #c3c9d1; margin: 0; max-width: 640px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 8px 0 8px 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 800; }
.sizing td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sizing { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sizing td:first-child { font-weight: 700; white-space: nowrap; }
.cta-band { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; }
.cta-band .btn-dark { background: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: #aeb5bf; padding: 48px 0 24px; margin-top: 40px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-family: var(--head); text-transform: uppercase; font-size: 1.1rem; margin: 0 0 10px; letter-spacing: .04em; }
.footer a { color: #d6dbe1; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); }
  .mobile-bar a { color: #fff; text-decoration: none; text-align: center; padding: 10px 4px 12px; font-size: .78rem; font-weight: 700; }
  .mobile-bar a span { display: block; font-size: 1.2rem; }
  body { padding-bottom: 64px; }
  .chat-fab { bottom: 78px !important; }
}

/* Chat widget */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 800; font-size: .95rem; box-shadow: 0 8px 24px rgba(255,75,23,.45); cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: var(--body); }
.chat-fab:hover { background: var(--accent-dark); }
.chat-panel { position: fixed; right: 18px; bottom: 84px; z-index: 51; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(16,18,22,.3); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-head { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.chat-head b { font-family: var(--head); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; }
.chat-head small { display: block; color: #aab1bb; font-size: .75rem; }
.chat-head button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f6f7f9; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.45; word-wrap: break-word; }
.msg.bot { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { color: var(--accent-dark); font-weight: 700; }
.msg.typing { color: var(--muted); font-style: italic; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 14px 10px; background: #f6f7f9; }
.chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: .8rem; cursor: pointer; font-weight: 600; font-family: var(--body); }
.chips button:hover { border-color: var(--accent); color: var(--accent); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; }
.chat-form button { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font-weight: 800; cursor: pointer; }
.chat-foot { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 10px 8px; }
.chat-foot a { color: var(--muted); }
@media (max-width: 700px) { .chat-panel { right: 12px; bottom: 140px; height: calc(100vh - 170px); } }

/* ---------- Motion ---------- */
.hero { position: relative; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,18,22,.96) 0%, rgba(16,18,22,.86) 45%, rgba(16,18,22,.55) 100%), radial-gradient(900px 400px at 85% 0%, rgba(255,75,23,.35), transparent 60%); }
.hero-slide { position: absolute; inset: -4%; background-size: cover; background-position: center 60%; opacity: 0; transform: scale(1.04); transition: opacity 1.6s ease-in-out; will-change: opacity, transform; }
.hero-slide.on { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.motion .hero-in { opacity: 0; transform: translateY(18px); animation: heroIn .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.btn-pulse { position: relative; }
.motion .btn-pulse::after { content: ""; position: absolute; inset: -2px; border-radius: 12px; box-shadow: 0 0 0 0 rgba(255,75,23,.6); animation: pulse 2.4s ease-out infinite 1.2s; pointer-events: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,75,23,.55); } 70% { box-shadow: 0 0 0 14px rgba(255,75,23,0); } 100% { box-shadow: 0 0 0 0 rgba(255,75,23,0); } }

.ticker { background: var(--accent); color: #fff; overflow: hidden; white-space: nowrap; padding: 13px 0; font-family: var(--head); text-transform: uppercase; font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; }
.ticker-track { display: inline-flex; align-items: center; gap: 22px; padding-left: 22px; }
.motion .ticker-track { animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker i { font-style: normal; color: var(--ink); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.motion .reveal.in { opacity: 1; transform: none; }
.card-img { overflow: hidden; }
.card-img img { transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.tile { transition: transform .15s, background .2s; }
.tile:hover { background: var(--ink-2); }
.tile:hover::after { transform: translateX(4px); }
.tile::after { transition: transform .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Nav dropdown */
.dd { position: relative; }
.dd-btn span { font-size: .75em; margin-left: 2px; }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--ink); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35); z-index: 60; }
.dd-menu a { display: block; white-space: nowrap; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
  .dd-menu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
  .dd:hover .dd-menu { display: none; }
  .dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
}
.nav a { white-space: nowrap; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; }
@media (min-width: 1101px) and (max-width: 1360px) { .nav a { padding: 8px 7px; font-size: .86rem; } .logo { font-size: 1.4rem; } .header .wrap { gap: 12px; } }
