/* --- CONFIGURACIÓN GENERAL --- */
:root {
    --primary-color: #1e3a8a; /* Azul institucional */
    --secondary-color: #3b82f6; /* Azul brillante */
    --accent-color: #f59e0b; /* Dorado para botones y destaques */
    --bg-color: #f3f4f6; /* Gris muy claro de fondo */
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #4b5563;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

header .tagline {
    font-size: 1.2rem;
    color: #ffffff; /* Blanco puro */
    font-weight: 500; /* Un poco más de grosor */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Sombra suave para que las letras "salten" del fondo */
    opacity: 1; /* Quitamos la transparencia para que se vea nítido */
    margin-top: 5px;
    display: block;
}

/* --- SECCIONES (CARDS) --- */
.card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px dotted #e5e7eb;
}

h2, h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* --- IMÁGENES --- */
.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin: 0 auto 20px auto;
    display: block;
}

.side-img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    object-fit: cover;
}

.footer-img {
    width: 100%;
    border-radius: 10px;
    margin-top: 20px;
}

/* --- BOTONES --- */
.cta-container {
    text-align: center;
    margin: 25px 0;
}

.btn-link {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
    background-color: #d97706;
    transform: scale(1.05);
}

/* --- DISEÑO FLEXIBLE (Juegos y Multimedia) --- */
.flex-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.flex-content.reverse {
    flex-direction: row-reverse;
}

.text {
    flex: 1;
    min-width: 300px;
}

ul {
    list-style: none;
}

ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

ul li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- GRILLA DE PAÍSES / PROVINCIAS --- */
.grid-paises {
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.grid-paises p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- FAQ --- */
#faq {
    text-align: left;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 15px;
}

.faq-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* --- FOOTER --- */
footer {
    background-color: #111827;
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

footer a {
    text-decoration: underline;
    font-weight: bold;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    .flex-content, .flex-content.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .side-img {
        max-width: 100%;
    }

    ul li {
        text-align: left;
    }
}