/* ------------------------------
   FRONT SITE – CABECERA & NAV
   ------------------------------ */

.site-body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #102a43;
    background: #f5f7fb;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.site-logo-mark {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.site-logo-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0b2140;
    font-size: 0.95rem;
}

.site-logo-subtitle {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #8091b0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.95rem;
}

.site-nav a {
    text-decoration: none;
    color: #102a43;
    position: relative;
    padding: 0.35rem 0;
}

.site-nav a:hover {
    color: #002b5c;
}

.site-nav .nav-link-cta {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: #002b5c;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 43, 92, 0.35);
}

.site-nav .nav-link-cta:hover {
    background: #004080;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(0, 43, 92, 0.4);
    /* importante: sin sombras gigantes que “blanquean” el fondo */
}

.site-nav .nav-link-ghost {
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 1px solid #c2cede;
    color: #102a43;
}

.site-nav .nav-link-ghost:hover {
    background: rgba(0, 43, 92, 0.06);
    border-color: #002b5c;
    color: #002b5c;
}

/* ------------------------------
   HERO
   ------------------------------ */

.site-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
}

.site-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.75rem;
    margin-bottom: 3.5rem;
    padding: 2.75rem 2.25rem;
    border-radius: 28px;
    background: radial-gradient(circle at 0 0, #021a3a 0, #021a3a 38%, #eef3fb 38%, #f6f8fc 100%);
    color: #ffffff;
}

.site-hero-text h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    color: #ffffff;
}

.site-hero-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b7c6ec;
    margin-bottom: 0.6rem;
}

.site-hero-lead {
    margin-bottom: 1.3rem;
    max-width: 34rem;
    color: #e2ebff;
}

.site-hero-meta {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: #d0ddff;
}

/* Botones grandes del hero */

.btn-primary-lg,
.btn-ghost-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    cursor: pointer;
    border: none;
}

.btn-primary-lg {
    background: #002b5c;
    color: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 22, 52, 0.6);
}

.btn-primary-lg:hover {
    background: #004080;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(0, 22, 52, 0.7);
}

.site-hero .btn-ghost-lg {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.site-hero .btn-ghost-lg:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

/* CTA final: botones sobre fondo claro */

.site-section-cta .btn-ghost-lg {
    border: 1px solid #c2cede;
    color: #102a43;
}

.site-section-cta .btn-ghost-lg:hover {
    background: rgba(0, 43, 92, 0.06);
    border-color: #002b5c;
    color: #002b5c;
}

/* ------------------------------
   TARJETA VISUAL DEL HERO
   ------------------------------ */

.site-hero-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
}

.site-hero-card--visual {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.site-hero-figure {
    margin: 0;
    line-height: 0;
}

.site-hero-figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.site-hero-card-caption {
    padding: 1.1rem 1.4rem 1.3rem;
    font-size: 0.9rem;
    color: #1f2937;
}

/* ------------------------------
   CTA FINAL / SECCIONES
   ------------------------------ */

.site-section {
    margin-bottom: 3rem;
}

.site-section-cta {
    margin-top: 2rem;
}

.site-section-cta-inner {
    border-radius: 26px;
    padding: 1.9rem 2.1rem;
    background: linear-gradient(90deg, #02244a, #03457c);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* ------------------------------
   FORM CHECKBOX (consentimiento)
   ------------------------------ */

.site-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.site-form-consent input[type="checkbox"] {
    margin-top: 0.2rem;
}

/* ------------------------------
   RESPONSIVE
   ------------------------------ */

@media (max-width: 900px) {
    .site-main {
        padding-inline: 1.25rem;
    }

    .site-hero {
        grid-template-columns: 1fr;
        background: radial-gradient(circle at 0 0, #021a3a 0, #021a3a 52%, #eef3fb 52%, #f6f8fc 100%);
        padding: 2.25rem 1.8rem;
    }

    .site-hero-card {
        max-width: 420px;
        margin-inline: auto;
    }

    .site-header-inner {
        padding-inline: 1.25rem;
    }

    .site-nav {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

/* --- Footer frontend --- */
.site-footer {
    margin-top: 3rem;
    padding: 1.75rem 1.5rem;
    background: #0b1f36;
    color: #e5edf5;
    font-size: 0.9rem;
}

.site-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.site-footer a {
    color: #e5edf5;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
}

/* --- Banner de cookies --- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: 0.75rem;
    pointer-events: none;
    /* solo el contenido interior coge clics */
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15, 35, 52, 0.35);
    padding: 1rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.cookie-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: #243b53;
    max-width: 580px;
    font-size: 0.9rem;
}

.cookie-banner-text strong {
    font-size: 0.95rem;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-link {
    font-size: 0.85rem;
    color: #1f4fff;
    text-decoration: none;
}

.cookie-link:hover {
    text-decoration: underline;
}

.cookie-btn-primary,
.cookie-btn-secondary {
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.cookie-btn-primary {
    background: #1f4fff;
    color: #ffffff;
}

.cookie-btn-primary:hover {
    filter: brightness(1.05);
}

.cookie-btn-secondary {
    background: #edf2f7;
    color: #243b53;
}

.cookie-btn-secondary:hover {
    background: #e1e7f0;
}

.cookie-banner.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        align-items: flex-start;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }
}