@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #14213d;
  --navy: #1d3557;
  --coral: #e4572e;
  --coral-d: #c8431c;
  --paper: #fffdf9;
  --card: #ffffff;
  --line: #e9e2d7;
  --muted: #5d6678;
  --soft: #f4efe7;
  --ok: #1f8a70;
  --hero-bg: #14213d;
  --hero-text: #c9d2e6;
  --hero-muted: #9fb0cf;
  --kicker-bg: transparent;
  --kicker-border: rgba(255, 255, 255, .35);
  --kicker-text: #ffd8c9;
  --footer-bg: #0f1a31;
  --shadow: 0 14px 30px rgba(20, 33, 61, .10);
  --r: 14px;
}

html[data-theme="dark"] {
  --ink: #f5f5f5;
  --navy: #f87171;
  --coral: #e11d24;
  --coral-d: #b91c1c;
  --paper: #0d0d0d;
  --card: #151515;
  --line: #262626;
  --muted: #9ca3af;
  --soft: #121212;
  --hero-bg: #0a0a0a;
  --hero-text: #a1a1aa;
  --hero-muted: #71717a;
  --kicker-bg: rgba(225, 29, 36, 0.08);
  --kicker-border: rgba(225, 29, 36, 0.55);
  --kicker-text: #ef4444;
  --footer-bg: #070707;
  --shadow: 0 14px 30px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  transition: background-color .25s ease, color .25s ease;
}

h1, h2, h3, .logo b, .ticket .p, .monto b, .ficha .plazo {
  font-family: var(--font);
  letter-spacing: -0.025em;
}

h1, h2, h3 { font-weight: 800; }
strong, b { color: var(--ink); font-weight: 700; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; }

