:root{
  --bambu:#1ABC9C; --ink:#1f2a37; --muted:#6b7280; --line:#e5e7eb;
  --bg:#f7f8fa; --surface:#fff; --radius:18px; --shadow:0 10px 24px rgba(0,0,0,.06)
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

/* Loader */
#lbLoader{position:fixed;inset:0;background:#fff;display:grid;place-items:center;z-index:2000;transition:opacity .25s ease}
#lbLoader.hide{opacity:0;pointer-events:none}
.loader-dot{width:10px;height:10px;border-radius:50%;background:#111;display:inline-block;margin:0 6px;animation:lb 1s infinite ease-in-out}
.loader-dot:nth-child(2){animation-delay:.15s}
.loader-dot:nth-child(3){animation-delay:.3s}
@keyframes lb{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}

/* Appbar */
.appbar{position:sticky;top:0;z-index:1020;background:#fff;border-bottom:1px solid var(--line)}
.brand-logo{height:50px;width:auto;object-fit:contain;display:block}
@media(min-width:992px){ .brand-logo{height:56px} }
.navbar-nav .nav-link{font-weight:700;color:#111}
.navbar-nav .nav-link:hover{color:#0e6f60}
.navbar-toggler{border-color:#e5e7eb}

/* Layout helpers */
.container-hero{max-width:1200px;margin:0 auto;padding:1rem .9rem}
.section{max-width:1200px;margin:1.25rem auto 0 auto;padding:0 .9rem}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.section-title{font-size:1.15rem;font-weight:900}
.subtle-link{color:#4b5563;text-decoration:none}
.subtle-link:hover{text-decoration:underline}
.tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1rem;box-shadow:var(--shadow)}

/* Hero */
.hero{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#000}
.hero-track{display:flex;transition:transform .5s ease;will-change:transform}
.hero-slide{min-width:100%;height:58vh;max-height:720px;background-size:cover;background-position:center}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.55))}
.hero-caption{position:absolute;left:0;right:0;bottom:0;color:#fff;padding:1.2rem 1rem 1.4rem}
.hero-title{font-weight:900;font-size:clamp(1.5rem,2.2vw,2.4rem);line-height:1.15}
.hero-sub{opacity:.92}
.hero-ctrl{position:absolute;top:50%;transform:translateY(-50%);z-index:3}
.hero-ctrl button{border:0;background:rgba(255,255,255,.85);backdrop-filter:blur(4px);width:44px;height:44px;border-radius:999px;cursor:pointer}
.hero-prev{left:.6rem}.hero-next{right:.6rem}
.hero-dots{position:absolute;left:0;right:0;bottom:.7rem;display:flex;gap:.35rem;justify-content:center;z-index:3}
.hero-dots button{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer}
.hero-dots button.active{background:#fff}

/* Buscador */
.search-wrap{max-width:1200px;margin:1.5rem auto 0 auto;padding:0 .9rem}
.box{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow)}
.grid{display:grid;grid-template-columns:1fr;gap:.75rem}
@media(min-width:640px){.grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:992px){.grid{grid-template-columns:repeat(5,1fr)}}
.label{font-size:.85rem;color:var(--muted);margin-bottom:.25rem}
.input,.select{width:100%;border:1px solid var(--line);border-radius:12px;padding:.65rem .75rem;background:#fff}
.btn-pill{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;border-radius:999px;border:0;cursor:pointer;font-weight:800}
.btn-primary{background:var(--bambu);color:#fff}
.btn-outline{background:#fff;color:#1f2a37;border:1px solid var(--line)}
.btn-block{width:100%}

/* Promos */
.promo-grid{display:grid;grid-template-columns:1fr;gap:.75rem}
@media(min-width:700px){.promo-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1060px){.promo-grid{grid-template-columns:repeat(3,1fr)}}
.promo{position:relative;border-radius:16px;overflow:hidden;border:1px solid var(--line);background:#000;height:200px}
.promo img{width:100%;height:100%;object-fit:cover;display:block;opacity:.95}
.promo .tag{position:absolute;left:.6rem;top:.6rem;background:rgba(0,0,0,.55);color:#fff;padding:.25rem .5rem;border-radius:999px;font-size:.8rem}

/* Cards apts */
.row-cards{display:flex;flex-wrap:wrap;gap:.75rem}
.col-card{flex:1 1 280px}
.card-lb{background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}
.card-media{width:100%;height:210px;border-top-left-radius:16px;border-top-right-radius:16px;object-fit:cover;display:block;background:#fff}
.card-body{padding:1rem}
.text-muted{color:#6b7280}
.price{font-weight:900}
.badge-lb{display:inline-block;padding:.25rem .5rem;border-radius:999px;font-size:.78rem;background:#e6f7f3;color:#0e6f60;border:1px solid #c4efe5}

/* CTA + Footer */
.cta{background:linear-gradient(135deg,#1ABC9C 0%, #20d0b1 100%);color:#fff;border-radius:18px;padding:1.1rem;text-align:center}
.footer{color:#6b7280;font-size:.85rem;text-align:center;padding:1.25rem 0}