/* =========================
   Fuentes Exo (solo 2)
========================= */
@font-face{
  font-family: "Exo";
  src: url("../assets/fonts/Exo-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Exo";
  src: url("../assets/fonts/Exo-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================
   Variables
========================= */
:root{
  --blue-1: #0027d8;
  --blue-2: #0a2bb4;
  --yellow: #f7e760;
  --terms: #29468b;

  --text: #ffffff;
  --border: rgba(255,255,255,.85);

  --container: 1320px;
}

/* =========================
   Reset / Base
========================= */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  font-family: "Exo";
  font-weight: 500;
  background: var(--blue-1);
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

#page{ overflow-x: hidden; }

/* =========================
   HEADER
========================= */
header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 39, 216, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.headerContenido{
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 10px clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.headerLogo{
  width: clamp(120px, 12vw, 200px);
  height: auto;
}

.headerCTA{
  display: flex;
  justify-content: flex-end;
}

.btnContrata{
  display: inline-block;
  background: var(--yellow);
  color: #0830c9;
  font-weight: 800;
  font-size: clamp(12px, 1.1vw, 16px);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.6);
}

.btnContrata:hover{
  filter: brightness(0.98);
}

@media (max-width: 700px){
  header{
    position: static;
  }

  .headerContenido{
    flex-direction: column;
    align-items: center;
  }

  .headerCTA{
    justify-content: center;
  }
}

/* =========================
   HERO / Banner
========================= */
.bannerInicial,
.servicios,
.SeccionCaracteristicas{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bannerInicial{
  background-image: url("../assets/backgrounds/BG 1.png");
  background-attachment: fixed;

  min-height: 92dvh;
  padding: clamp(14px, 2.2vw, 26px);
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  gap: clamp(12px, 2vw, 26px);

  max-width: 100%;
}

@media (max-width: 768px){
  .bannerInicial,
  .SeccionCaracteristicas{ background-attachment: scroll; }
}

.personaje,
.planPrincipal,
.miniForm{ width: 100%; }

/* columna izquierda */
.personaje{
  position: relative;
  transform: translateY(40px); /* baja un poco como el arte */
  max-width: 520px;
}

.iconsPersonaje{
  position: relative;
  height: 120px;
}

#emojiGafas1 {
    position: absolute;
    left: 1dvw;
    top: -104px;
    width: clamp(90px, 12vw, 180px);
}

#logoEcuanet {
    position: absolute;
    right: 0%;
    top: -40px;
    width: clamp(140px, 16vw, 280px);
}

.marcoPersonaje{
  width: 100%;
}

/* columna centro */
.planPrincipal{
  max-width: 520px;
  align-self: center;
  display: grid;
  place-items: center;
  gap: 12px;
}

#CopyEcuanet{
  width: min(520px, 100%);
}

#planPrincipal{
  width: min(425px, 100%);
}

/* columna derecha */
.miniForm{
  max-width: 480px;
  align-self: center;
  position: relative;
}

.iconsMiniform{
  position: relative;
  height: 140px;
}

.iconsMiniform #wifi {
    position: absolute;
    right: 55%;
    top: -150%;
    width: clamp(70px, 8vw, 140px);
}

.iconsMiniform #router {
    position: absolute;
    right: 10%;
    top: -100%;
    width: clamp(90px, 10vw, 180px);
}

/* caja CTA */
.formulario{
  background: rgba(0, 39, 216, .65);
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  backdrop-filter: blur(2px);
}

.formulario span{
  display: inline-block;
  color: var(--yellow);
  font-weight: 800;
  font-size: clamp(18px, 1.55vw, 28px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.formulario img{
  width: min(360px, 90%);
  margin: 0 auto;
}

/* Responsive hero */
@media (max-width: 1100px){
  .bannerInicial{
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: auto;
    padding-bottom: 30px;
  }

  .personaje{
    max-width: 520px;
    transform: none;
    padding-left: 0;
  }

  .planPrincipal{
    max-width: 620px;
  }

  .miniForm{
    max-width: 620px;
  }

  #logoEcuanet{
    left: 140px;
  }
}

@media (max-width: 700px){
  #logoEcuanet{
    left: 50%;
    transform: translateX(-50%);
  }

  .iconsPersonaje{
    height: 90px;
  }

  #emojiGafas1{
    top: -70px;
  }
}

/* =========================
   Términos (barra inferior)
========================= */
.termCondiciones{
  background-color: var(--terms);
  color: var(--text);
  padding: 14px 22px;
}

.txtTerminosCondiciones{
  display: block;
  font-size: 13px;
  line-height: 1.22;
  opacity: .98;
}

/* =========================
   SERVICIOS
========================= */
.servicios{
  background-image: url("../assets/backgrounds/BG 2.png");
  position: relative;
  display: grid;
  align-content: start;
  padding: clamp(60px, 10vw, 150px) clamp(18px, 7vw, 100px) clamp(40px, 8vw, 80px);
}

.col{
  display: grid;
  grid-template-columns: 1.05fr 1.15fr .8fr;
  align-items: center;
  justify-items: center;
  
}

/* columnas */
#panaPlay img {
    position: absolute;
    left: 17px;
    top: 14%;
    width: 40%;
}

#precioPanaPlay{
  display: grid;
  place-items: center;
}

#precioPanaPlayimg{
  width: clamp(320px, 55vw, 760px);
}

