:root {
  --bg: #050508;
  --bg2: #0e0c12;
  --gold: #d4af37;
  --gold-muted: #b8962e;
  --text: #e8e6e1;
  --muted: #9a968c;
  --glass: rgba(20, 18, 24, 0.72);
  --border: rgba(212, 175, 55, 0.22);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(5, 5, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.hero {
  text-align: center;
  padding: 36px 28px;
  border-radius: 28px;
  background: linear-gradient(145deg, #141018, #0a090d);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1, h2, h3 { margin: 0 0 12px; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
h2 { font-size: 1.45rem; color: var(--text); margin-top: 28px; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto 20px; }

.waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin: 20px 0;
}
.waveform span {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, #5c4b1b, var(--gold));
  animation: wave 1.2s ease-in-out infinite alternate;
}
.waveform span:nth-child(odd) { animation-duration: 0.9s; }
@keyframes wave { from { height: 12px; opacity: 0.5; } to { height: 40px; opacity: 1; } }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #0a0a0a; }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
  margin-left: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
  backdrop-filter: blur(10px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery-tile {
  aspect-ratio: 0.85;
  border-radius: 18px;
  background: linear-gradient(135deg, #2a2214, #0f0e12);
  border: 1px solid var(--border);
}

.form-group { margin-bottom: 14px; }
label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.9);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 100px; resize: vertical; }

.form-error {
  color: #f0a0a0;
  font-size: 0.92rem;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(80, 20, 20, 0.35);
  border: 1px solid rgba(240, 120, 120, 0.35);
}

.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e1e24;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  z-index: 200;
  display: none;
}
.toast.show { display: block; }

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  text-decoration: none;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: left;
}
.admin-table th { color: var(--gold); }

.footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.social { display: flex; gap: 16px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5,5,8,0.98);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .btn-outline { margin-left: 0; margin-top: 10px; }
}
