:root{
  --overlay-top: rgba(0,0,0,.45);
  --overlay-mid: rgba(0,0,0,.45);
  --overlay-bot: rgba(0,0,0,.35);
  --text: #fff;
  --muted: rgba(255,255,255,.88);
  --glass: rgba(255,255,255,.86);
}

/* Reset */
*{ box-sizing: border-box; }
html,body{
  margin:0; padding:0;
  min-height:100vh;
  font-family:"Poppins", sans-serif;
  color:var(--text);
  background:#000;       /* fondo negro, evita bordes blancos */
  overflow:hidden;       /* evita scroll */
}

/* HERO */
.hero{
  position:relative;
  width:100%;
  height:100vh;               
  display:flex;               /* usamos flex en lugar de grid */
  flex-direction:column;      /* apilamos logo + contenido */
  justify-content:center;     /* centramos verticalmente */
  align-items:center;         /* centramos horizontalmente */
  background:url('../img/fotofondo.jpeg') center/cover no-repeat;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg,var(--overlay-top) 0%,var(--overlay-mid) 40%,var(--overlay-bot) 100%);
}

/* LOGO grande y cerca del texto */
.hero-logo{
  position:relative;          /* ya no absolute */
  margin:0 auto 28px auto;    /* espacio debajo del logo */
  width: 40%;
  height: auto;
  z-index:1;
}

.hero-content{
  position:relative; 
  z-index:1;
  text-align:center;
  max-width:1100px;
  padding:0 20px;
}
.hero-content h1{
  margin:0 0 16px 0;
  font-weight:700;
  line-height:1.15;
  font-size:clamp(36px,6vw,64px);
  text-shadow:0 4px 22px rgba(0,0,0,.35);
}
.sub{
  margin:0 0 20px 0;
  color:var(--muted);
  font-size:clamp(18px,2.6vw,22px);
  line-height:1.55;
}
.tag{ font-weight:600; }

/* Badges */
.badge {
  background-color: #FB1A2D;
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 600;
  display:inline-flex;
  align-items:center;
  margin: 0 4px;
  font-size: 1.05rem;
  box-shadow:0 2px 10px rgba(0,0,0,.18);
}

/* Píldoras */
.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.pill{
  display:inline-flex; align-items:center; gap:12px;
  padding:16px 24px;
  border-radius:999px;
  background:var(--glass);
  color:#111; text-decoration:none; font-weight:600;
  font-size:1.05rem;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:transform .2s ease, box-shadow .2s ease;
}
.pill:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.16); }
.pill i{ font-size:20px; }
.pill-icon{
  width:56px; height:56px;
  justify-content:center;
  font-size:22px;
}

/* Iconos en fila */
.pill-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.pill-icons .pill-icon {
  flex: 1;
  max-width: 80px;
  height: 56px;
}

/* Oscurecimiento más fuerte para contraste */
.hero-overlay{
  background:linear-gradient(180deg,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.55) 40%,
    rgba(0,0,0,.45) 100%);
}

/* ===== Ajustes MÓVIL ===== */
/* ===== Ajustes MÓVIL ===== */
@media (max-width:760px){
  .hero{ 
    height:100svh; 
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding: 12px 16px;
  }

  .hero-logo{
    position:relative;           /* ya no absolute en móvil */
    top:auto;                    /* quita el top */
    margin:0 0 10px 0;           /* deja poco espacio debajo */
    width: clamp(300px, 80vw, 500px);
  }

  .hero-content{
    padding:0;                   /* sin padding extra arriba */
    margin:0;
    text-align:center;
  }

  .hero-content h1{
    font-size:clamp(26px,8.5vw,36px);
    line-height:1.2;
    margin:6px 0 10px 0;
  }

  .sub{ 
    font-size:14px; 
    margin:6px 0 12px 0; 
  }

  .badge{ 
    padding:5px 10px; 
    font-size:0.95rem; 
  }

  .cta-row{
    flex-direction:column;
    max-width:420px;
    margin-inline:auto;
    gap:8px;
  }
  .pill{ 
    width:100%; 
    justify-content:center; 
    font-size:1rem; 
  }
  .pill-icon{ 
    width:52px; 
    height:52px; 
    font-size:20px; 
  }

  /* WhatsApp e Instagram en la misma fila */
  .pill-icons{
    flex-direction:row;
    justify-content:center;
    gap:10px;
  }
}

