/* Marca Gurú Motivación: negro, amarillo lima y Montserrat. */
:root {
  --accent: #D7D70E;
  --on-accent: #000000;
  --black: #000000;
  --dark: #111111;
  --dark-2: #1b1b1b;
  --ink: #111111;
  --ink-soft: #5D5D5D;
  --bg: #ffffff;
  --bg-light: #FAFAFA;
  --line: #DCDCDC;
  --radius: 18px;
  --wrap: 1160px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1, h2 { text-transform: uppercase; }
p { margin: 0 0 1em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }

/* Etiquetas y resaltados (como los afiches) */
.tag { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; font-size: .95rem; line-height: 1; padding: 8px 14px; border-radius: 6px; margin-bottom: 18px; }
.tag--sm { align-self: flex-start; font-size: .7rem; padding: 5px 9px; margin-bottom: 10px; border-radius: 4px; }
.hl { color: var(--accent); }
.hl-mark { background: linear-gradient(transparent 55%, var(--accent) 55%); padding: 0 .1em; }

/* Header / footer */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--black); color: #fff; border-bottom: 1px solid #222; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--accent);
  border-left: 1px solid #444; padding-left: 12px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; font-weight: 600; }
.site-nav a:not(.btn) { text-decoration: none; opacity: .85; }
.site-nav a:not(.btn):hover { opacity: 1; }
.site-footer { background: var(--black); color: #a5a5a5; font-size: .88rem; padding: 40px 0 90px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.site-footer__social a { color: #fff; text-decoration: none; }
.site-footer__social a:hover { color: var(--accent); }
.site-footer p { margin: 0; width: 100%; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 800; font-size: .95rem; text-transform: uppercase;
  letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--sm { padding: 10px 18px; font-size: .8rem; }
.btn--block { width: 100%; }
.btn--ghost { background: var(--black); color: #fff; }
.btn--ghost:hover { filter: none; background: var(--dark-2); }

/* Hero */
.hero { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 4.6rem); font-weight: 900; }
.hero--home { padding: 100px 0 96px; background: radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 50%), var(--black); }
.hero--home h1 { max-width: 13ch; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40ch; color: #d6d6d6; font-weight: 500; }
.hero--event { padding: 72px 0; background: linear-gradient(115deg, var(--black) 55%, var(--dark-2)); }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero--event.has-image .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero--event h1 { max-width: 15ch; }
.hero__facts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; font-weight: 600; color: #e6e6e6; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__icon { color: var(--accent); font-size: 1.15rem; width: 1.2em; text-align: center; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero__price { color: #d6d6d6; }
.hero__price strong { color: #fff; font-size: 1.35rem; font-weight: 800; }
.hero__poster img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }

/* Secciones */
.section { padding: 80px 0; }
.section--alt, .section--light { background: var(--bg-light); }
.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 32px; }
.empty, .notice { padding: 18px 22px; border-radius: 12px; background: var(--bg-light); color: var(--ink-soft); border-left: 4px solid var(--accent); }
.prose { font-size: 1.05rem; }
.prose__lead { font-size: 1.3rem; font-weight: 700; line-height: 1.4; margin-bottom: 1em; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 12px 32px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 20px 44px rgba(0,0,0,.12); }
.card__link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--black); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%), var(--black); }
.date-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--on-accent); border-radius: 10px; padding: 7px 12px;
  text-align: center; line-height: 1; font-size: .72rem; text-transform: uppercase; font-weight: 800; }
.date-badge strong { display: block; font-size: 1.5rem; font-weight: 900; margin-bottom: 2px; }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.15rem; margin-bottom: 6px; }
.card__meta { color: var(--ink-soft); font-size: .9rem; font-weight: 500; margin-bottom: 16px; }
.card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__price { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.card__price strong { color: var(--ink); font-size: 1.1rem; font-weight: 800; }
.card__cta { font-size: .78rem; font-weight: 800; text-transform: uppercase; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 999px; }
.card.is-soldout .card__media { filter: grayscale(1); }

/* Contenido del evento */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 38px; font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font-size: .8rem; font-weight: 900; display: grid; place-items: center; }
.agenda { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--black); }
.agenda li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 14px 0 14px 24px; position: relative; font-weight: 500; }
.agenda li::before { content: ""; position: absolute; left: -9px; top: 21px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--bg); }
.agenda__time { font-weight: 800; }
.speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.speaker { background: #fff; border-radius: var(--radius); padding: 28px 22px; text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.speaker__avatar { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 900;
  background: var(--black); color: var(--accent); }
