:root {
  --bg: #06101d;
  --bg2: #091827;
  --panel: #0d2034;
  --line: rgba(122, 190, 255, 0.16);
  --text: #f5f9ff;
  --muted: #a9bad0;
  --cyan: #56d8ff;
  --blue: #2b86ff;
  --max: 1120px;
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 50% 0,
      #0b2745 0,
      #06101d 32%,
      #040b14 100%
    );
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.container {
  width: min(
    var(--max),
    calc(100% - 48px)
  );
  margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 11, 20, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* =========================================================
   MARCA
   ========================================================= */

.brand {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand:hover,
.brand:focus {
  color: #ffffff;
  text-decoration: none;
}


/* =========================================================
   MENÚ
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: #c7d5e7;
  text-decoration: none;
  font-size: 0.94rem;
}

.main-nav a:hover {
  color: #ffffff;
}

.nav-login {
  padding: 9px 16px;
  border: 1px solid rgba(86, 216, 255, 0.3);
  border-radius: 10px;
  background: rgba(43, 134, 255, 0.1);
}

.menu-toggle {
  display: none;
  padding: 4px 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}


/* =========================================================
   PANCARTAS
   ========================================================= */

.banner-section {
  padding: 30px 0 0;
}

.first-banner {
  padding-top: 24px;
}

.banner-wrap {
  width: min(
    760px,
    calc(100% - 36px)
  );
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(122, 190, 255, 0.12);
  border-radius: 24px;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    0 0 50px rgba(43, 134, 255, 0.08);
}

.banner-wrap img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}


/* =========================================================
   BLOQUES GENERALES
   ========================================================= */

.support-block,
.feature-section,
.faq-section,
.final-cta {
  padding-top: 72px;
  padding-bottom: 78px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.support-block h1,
.support-block h2,
.feature-section h2,
.faq-section h2,
.final-cta h2,
.trust-band h2 {
  max-width: 850px;
  margin: 0 auto;
  font-size: clamp(
    2rem,
    5vw,
    3.5rem
  );
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead,
.final-cta > p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}


/* =========================================================
   BENEFICIOS / REDES
   ========================================================= */

.benefit-row,
.network-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 0;
}

.benefit-row span,
.network-grid span {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 31, 51, 0.68);
  color: #d9e7f7;
}


/* =========================================================
   BOTONES
   ========================================================= */

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 13px 26px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      #45baff,
      #61e4ff
    );
  color: #03101d;
  box-shadow:
    0 12px 32px rgba(49, 169, 255, 0.28);
}

.button-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.button-secondary {
  border: 1px solid rgba(86, 216, 255, 0.3);
  background:
    linear-gradient(
      180deg,
      rgba(20, 48, 78, 0.72),
      rgba(8, 22, 38, 0.82)
    );
  color: #eaf6ff;
}


/* =========================================================
   TARJETAS DE BENEFICIOS
   ========================================================= */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 34px auto 0;
}

.metric-grid article,
.feature-grid article,
.steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(16, 40, 65, 0.78),
      rgba(8, 22, 38, 0.78)
    );
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  font-size: 1.1rem;
}

.metric-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}


/* =========================================================
   FUNCIONES
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
  text-align: left;
}

.feature-grid h3,
.steps h3 {
  margin: 12px 0 7px;
  font-size: 1.05rem;
}

.feature-grid p,
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(86, 216, 255, 0.2);
  border-radius: 11px;
  background: rgba(57, 171, 255, 0.12);
  color: var(--cyan);
  font-size: 1.2rem;
}


/* =========================================================
   PASOS
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
  text-align: left;
}

.steps article > span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.fine-print {
  max-width: 780px;
  margin: 24px auto 0;
  color: #8196ad;
  font-size: 0.82rem;
}


/* =========================================================
   BLOQUE DE CONFIANZA
   ========================================================= */

.trust-band {
  padding: 70px 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      rgba(14, 46, 77, 0.6),
      rgba(8, 25, 43, 0.7)
    );
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.trust-inner h2 {
  font-size: clamp(
    1.8rem,
    4vw,
    2.7rem
  );
  text-align: left;
}

.trust-inner > p {
  margin: 0;
  color: var(--muted);
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.final-cta {
  max-width: 920px;
}

.login-text {
  display: inline-block;
  margin-top: 22px;
  color: #a9dfff;
  text-decoration: none;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
  max-width: 860px;
  margin: 36px auto 0;
  text-align: left;
}

.faq-list details {
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 27, 46, 0.72);
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-weight: 750;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--cyan);
  font-size: 1.25rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 36px 0 22px;
  border-top: 1px solid var(--line);
  background: #030913;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: #7f93aa;
  font-size: 0.82rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer nav a {
  color: #aebdd0;
  text-decoration: none;
  font-size: 0.86rem;
}

