/* ============================================================
   HomeFully — design tokens & styles
   Palette: warm paper / stone ink / amber accents / green = WhatsApp only
   Type: Rubik (headings) + Nunito Sans (body)
   ============================================================ */
:root{
  --paper:#FAF5F2;
  --surface:#FFFFFF;
  --ink:#1C1917;
  --ink-2:#44403C;
  --faint:#78716C;
  --border:#EAE3DC;
  --amber:#D97706;
  --amber-ink:#92400E;
  --amber-soft:#FCEED8;
  --green-700:#15803D;
  --green-800:#166534;
  --green-soft:#E9F6EE;
  --dark:#221F1C;
  --radius:16px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(28,25,23,.05), 0 10px 30px rgba(28,25,23,.07);
  --shadow-sm:0 1px 2px rgba(28,25,23,.06);
  --font-head:"Rubik", -apple-system, "Segoe UI", sans-serif;
  --font-body:"Nunito Sans", -apple-system, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
h1,h2,h3{ font-family:var(--font-head); line-height:1.15; text-wrap:balance; margin:0 0 .4em; }
h1{ font-size:clamp(1.9rem, 5.4vw, 3.1rem); font-weight:700; letter-spacing:-.015em; }
h2{ font-size:clamp(1.5rem, 3.6vw, 2.1rem); font-weight:600; letter-spacing:-.01em; }
h3{ font-size:1.08rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--ink-2); }
a{ color:inherit; }
.container{ max-width:1120px; margin:0 auto; padding:0 20px; }
section{ padding:56px 0; }
.ico{ width:20px; height:20px; flex:0 0 auto; }
.ico-lg{ width:28px; height:28px; color:var(--amber); }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff;
  padding:10px 16px; border-radius:0 0 8px 0; z-index:1001;
}
.skip-link:focus{ left:0; }
:focus-visible{ outline:3px solid var(--green-700); outline-offset:2px; border-radius:4px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:46px; padding:11px 20px; border-radius:999px;
  font-family:var(--font-head); font-weight:600; font-size:.98rem;
  text-decoration:none; cursor:pointer; border:1.5px solid transparent;
  transition:background-color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active{ transform:scale(.98); }
.btn-wa{ background:var(--green-700); color:#fff; }
.btn-wa:hover{ background:var(--green-800); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:#D6CCC2; }
.btn-ghost:hover{ background:#fff; border-color:var(--ink-2); }
.btn-lg{ min-height:52px; padding:13px 26px; font-size:1.05rem; }
.btn-block{ width:100%; }
.btn-header{ min-height:42px; padding:9px 16px; font-size:.92rem; }
.btn-header span{ display:none; }
.btn-header .ico{ width:22px; height:22px; }
@media (min-width:520px){ .btn-header span{ display:inline; } }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,245,242,.97);
  border-bottom:1px solid var(--border);
}
.header-inner{ display:flex; align-items:center; gap:18px; min-height:64px; }
.brand{ display:inline-flex; align-items:center; gap:10px; text-decoration:none; margin-right:auto; }
.brand-mark{ display:grid; place-items:center; }
.brand-name{ font-family:var(--font-head); font-weight:700; font-size:1.22rem; letter-spacing:-.01em; }
.main-nav{ display:none; gap:22px; }
.main-nav a{
  text-decoration:none; font-weight:600; font-size:.95rem; color:var(--ink-2);
  padding:6px 2px;
}
.main-nav a:hover{ color:var(--ink); }
@media (min-width:860px){ .main-nav{ display:flex; } }

/* ---------- Trust bar ---------- */
.trust-bar{ background:var(--dark); color:#F3EFEA; }
.trust-items{
  display:flex; gap:28px; overflow-x:auto; white-space:nowrap;
  padding-top:9px; padding-bottom:9px; font-size:.86rem; font-weight:600;
  scrollbar-width:none;
}
.trust-items::-webkit-scrollbar{ display:none; }
.trust-items span{ display:inline-flex; align-items:center; gap:8px; }
.trust-items .ico{ width:17px; height:17px; color:#8FD0A5; }

/* ---------- Hero ---------- */
.hero{ padding:44px 0 56px; }
.hero-grid{ display:grid; gap:32px; }
.eyebrow{
  font-family:var(--font-head); font-weight:600; font-size:.82rem;
  letter-spacing:.12em; text-transform:uppercase; color:var(--amber-ink);
  margin-bottom:14px;
}
.lead{ font-size:1.12rem; max-width:54ch; }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 28px; }
.hero-stats{
  list-style:none; display:flex; flex-wrap:wrap; gap:12px 32px; padding:0; margin:0;
}
.hero-stats li{ display:flex; flex-direction:column; }
.hero-stats strong{ font-family:var(--font-head); font-size:1.15rem; color:var(--ink); }
.hero-stats span{ font-size:.85rem; color:var(--faint); }
.hero-media{ margin:0; }
.hero-media img{
  width:100%; height:min(64vw, 520px); object-fit:cover; object-position:50% 62%;
  border-radius:var(--radius); box-shadow:var(--shadow);
}
.hero-media figcaption{ font-size:.83rem; color:var(--faint); margin-top:10px; }
@media (min-width:900px){
  .hero-grid{ grid-template-columns:1.05fr .95fr; align-items:center; }
  .hero-media img{ height:540px; }
}

/* ---------- Why / bento ---------- */
.why{ background:var(--surface); border-block:1px solid var(--border); }
.bento{ display:grid; gap:14px; margin-top:26px; }
.tile{
  background:var(--paper); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-sm);
}
.tile h3{ margin:12px 0 6px; }
.tile p{ margin:0; font-size:.96rem; }
@media (min-width:720px){
  .bento{ grid-template-columns:repeat(2, 1fr); }
  .tile-wide{ grid-column:span 2; }
}
@media (min-width:1024px){
  .bento{ grid-template-columns:repeat(3, 1fr); }
  .tile-wide{ grid-column:span 3; display:grid; grid-template-columns:auto 1fr; gap:4px 18px; align-items:start; }
  .tile-wide h3{ grid-column:2; margin-top:0; }
  .tile-wide p{ grid-column:2; max-width:70ch; }
}

/* ---------- Products ---------- */
.section-head{ max-width:60ch; margin-bottom:26px; }
.section-head p{ margin:0; }
.product-grid{ display:grid; gap:18px; }
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
  transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{ box-shadow:var(--shadow); transform:translateY(-2px); }
.card-media{ aspect-ratio:4/3; overflow:hidden; }
.card-media img{ width:100%; height:100%; object-fit:cover; }
.card-body{ padding:18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card-body p{ margin:0; font-size:.94rem; flex:1; }
.card-title-row{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; }
.card-title-row h3{ margin:0; }
.price-chip{
  font-family:var(--font-head); font-weight:600; font-size:.85rem; white-space:nowrap;
  background:var(--amber-soft); color:var(--amber-ink);
  padding:4px 11px; border-radius:999px;
  font-variant-numeric:tabular-nums;
}
@media (min-width:680px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1024px){ .product-grid{ grid-template-columns:repeat(3,1fr); } }

.cat-strip{ display:grid; gap:12px; margin-top:22px; }
.cat{
  display:flex; align-items:center; gap:14px; text-decoration:none;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:14px 18px; box-shadow:var(--shadow-sm);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.cat:hover{ border-color:var(--green-700); box-shadow:var(--shadow); }
.cat .ico{ width:26px; height:26px; color:var(--green-700); }
.cat span{ display:flex; flex-direction:column; line-height:1.35; }
.cat strong{ font-family:var(--font-head); font-weight:600; }
.cat em{ font-style:normal; font-size:.86rem; color:var(--faint); }
@media (min-width:720px){ .cat-strip{ grid-template-columns:repeat(3,1fr); } }

/* ---------- Homes gallery ---------- */
.homes{ background:var(--surface); border-block:1px solid var(--border); }
.homes-grid{ display:grid; gap:16px; }
.homes-grid figure{ margin:0; }
.homes-grid img{
  width:100%; aspect-ratio:16/11; object-fit:cover; object-position:50% 72%;
  border-radius:var(--radius); box-shadow:var(--shadow-sm);
}
.homes-grid figcaption{ font-size:.85rem; color:var(--faint); margin-top:8px; }
@media (min-width:720px){ .homes-grid{ grid-template-columns:1fr 1fr; } }

/* ---------- Steps ---------- */
.steps{
  list-style:none; counter-reset:step; padding:0; margin:26px 0 0;
  display:grid; gap:16px;
}
.steps li{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; box-shadow:var(--shadow-sm);
}
.step-num{
  display:inline-grid; place-items:center; width:34px; height:34px; border-radius:999px;
  background:var(--green-soft); color:var(--green-800);
  font-family:var(--font-head); font-weight:700;
  margin-bottom:10px;
}
.steps h3{ margin:0 0 6px; }
.steps p{ margin:0; font-size:.95rem; }
@media (min-width:820px){ .steps{ grid-template-columns:repeat(3,1fr); } }

/* ---------- Showroom ---------- */
.showroom{ background:var(--dark); color:#F3EFEA; }
.showroom h2{ color:#fff; }
.showroom-grid{ display:grid; gap:30px; }
.showroom address{
  font-style:normal; line-height:1.55; margin:14px 0 18px; font-size:1.02rem;
}
.hours{ margin:0 0 16px; display:grid; gap:7px; }
.hours div{ display:grid; grid-template-columns:110px 1fr; gap:12px; }
.hours dt{ color:#BCB3A8; font-weight:600; font-size:.92rem; }
.hours dd{ margin:0; font-size:.95rem; }
.showroom .note{ color:#CFC7BD; font-size:.92rem; max-width:52ch; }
.showroom-map iframe{
  width:100%; height:320px; border:0; border-radius:var(--radius);
  box-shadow:var(--shadow); background:#333;
}
@media (min-width:900px){
  .showroom-grid{ grid-template-columns:1fr 1fr; align-items:center; }
  .showroom-map iframe{ height:420px; }
}

/* ---------- About ---------- */
.about-grid{ display:grid; gap:30px; }
.checks{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.checks li{
  position:relative; padding-left:30px; font-size:.97rem; color:var(--ink-2);
}
.checks li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px;
  border-radius:999px; background:var(--green-soft);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.5 3.5L17 9' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:13px; background-position:center; background-repeat:no-repeat;
}
.about-media{ margin:0; }
.about-media img{ border-radius:var(--radius); box-shadow:var(--shadow); width:100%; object-fit:cover; }
.about-media figcaption{ font-size:.83rem; color:var(--faint); margin-top:10px; }
@media (min-width:900px){ .about-grid{ grid-template-columns:1.1fr .9fr; align-items:center; } }

/* ---------- FAQ ---------- */
.faq{ background:var(--surface); border-block:1px solid var(--border); }
.faq-inner{ max-width:760px; }
.faq details{
  background:var(--paper); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:0 18px; margin-top:12px;
}
.faq summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px;
  font-family:var(--font-head); font-weight:600; font-size:1rem;
  padding:15px 0; min-height:44px;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; width:20px; height:20px; flex:0 0 auto;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2378716C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:contain; transition:transform .2s ease;
}
.faq details[open] summary::after{ transform:rotate(180deg); }
.faq details p{ margin:0; padding:0 0 16px; font-size:.96rem; }

/* ---------- Final CTA ---------- */
.final-cta{ text-align:center; padding:64px 0 72px; }
.final-inner{ max-width:560px; }
.final-cta p{ margin-bottom:22px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--dark); color:#CFC7BD; font-size:.93rem; }
.footer-grid{
  display:grid; gap:28px; padding-top:44px; padding-bottom:28px;
}
.site-footer h3{
  color:#fff; font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; margin-bottom:12px;
}
.site-footer nav{ display:flex; flex-direction:column; gap:8px; }
.site-footer nav a{ text-decoration:none; color:#CFC7BD; padding:2px 0; }
.site-footer nav a:hover{ color:#fff; }
.brand-footer .brand-name{ color:#fff; }
.footer-blurb{ color:#BCB3A8; max-width:34ch; margin-top:10px; }
.footer-wa{ color:#8FD0A5; font-weight:700; text-decoration:none; }
.footer-wa:hover{ color:#B5E5C6; }
.footer-legal{
  border-top:1px solid #3A3531; padding-top:18px; padding-bottom:26px;
  font-size:.8rem; color:#9A9187;
}
.footer-legal p{ color:inherit; margin-bottom:8px; }
@media (min-width:820px){ .footer-grid{ grid-template-columns:1.2fr .6fr 1fr; } }

/* ---------- Sticky mobile WhatsApp bar ---------- */
.wa-sticky{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:200;
  display:flex; align-items:center; justify-content:center; gap:10px;
  background:var(--green-700); color:#fff; text-decoration:none;
  font-family:var(--font-head); font-weight:600; font-size:.98rem;
  min-height:52px; padding:12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
  border-radius:999px; box-shadow:0 8px 24px rgba(21,128,61,.35);
}
.wa-sticky:hover{ background:var(--green-800); }
body{ padding-bottom:84px; }
@media (min-width:768px){
  .wa-sticky{ display:none; }
  body{ padding-bottom:0; }
}
