/* CONTENEDOR */

.seo-page{
    max-width:1200px;
    margin:auto;
    padding:48px 24px 80px;
}

/* HERO */

.seo-hero{
    padding:40px;
    border-radius:24px;
    background:linear-gradient(
        135deg,
        #0f172a 0%,
        #1e293b 100%
    );
    color:white;
    margin-bottom:32px;
}

.seo-hero h1{
    font-size:clamp(2rem,4vw,4rem);
    line-height:1;
    margin-bottom:16px;
    font-weight:800;
}

.seo-lead{
    font-size:1.1rem;
    opacity:.85;
    max-width:700px;
}

.seo-cta-row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:24px;
}

/* BOTONES */

.seo-cta-row a{
    padding:14px 24px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
}

.btn-primary{
    background:#2563eb;
    color:white !important;
}

.btn-secondary{
    background:white;
    color:#111827 !important;
}

/* TARJETAS */

.seo-card-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-bottom:40px;
}

.metric_card{
    background:white;
    border-radius:20px;
    padding:24px;
    box-shadow:
        0 8px 30px rgba(0,0,0,.08);
}

.metric_card p{
    color:#64748b;
    margin-bottom:8px;
}

.metric_card h3{
    font-size:2rem;
    margin-bottom:8px;
}

/* TABLA */

.seo-table{
    width:100%;
    margin-top:20px;
    border-collapse:collapse;
}

.seo-table th{
    background:#f8fafc;
}

.seo-table td,
.seo-table th{
    padding:14px;
    border-bottom:1px solid #e5e7eb;
}

/* CONTENIDO */

.seo-content{
    max-width:900px;
}

.seo-content h2{
    margin-top:48px;
    margin-bottom:16px;
    font-size:2rem;
}

.seo-content h3{
    margin-top:24px;
    font-size:1.3rem;
}

.seo-content p{
    line-height:1.8;
    color:#475569;
}

/* ENLACES INTERNOS */

.internal-links-box{
    margin-top:40px;
    padding:24px;
    background:#f8fafc;
    border-radius:20px;
}

/* MOBILE */

@media(max-width:768px){

    .seo-card-grid{
        grid-template-columns:1fr;
    }

    .seo-hero{
        padding:24px;
    }

    .seo-page{
        padding:20px;
    }
}