.w { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.angosto { max-width: 800px; }

header.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background-color .25s ease, border-color .25s ease;
}
header.top .w { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo b { font-size: 1.2rem; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.logo b .acento { color: var(--coral); }
.logo small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
html[data-theme="dark"] .logo svg rect { fill: #1f1f1f; }
html[data-theme="dark"] .logo svg circle { fill: var(--coral); }

nav.menu { display: flex; gap: 18px; }
nav.menu a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav.menu a:hover, nav.menu a.on { border-bottom-color: var(--coral); color: var(--ink); }

.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 24px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn-c { background: var(--coral); color: #fff; }
.btn-c:hover { background: var(--coral-d); }
.btn-l { border: 2px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-l:hover { background: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .btn-l { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .btn-l:hover { border-color: var(--coral); background: rgba(225, 29, 36, 0.08); }
.btn-o { border: 2px solid var(--coral); color: var(--coral); background: transparent; }
.btn-o:hover { background: var(--coral); color: #fff; }
.btn-s { padding: 8px 16px; font-size: .9rem; }

.theme-btn {
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color .2s, background-color .2s, color .2s;
}
.theme-btn:hover { border-color: var(--coral); color: var(--coral); }
.theme-btn svg { width: 18px; height: 18px; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

.banda {
  background: var(--hero-bg);
  color: #fff;
  padding: 56px 0 120px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.banda.centro { text-align: center; }
.banda.centro .lead { margin-left: auto; margin-right: auto; }
.banda.centro .acts { justify-content: center; }
.banda .kicker {
  display: inline-block;
  background: var(--kicker-bg);
  border: 1px solid var(--kicker-border);
  color: var(--kicker-text);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .06em;
}
.banda h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; margin: 16px 0 14px; max-width: 820px; color: #fff; }
.banda.centro h1 { margin-left: auto; margin-right: auto; }
.banda .lead { font-size: 1.1rem; color: var(--hero-text); max-width: 700px; margin: 0 0 24px; }
.banda .migas { font-size: .85rem; color: var(--hero-muted); }
.banda .migas a { color: var(--hero-text); }

.acts { display: flex; gap: 12px; flex-wrap: wrap; }
.solapa { margin-top: -86px; position: relative; z-index: 2; }

.tickets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ticket {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  border-radius: var(--r);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .2s ease, border-color .2s ease;
}
.ticket:hover { transform: translateY(-3px); }
.ticket .t { font-weight: 700; font-size: 1rem; }
.ticket .p { font-weight: 800; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.ticket .d { color: var(--muted); font-size: .88rem; }
.ticket .go { margin-top: auto; color: var(--coral); font-weight: 700; font-size: .92rem; padding-top: 6px; }

.ficha {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.6fr;
  overflow: hidden;
}
.ficha .cel { padding: 22px 24px; border-right: 1px solid var(--line); }
.ficha .cel:last-child { border-right: 0; }
.et { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.monto b { font-weight: 800; font-size: 2.5rem; line-height: 1; }
.ficha .plazo { font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.ficha ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }
.ficha li { margin: 3px 0; }
.ficha-pie { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: .92rem; color: var(--muted); }

.fx { font-size: .85rem; color: var(--muted); margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.fx b { color: var(--ink); }
.fx select { font: inherit; font-size: .82rem; padding: 3px 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.fxn { display: block; width: 100%; font-size: .72rem; opacity: .8; }

.sec { padding: 56px 0; }
.sec.gris { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 680px; }

.porque { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.porque div { border-left: 3px solid var(--coral); padding-left: 16px; }
.porque h3 { font-size: 1.15rem; margin: 0 0 6px; }
.porque p { margin: 0; color: var(--muted); }

.tabla { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.tabla th, .tabla td { padding: 13px 16px; text-align: left; border-bottom: 1px dashed var(--line); vertical-align: top; }
.tabla thead th { background: var(--soft); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tabla td.n { white-space: nowrap; font-weight: 700; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla small { display: block; color: var(--muted); }

.linea { list-style: none; margin: 10px 0 0; padding: 0; position: relative; }
.linea li { position: relative; padding: 0 0 26px 44px; }
.linea li::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.linea li:last-child::before { display: none; }
.linea li span.n { position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.linea strong { display: block; font-size: 1.05rem; }
.linea p { margin: 2px 0 0; color: var(--muted); }

.texto h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 40px 0 10px; }
.texto h2:first-child { margin-top: 0; }
.texto p, .texto li { color: var(--muted); }
.texto ul { padding-left: 1.2em; }
.texto li { margin: 6px 0; }

.ojo { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 10px; padding: 14px 18px; margin: 18px 0; color: var(--muted); }
.envio { background: var(--soft) !important; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: .95rem; color: var(--muted); }

.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; align-items: start; }
.faqs.una { grid-template-columns: 1fr; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--coral); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 0; color: var(--muted); }

.remate { background: var(--coral); color: #fff; border-radius: 20px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.remate h2 { margin: 0 0 4px; font-size: 1.6rem; color: #fff; }
.remate p { margin: 0; color: #ffe7de; }
.remate .btn { background: #fff; color: var(--coral-d); }

.cierre { background: var(--coral); color: #fff; text-align: center; padding: 52px 0; }
.cierre h2 { color: #fff; }
.cierre p { color: #ffe7de; margin: 0 0 20px; }
.cierre .btn { background: #fff; color: var(--coral-d); }

html[data-theme="dark"] .remate,
html[data-theme="dark"] .cierre {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
html[data-theme="dark"] .remate { border: 1px solid var(--line); }
html[data-theme="dark"] .remate p,
html[data-theme="dark"] .cierre p { color: var(--muted); }
html[data-theme="dark"] .remate .btn,
html[data-theme="dark"] .cierre .btn { background: var(--coral); color: #fff; }

.cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.caja { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.caja p { margin: 6px 0 14px; color: var(--muted); font-size: .95rem; }
.caja ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.caja li { margin: 6px 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }

footer { background: var(--footer-bg); color: #b8c2d8; font-size: .92rem; padding: 44px 0 24px; border-top: 1px solid var(--line); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h3 { color: #fff; font-size: 1.05rem; }
footer a { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 6px 0; }
.legal { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: .84rem; color: #93a0bb; }

.flota { position: fixed; right: 18px; bottom: 18px; z-index: 30; background: #25d366; color: #fff; border-radius: 999px; padding: 13px 18px; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

.cform { display: grid; gap: 12px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform input, .cform select, .cform textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: var(--paper); color: var(--ink); }
.cform textarea { min-height: 110px; }
.cform .err { color: #ef4444; margin: 0; min-height: 1em; font-size: .9rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nopriv { font-size: .85rem; color: #9fb0cf; margin-top: 18px; }

@media(max-width:1240px) { .logo small { display: none; } }
@media(max-width:980px) {
  nav.menu { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--card); flex-direction: column; gap: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  nav.menu a { padding: 10px 0; }
  nav.menu.open { display: flex; }
  .burger { display: block; }
  header.top .btn { display: none; }
  .tickets { grid-template-columns: 1fr 1fr; }
  .ficha { grid-template-columns: 1fr 1fr; }
  .ficha .cel:last-child { grid-column: 1/-1; border-top: 1px solid var(--line); }
  .ficha .cel:nth-child(2) { border-right: 0; }
  .porque, .faqs, .cuerpo, footer .cols { grid-template-columns: 1fr; }
}
@media(max-width:600px) {
  body { font-size: 16px; }
  .banda { padding: 36px 0 100px; }
  .tickets, .ficha, .cform .row { grid-template-columns: 1fr; }
  .ficha .cel { border-right: 0; border-top: 1px solid var(--line); }
  .ficha .cel:first-child { border-top: 0; }
  .flota span { display: none; }
  .tabla th, .tabla td { padding: 10px; font-size: .92rem; }
}