/* REMPE MUSIC — oscuro y cálido como el salón: negro, LEDs ámbar, madera. */
:root {
  color-scheme: dark;
  --bg: #0c0906;
  --bg-2: #120d08;
  --surface: #1a130c;
  --surface-2: #231910;
  --wood: #4a2e18;
  --line: #3a2a1b;
  --amber: #f5b04a;
  --amber-strong: #ffc266;
  --amber-glow: rgba(245, 176, 74, 0.35);
  --text: #f7ede0;
  --muted: #cbb9a3;
  --danger: #ff8a7a;
  --ok: #9be39b;
  --on-amber: #1a1006;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Arial Black", "Segoe UI Black", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--amber-strong); }
a:hover { color: #ffd894; }

:focus-visible {
  outline: 3px solid var(--amber-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--amber); color: var(--on-amber); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(12, 9, 6, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; color: var(--text); text-decoration: none; }
.brand svg { height: 56px; width: auto; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: 0.95rem;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav .nav-cta { color: var(--on-amber); background: var(--amber); font-weight: 700; }
.nav .nav-cta:hover { background: var(--amber-strong); color: var(--on-amber); }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* Logo */
.logo-wave rect { fill: var(--amber); }
.logo-rempe { font: 900 34px var(--display); fill: var(--text); letter-spacing: 1px; }
.logo-music { font: 800 17px var(--font); fill: var(--amber-strong); letter-spacing: 5px; }
.logo-note { fill: var(--amber-strong); }

/* Hero */
.hero { position: relative; padding: 32px 0 48px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 0%, rgba(245, 176, 74, 0.18), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1fr 1.15fr; gap: 48px; } .hero { padding: 64px 0; } }
.eyebrow { color: var(--amber-strong); text-transform: uppercase; letter-spacing: 3px; font-size: 0.8rem; font-weight: 700; margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font: 900 clamp(2rem, 6vw, 3.4rem)/1.05 var(--display); letter-spacing: -0.5px; }
h1 .glow { color: var(--amber-strong); text-shadow: 0 0 24px var(--amber-glow); }
h2 { font: 900 clamp(1.6rem, 4vw, 2.3rem)/1.1 var(--display); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }
.price-tag {
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin: 18px 0 22px; padding: 10px 16px; border: 1px solid var(--wood); border-radius: 999px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}
.price-tag strong { font: 900 1.5rem var(--display); color: var(--amber-strong); }
.price-tag span { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font: 700 1rem var(--font); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--amber); color: var(--on-amber); box-shadow: 0 8px 28px -10px var(--amber-glow); }
.btn-primary:hover { background: var(--amber-strong); color: var(--on-amber); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--wood); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-whatsapp { background: #25d366; color: #062b14; }
.btn-whatsapp:hover { background: #3be27a; color: #062b14; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--wood); box-shadow: 0 30px 80px -30px var(--amber-glow); }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1448 / 1086; object-fit: cover; }
.render-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(12, 9, 6, 0.85); color: var(--text); border: 1px solid var(--amber);
  padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
}
.hero-figure figcaption { padding: 10px 14px; color: var(--muted); font-size: 0.88rem; background: var(--surface); }

/* Sections */
section { padding: 56px 0; }
section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 24px; }
.section-head p { color: var(--muted); margin: 0; }

.equip { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.equip li {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.equip li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.note { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 1.15rem; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; text-transform: capitalize; }
.hours td { color: var(--muted); text-align: right; }
.pending {
  display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px;
  background: rgba(245, 176, 74, 0.14); color: var(--amber-strong); border: 1px solid var(--amber); font-size: 0.8rem; font-weight: 700;
}

/* Booking widget */
.booking { background: var(--surface); border: 1px solid var(--wood); border-radius: 18px; padding: 20px; }
@media (min-width: 720px) { .booking { padding: 28px; } }
.step { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.step legend, .step-title { font-weight: 800; font-size: 1.05rem; margin-bottom: 10px; padding: 0; display: flex; gap: 10px; align-items: center; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font-weight: 900; font-size: 0.9rem; flex: none; }

label { display: block; font-weight: 600; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.hint { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], input[type="number"], input[type="password"], select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid #5a4430; background: var(--bg-2); color: var(--text); font: inherit;
}
input:focus-visible, select:focus-visible { outline: 3px solid var(--amber-strong); outline-offset: 1px; }
input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.92rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.grid-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.slots { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.slot, .dur {
  min-height: 48px; padding: 8px 10px; border-radius: 10px; border: 1px solid #5a4430;
  background: var(--bg-2); color: var(--text); font: 600 0.98rem var(--font); cursor: pointer;
}
.slot:hover:not([disabled]), .dur:hover:not([disabled]) { border-color: var(--amber); }
.slot[aria-pressed="true"], .dur[aria-pressed="true"] { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.slot.in-range { background: rgba(245, 176, 74, 0.25); border-color: var(--amber); }
.slot[disabled], .dur[disabled] { color: #8c7a66; background: transparent; text-decoration: line-through; cursor: not-allowed; }
.durations { display: flex; gap: 8px; flex-wrap: wrap; }
.dur { min-width: 88px; }

.summary {
  margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--amber);
  background: rgba(245, 176, 74, 0.08);
}
.summary strong { color: var(--amber-strong); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--amber); flex: none; }
.status { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; }
.status:empty { display: none; }
.status.error { background: rgba(255, 138, 122, 0.12); border: 1px solid var(--danger); color: #ffd2cb; }
.status.info { background: var(--surface-2); color: var(--muted); }
.muted { color: var(--muted); }

.confirm { text-align: left; }
.confirm .code {
  display: inline-block; font: 900 2rem/1 var(--display); letter-spacing: 6px; color: var(--amber-strong);
  padding: 12px 18px; border: 2px solid var(--amber); border-radius: 12px; margin: 6px 0 16px;
}
.confirm dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 20px; }
.confirm dt { color: var(--muted); }
.confirm dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
.site-footer strong { color: var(--text); letter-spacing: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
