/*
  Landing de FireLog.

  Un solo archivo, sin framework: la página es estática y se sirve como archivo
  suelto en el server. Todo el color sale de las variables de abajo.
*/

:root {
  --fondo:        #0d0f12;
  --fondo-2:      #14171c;
  --fondo-3:      #1b1f26;
  --borde:        rgba(255, 255, 255, .1);
  --texto:        #e9edf2;
  --texto-2:      #a3adb9;
  --rojo:         #e02b3c;
  --rojo-oscuro:  #b21f2d;
  --llama-1:      #e02b3c;
  --llama-2:      #f5a623;
  --verde:        #3fae5a;
  --radio:        14px;
  --ancho:        1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.08rem; font-weight: 600; }
p  { margin: 0 0 1em; }
a  { color: inherit; }

img, svg { max-width: 100%; }

.contenedor {
  width: 100%;
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 20px;
}

/* El foco tiene que verse: mucha gente del cuartel navega con el teclado. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--llama-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.saltar {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--rojo);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.saltar:focus { left: 16px; }

/* ── Barra superior ──────────────────────────────────────────────────── */
.barra {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 18, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.barra__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.marca__llama { width: 20px; height: 26px; flex: 0 0 auto; }
.marca__texto { font-weight: 500; }
.marca__texto strong { font-weight: 700; color: var(--rojo); }

.barra__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: .94rem;
}
.barra__nav a {
  color: var(--texto-2);
  text-decoration: none;
  transition: color .15s;
}
.barra__nav a:hover { color: var(--texto); }

.idiomas {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--borde);
  border-radius: 999px;
}
.idiomas button {
  border: 0;
  background: transparent;
  color: var(--texto-2);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.idiomas button:hover { color: var(--texto); }
.idiomas button[aria-current="true"] { background: var(--rojo); color: #fff; }

/* ── Portada ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
/* El resplandor de fondo. Decorativo: no lleva contenido. */
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: 900px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 43, 60, .22), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.hero__ojo {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 13px;
  border: 1px solid rgba(224, 43, 60, .45);
  border-radius: 999px;
  background: rgba(224, 43, 60, .12);
  color: #ff9ba4;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hero__bajada {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--texto-2);
  max-width: 38em;
}

.hero__web {
  margin-top: 16px;
  color: var(--texto-2);
  font-size: .92rem;
  max-width: 34em;
}

/* ── Botones de las tiendas ──────────────────────────────────────────── */
.tiendas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tienda {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 15px;
  border: 1px solid var(--borde);
  border-radius: 12px;
  background: var(--fondo-3);
  color: var(--texto);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  transition: border-color .15s, background .15s, transform .15s;
}
.tienda:hover {
  background: #232830;
  border-color: rgba(255, 255, 255, .25);
  transform: translateY(-1px);
}
.tienda__logo { width: 26px; height: 26px; flex: 0 0 auto; }
.tienda span { display: flex; flex-direction: column; }
.tienda small {
  font-size: .68rem;
  font-weight: 500;
  color: var(--texto-2);
  letter-spacing: .02em;
}

.tiendas--chicas { margin-top: 16px; gap: 8px; }
.tiendas--chicas .tienda { padding: 7px 13px 7px 11px; font-size: .9rem; }
.tiendas--chicas .tienda__logo { width: 20px; height: 20px; }
.tiendas--chicas small { font-size: .62rem; }

/* ── Maqueta del teléfono ────────────────────────────────────────────── */
.hero__mockup { display: flex; justify-content: center; }

.tel {
  width: 280px;
  max-width: 100%;
  padding: 11px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2b313a, #14171c);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.tel--chico { width: 220px; border-radius: 30px; padding: 8px; }

.tel__pantalla {
  position: relative;
  border-radius: 28px;
  background: #0f1216;
  padding: 26px 16px 18px;
  min-height: 460px;
  overflow: hidden;
}
.tel--chico .tel__pantalla { border-radius: 23px; min-height: 380px; padding: 22px 13px 16px; }

/* La muesca del teléfono */
.tel__pantalla::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .16);
}

