:root {
  --fondo: #0b0e14;
  --fondo-2: #11151e;
  --tarjeta: #161b26;
  --borde: #252c3b;
  --texto: #eef2f8;
  --texto-2: #b3bdd0;
  --azul: #2f8cff;
  --azul-claro: #5aa8ff;
  --celeste: #00b8ff;
  --verde: #1fa855;
  --radio: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-claro); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
.portada-in > *, .dos-columnas > *, .contacto > *, .tarjetas > * { min-width: 0; }

.contenedor { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Barra superior */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 14, 20, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}
.barra-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.marca img { width: 104px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--texto-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.menu a:hover { color: var(--texto); }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .15s;
}
.boton:hover { transform: translateY(-1px); }
.boton-chico { min-height: 40px; padding: 0 18px; font-size: 15px; }
.boton-azul { background: var(--azul); color: #fff; }
.boton-azul:hover { background: #1f7aeb; }
.boton-borde { background: transparent; color: var(--texto); border-color: #3a4459; }
.boton-borde:hover { border-color: var(--azul-claro); }
.boton-verde { background: var(--verde); color: #fff; }
.boton-verde:hover { background: #188f47; }

.boton-play {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 6px 18px 6px 14px; border-radius: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid #5a6275; transition: transform .15s;
}
.boton-play:hover { transform: translateY(-1px); border-color: #8d96ab; }
.boton-play svg { width: 26px; height: 26px; flex: none; }
.boton-play span { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; line-height: 1.1; }
.boton-play small { font-size: 11px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: #d7dbe4; }

.acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Portada */
.portada {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(0, 140, 255, .22), transparent 60%),
    linear-gradient(180deg, #0d1220 0%, var(--fondo) 100%);
}
.portada-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.etiqueta { color: var(--azul-claro); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.portada h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.azul { color: var(--azul-claro); }
.bajada { font-size: 19px; color: var(--texto-2); margin: 20px 0 30px; max-width: 34em; }
.portada-foto { position: relative; }
.portada-foto img { position: relative; width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.halo { position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(47, 140, 255, .35), transparent 65%); }

/* Secciones */
.seccion { padding: 84px 0; }
.seccion-alterna { background: var(--fondo-2); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.seccion h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.intro { color: var(--texto-2); font-size: 18px; margin-top: 12px; max-width: 40em; }

.tarjetas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.tarjetas-3 { grid-template-columns: repeat(3, 1fr); }
.tarjeta { background: var(--tarjeta); border: 1px solid var(--borde); border-radius: var(--radio); padding: 24px; }
.tarjeta h3 { font-size: 19px; margin-bottom: 8px; }
.tarjeta p { color: var(--texto-2); font-size: 15px; }
.icono { width: 46px; height: 46px; border-radius: 12px; background: rgba(47, 140, 255, .15); display: grid; place-items: center; margin-bottom: 16px; }
.icono svg { width: 24px; height: 24px; fill: none; stroke: var(--azul-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.mini { margin: 12px 0 0; padding: 0; list-style: none; }
.mini li { color: var(--texto-2); font-size: 15px; padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--borde); }
.mini li:first-child { border-top: 0; }
.mini li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--azul); }

.dos-columnas { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.columna-foto img { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 24px 32px rgba(0, 0, 0, .5)); }
.lista { list-style: none; padding: 0; margin: 26px 0 30px; }
.lista li { color: var(--texto-2); padding: 10px 0 10px 34px; position: relative; }
.lista li strong { color: var(--texto); }
.lista li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--azul); color: #fff; font-size: 13px; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}

.banda-app {
  margin-top: 32px; padding: 26px; border-radius: var(--radio);
  background: linear-gradient(120deg, #0a5fd6, #0097e6); color: #fff;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.banda-app img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.banda-app > div:nth-child(2) { flex: 1 1 280px; }
.banda-app h3 { font-size: 21px; margin-bottom: 4px; }
.banda-app p { color: #e6f1ff; font-size: 15px; }
.banda-app .boton-azul { background: #fff; color: #0a4fb3; }
.banda-app .boton-azul:hover { background: #e8f1ff; }

.contacto { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.contacto-botones { display: flex; flex-direction: column; gap: 12px; }

/* Pie */
.pie { padding: 36px 0 44px; }
.pie-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.pie img { width: 90px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 18px; }
.pie nav a { color: var(--texto-2); text-decoration: none; font-size: 15px; }
.pie nav a:hover { color: var(--texto); }
.pie p { color: #8792a8; font-size: 14px; margin-left: auto; }

/* Celular y tablet */
@media (max-width: 900px) {
  .tarjetas { grid-template-columns: repeat(2, 1fr); }
  .tarjetas-3 { grid-template-columns: 1fr; }
  .dos-columnas, .contacto { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .columna-foto { order: 2; }
}
@media (max-width: 760px) {
  .menu { display: none; }
  .barra-in { justify-content: space-between; }
  .portada-in { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 48px; gap: 24px; }
  .portada-foto { order: -1; }
  .portada-foto img { max-width: 320px; }
  .bajada { font-size: 17px; }
  .seccion { padding: 60px 0; }
  .pie p { margin-left: 0; }
}
@media (max-width: 520px) {
  .contenedor { padding: 0 16px; }
  .tarjetas { grid-template-columns: 1fr; }
  .acciones .boton, .acciones .boton-play { flex: 1 1 100%; justify-content: center; }
  .banda-app { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, .boton-play { transition: none; }
}
