:root {
  --bg: #0a0b0e;
  --bg-elev: #13151b;
  --bg-card: #191c24;
  --border: #2a2f3d;
  --text: #f5f3ee;
  --muted: #a6aab8;
  --gold: #d4af37;
  --gold-soft: #e6cb72;
  --gold-dim: rgba(212, 175, 55, 0.14);
  --green: #25d366;
  --danger: #ef4444;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand-font {
  font-family: 'Oswald', 'Playfair Display', Georgia, serif;
  letter-spacing: 0.03em;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 14, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: 'Oswald', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  background: var(--gold-dim);
}
.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-links a:hover { color: var(--gold-soft); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-elev);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6b7280;
}
.status-pill.open .status-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.status-pill.closed .status-dot { background: #ef4444; }

.lang-select {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.lang-select:focus { outline: none; border-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b99124);
  color: #0a0b0e;
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-whatsapp {
  background: #1ea952;
  color: #fff;
}
.btn-whatsapp:hover { background: var(--green); color: #052e16; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; border-radius: 8px; }

/* Hero */
.hero {
  position: relative;
  padding: 78px 0 68px;
  background:
    radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.14), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.05), transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-meta strong { color: var(--text); display: block; font-size: 0.94rem; }

.hero-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-showcase img {
  width: 100%;
  border-radius: 10px;
  display: block;
  border: 1px solid #2e323e;
}
.hero-showcase-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  text-transform: uppercase;
}
.section-head p { color: var(--muted); max-width: 540px; font-size: 0.96rem; }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-card.featured { border-color: rgba(212, 175, 55, 0.55); background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), var(--bg-card) 55%); }
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold-dim);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.service-price {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}
.service-meta { font-size: 0.8rem; color: var(--muted); }
.service-desc { font-size: 0.88rem; color: var(--muted); }

/* Panels / Forms */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { margin-bottom: 15px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Time slots */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.slot-btn {
  padding: 9px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.slot-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-soft); }
.slot-btn.selected { background: var(--gold); color: #0a0b0e; border-color: var(--gold); }
.slot-btn:disabled {
  opacity: 0.32;
  text-decoration: line-through;
  cursor: not-allowed;
}

.quick-dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}
.date-chip {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.date-chip:hover { border-color: var(--gold); color: var(--text); }
.date-chip.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* Upsell box */
.upsell-box {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px dashed var(--gold);
  background: var(--gold-dim);
  font-size: 0.86rem;
}
.upsell-box.visible { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Gift Card Canvas Preview */
.gift-canvas-wrap {
  background: #000;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid var(--border);
}
#giftCanvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.gift-code-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.86rem;
}
.gift-code-pill code {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* Loyalty stamps */
.stamps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.stamp {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1.5px dashed var(--border);
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  background: var(--bg);
}
.stamp.filled {
  border-style: solid;
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-soft);
}
.stamp.reward {
  border-color: var(--gold);
  color: var(--gold);
}

/* Confirmation Box */
.result-box {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.09);
}
.result-box.visible { display: block; }
.result-box.error {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.1);
}
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Footer */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Admin Tables */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.kpi-card small { color: var(--muted); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; }
.kpi-card strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.75rem; color: var(--gold); margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--gold-soft); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; }
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}
.tag-ok { background: rgba(34, 197, 94, 0.16); color: #4ade80; }
.tag-warn { background: rgba(234, 179, 8, 0.16); color: #facc15; }
.tag-muted { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.tag-bad { background: rgba(239, 68, 68, 0.16); color: #f87171; }

.demo-banner {
  background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-soft);
  text-align: center;
  padding: 8px 16px;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .nav-inner { height: auto; padding: 10px 0; flex-wrap: wrap; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 0.95rem; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.62rem; }
  .status-pill { padding: 4px 9px; font-size: 0.7rem; }
  .nav-cta-btn { display: none; }
}