/* Aviso de salida */
.alarma__sirena {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(224, 43, 60, .18);
  border: 1px solid rgba(224, 43, 60, .5);
  color: #ff98a2;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.alarma__punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rojo);
  box-shadow: 0 0 0 0 rgba(224, 43, 60, .7);
  animation: latido 1.8s infinite;
}
@keyframes latido {
  70%  { box-shadow: 0 0 0 9px rgba(224, 43, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 43, 60, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .alarma__punto { animation: none; }
  html { scroll-behavior: auto; }
}

.alarma__dir {
  margin: 16px 0 2px;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}
.alarma__movil { color: var(--texto-2); font-size: .8rem; margin-bottom: 18px; }

.alarma__botones { display: flex; gap: 8px; }
.btn-mock {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 700;
}
.btn-mock--si { background: var(--verde); color: #fff; }
.btn-mock--no { background: rgba(255, 255, 255, .08); color: var(--texto-2); }

.alarma__lista {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--borde);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: .8rem;
  color: var(--texto-2);
}
.alarma__lista-t {
  margin: 0 0 4px;
  color: var(--verde);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* ── Franja ──────────────────────────────────────────────────────────── */
.franja {
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  background: var(--fondo-2);
}
.franja__inner { padding: 22px 20px; }
.franja p {
  margin: 0;
  text-align: center;
  color: var(--texto-2);
  font-size: .96rem;
}
.franja strong { color: var(--texto); font-weight: 600; }

/* ── Secciones ───────────────────────────────────────────────────────── */
.seccion { padding: clamp(56px, 8vw, 92px) 0; }
.seccion--oscura { background: var(--fondo-2); border-block: 1px solid var(--borde); }
.seccion h2 { text-align: center; }
.seccion__bajada {
  max-width: 44em;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--texto-2);
}

/* ── Tarjetas de funciones ───────────────────────────────────────────── */
.tarjetas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.tarjeta {
  padding: 24px 22px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--fondo-2);
  transition: border-color .15s, transform .15s;
}
.tarjeta:hover { border-color: rgba(224, 43, 60, .45); transform: translateY(-2px); }
.tarjeta p { margin: 0; color: var(--texto-2); font-size: .93rem; }

.tarjeta__icono {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(224, 43, 60, .14);
}
.tarjeta__icono svg { width: 21px; height: 21px; fill: #ff8b95; }

/* ── Pantallas ───────────────────────────────────────────────────────── */
.pantallas {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  align-items: end;
}

/* La segunda tanda de fotos, ya sin el tablero de la web al lado. */
.pantallas--fila {
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  margin-top: 34px;
}

/* El marco del teléfono con una foto adentro en lugar de una maqueta dibujada. */
.tel--foto .tel__pantalla,
.tel--foto { padding: 8px; }
.tel--foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
  background: #fff;
}
.pantallas figure { margin: 0; }
.pantallas figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--texto-2);
  font-size: .85rem;
}
.pantallas__nota {
  margin: 30px 0 0;
  text-align: center;
  color: #6f7885;
  font-size: .78rem;
}
.pantalla-tel { display: flex; flex-direction: column; align-items: center; }

/* Maqueta de la web */
.nb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--borde);
  background: #0f1216;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
}
.nb__barra {
  display: flex;
  gap: 6px;
  padding: 10px 13px;
  background: #1b1f26;
  border-bottom: 1px solid var(--borde);
}
.nb__barra span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.nb__pantalla { padding: 18px; }

.board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.board__badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(224, 43, 60, .18);
  color: #ff98a2;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
}
.board__hora { color: var(--texto-2); font-size: .78rem; }
.board__tit { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }

.board__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.board__col {
  padding: 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .74rem;
  color: var(--texto-2);
}
.board__col p {
  margin: 0 0 3px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.board__col--si  p { color: var(--verde); }
.board__col--no  p { color: #ff8b95; }
.board__col--esp p { color: var(--texto-2); }

/* Fichaje con QR */
.qr { text-align: center; }
.qr__t { font-size: .95rem; font-weight: 600; margin: 6px 0 2px; }
.qr__f { color: var(--texto-2); font-size: .75rem; margin-bottom: 16px; }
.qr__code {
  width: 130px;
  height: 130px;
  margin: 0 auto 16px;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 4px;
}
.qr__code span { background: #11141a; border-radius: 2px; }
.qr__code span:nth-child(3n) { background: transparent; }
.qr__code span:nth-child(7n) { background: transparent; }
.qr__ok { color: var(--verde); font-size: .82rem; font-weight: 600; }

/* Puntaje propio */
.puntaje__t { font-size: .85rem; color: var(--texto-2); margin: 6px 0 10px; }
.puntaje__num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 18px;
}
.puntaje__filas { display: flex; flex-direction: column; gap: 9px; }
.puntaje__filas div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--borde);
  font-size: .82rem;
  color: var(--texto-2);
}
.puntaje__filas b { color: var(--texto); }

/* ── Dónde se usa ────────────────────────────────────────────────────── */
.disp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.disp__item {
  padding: 26px 24px;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  background: var(--fondo-2);
}
.disp__item p { color: var(--texto-2); font-size: .93rem; margin-bottom: 0; }
.disp__icono {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(245, 166, 35, .14);
}
.disp__icono svg { width: 22px; height: 22px; fill: var(--llama-2); }

/* ── Contacto ────────────────────────────────────────────────────────── */
.cta {
  padding: clamp(56px, 8vw, 92px) 0;
  background: linear-gradient(135deg, var(--rojo-oscuro), #6d1220);
}
.cta__inner { max-width: 640px; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); }
.cta__mail {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 26px;
  border-radius: 12px;
  background: #fff;
  color: #10131a;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
  transition: transform .15s;
}
.cta__mail:hover { transform: translateY(-1px); }

/* ── Pie ─────────────────────────────────────────────────────────────── */
.pie {
  padding: 34px 0;
  border-top: 1px solid var(--borde);
  background: var(--fondo);
}
.pie__inner { text-align: center; color: var(--texto-2); font-size: .88rem; }
.pie p { margin: 0 0 6px; }
.marca__texto--pie { margin-right: 8px; }
.pie__legal { color: #6f7885; font-size: .8rem; }

/* ── Pantallas chicas ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__texto { text-align: center; }
  .hero__bajada, .hero__web { margin-inline: auto; }
  .tiendas { justify-content: center; }
  .pantallas { grid-template-columns: 1fr; justify-items: center; }
  .pantalla-web { width: 100%; }
  .board__cols { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* El menú se va: en el teléfono la página se recorre con el dedo, y dejarlo
     apretaba el selector de idioma contra el logo. */
  .barra__nav { display: none; }
  .idiomas { margin-left: auto; }
  .tienda { flex: 1 1 200px; }
}
