/* ============================================================
   Site chrome — header (nav navy sticky), footer y hero generico.
   Compartido por todas las paginas publicas (marketing + auth).
   ============================================================ */

/* ---------- Header / nav ---------- */

.site-header {
    background: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: 1.1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    transition: opacity 150ms ease;
}

.site-header__brand:hover { opacity: 0.85; }
.site-header__brand img { width: 160px; height: auto; display: block; }

.site-nav {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    color: rgba(238, 231, 253, 0.65);
    font-family: var(--font-subtitle);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active { color: var(--brand-pink); }

.site-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.site-actions__login {
    color: rgba(238, 231, 253, 0.85);
    font-family: var(--font-subtitle);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.site-actions__login:hover { color: var(--brand-pink); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--brand-dark);
    padding: 5rem 5% 2.5rem;
    color: rgba(238, 231, 253, 0.65);
    margin-top: 0;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(238, 231, 253, 0.08);
    margin-bottom: 2rem;
}

.site-footer__brand img { width: 150px; margin-bottom: 1rem; }
.site-footer__brand p { font-size: 0.86rem; line-height: 1.85; max-width: 300px; font-weight: 400; }

.site-footer h5 {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-pink);
    margin-bottom: 1.1rem;
}

.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer ul a { font-size: 0.86rem; color: rgba(238, 231, 253, 0.52); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--brand-pink); }

.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__bottom span { font-size: 0.78rem; color: rgba(238, 231, 253, 0.28); }

/* ---------- Hero generico de pagina interior ---------- */

.page-hero {
    background: var(--brand-dark);
    padding: 7rem 5% 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(92, 153, 224, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 50%, rgba(239, 174, 240, 0.14) 0%, transparent 55%);
}

.page-hero__content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.page-hero .s-label { color: var(--brand-pink); }
.page-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--brand-lavender-bg);
    line-height: 1.08;
    margin-bottom: 1.2rem;
}
.page-hero h1 span { color: var(--brand-pink); }
.page-hero p { color: rgba(238, 231, 253, 0.55); font-size: 1rem; line-height: 1.8; margin: 0 auto; }

/* Canvas de particulas detras del hero */
.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .site-nav { display: none; }
    .site-footer__grid { grid-template-columns: 1fr; }
}