.copyright {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(122, 190, 255, 0.08);
  color: #657a92;
  font-size: 0.8rem;
  text-align: center;
}


/* =========================================================
   ANCLAS DEL MENÚ
   ========================================================= */

/*
   Las secciones tienen padding superior propio.

   Por eso no necesitamos empujarlas 70 o 90 px adicionales.
   Un margen pequeño permite que el encabezado cubra parte del
   padding y deje el rótulo azul inmediatamente debajo.
*/

#funciones,
#como-funciona,
#redes,
#preguntas {
  scroll-margin-top: 8px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .trust-inner h2 {
    text-align: center;
  }

  .trust-inner > p {
    text-align: center;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(4, 11, 20, 0.98);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 8px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .site-footer nav {
    justify-content: center;
  }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 620px) {

  .container {
    width: calc(100% - 40px);
  }


  /* HEADER */

  .header-inner {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .main-nav {
    top: 64px;
  }


  /* =======================================================
     PANCARTAS A TODO EL ANCHO
     ======================================================= */

  .banner-section,
  .first-banner {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .banner-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .banner-wrap img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }


  /* BLOQUES */

  .support-block,
  .feature-section,
  .faq-section,
  .final-cta {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .support-block h1,
  .support-block h2,
  .feature-section h2,
  .faq-section h2,
  .final-cta h2 {
    font-size: clamp(
      1.7rem,
      8.3vw,
      2.35rem
    );
  }

  .lead,
  .final-cta > p:not(.eyebrow) {
    font-size: 1rem;
  }


  /* BENEFICIOS */

  .benefit-row {
    gap: 9px;
  }

  .benefit-row span {
    padding: 8px 11px;
    font-size: 0.82rem;
  }


  /* BOTONES */

  .actions {
    flex-direction: column;
  }

  .button {
    width: min(
      100%,
      340px
    );
  }


  /* MÉTRICAS */

  .metric-grid {
    grid-template-columns: 1fr;
  }


  /* FUNCIONES */

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .feature-grid article {
    padding: 18px 15px;
  }

  .feature-grid p {
    font-size: 0.84rem;
  }


  /* PASOS */

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
  }

  .steps article {
    padding: 18px 15px;
  }


  /* REDES */

  .network-grid span {
    padding: 8px 11px;
    font-size: 0.82rem;
  }


  /* CONFIANZA */

  .trust-band {
    padding: 54px 0;
  }


  /* FOOTER */

  .site-footer nav {
    flex-direction: column;
    gap: 9px;
  }


  /* =======================================================
     ANCLAS EN MÓVIL
     ======================================================= */

  /*
     El header mide aproximadamente 64 px.
     Las secciones tienen 54 px de padding superior.

     Con 16 px de scroll-margin, el header cubre gran parte
     de ese padding, dejando el eyebrow azul unos pocos
     píxeles por debajo del encabezado.
  */

  #funciones,
  #como-funciona,
  #redes,
  #preguntas {
    scroll-margin-top: 16px;
  }

}


/* =========================================================
   TELÉFONOS MUY ESTRECHOS
   ========================================================= */

@media (max-width: 390px) {

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */

body.legal-page {
  margin: 0;
  background: #f5f7fa;
  color: #222222;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.7;
}

.legal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.legal-header-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-brand {
  color: #111827;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.legal-brand:hover,
.legal-brand:focus {
  color: #111827;
  text-decoration: none;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 40px auto;
  padding: 40px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.legal-main h1,
.legal-main h2 {
  color: #111827;
}

.legal-main h1 {
  margin-top: 0;
}

.legal-main h2 {
  margin-top: 34px;
  font-size: 21px;
}

.legal-main p,
.legal-main li {
  font-size: 16px;
}

.legal-main ul,
.legal-main ol {
  padding-left: 24px;
}

.legal-main a {
  color: #155eef;
  overflow-wrap: anywhere;
}

.legal-updated {
  margin-bottom: 30px;
  color: #6b7280;
  font-size: 14px !important;
}

.legal-notice {
  margin: 25px 0;
  padding: 18px;
  border-left: 4px solid #374151;
  background: #f3f4f6;
  color: #222222;
}

.legal-footer {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto 40px;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 700px) {

  .legal-header {
    padding: 20px;
  }

  .legal-brand {
    font-size: 23px;
  }

  .legal-main {
    width: calc(100% - 32px);
    margin: 20px auto;
    padding: 24px;
  }

  .legal-main h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .legal-main h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .legal-main p,
  .legal-main li {
    font-size: 16px;
  }

  .legal-footer {
    width: calc(100% - 32px);
    margin-bottom: 28px;
  }

}