/* emojis a la derecha */
#emojisColl{
  position: relative;
  width: 100%;
  min-height: 360px;
}

#emojiHeart2{
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(70px, 8vw, 120px);
}

#wifi3{
  position: absolute;
  top: 120px;
  right: 18px;
  width: clamp(80px, 9vw, 130px);
}

#wifi4 {
    position: relative;
    right: 8px;
    width: clamp(90px, 10vw, 160px);
    bottom: 10%;
}
#juego4 {
    position: absolute;
    left: 1px;
    bottom: -80px;
    width: clamp(140px, 16vw, 220px);
}


/* bloque canales: centrado y un poco “subido” */
#canalesPanaPlay{
  width: min(var(--container), 100%);
  margin: 0 auto;
  position: relative;
  transform: translateY(-30px);
  display: grid;
  place-items: center;
}

#router2 {
    position: absolute;
    left: clamp(-130px, -8vw, -20px);
    width: clamp(100px, 12vw, 180px);
    transform: rotate(-17deg);
    z-index: 2;
}

#canales{
  width: 100%;
  border-radius: 12px;
  margin-top: 100px;
}

/* Responsive servicios */
@media (max-width: 1050px){
  .col{
    grid-template-columns: 1fr;
  }

  #emojisColl{
    min-height: 180px;
  }

  #emojiHeart2{
    top: 10px;
    right: 20px;
  }

  #wifi3{
    top: 70px;
    right: 20px;
  }

  #canalesPanaPlay{
    transform: none;
  }

  #router2{
    left: 10px;
    bottom: 10px;
  }
}

@media (max-width: 700px){
  #emojisColl{
    min-height: 140px;
  }

  #wifi3{
    top: 55px;
  }

  #canales{
    margin-top: -20px;
  }
}

/* =========================
   SECCIÓN CARACTERÍSTICAS (3 columnas + arco)
========================= */
.SeccionCaracteristicas{
  background-image: url("../assets/backgrounds/BG 4.png");
  background-attachment: fixed;

  min-height: 92dvh;
  position: relative;
  padding: clamp(18px, 2.2vw, 36px);
}

@media (max-width: 768px){
  .SeccionCaracteristicas{ background-attachment: scroll; }
}

.emojisSection{
  position: relative;
  margin-bottom: 10px;
}

#router3{
  position: absolute;
  z-index: 3;
  top: -6%;
  left: 4%;
  width: min(160px, 14vw);
}

/* emoji superior */
#emojiGafas {
  position: absolute;
  z-index: 3;
  top: -10%;
  right: 6%;
  width: min(170px, 14vw);
}

/* grid 3 columnas */
.caracteristicas{
  width: min(94vw, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: clamp(70px, 7vw, 120px);
}



#tecnologia,
#velocidad,
#comparticion{
  position: relative;
  z-index: 1;
  min-height: 75dvh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 20px;
}



#tecnologia,
#comparticion{
  background-image: url("../assets/backgrounds/Rectangle 1.png");
}

#velocidad{
  background-image: url("../assets/backgrounds/Rectangle 2.png");
}

#tecnologia,
#velocidad,
#comparticion{
  background-repeat: no-repeat;
  background-position: center;
}

/* icono circular arriba */
.imagenCaracteristica {
    display: grid;
    place-items: center;
    margin-top: -10%;
    margin-bottom: 5%;
}

.imagenCaracteristica img{
  width: clamp(120px, 16vw, 200px);
}

/* título */
.subTitulo{
  text-align: center;
  margin-top: 8px;
}

.subTitulo .titulo{
  display: inline-block;
  color: var(--text);
  font-weight: 800;
  font-size: clamp(26px, 2.1vw, 42px);
  line-height: 1.05;
}

.subTitulo .resaltado{
  display: inline-block;
  margin-top: 10px;
  background: var(--yellow);
  color: #0830c9;
  font-weight: 800;
  font-size: clamp(20px, 1.6vw, 32px);
  padding: 6px 18px;
  border-radius: 6px;
}

/* texto */
.descripcion{
  color: rgba(255,255,255,.95);
  text-align: center;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.25;
  padding: 6px clamp(16px, 4vw, 70px) 0;
}

.descripcion p{
  margin: 10px 0;
}

/* responsive cards */
@media (max-width: 1050px){
  .caracteristicas{
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  #velocidad,
  #comparticion{
    border-left: none;
    border-top: 4px solid rgba(255,255,255,.75);
  }

  #router3{
    position: relative;
    left: 0;
    top: 0;
    margin: 0 auto 6px;
  }

  #emojiGafas{
    position: relative;
    left: 0;
    top: 0;
    margin: 0 auto 6px;
  }
}

@media (max-width: 700px){
  #tecnologia,
  #velocidad,
  #comparticion{
    min-height: auto;
    padding-bottom: 28px;
  }
}

/* =========================
   FOOTER
========================= */
footer{
  background: #f2f2f2;
  color: #6b6f7b;
}

.footerContenido{
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: clamp(18px, 2.6vw, 28px) clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(220px, 1fr));
  gap: clamp(12px, 3vw, 60px);
  align-items: start;
}

.footerCopy{
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.4;
}

.footerLinks{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footerLinks a{
  color: inherit;
  text-decoration: none;
  font-size: clamp(14px, 1.1vw, 18px);
}

.footerLinks a:hover{
  text-decoration: underline;
}

@media (max-width: 900px){
  .footerContenido{
    grid-template-columns: 1fr;
  }
}