.speaker h3 { font-size: 1.1rem; margin-bottom: 4px; }
.speaker p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.video { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); background: var(--black) center / cover; cursor: pointer; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--accent); color: var(--on-accent); padding: 15px 28px;
  border-radius: 999px; font: inherit; font-weight: 800; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.faq { background: #fff; border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 900; font-size: 1.3rem; line-height: 1; color: var(--ink); }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); }
.location .btn { margin-top: 6px; }

/* Entradas */
.tickets { background: var(--black); color: #fff; }
.tickets .notice { background: var(--dark-2); color: #d6d6d6; }
.tickets__list { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--dark-2); box-shadow: inset 0 0 0 2px #2a2a2a; cursor: pointer; transition: box-shadow .15s, background .15s; }
.ticket:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: #1f1f12; }
.ticket input { accent-color: var(--accent); width: 20px; height: 20px; margin: 0; }
.ticket.is-disabled { opacity: .45; cursor: not-allowed; }
.ticket__info { display: grid; gap: 2px; }
.ticket__name { font-weight: 800; font-size: 1.15rem; text-transform: uppercase; }
.ticket__desc { color: #a5a5a5; font-size: .9rem; }
.ticket__price { text-align: right; font-weight: 900; font-size: 1.3rem; display: grid; }
.ticket__price del { font-weight: 500; font-size: .85rem; color: #7a7a7a; }
.ticket__stock { color: var(--accent); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.tickets__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.qty__control { display: flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 2px #333; }
.qty__control button { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.qty__control button:hover { color: var(--accent); }
.qty__control input { width: 48px; border: 0; background: none; color: #fff; font: inherit; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.qty__control input::-webkit-inner-spin-button, .qty__control input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tickets__total { margin: 0; font-size: 1rem; font-weight: 600; text-transform: uppercase; }
.tickets__total strong { font-size: 1.7rem; font-weight: 900; margin-left: 10px; color: var(--accent); text-transform: none; }

/* Checkout */
.summary { border-radius: var(--radius); background: var(--bg-light); padding: 26px; margin-bottom: 20px; border-top: 5px solid var(--accent); }
.summary__event { font-weight: 800; font-size: 1.3rem; text-transform: uppercase; margin-bottom: 4px; }
.summary__meta { color: var(--ink-soft); }
.summary__lines { margin: 0; }
.summary__lines div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.summary__lines dd { margin: 0; font-weight: 700; }
.summary__total { font-size: 1.25rem; font-weight: 900; }

/* WhatsApp flotante */
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s, bottom .2s; }
.whatsapp-fab:hover { transform: scale(1.06); }

/* Botón fijo en móvil */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .hero--event.has-image .hero__grid { grid-template-columns: 1fr; }
  .hero__poster { order: -1; max-width: 420px; }
}
@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .brand__tag { display: none; }
  .section { padding: 60px 0; }
  .hero--home { padding: 72px 0; }
  .hero--event { padding: 32px 0 56px; }
  .agenda li { grid-template-columns: 66px 1fr; }
  .ticket { grid-template-columns: auto 1fr; }
  .ticket__price { grid-column: 2; text-align: left; }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--black); color: #fff; border-top: 1px solid #222; transition: transform .2s; }
  .sticky-cta strong { font-size: 1.15rem; }
  .sticky-cta.is-hidden { transform: translateY(110%); }
  .sticky-cta .btn { padding: 12px 22px; }
  body:has(.sticky-cta:not(.is-hidden)) .whatsapp-fab { bottom: 86px; }
}
