/* css/perfil-seo.css — baked SEO profile pages (#187-b).
 * Presentation styles ONLY for the baked profile card; the chrome (header,
 * footer, body palette) comes from inicio.css/global.css — same visual
 * language as the rest of the site, no new framework. Generated family:
 * the look lives with the template (templates/perfil-seo.html), both owned
 * by scripts/generar.mjs.
 *
 * Entry-only rule (owner correction): the links here point to the live
 * catalog (/pages/inicio?...) and the live profile (/pages/perfil?id=...),
 * never to landing files.
 */

.perfil-seo-main {
    padding: 40px 3%;
}

.perfil-seo {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 32px;
    align-items: start;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 28px;
}

.perfil-seo-foto {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #050505;
    aspect-ratio: 3 / 4;
}

.perfil-seo-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.perfil-seo-datos h1 {
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 8px;
}

.perfil-seo-meta {
    color: #e5c55b;
    font-size: .95rem;
    margin-bottom: 16px;
}

.perfil-seo-texto {
    color: #ccc;
    font-size: .98rem;
    line-height: 1.65;
    max-width: 62ch;
    white-space: pre-line;
    margin-bottom: 22px;
}

.perfil-seo-cta {
    display: inline-block;
    background: #e5c55b;
    color: #0a0a0a;
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: filter .2s ease;
}

.perfil-seo-cta:hover {
    filter: brightness(1.08);
}

.perfil-seo-sugerencias {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.perfil-seo-sugerencias a {
    color: #6ea8d8;
    text-decoration: none;
    font-size: .9rem;
    border: 1px solid rgba(110, 168, 216, .35);
    border-radius: 999px;
    padding: 7px 14px;
    transition: background .2s ease;
}

.perfil-seo-sugerencias a:hover {
    background: rgba(110, 168, 216, .12);
    text-decoration: underline;
}

/* Grace empty state (#55/#158, tipo perfil): sin foto ni catálogo — el copy
 * del dueño y las sugerencias ocupan la columna única. */
.perfil-seo-gracia {
    display: block;
    max-width: 720px;
    text-align: center;
}

.perfil-seo-gracia h1 {
    margin-bottom: 14px;
}

.perfil-seo-gracia .perfil-seo-sugerencias {
    justify-content: center;
}

.perfil-seo-vacio {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

@media (max-width: 760px) {
    .perfil-seo {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .perfil-seo-foto {
        max-width: 420px;
        margin: 0 auto;
        width: 100%;
    }
}
