/* =========================
PLANES WEB
========================= */

.bloque {
  display: block;
  text-decoration: none;
  color: white;
  position: relative;
}

.planes-web{
    background:#020617;
    padding:100px 20px;
    font-family:'Poppins', sans-serif;
}

.titulo-planes{
    text-align:center;
    font-size:34px;
    margin-bottom:10px;
    color:#ffffff;
}

.subtitulo-planes{
    text-align:center;
    color:#666;
    margin-bottom:60px;
}

/* GRID */
.grid-planes{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    max-width:1200px;
    margin:auto;
}

/* CARD */
.plan-card{
    background:white;
    padding:40px 30px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    position:relative;
    transition:0.3s;
}

.plan-card:hover{
    transform:translateY(-10px);
}

/* DESTACADO */
.destacado{
    transform:scale(1.05);
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* LINEA SUPERIOR */
.linea-top{
    height:5px;
    width:100%;
    position:absolute;
    top:0;
    left:0;
    border-radius:12px 12px 0 0;
}

/* COLORES REALES */
.bronce{
    background:linear-gradient(90deg,#cd7f32,#b87333);
}

.plata{
    background:linear-gradient(90deg,#c0c0c0,#e5e5e5);
}

.gold{
    background:linear-gradient(90deg,#d4af37,#facc15);
}

/* TEXTOS */
.plan-card h3{
    font-size:22px;
    margin-top:20px;
    color:#111;
}

.sub{
    font-size:14px;
    color:#777;
    margin-bottom:15px;
}

/* PRECIO */
.precio{
    font-size:26px;
    font-weight:bold;
    margin-bottom:20px;
    color:#111;
}

.precio-antiguo{
    text-decoration:line-through;
    font-size:14px;
    color:#999;
    display:block;
}

/* LISTA */
.plan-card ul{
    list-style:none;
    padding:0;
    margin-bottom:30px;
}

.plan-card ul li{
    padding:10px 0;
    border-bottom:1px solid #eee;
    font-size:14px;
    color:#444;
}

/* BOTONES */
.btn-plan{
    display:inline-block;
    padding:12px 25px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    color:white;
}

/* BOTONES POR PLAN */
.bronce-btn{
    background:#cd7f32;
}

.plata-btn{
    background:#9ca3af;
}

.gold-btn{
    background:#d4af37;
}

/* BADGE */
.badge-popular{
    position:absolute;
    top:15px;
    right:15px;
    background:#2563eb;
    color:white;
    padding:6px 10px;
    font-size:12px;
    border-radius:6px;
}

/* =========================
ANIMACIONES SCROLL
========================= */

.anim-left,
.anim-right,
.anim-center{
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s ease;
}

/* DIRECCIONES */
.anim-left{
    transform:translateX(-80px);
}

.anim-right{
    transform:translateX(80px);
}

.anim-center{
    transform:translateY(60px);
}

/* CUANDO APARECE */
.show{
    opacity:1;
    transform:translateX(0) translateY(0);
}

.anim-left{ transition-delay:0.2s; }
.anim-center{ transition-delay:0.4s; }
.anim-right{ transition-delay:0.6s; }

/* RESPONSIVE */
@media(max-width:900px){
    .grid-planes{
        grid-template-columns:1fr;
    }

    .destacado{
        transform:none;
    }
}