/* ==========================================================================
   1. Reset General e Inicialización
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    min-height: 100vh;
    background-color: #020617;
    background-image: url('/images/fondo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    padding: 40px;
    position: relative;
}

/* ==========================================================================
   2. Estructura y Alineación Estricta a la Derecha
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* Mueve todo el bloque a la derecha */
}

.content-box {
    width: 100%;
    max-width: 550px;
    text-align: left;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 20px;
    border-radius: 16px;
    background: transparent;
}

/* ==========================================================================
   3. Logo de marca
   ========================================================================== */
.brand-logo {
    height: 70px;
    width: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* ==========================================================================
   4. Línea de acento dorado / celeste
   ========================================================================== */
.accent-line {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}

.accent-line span {
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 2px;
}

.accent-line span:first-child {
    background: #fbbf24;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.accent-line span:last-child {
    background: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

/* ==========================================================================
   5. Tipografía y Textos (Mejora de Contraste)
   ========================================================================== */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

p strong {
    color: #ffffff;
}

/* ==========================================================================
   6. Botón CTA (dorado, en vez del azul por defecto)
   ========================================================================== */
.cta {
    display: inline-block;
    background: #fbbf24;
    color: #1e1300;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    margin-bottom: 60px;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta:hover {
    background: #f59e0b;
    transform: translateY(-1px);
}

/* ==========================================================================
   7. Pie de Página y Créditos Unificados
   ========================================================================== */
.footer-container {
    width: 100%;
    text-align: left;
    margin-top: 0;
}

.footer-client {
    font-size: 0.9rem !important;
    color: rgba(226, 232, 240, 0.8) !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

.footer-credits {
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.5);
    letter-spacing: 0.05em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.footer-credits a {
    color: #fbbf24 !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #38bdf8 !important;
    text-decoration: underline;
}

/* ==========================================================================
   8. Adaptabilidad para Móviles y Tablets (Filtro Anti-Brillo)
   ========================================================================== */
@media (max-width: 992px) {
    body {
        padding: 20px;
    }

    .container {
        justify-content: center;
    }

    .content-box {
        text-align: center;
        align-items: center;
        max-width: 500px;
        padding: 35px 25px;
        background: rgba(15, 23, 42, 0.55);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .accent-line {
        justify-content: center;
    }

    h1 {
        font-size: 2.6rem;
    }

    p {
        margin-bottom: 30px;
        font-size: 1.15rem;
    }

    .cta {
        margin-bottom: 40px;
    }

    .footer-container {
        text-align: center;
    }

    .footer-client {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.1rem;
    }

    p {
        font-size: 1.05rem;
    }

    .brand-logo {
        height: 52px;
        margin-bottom: 20px;
    }
}
