/* =========================================================
   CONSTRUYE FUTURO – CSS
   Logos Hub Informático
   Alineado visualmente con somos.css
========================================================= */

/* =========================
   VARIABLES BASE
========================= */
:root{
  --bg-main: #020617;
  --bg-soft: #020617;
  --text-main: #e5e7eb;
  --text-muted: #cbd5e1;

  --accent-primary: #13E8A5;
  --accent-secondary: #220E7A;

  --radius-lg: 22px;
  --radius-md: 16px;
}

/* =========================
   BASE
========================= */
body.construye-page{
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: "Open Sans", sans-serif;
}

.cf-center{
  text-align: center;
}

.cf-container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================================================
   HERO
========================================================= */
.cf-hero{
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(
      rgba(2,6,23,.72),
      rgba(2,6,23,.88)
    ),
}

.cf-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(19,232,165,.12),
      transparent 55%
    );
  pointer-events: none;
}

.cf-hero-inner{
  max-width: 760px;
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.cf-logo{
  max-width: 210px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: .85;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,.45));
}

.cf-title{
  font-size: 3.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.cf-lead{
  font-size: 1.35rem;
  line-height: 1.65;
  color: #f1f5f9;
  margin-bottom: 1.4rem;
}

.cf-sub{
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.6rem;
}

/* CTA principal */
.cf-btn-primary{
  display: inline-block;
  padding: 1.1rem 2.6rem;
  border-radius: 999px;

  background: var(--accent-primary);
  color: #020617;

  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;

  box-shadow: 0 14px 40px rgba(19,232,165,.35);

  transition: transform .2s ease, box-shadow .2s ease;
}

.cf-btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(19,232,165,.35);
}


@media (max-width: 576px){
  .cf-hero{
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 4.5rem;
  }
}

/* =========================================================
   SECCIONES
========================================================= */
.cf-section{
  padding: 4.5rem 0;
}

.cf-section.cf-soft{
  background: radial-gradient(
    circle at top,
    rgba(34,14,122,.08),
    transparent 60%
  );
}

.cf-section-title{
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* =========================================================
   SCROLL INDICATOR – HERO
========================================================= */

.hero-scroll{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 52px;

  border: 2px solid rgba(255,255,255,.35);
  border-radius: 20px;

  display: flex;
  justify-content: center;
  align-items: flex-start;

  text-decoration: none;
  transition: border-color .25s ease, opacity .25s ease;
  opacity: .75;
}

.hero-scroll:hover{
  border-color: var(--accent-primary);
  opacity: 1;
}

/* Punto animado */
.hero-scroll .dot{
  width: 6px;
  height: 6px;
  margin-top: 12px;

  background: var(--accent-primary);
  border-radius: 50%;

  animation: scroll-dot 1.6s infinite ease-in-out;
}

/* Animación suave */
@keyframes scroll-dot{
  0%{
    transform: translateY(0);
    opacity: 0;
  }
  30%{
    opacity: 1;
  }
  60%{
    transform: translateY(18px);
    opacity: 1;
  }
  100%{
    transform: translateY(26px);
    opacity: 0;
  }
}

/* Mobile */
@media (max-width: 576px){
  .hero-scroll{
    bottom: 18px;
    transform: translateX(-50%) scale(.9);
  }
}

/* =========================================================
   SECCIÓN "ESTE PROGRAMA ES PARA TI SI"
========================================================= */

.cf-soft-title{
  margin-bottom: 0.8rem;
}

.cf-intro{
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Lista emocional – versión alineada */
.cf-list{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  text-align: left;
}

.cf-list li{
  position: relative;
  padding-left: 2.2rem;
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Punto visual consistente con marca */
.cf-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 4px rgba(19,232,165,.15);
}


/* =========================================================
   QUÉ ES CONSTRUYE FUTURO
========================================================= */

.cf-what{
  max-width: 820px;
}

.cf-what-lead{
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.6rem;
}

.cf-what-highlight{
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Separación visual suave */
.cf-what-highlight strong{
  color: #ffffff;
}


/* =========================================================
   FEATURES / ACOMPAÑAMIENTO
========================================================= */
.cf-features{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.cf-feature{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);

  padding: 2.2rem 1.4rem;
  text-align: center;

  transition: transform .25s ease, background .25s ease;
}

.cf-feature h3{
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: .8rem 0 .6rem;
}

.cf-feature p{
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.cf-feature i{
  font-size: 2.2rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  display: block;
}

.cf-feature span{
  font-size: .95rem;
  color: var(--text-muted);
  display: block;
}

.cf-feature:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
}

/* =========================================================
   CTA SUAVE
========================================================= */
.cf-preform{
  padding: 5rem 0;
}

.cf-preform-lead{
  font-size: 1.1rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 720px;
  margin: 0 auto 1.4rem;
}

.cf-preform-note{
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cf-cta{
  background:
    linear-gradient(
      to right,
      rgba(34,14,122,.18),
      rgba(19,232,165,.12)
    );
}

.cf-cta h2{
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cf-cta p{
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =========================================================
   FORMULARIO
========================================================= */
.cf-form p{
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px){

  .cf-title{
    font-size: 2.6rem;
  }

  .cf-lead{
    font-size: 1.15rem;
  }

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

@media (max-width: 576px){

  .cf-title{
    font-size: 2.1rem;
  }

  .cf-section{
    padding: 3.5rem 0;
  }

  .cf-features{
    grid-template-columns: 1fr;
  }
}

/* =========================
   PRE FORM
========================= */
.cf-preform-text{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: .75rem;
}

.cf-preform-note{
  margin-top: 1.5rem;
  font-size: .95rem;
  color: #e5e7eb;
  opacity: .85;
}

/* =========================
   FORM EMBED
========================= */
.cf-form-intro{
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.cf-form-embed{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.cf-form-embed iframe{
  border-radius: 12px;
}

/* =========================
   SOPORTE HUMANO
========================= */
.cf-form-support p{
  margin-bottom: .5rem;
  color: var(--text-muted);
}

.cf-wa-link{
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.cf-wa-link:hover{
  background: var(--accent-primary);
  color: #020617;
}
