/* --- Variables y Estilos Globales --- */
:root {
    --primary-dark-blue: #020659;
    --secondary-dark-blue: #0C2C40;
    --accent-orange: #F26B1D;
    --accent-red: #F23005;
    --light-background: #F2F1F0;
    --text-light: #FFFFFF;
    --text-dark: #333333;

    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --header-font-weight: 700;
    --body-font-weight: 400;
}

/* --- Reseteo Básico y Mobile First --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--body-font-weight);
    color: var(--text-dark);
    background-color: var(--light-background);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--secondary-dark-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-dark-blue);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.hero__title {
    font-size: 2.5rem;
    font-weight: var(--header-font-weight);
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--accent-orange);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #d95f1a; /* Un poco más oscuro que --accent-orange */
}

.cta-button:active {
    transform: scale(0.98);
}

/* --- Secciones de Contenido (About y Target Audience) --- */
.about-section,
.target-audience-section {
    padding: 3rem 0;
}

.about-section p {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

/* --- Tarjetas para "Para quién es" --- */
.audience-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background-color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.card h3 {
    color: var(--secondary-dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* --- Footer --- */
.footer {
    background-color: #e9e8e7;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #ddd;
}

/* --- Media Queries para Diseño Adaptable (Tablet y Escritorio) --- */

/* Para tablets y dispositivos más grandes */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero__title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }

    .about-section,
    .target-audience-section {
        padding: 4rem 0;
    }
    
    .audience-cards {
        flex-direction: row; /* Apila horizontalmente en pantallas grandes */
        justify-content: space-between;
    }

    .card {
        /* Cada tarjeta ocupa aproximadamente un tercio del espacio disponible */
        flex-basis: calc(33.333% - 1rem);
    }
}

/* Para escritorios grandes */
@media (min-width: 1200px) {
    html {
        font-size: 18px;
    }
}