/* =============================================================================
   Sitio del revendedor
   -----------------------------------------------------------------------------
   Hoja propia, corta y neutra: la marca la pone el color que eligió el
   revendedor (--sitio) y su logo. No se mezcla con el CSS de OnStreaming para
   que su sitio no herede nuestra identidad.
   ========================================================================== */

:root {
  --sitio: #2563eb;
  --st-texto: #0f172a;
  --st-suave: #475569;
  --st-tenue: #94a3b8;
  --st-borde: #e2e8f0;
  --st-fondo: #ffffff;
  --st-gris: #f8fafc;
  --st-radio: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--st-fondo); color: var(--st-texto);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ------------------------------------------------------------------ cabeza */
.st-cabeza { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--st-borde); }
.st-cabeza__caja { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.st-marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.st-marca img { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: var(--st-gris); }
.st-marca__inicial { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--sitio); color: #fff; font-weight: 800; }
.st-marca b { display: block; font-size: 16px; line-height: 1.2; }
.st-marca small { display: block; color: var(--st-tenue); font-size: 12px; }
.st-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.st-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--st-suave); font-size: 14.5px; font-weight: 500; }
.st-nav a:hover { color: var(--st-texto); background: var(--st-gris); }
.st-nav a.es-actual { color: var(--sitio); }

/* ------------------------------------------------------------------ botones */
.st-boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  background: var(--sitio); color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, opacity .15s ease; }
.st-boton:hover { transform: translateY(-1px); opacity: .92; }
.st-boton--suave { background: var(--st-gris); color: var(--st-texto) !important; border-color: var(--st-borde); }
.st-boton--grande { padding: 14px 26px; font-size: 16px; }
.st-boton--bloque { width: 100%; }

/* ------------------------------------------------------------------- avisos */
.st-aviso { margin: 14px 0; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; border: 1px solid var(--st-borde); background: var(--st-gris); }
.st-aviso--ok { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.st-aviso--error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.st-aviso--info { border-color: #bfdbfe; background: #eff6ff; color: #1e40af; }

/* --------------------------------------------------------------------- hero */
.st-hero { padding: 74px 0 58px; text-align: center;
  background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--sitio) 14%, transparent), transparent 70%); }
.st-hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
.st-hero p { max-width: 640px; margin: 0 auto; color: var(--st-suave); font-size: 18px; }
.st-hero__acciones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ----------------------------------------------------------------- secciones */
.st-seccion { padding: 58px 0; }
.st-seccion--gris { background: var(--st-gris); }
.st-titulo { font-size: clamp(24px, 3vw, 34px); text-align: center; margin: 0 0 32px; letter-spacing: -.02em; }
.st-vacio { text-align: center; color: var(--st-tenue); }

/* -------------------------------------------------------------------- planes */
.st-planes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.st-plan { border: 1px solid var(--st-borde); border-radius: var(--st-radio); padding: 24px; background: #fff;
  display: flex; flex-direction: column; gap: 10px; }
.st-plan h3 { margin: 0; font-size: 20px; }
.st-plan__bajada { margin: 0; color: var(--st-suave); font-size: 14.5px; }
.st-plan__precio { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.st-plan__precio small { display: block; font-size: 13px; font-weight: 500; color: var(--st-tenue); letter-spacing: 0; }
.st-plan__consultar { font-size: 22px; color: var(--st-suave); }
.st-plan__otra { margin: 0; color: var(--st-tenue); font-size: 13.5px; }
.st-plan__lista { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; color: var(--st-suave); font-size: 14.5px; }
.st-plan__lista li { padding-left: 22px; position: relative; }
.st-plan__lista li::before { content: '✓'; position: absolute; left: 0; color: var(--sitio); font-weight: 700; }
.st-plan .st-boton { margin-top: auto; }

/* -------------------------------------------------------------------- pasos */
.st-pasos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.st-pasos div { background: #fff; border: 1px solid var(--st-borde); border-radius: var(--st-radio); padding: 22px; }
.st-pasos span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--sitio); color: #fff; font-weight: 800; margin-bottom: 10px; }
.st-pasos b { display: block; margin-bottom: 4px; }
.st-pasos p { margin: 0; color: var(--st-suave); font-size: 14.5px; }

/* ---------------------------------------------------------------------- cta */
.st-cta { padding: 62px 0; text-align: center; background: color-mix(in srgb, var(--sitio) 8%, #fff); }
.st-cta h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.st-cta p { margin: 0 0 22px; color: var(--st-suave); }

/* ---------------------------------------------------------------------- pie */
.st-pie { border-top: 1px solid var(--st-borde); background: var(--st-gris); padding: 40px 0 20px; margin-top: 20px; }
.st-pie__caja { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.st-pie b { display: block; margin-bottom: 8px; }
.st-pie p { margin: 0 0 6px; color: var(--st-suave); font-size: 14.5px; }
.st-pie a { color: var(--st-suave); }
.st-pie a:hover { color: var(--sitio); }
.st-pie__legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--st-borde); color: var(--st-tenue); font-size: 13px; }

/* ------------------------------------------------------------------ formularios */
.st-caja { max-width: 440px; margin: 48px auto; padding: 28px; border: 1px solid var(--st-borde); border-radius: var(--st-radio); background: #fff; }
.st-caja h1 { margin: 0 0 6px; font-size: 24px; }
.st-caja p.st-sub { margin: 0 0 20px; color: var(--st-suave); font-size: 14.5px; }
.st-campo { display: grid; gap: 6px; margin-bottom: 14px; }
.st-campo label { font-size: 13.5px; font-weight: 600; color: var(--st-suave); }
.st-campo input, .st-campo select, .st-campo textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--st-borde);
  font: inherit; color: var(--st-texto); background: #fff; }
.st-campo input:focus, .st-campo select:focus, .st-campo textarea:focus {
  outline: none; border-color: var(--sitio); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sitio) 15%, transparent); }
.st-ayuda { color: var(--st-tenue); font-size: 12.5px; }

@media (max-width: 700px) {
  .st-cabeza__caja { height: auto; padding: 12px 0; flex-direction: column; align-items: stretch; }
  .st-nav { justify-content: center; }
}
