@import url('https://fonts.googleapis.com/css2?family=Abel:wght@400;600;700&display=swap');

/* Reset y configuración global */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Abel', Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
    padding-top: 100px;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: 40px auto 100px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Títulos */
h1, h2 {
    color: #004074;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Contenido */
.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Imagen y texto */
.image-container {
    flex: 1 1 30%;
    padding: 10px;
}

.text-container {
    flex: 1 1 65%;
    padding: 10px;
}

img {
    width: 100%;
    height: auto;
}

/* Formularios */
form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    text-align: left;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 16px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.1em;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 64, 116, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    border-color: #3FAEC0;
    outline: none;
    box-shadow: 0 0 8px rgba(63, 174, 192, 0.2);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

select {
    appearance: none; /* Quitar estilo por defecto en algunos navegadores */
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 95%;
    background-position-y: center;
    background-size: 16px;
}

.captcha-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.captcha-option {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f8ff;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: bold;
    font-size: 1rem;
    width: 50px;
    height: 50px;
    text-align: center;
}

.captcha-option input[type="radio"] {
    display: none;
}

.captcha-option span {
    font-size: 1.2em;
}

.captcha-option:hover {
    background-color: #004074;
    color: white;
    border-color: #004074;
}

.captcha-option input[type="radio"]:checked + span {
    background-color: #3FAEC0;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
}

label {
    font-weight: bold;
    color: #004074;
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

input[type="radio"] {
    margin-right: 10px;
    transform: scale(1);
}

/* Botones */
.btn,
.start-button,
input[type="submit"] {
    background-color: #004074;
    color: #fff;
    padding: 12px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.2em;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin: 10px 0;
    width: 100%;
    max-width: 200px;
    font-family: 'Abel', Arial, sans-serif;
}

.btn:hover,
.start-button:hover,
input[type="submit"]:hover {
    background-color: #3FAEC0;
}

/* Contenedor individual de pregunta */
.question {
    background-color: #f0f8ff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    border-left: 6px solid #004074;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Título de la pregunta */
.question-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #004074;
    margin-bottom: 20px;
}

/* Opciones tipo caja */
.option-box {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.option-box:hover {
    border-color: #004074;
    box-shadow: 0 0 6px rgba(0, 64, 116, 0.2);
}

.option-box input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.2);
    cursor: pointer;
}

.option-box span {
    color: #333;
    font-size: 1em;
}

/* Audio */
audio {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 100%;
}

.question img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-bottom: 10px solid #004074;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    max-height: 120px;
    width: auto;
}

.app-title h1 {
    font-size: 1.6em;
    margin: 0;
    color: #004074;
    font-weight: 700;
	font-size-adjust: auto;
	text-align:left;
}

.app-title .subtitle {
    margin: 12px 0 0;
    font-size: 1.3em;
    color: #3FAEC0;
	text-align:left;
}


/* Footer */
.footer {
    background-color: #004074;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    border-top: 3px solid #3FAEC0;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

.inicio-container {
    max-width: 1000px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.video-section {
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.bienvenida h2 {
    text-align: center;
    color: #004074;
    font-size: 2em;
    margin-bottom: 20px;
}

.bienvenida p {
    font-size: 1.2em;
    color: #002e4d;
    margin: 12px 0;
    line-height: 1.6;
    text-align: justify;
}

.llamada-accion {
    font-weight: bold;
    text-align: center;
    margin-top: 25px;
}

.boton-inicio {
    text-align: center;
    margin-top: 40px;
}

.btn-principal {
    background-color: #004074;
    color: white;
    padding: 14px 40px;
    font-size: 1.4em;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-principal:hover {
    background-color: #3FAEC0;
}

/* Responsive */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .image-container,
    .text-container {
        max-width: 100%;
        flex-basis: 100%;
    }

    .image-container {
        order: 1;
    }

    .text-container {
        order: 2;
    }

    .logo img {
        max-height: 50px;
        width: auto;
    }

    .divider {
        height: 50px;
    }

    .title h2 {
        font-size: 1.2em;
    }
}

/* Estilos WOW */
.quiz-image {
    width: 100%;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    margin-bottom: 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
    animation: fadeSlideUp 0.8s ease-out both;
}

.quiz-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
}

.quiz-intro {
    background-color: #ffffff;
    border-left: 6px solid #004074;
    padding: 40px 30px 30px 30px;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    animation: fadeSlideUp 0.8s ease-out both;
    opacity: 0;
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-intro h1 {
    font-size: 2.1em;
    color: #004074;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.quiz-intro h2 {
    font-size: 1.4em;
    color: #3FAEC0;
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-intro h3 {
    font-size: 1em;
    color: #333;
    font-weight: normal;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

.resultado {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    animation: fadeSlideUp 0.8s ease-out both;
}

.resultado h1 {
    font-size: 2.2em;
    color: #004074;
    margin-bottom: 10px;
}

.resultado h2 {
    font-size: 1.5em;
    color: #3FAEC0;
    margin-top: 20px;
}

.resultado h3 {
    font-size: 1.3em;
    color: #004074;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left;
}

.resultado ul {
    text-align: left;
    padding-left: 1.5rem;
    color: #333;
    margin-top: 0;
}

.resultado ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.resultado .disclaimer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: #555;
    text-align: justify;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.resultado .btn {
    display: inline-block;
    margin-top: 30px;
    background-color: #004074;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.resultado .btn:hover {
    background-color: #3FAEC0;
}

.icono-grande {
    font-size: 3em;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    animation: fadeSlideUp 0.6s ease-out both;
}

.progress-wrapper {
    margin-bottom: 30px;
}

.progress-label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #004074;
    text-align: right;
    font-size: 0.95em;
}

.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 20px;
    height: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #004074;
    transition: width 0.5s ease-in-out;
    border-radius: 20px 0 0 20px;
}

.arl-footer {
    background-color: #0e315f;
    color: #ffffff;
    padding: 60px 30px 30px;
    font-family: 'Abel', Arial, sans-serif;
    font-size: 1em;
}

.arl-footer h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.arl-footer p {
    margin: 6px 0;
    line-height: 1.5;
    color: #e4e4e4;
}

.arl-footer .bold {
    font-weight: bold;
    color: #ffffff;
}

.arl-footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.arl-footer-column {
    flex: 1 1 30%;
    min-width: 250px;
}

.arl-footer-column.social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.icon-circle:hover {
    background-color: #3FAEC0;
    color: white;
}

.arl-footer hr {
    border: none;
    border-top: 1px solid #ffffff22;
    margin: 40px 0 20px;
}

.arl-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding-top: 10px;
    font-size: 0.9em;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-footer img {
    height: 100px;
}

.links-footer {
    color: white;
    text-align: right;
}

.links-footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.links-footer a:hover {
    text-decoration: underline;
}

.perfil-container {
    max-width: 1100px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.perfil-container h1 {
    font-size: 2.2em;
    color: #004074;
    margin-bottom: 10px;
	font-variant: small-caps;
	font-weight: bold;
}

.perfil-container .intro {
    color: #444;
    font-size: 1em;
    margin-bottom: 30px;
	line-height: .8;
}

.perfil-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .perfil-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .perfil-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .perfil-grid {
        grid-template-columns: 1fr;
    }

}

.perfil-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
}

.perfil-card:hover {
    transform: translateY(-5px);
}

.perfil-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.perfil-card p {
    margin: 15px 0;
    font-size: 20px;
    color: #004074;
    font-weight: bold;
	line-height: 1.2;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
