/* ===== Design tokens — marca Total Wireless (design-brief-landing.md + mockup) ===== */
:root {
  --navy:  #0A1B3D;
  --navy-2:#0E2550;
  --navy-3:#132C5E;
  --teal:  #00D3C7;
  --teal-deep:#00B3A9;
  --red:   #E4002B;   /* SOLO logo */
  --white: #FFFFFF;
  --mint:  #D7EEE9;
  --ink:   #FFFFFF;
  --muted: rgba(255,255,255,.62);
  --muted2:rgba(255,255,255,.42);
  --radius: 16px;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy); color: var(--ink);
  line-height: 1.5; -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ===== Logo (pill rojo) ===== */
.logo { background: var(--red); color: #fff; border-radius: 22px; padding: 9px 15px 7px;
  display: inline-flex; flex-direction: column; line-height: 1; }
.logo b { font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.logo small { font-size: 8.5px; font-weight: 600; letter-spacing: .14em; opacity: .95; margin-top: 1px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 88% 0%, rgba(0,211,199,.28) 0%, rgba(0,211,199,0) 55%), var(--navy); }
.hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 14px 22px 30px; }
.hero__topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hero__grid { display: grid; gap: 20px; grid-template-areas: "intro" "visual" "details"; }
.hero__intro { grid-area: intro; }
.hero__visual { grid-area: visual; }
.hero__details { grid-area: details; }
.hero__visual img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.4)); }

.eyebrow { color: var(--teal); font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; margin-bottom: 12px; }
.hero__title { margin-bottom: 12px; }
.hero__title-sm { display: block; font-weight: 800; font-size: clamp(1.6rem, 6.4vw, 2.1rem);
  letter-spacing: -.02em; color: var(--white); }
.hero__free { display: block; font-weight: 900; font-size: clamp(3.4rem, 16vw, 4.4rem);
  color: var(--teal); letter-spacing: -.03em; line-height: .9; margin-top: 2px; }
.hero__subtitle { color: var(--muted); font-size: .95rem; font-weight: 500; max-width: 40ch; line-height: 1.45; }

/* Tarjeta de evento */
.eventcard { background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border: 1px solid rgba(0,211,199,.28); border-radius: 18px; padding: 16px; margin-top: 20px; }
.datepill { display: inline-flex; align-items: center; gap: 7px; background: var(--teal); color: var(--navy);
  font-weight: 800; font-size: .82rem; padding: 7px 13px; border-radius: 12px; max-width: 100%; }
.store { display: flex; gap: 10px; margin-top: 13px; align-items: flex-start; }
.store__pin { color: var(--teal); flex: 0 0 auto; margin-top: 1px; display: inline-flex; }
.store__name { font-weight: 700; font-size: .95rem; }
.store__addr { color: var(--muted); font-size: .78rem; font-weight: 400; margin-top: 1px; }
.store__dist { color: var(--teal); font-size: .72rem; font-weight: 600; margin-top: 3px; }

.countdown { display: flex; gap: 8px; margin-top: 14px; }
.cd-tile { flex: 1; background: rgba(255,255,255,.05); border-radius: 11px; padding: 9px 4px; text-align: center; }
.cd-tile b { display: block; font-size: 1.3rem; font-weight: 800; color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums; }
.cd-tile small { display: block; font-size: .56rem; font-weight: 600; letter-spacing: .1em;
  color: var(--muted2); text-transform: uppercase; margin-top: 5px; }

/* CTAs */
.hero__ctas { display: flex; gap: 10px; margin-top: 10px; }
.hero__ctas .btn { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border-radius: 15px; border: 0; cursor: pointer; font-family: inherit;
  font-weight: 800; text-decoration: none; transition: transform .05s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--navy); font-size: 1.05rem; padding: 15px 18px;
  margin-top: 16px; box-shadow: 0 10px 26px rgba(0,211,199,.26); }
.btn-primary:hover { background: #18e2d6; }
.btn-secondary { background: transparent; color: var(--teal); border: 1.5px solid rgba(0,211,199,.55);
  border-radius: 13px; padding: 12px; font-size: .86rem; font-weight: 700; margin-top: 0; box-shadow: none; }
.btn-secondary:hover { background: rgba(0,211,199,.1); }
.rsvp-confirm { text-align: center; color: var(--teal); font-weight: 800; margin-top: 14px; }

/* ===== ¿Qué habrá en el evento? ===== */
.sec { background: var(--navy-2); padding: 30px 22px; }
.sec__t { max-width: var(--maxw); margin: 0 auto; font-weight: 800; font-size: 1.25rem;
  text-align: center; letter-spacing: -.01em; }
.sec__t em { color: var(--teal); font-style: normal; }
.grid { max-width: var(--maxw); margin: 19px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tile { background: var(--navy); border: 1px solid rgba(255,255,255,.07); border-radius: 15px; padding: 15px 13px; }
.tile__ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(0,211,199,.13);
  display: inline-flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 10px; }
.tile h4 { font-size: .84rem; font-weight: 700; }
.tile p { font-size: .7rem; font-weight: 400; color: var(--muted); margin-top: 3px; line-height: 1.3; }
.tile--wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 13px;
  background: linear-gradient(100deg, rgba(0,211,199,.16), rgba(0,211,199,.04));
  border-color: rgba(0,211,199,.3); }
