/* Tokens de diseño: cambiar acá para aplicar el diseño aprobado. */
:root {
  --bg: #0b0b10;
  --surface: rgba(20, 20, 28, 0.82);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f5f5f7;
  --muted: #b4b4c2;
  --accent: #ff3d7f;      /* VIBRA LIVE SHOW */
  --accent-2: #ffb020;    /* VIBRA URBANA */
  --success: #3ddc97;
  --error: #ff6b6b;
  --radius: 18px;
  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }

/* Barra superior */
.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px clamp(16px, 4vw, 48px);
}
.brand-mark { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; }
.brand-mark small { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.topbar-links { display: flex; gap: 18px; font-size: .9rem; }
.topbar-links a { text-decoration: none; color: var(--muted); }
.topbar-links a:hover { color: var(--text); }

/* Hero con video */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-video, .hero-fallback, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; z-index: 1; }
.hero-fallback {
  z-index: 0;
  background:
    radial-gradient(60% 50% at 20% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
    radial-gradient(50% 50% at 80% 70%, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 70%),
    var(--bg);
  animation: pulse 12s ease-in-out infinite alternate;
}
.hero-overlay { z-index: 2; background: linear-gradient(180deg, rgba(11,11,16,.55) 0%, rgba(11,11,16,.75) 60%, var(--bg) 100%); }
@keyframes pulse { from { filter: hue-rotate(0deg) saturate(1); } to { filter: hue-rotate(-25deg) saturate(1.3); } }

.hero-content {
  position: relative; z-index: 3;
  width: min(1120px, 100%);
  padding: 110px clamp(16px, 4vw, 48px) 64px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; font-weight: 600; color: var(--accent-2); }
h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; text-transform: uppercase; }
.lead { margin: 20px 0 0; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34ch; }
.lead strong { color: var(--text); }

/* Tarjetas y formulario */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.form { padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.form h2 { margin: 0 0 4px; font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; letter-spacing: .02em; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: .85rem; font-weight: 600; color: var(--muted); padding: 0; }
.field input, .field select {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 12px;
}
.field select option { color: #111; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
fieldset.field { display: flex; flex-wrap: wrap; gap: 8px; }
fieldset.field legend { width: 100%; margin-bottom: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.chip input, .consent input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.consent input { flex: none; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  margin-top: 4px; padding: 14px 18px; border: 0; border-radius: 12px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: .02em; color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: progress; }
.form-msg { margin: 0; min-height: 1.4em; font-size: .9rem; }
.form-msg.ok { color: var(--success); }
.form-msg.error { color: var(--error); }

/* Secciones */
.brands, .contact { width: min(1120px, 100%); margin: 0 auto; padding: 56px clamp(16px, 4vw, 48px); }
.section-title { margin: 0 0 24px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.brand { padding: 28px; border-top: 4px solid var(--accent); }
.brand--urbana { border-top-color: var(--accent-2); }
.brand h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .03em; }
.brand p { margin: 0 0 16px; color: var(--muted); }
.brand a { font-weight: 600; text-decoration: none; }
.brand a:hover { text-decoration: underline; }
.contact p { margin: 0; color: var(--muted); max-width: 60ch; }
.contact a { color: var(--text); font-weight: 600; }

.footer { padding: 32px 16px 40px; text-align: center; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border); }
.footer p { margin: 0; }

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; padding-top: 96px; }
  .lead { max-width: none; }
  .brand-grid { grid-template-columns: 1fr; }
  .topbar-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fallback { animation: none; }
}
