:root {
  --bg: #121620;
  --surface: #1a2030;
  --gold: #ffd54f;
  --gold-dim: #c9a227;
  --text: #e8eaf0;
  --muted: #9aa3b8;
  --accent: #4caf82;
  --wa-green: #25d366;
  --border: #2a3348;
  --radius: 12px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 22, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 32px; width: auto;
}
.header-nav { display: flex; gap: 20px; align-items: center; }
.header-nav a {
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}
.header-nav a:hover, .header-nav a.active { color: var(--gold); }
.header-ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  font-size: 0.9rem; text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1a1a1a; }
.btn-secondary { background: transparent; color: var(--gold); border: 2px solid var(--gold); }
.btn-whatsapp { background: var(--wa-green); color: #fff; }
.btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }

/* Sections */
section { padding: 56px 0; }
section h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--gold); }
section .subtitle { color: var(--muted); margin-bottom: 32px; }

/* Cards */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gold-dim); }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card-body { padding: 16px; }
.card h3 { font-size: 1rem; margin-bottom: 6px; }
.card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.card a { font-size: 0.85rem; font-weight: 600; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 48px 0 64px;
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
}
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--muted); margin-bottom: 24px; font-size: 1.05rem; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badge {
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--muted);
}

/* Pricing Table */
.pricing-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border-radius: var(--radius); overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border);
}
.pricing-table th { background: #222a3c; color: var(--gold); font-size: 0.85rem; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-note {
  margin-top: 16px; padding: 16px; background: var(--surface);
  border-radius: var(--radius); border-left: 4px solid var(--accent);
  font-size: 0.9rem; color: var(--muted);
}

/* Steps */
.steps { display: grid; gap: 16px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--gold); color: #1a1a1a;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { font-size: 0.85rem; color: var(--muted); }

/* FAQ Details */
details.step { cursor: pointer; }
details.step summary { list-style: none; display: flex; align-items: center; gap: 12px; }
details.step summary::-webkit-details-marker { display: none; }
details.step summary::before {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px;
  background: var(--gold); color: #1a1a1a; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; transition: transform 0.2s;
}
details[open].step summary::before { content: "−"; }
details.step > p { margin: 12px 0 0 40px; font-size: 0.9rem; color: var(--muted); }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px;
}
.gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; }

/* CTA Bar */
.cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99;
  background: rgba(18, 22, 32, 0.96); border-top: 1px solid var(--border);
  padding: 12px 20px;
}
.cta-bar .wrap {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
body.has-cta-bar { padding-bottom: 72px; }

/* Footer */
footer {
  text-align: center; padding: 40px 20px; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

/* Catalog filters */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.filter-btn {
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); font-size: 0.85rem;
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold-dim); color: var(--text); }
.filter-btn.active { background: var(--gold); color: #1a1a1a; border-color: var(--gold); font-weight: 600; }

/* Coupon page */
.coupon-box {
  border: 3px solid var(--gold); border-radius: var(--radius);
  padding: 32px; text-align: center; max-width: 420px; margin: 0 auto 32px;
  background: var(--surface);
}
.coupon-code {
  font-size: 2.4rem; font-weight: 800; color: var(--gold);
  letter-spacing: 0.08em; margin: 12px 0;
}
.coupon-desc { color: var(--muted); font-size: 1rem; }
.coupon-instructions {
  color: var(--muted); font-size: 0.85rem; margin-top: 8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}

.social-buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin: 24px 0;
}
.social-buttons .btn { min-width: 180px; }

@media (max-width: 600px) {
  .header-nav { display: none; }
  .social-buttons { flex-direction: column; align-items: center; }
  .social-buttons .btn { width: 100%; max-width: 300px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .pricing-table th, .pricing-table td { padding: 10px 12px; font-size: 0.85rem; }
  .cta-bar .wrap { padding: 0 12px; }
  .cta-bar .btn { font-size: 0.8rem; padding: 10px 14px; }
  details.step { display: block; }
  details.step summary h4 { font-size: 0.9rem; }
  details.step > p { margin-left: 40px; line-height: 1.55; }
}
