/* ============================================================
   stelion.uy — landing
   Con la misma cara que el Manager: fondo gris azulado claro, tarjetas
   blancas, títulos en Space Grotesk y el verde de marca de acento.
   Sin fotos ni capturas.
   ============================================================ */
:root {
    --bg: #f0f5fa;
    --card: #ffffff;
    --ink: #111111;
    --texto: #1e293b;
    --tenue: #64748b;
    --borde: #d1d5db;
    --borde-suave: #e5e9ef;
    --verde: #7cd11a;
    --verde-suave: rgba(124, 209, 26, 0.12);
    --verde-tinta: #3d7a08;
    --verde-oscuro: #1a2e05;
    --ambar: #d97706;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --display: 'Space Grotesk', var(--font);
    --ancho: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--texto);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }

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

.tarjeta {
    background: var(--card);
    border: 1px solid var(--borde-suave);
    border-radius: 18px;
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03), 0 18px 48px rgba(17, 17, 17, 0.06);
}

.etiqueta {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tenue);
}

.bajada { color: var(--tenue); font-size: 1.1rem; max-width: 34rem; }

/* ---------- Botones ---------- */
.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.boton:disabled { opacity: 0.6; cursor: default; }
.boton-verde { background: var(--verde); color: var(--verde-oscuro); }
.boton-verde:hover { background: #8fdc33; }
.boton-negro { background: var(--ink); color: #fff; }
.boton-negro:hover { background: #2a2a2a; }
.boton-chico { min-height: 36px; padding: 0 16px; font-size: 0.88rem; }
.enlace { color: var(--verde-tinta); font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.enlace:hover { text-decoration: underline; }

/* ---------- Barra (la del Manager) ---------- */
.barra {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06), 0 6px 24px rgba(17, 17, 17, 0.05);
}
.barra-fila { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.marca { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.marca-leon { height: 30px; width: auto; }
.marca-palabra { height: 17px; width: auto; }
.barra-links { display: flex; align-items: center; gap: 1.5rem; }
.barra-links a:not(.boton) { color: #475569; text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.barra-links a:not(.boton):hover { color: var(--verde-tinta); }

/* ---------- Hero ---------- */
.hero {
    padding: 88px 0 72px;
    background: radial-gradient(80% 60% at 70% 0%, rgba(124, 209, 26, 0.10) 0%, rgba(124, 209, 26, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-texto { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); font-weight: 700; }

/* La tarjeta de la red en vivo */
.red { padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 18px; }
.red-cabeza { display: flex; align-items: center; justify-content: space-between; }
.vivo { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 600; color: var(--verde-tinta); background: var(--verde-suave); padding: 4px 10px; border-radius: 999px; }
.punto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); animation: latido 2.2s infinite; }
@keyframes latido {
    0% { box-shadow: 0 0 0 0 rgba(124, 209, 26, 0.55); }
    70% { box-shadow: 0 0 0 7px rgba(124, 209, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 209, 26, 0); }
}
.red-total { display: flex; align-items: baseline; gap: 12px; }
.valor { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.6rem; line-height: 1.1; }
.valor.grande { font-size: 3.4rem; letter-spacing: -0.03em; }
.red-barra { display: flex; height: 10px; border-radius: 999px; background: var(--borde-suave); overflow: hidden; }
.red-barra span { display: block; width: 0; transition: width 0.8s ease; }
#barraLibres { background: var(--verde); }
#barraUso { background: var(--ambar); }
.red-fila { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.red-fila > div { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--borde-suave); border-radius: 12px; }
.marca-estado { width: 8px; height: 8px; border-radius: 50%; margin-bottom: 6px; }
.marca-estado.libre { background: var(--verde); }
.marca-estado.uso { background: var(--ambar); }
.marca-estado.sin { background: #cbd5e1; }

/* ---------- Tiendas ---------- */
.tiendas { display: flex; flex-wrap: wrap; gap: 12px; }
.tienda {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 20px 0 16px;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
}
.tienda:hover { background: #2a2a2a; }
.tienda svg { width: 22px; height: 22px; flex: none; }
.tienda span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; font-size: 0.98rem; }
.tienda small { font-weight: 400; font-size: 0.7rem; opacity: 0.75; }

/* ---------- Bloques ---------- */
.bloque { padding: 0 0 72px; }

.tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.paso { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.paso h2 { font-size: 1.35rem; }
.paso p { color: var(--tenue); }
.icono {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--verde-suave);
    color: var(--verde-tinta);
}
.icono svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hosts ---------- */
.hosts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; overflow: hidden; }
.hosts-texto { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.hosts-texto h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
.lista { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lista li { position: relative; padding-left: 22px; }
.lista li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.lista strong { color: var(--ink); font-weight: 600; }
.para-quien { color: var(--tenue); font-size: 0.92rem; }

.hosts-form { padding: 40px; background: #f8fafc; border-left: 1px solid var(--borde-suave); }
.hosts-form h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hosts-form form { display: flex; flex-direction: column; }
.hosts-form form[hidden], .listo[hidden], .error[hidden] { display: none; }
.hosts-form label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tenue);
    margin: 12px 0 6px;
}
.hosts-form input[type=text], .hosts-form input[type=email], .hosts-form input[type=tel], .hosts-form select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--borde);
    border-radius: 10px;
    background: #fff;
    color: var(--texto);
    font: inherit;
}
.hosts-form input:focus, .hosts-form select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(124, 209, 26, 0.2); }
.hosts-form .fila { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hosts-form .fila label { display: block; }
.hosts-form .casilla {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 4px;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--texto);
}
.hosts-form .casilla input { width: 18px; height: 18px; flex: none; accent-color: var(--verde-tinta); }
.hosts-form .casilla a { color: var(--verde-tinta); }
.hosts-form .boton { margin-top: 16px; width: 100%; }
.hosts-form .enlace { align-self: center; margin-top: 14px; }
.senuelo { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { color: #dc2626; font-size: 0.9rem; margin-top: 10px; }

.listo { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 0; }
.listo-marca { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 50%; background: var(--verde); color: var(--verde-oscuro); }
.listo-marca svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.listo p { color: var(--tenue); }

/* ---------- Descargar ---------- */
.descarga { padding: 32px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.descarga h2 { font-size: 1.8rem; margin-bottom: 6px; }
.descarga .bajada { font-size: 1rem; }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--borde-suave); padding: 32px 0 40px; font-size: 0.85rem; color: var(--tenue); }
.pie .contenedor { display: flex; flex-direction: column; gap: 16px; }
.pie-aviso { max-width: 80ch; }
.pie-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie a { color: var(--tenue); }
.pie a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .punto { animation: none; }
    .red-barra span { transition: none; }
}

/* ---------- Teléfono ---------- */
@media (max-width: 900px) {
    .hero { padding: 56px 0 48px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .tres { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hosts { grid-template-columns: minmax(0, 1fr); }
    .hosts-form { border-left: 0; border-top: 1px solid var(--borde-suave); }
}

@media (max-width: 640px) {
    .contenedor { padding: 0 16px; }
    .barra-fila { height: 56px; }
    .solo-ancho { display: none; }
    .hosts-texto, .hosts-form { padding: 26px 20px; }
    .hosts-form .fila { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .descarga { padding: 26px 20px; }
    .red { padding: 22px 18px; }
    .red-fila > div { padding: 10px; }
    .valor { font-size: 1.35rem; }
    .bloque { padding-bottom: 48px; }
}
