:root {
  --bg: #0b1220;
  --panel: #11182a;
  --text: #e7eaf3;
  --muted: #98a1b3;
  --accent: #ff6a00;
  --accent2: #ffd166;
  --card: #131c30;
  --line: #1f2a44;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: var(--panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.brand { font-weight: 800; letter-spacing: .3px; font-size: 18px; }
.brand .logo { color: var(--accent); margin-right: 6px; }
.cta {
  background: #25D366; color: #062b13; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
}

.container { max-width: 760px; margin: 0 auto; padding: 18px; }

.hero {
  position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
}
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-empty {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--muted); font-size: 18px;
}
.hero-empty.small { font-size: 13px; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .5px;
}

h1 { margin: 16px 0 4px; font-size: 26px; line-height: 1.2; }
h2 { margin: 22px 0 8px; font-size: 16px; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.loc { color: var(--muted); margin-bottom: 14px; }
.price { font-size: 30px; font-weight: 800; color: var(--accent2); margin: 6px 0 16px; }
.price .per { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }

.specs {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 8px 0 0;
}
.specs li {
  background: var(--card); border: 1px solid var(--line);
  padding: 8px 12px; border-radius: 10px; font-size: 13px;
}
.specs b { color: var(--accent2); }

.amen { padding-left: 18px; }
.amen li { margin-bottom: 4px; }

.desc { line-height: 1.55; color: #cdd3e1; white-space: pre-wrap; }

.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px;
}
.gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 10px; display: block; }

video { width: 100%; border-radius: 12px; background: black; margin-top: 8px; }

.contact-card {
  margin-top: 24px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.contact-card .name { font-weight: 700; font-size: 16px; }
.actions { display: flex; gap: 8px; }
.btn {
  display: inline-block; padding: 10px 14px; border-radius: 10px;
  background: #1a2540; border: 1px solid var(--line); color: var(--text);
  font-weight: 600; font-size: 13px;
}
.btn.whatsapp { background: #25D366; color: #062b13; border-color: transparent; }

.bundle-title { margin-top: 8px; }
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px; margin-top: 14px;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; display: block;
}
.card-img { position: relative; aspect-ratio: 4/3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 12px; }
.card-title { font-weight: 700; margin-bottom: 4px; }
.card-price { font-weight: 800; color: var(--accent2); margin-top: 6px; }

.muted { color: var(--muted); }
.small { font-size: 12px; }

.foot {
  text-align: center; padding: 28px 18px; color: var(--muted); font-size: 12px;
  border-top: 1px solid var(--line); margin-top: 36px;
}

.empty { text-align: center; padding: 60px 20px; }
.empty h1 { font-size: 64px; margin: 0; color: var(--muted); }

@media (max-width: 480px) {
  .price { font-size: 24px; }
  h1 { font-size: 22px; }
  .contact-card { flex-direction: column; align-items: stretch; }
  .actions { justify-content: stretch; }
  .actions .btn { flex: 1; text-align: center; }
}
