@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;700;900&display=swap');

:root {
    --bg-main: #0d1117;
    --bg-secondary: #161b22;
    --accent: #38bdf8; /* Azul Suicune */
    --accent-hover: #0284c7;
    --text-main: #c9d1d9;
    --text-muted: #8b949e; /* Gris más oscuro */
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #ffffff;
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover {
    color: #e6c31f;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Red Hat Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px max(20px, calc(50% - 480px));
    background-color: var(--bg-secondary);
    border-bottom: 3px solid var(--accent);
}

header .logo h2 {
    color: var(--accent);
    font-size: 1.8rem;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-hover);
}

/* Main / Hero (CSS Grid) */
main, .hero {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

main h1, .hero h1 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

p {
    text-align: justify;
}

main p, .hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: justify;
}

/* Caja de información */
.info-box, .caja-informacion {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 4px;
    box-shadow: 4px 4px 0px var(--accent);
    margin-bottom: 30px;
}

/* Botones Destacados */
.botones-destacados {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.botones-destacados a {
    text-decoration: none;
}

.botones-destacados button {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    border: 3px solid var(--accent);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0; /* Botones rectangulares */
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--accent);
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease, color 0.2s ease;
}

.botones-destacados button:hover {
    background-color: var(--accent);
    color: #0d1117;
    transform: translate(-2px, -2px); /* Levantar botón retro */
    box-shadow: 8px 8px 0px var(--accent-hover); /* Sombra dura */
}

.botones-destacados button:active {
    transform: translate(4px, 4px); /* Presionar botón */
    box-shadow: 2px 2px 0px var(--accent-hover);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-secondary);
    border-top: 1px solid #30363d;
}

footer .enlaces-footer {
    margin-bottom: 15px;
}

footer .enlaces-footer a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

footer .enlaces-footer a:hover {
    color: var(--accent);
}

footer small {
    color: var(--text-muted); /* Gris más oscuro para el disclaimer */
    font-size: 0.8rem;
    display: block;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    header .logo h2 {
        font-size: 1.4rem;
    }

    main, .hero {
        grid-template-columns: 1fr; /* Una sola columna en móviles */
        text-align: center;
    }

    main h1, .hero h1 {
        font-size: 2.2rem !important;
    }

    h1 {
        font-size: 2.2rem !important;
    }

    h2 {
        font-size: 1.6rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .botones-destacados {
        justify-content: center;
    }
}

#tittle-lc {
    color: #e6c31f
}