.tile--wide .tile__ic { margin-bottom: 0; background: var(--teal); color: var(--navy); flex: 0 0 auto; }
.tile--wide h4 { font-size: .95rem; }

/* ===== Trust bar ===== */
.trust { background: var(--teal); color: var(--navy); display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 16px; padding: 13px 18px; font-size: .72rem; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 5px; }

/* ===== Cierre ===== */
.final { background: var(--navy); padding: 34px 22px 22px; text-align: center; }
.final > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.final__k { color: var(--teal); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.final__title { font-size: 1.6rem; font-weight: 900; margin-top: 8px; letter-spacing: -.02em; }
.final__phones { color: var(--muted); font-size: .74rem; font-weight: 500; margin-top: 8px; line-height: 1.5; }
.final .btn-primary { margin-top: 18px; }
.final__share { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  background: none; border: 0; color: var(--teal); font-family: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.final__fine { color: var(--muted2); font-size: .6rem; font-weight: 400; line-height: 1.5; margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }
.final__legal { margin-top: 10px; font-size: .72rem; color: var(--muted2); }
.final__legal a { color: var(--teal); text-decoration: none; font-weight: 600; }
.final__legal a:hover { text-decoration: underline; }
.final__legal span { margin: 0 6px; }
.final__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; }
.final__tag { color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }

/* ===== Respaldo (geoloc / selector) ===== */
.fallback { max-width: 520px; margin: 0 auto; padding: 48px 22px; display: grid; gap: 16px; }
.notice { text-align: center; color: var(--muted); }
.fallback .btn-primary { margin-top: 0; }
.picker { display: grid; gap: 12px; margin-top: 8px; }
.picker-search { width: 100%; min-height: 50px; border-radius: 12px; padding: 0 14px;
  border: 1px solid rgba(0,211,199,.3); background: var(--navy-2); color: var(--ink); font-size: 1rem; font-family: inherit; }
.picker-list { display: grid; gap: 8px; }
.picker-item { text-align: left; padding: 14px; border-radius: 12px; cursor: pointer;
  background: var(--navy-2); color: var(--ink); border: 1px solid rgba(0,211,199,.2); min-height: 48px; font-family: inherit; }
.picker-item:hover { border-color: var(--teal); }

/* ===== Toggle de idioma ===== */
.lang-toggle { position: absolute; top: 18px; right: 20px; z-index: 5;
  background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px; padding: 6px 12px; min-height: 44px; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: .78rem; }
.lang-toggle b { color: var(--teal); }

/* ===== Banner de consentimiento ===== */
.consent { position: fixed; left: 0; right: 0; bottom: 0; background: #06122b;
  border-top: 1px solid rgba(0,211,199,.3); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px; font-size: .9rem; z-index: 50; color: var(--ink); }
.consent-link { color: var(--teal); font-weight: 600; text-decoration: none; }
.consent-link:hover { text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent-btn { min-height: 44px; padding: 0 18px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.25); background: transparent; color: var(--ink); font-family: inherit; font-weight: 600; }
.consent-accept { background: var(--teal); color: var(--navy); border: 0; font-weight: 800; }

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .hero__inner { padding: 22px 32px 56px; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; column-gap: 44px; row-gap: 10px;
    align-items: center; grid-template-areas: "intro visual" "details visual"; }
  .hero__intro { align-self: end; max-width: 620px; }
  .hero__details { align-self: start; max-width: 560px; }
  .hero__visual img { max-width: 560px; }
  .eventcard { max-width: 520px; }
  .hero__ctas { max-width: 520px; }
  .btn-primary { max-width: 520px; }
  .grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
  .tile--wide { grid-column: auto; flex-direction: column; align-items: flex-start;
    background: var(--navy); border-color: rgba(255,255,255,.07); }
  .tile--wide .tile__ic { margin-bottom: 10px; background: rgba(0,211,199,.13); color: var(--teal); }
  .tile--wide h4 { font-size: .84rem; }
  .sec { padding: 48px 32px; }
  .final { padding: 52px 32px 28px; }
}

/* ===== Movimiento reducido ===== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
