:root {
    --navy-950: #03172f;
    --navy-900: #041f46;
    --navy-800: #08366f;
    --navy-700: #0d4b91;

    --gold-600: #e5aa00;
    --gold-500: #ffc52d;
    --gold-400: #ffd85e;

    --green-700: #08763f;
    --green-600: #089c52;
    --green-500: #10b864;
    --green-100: #e8f9f0;

    --red-700: #b51e30;
    --red-600: #db293e;
    --red-500: #ef4054;
    --red-100: #fff0f2;

    --blue-100: #eaf3ff;

    --white: #ffffff;
    --background: #f1f6fc;
    --surface: #ffffff;

    --text: #102a52;
    --muted: #6c809f;
    --border: #d7e2ef;

    --shadow:
            0 20px 55px rgba(3, 31, 70, 0.12);

    --shadow-soft:
            0 10px 30px rgba(3, 31, 70, 0.09);

    --radius-xl: 26px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

/* =====================================================
   BASE
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-width: 320px;

    color: var(--text);
    background: var(--background);

    font-family:
            Inter,
            "Segoe UI",
            Arial,
            Helvetica,
            sans-serif;

    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.section-container {
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
}

section {
    scroll-margin-top: 90px;
}

/* =====================================================
   ENCABEZADO
   ===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: 78px;

    color: var(--white);

    border-top: 5px solid #e5edf8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    background:
            rgba(3, 31, 70, 0.98);

    box-shadow:
            0 8px 30px rgba(3, 23, 47, 0.20);

    backdrop-filter: blur(14px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    width: min(1540px, calc(100% - 48px));
    min-height: 73px;

    margin-inline: auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;

    min-width: 0;
    gap: 12px;

    color: var(--white);
    text-decoration: none;
}

.site-logo img {
    width: 66px;
    height: 66px;

    flex: 0 0 66px;

    object-fit: contain;

    filter:
            drop-shadow(
                    0 5px 10px rgba(0, 0, 0, 0.25)
            );
}

.site-logo__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.site-logo strong {
    overflow: hidden;

    font-size:
            clamp(15px, 1.4vw, 20px);

    letter-spacing: 0.2px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-logo span {
    margin-top: 1px;

    color: #b8c9e1;

    font-size: 11px;
}

/* MENÚ */

.site-menu {
    display: flex;
    align-items: center;

    gap: 11px;
}

.site-menu > a {
    display: inline-flex;

    min-height: 37px;

    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    border:
            1px solid transparent;

    border-radius: 999px;

    color: var(--navy-950);
    background: var(--gold-400);

    box-shadow:
            0 4px 0 var(--green-600);

    font-family:
            Georgia,
            "Times New Roman",
            serif;

    font-size: 12px;
    font-weight: 900;

    text-decoration: none;

    transition:
            transform 0.2s ease,
            background-color 0.2s ease,
            box-shadow 0.2s ease;
}

.site-menu > a:hover {
    transform: translateY(-3px);

    background: var(--white);

    box-shadow:
            0 7px 0 var(--green-600);
}

.site-menu > a:active {
    transform: translateY(1px);

    box-shadow:
            0 2px 0 var(--green-600);
}

.site-menu .login-button {
    color: var(--navy-950);
    background: var(--gold-500);

    box-shadow:
            0 4px 0 #c48d00;
}

.menu-toggle {
    display: none;

    width: 46px;
    height: 42px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 0;
    border-radius: 10px;

    color: var(--navy-950);
    background: var(--gold-500);

    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;

    border-radius: 999px;

    background: var(--navy-950);

    transition:
            transform 0.2s ease,
            opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform:
            translateY(7px)
            rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform:
            translateY(-7px)
            rotate(-45deg);
}

/* =====================================================
   PORTADA
   ===================================================== */

.hero {
    position: relative;
    overflow: hidden;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(340px, 0.95fr);

    align-items: center;

    gap: clamp(45px, 7vw, 110px);

    min-height:
            calc(100vh - 78px);

    padding:
            clamp(70px, 8vw, 120px)
            max(6%, calc((100vw - 1480px) / 2));

    color: var(--white);

    background:
            radial-gradient(
                    circle at 12% 15%,
                    rgba(255, 197, 45, 0.18),
                    transparent 30%
            ),
            radial-gradient(
                    circle at 87% 35%,
                    rgba(16, 184, 100, 0.12),
                    transparent 26%
            ),
            linear-gradient(
                    135deg,
                    var(--navy-950),
                    var(--navy-700)
            );
}

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.hero-decoration--one {
    right: -130px;
    bottom: -190px;

    width: 460px;
    height: 460px;

    border:
            1px solid rgba(255, 255, 255, 0.10);
}

.hero-decoration--two {
    top: 80px;
    left: -70px;

    width: 180px;
    height: 180px;

    background:
            rgba(255, 197, 45, 0.06);
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 870px;
}

.hero-label {
    display: inline-flex;

    align-items: center;
    gap: 10px;

    color: var(--gold-500);

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-label::before {
    width: 34px;
    height: 3px;

    border-radius: 999px;

    background: currentColor;

    content: "";
}

.hero h1 {
    margin: 24px 0;

    font-size:
            clamp(46px, 5.3vw, 82px);

    line-height: 1.03;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold-500);
}

.hero p {
    max-width: 780px;
    margin: 0;

    color: #cad8ec;

    font-size:
            clamp(17px, 1.7vw, 22px);

    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 13px;
    margin-top: 33px;
}

.primary-button,
.secondary-button,
.whatsapp-button {
    display: inline-flex;

    min-height: 50px;

    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border-radius: 999px;

    font-weight: 900;
    text-decoration: none;

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            background-color 0.2s ease;
}

.primary-button {
    color: var(--navy-950);
    background: var(--gold-500);

    box-shadow:
            0 6px 0 #c68d00;
}

.primary-button:hover {
    transform: translateY(-3px);

    background: var(--gold-400);

    box-shadow:
            0 9px 0 #c68d00;
}

.secondary-button {
    color: var(--white);

    border:
            1px solid rgba(255, 255, 255, 0.55);

    background:
            rgba(255, 255, 255, 0.07);
}

.secondary-button:hover {
    transform: translateY(-3px);

    background:
            rgba(255, 255, 255, 0.14);
}

.hero-benefits {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    max-width: 760px;
    margin-top: 40px;
}

.hero-benefits article {
    min-width: 0;
    padding: 15px 16px;

    border:
            1px solid rgba(255, 255, 255, 0.13);

    border-radius: var(--radius-md);

    background:
            rgba(255, 255, 255, 0.07);
}

.hero-benefits strong,
.hero-benefits span {
    display: block;
}

.hero-benefits strong {
    color: var(--white);
    font-size: 14px;
}

.hero-benefits span {
    margin-top: 4px;

    color: #aebfda;
    font-size: 12px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image__frame {
    position: relative;

    width: min(100%, 610px);

    padding: 14px;

    border:
            1px solid rgba(255, 255, 255, 0.20);

    border-radius: 30px;

    background:
            rgba(255, 255, 255, 0.08);

    box-shadow:
            0 34px 80px rgba(0, 0, 0, 0.30);
}

.hero-image__frame::before {
    position: absolute;

    inset: -10px;

    z-index: -1;

    border:
            1px solid rgba(255, 197, 45, 0.35);

    border-radius: 36px;

    content: "";
}

.hero-image img {
    width: 100%;
    max-height: 610px;

    border-radius: 20px;

    object-fit: contain;

    background:
            rgba(255, 255, 255, 0.04);
}

/* =====================================================
   TÍTULOS DE SECCIÓN
   ===================================================== */

.section-title {
    max-width: 850px;

    margin:
            0 auto 48px;

    text-align: center;
}

.section-title > span {
    color: var(--green-600);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.section-title h2 {
    margin: 12px 0 14px;

    color: var(--navy-900);

    font-size:
            clamp(31px, 4vw, 51px);

    line-height: 1.12;
    letter-spacing: -1px;
}

.section-title p {
    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}

/* =====================================================
   PREGUNTAS INTERACTIVAS
   ===================================================== */

.quiz-section {
    position: relative;

    padding-block:
            clamp(70px, 8vw, 110px);

    overflow: hidden;

    background:
            radial-gradient(
                    circle at 8% 12%,
                    rgba(16, 184, 100, 0.08),
                    transparent 24%
            ),
            linear-gradient(
                    180deg,
                    #ffffff,
                    #f2f7fc
            );
}

.quiz-section::before {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 6px;

    background:
            linear-gradient(
                    90deg,
                    var(--navy-800),
                    var(--green-600),
                    var(--gold-500)
            );

    content: "";
}

/* RESUMEN */

.quiz-summary {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(105px, 1fr))
        auto;

    gap: 12px;

    max-width: 1150px;

    margin:
            0 auto 32px;

    padding: 14px;

    border:
            1px solid var(--border);

    border-radius: 18px;

    background:
            rgba(255, 255, 255, 0.94);

    box-shadow: var(--shadow-soft);
}

.quiz-summary__item {
    display: flex;

    min-width: 0;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 12px 14px;

    border-radius: 12px;

    background: #f5f8fc;
}

.quiz-summary__item span {
    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
}

.quiz-summary__item strong {
    color: var(--navy-900);

    font-size: 20px;
}

.quiz-reset {
    min-height: 46px;

    padding: 10px 18px;

    border: 0;
    border-radius: 12px;

    color: var(--white);

    background: var(--navy-800);

    font-weight: 900;

    cursor: pointer;

    transition:
            transform 0.2s ease,
            background-color 0.2s ease;
}

.quiz-reset:hover {
    transform: translateY(-2px);
    background: var(--navy-700);
}

/* CUADRÍCULA */

.quiz-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

/* TARJETA */

.quiz-card {
    position: relative;

    min-width: 0;

    border:
            1px solid var(--border);

    border-radius: var(--radius-xl);

    overflow: hidden;

    background: var(--surface);

    box-shadow: var(--shadow);

    transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            border-color 0.25s ease;
}

.quiz-card:hover {
    transform: translateY(-6px);

    border-color: #b9cce3;

    box-shadow:
            0 28px 68px rgba(3, 31, 70, 0.17);
}

.quiz-card.is-correct {
    border-color: #91d9b4;

    box-shadow:
            0 24px 60px rgba(8, 156, 82, 0.17);
}

.quiz-card.is-wrong {
    border-color: #efabb4;

    box-shadow:
            0 24px 60px rgba(219, 41, 62, 0.14);
}

/* CABECERA */

.quiz-card__header {
    display: grid;

    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;

    gap: 13px;

    padding: 18px 20px;

    color: var(--white);

    background:
            linear-gradient(
                    135deg,
                    var(--navy-950),
                    var(--navy-800)
            );
}

.quiz-number {
    display: grid;

    width: 50px;
    height: 50px;

    place-items: center;

    border:
            2px solid rgba(255, 255, 255, 0.42);

    border-radius: 15px;

    color: var(--navy-950);
    background: var(--gold-500);

    font-size: 17px;
    font-weight: 900;
}

.quiz-card__header span {
    display: block;

    color: var(--gold-500);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.quiz-card__header h3 {
    margin: 3px 0 0;

    overflow: hidden;

    font-size: 17px;
    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-status {
    padding: 7px 11px;

    border:
            1px solid rgba(255, 255, 255, 0.22);

    border-radius: 999px;

    color: #c4d3e9;
    background:
            rgba(255, 255, 255, 0.08);

    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.quiz-card.is-correct .quiz-status {
    color: #dbffea;

    border-color:
            rgba(16, 184, 100, 0.55);

    background:
            rgba(16, 184, 100, 0.25);
}

.quiz-card.is-wrong .quiz-status {
    color: #ffe4e8;

    border-color:
            rgba(239, 64, 84, 0.60);

    background:
            rgba(239, 64, 84, 0.25);
}

/* CUERPO */

.quiz-card__body {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(155px, 190px);

    gap: 18px;

    align-items: stretch;

    padding: 20px;
}

/* IMAGEN */

.quiz-image-stage {
    position: relative;

    display: flex;

    min-width: 0;
    min-height: 350px;

    align-items: center;
    justify-content: center;

    padding: 40px 14px 16px;

    border:
            1px dashed #a9c6b8;

    border-radius: 17px;

    overflow: hidden;

    background:
            linear-gradient(
                    145deg,
                    #ffffff,
                    #f5faf7
            );
}

.quiz-image-label {
    position: absolute;

    top: 12px;
    left: 12px;

    min-width: 92px;

    padding: 6px 12px;

    border-radius: 999px;

    color: var(--white);
    background: var(--green-600);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-align: center;

    text-transform: uppercase;
}

.quiz-image {
    width: 100%;
    height: auto;

    max-height: 405px;

    object-fit: contain;

    transition:
            opacity 0.2s ease,
            transform 0.25s ease;
}

.quiz-image.is-changing {
    opacity: 0;
    transform: scale(0.97);
}

/* CONTROLES */

.quiz-controls {
    display: flex;

    min-width: 0;

    flex-direction: column;
}

.quiz-instruction {
    margin: 0 0 10px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.quiz-option {
    position: relative;

    display: flex;

    width: 100%;
    min-height: 48px;

    align-items: center;

    gap: 10px;
    padding: 7px 13px;

    border:
            1.5px solid #c5d3e3;

    border-radius: 999px;

    color: var(--navy-900);
    background: var(--white);

    box-shadow:
            0 4px 0 var(--green-600);

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition:
            transform 0.18s ease,
            color 0.18s ease,
            border-color 0.18s ease,
            background-color 0.18s ease,
            box-shadow 0.18s ease;
}

.quiz-option span {
    display: grid;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    place-items: center;

    border-radius: 50%;

    color: var(--white);
    background: var(--navy-800);

    font-size: 12px;
}

.quiz-option:not(:disabled):hover {
    transform:
            translateY(-3px)
            scale(1.02);

    border-color: var(--navy-700);

    background: var(--blue-100);

    box-shadow:
            0 7px 0 var(--green-600);
}

.quiz-option:disabled {
    cursor: default;
    opacity: 1;
}

.quiz-option.is-correct {
    color: var(--green-700);

    border-color: var(--green-500);

    background: var(--green-100);

    box-shadow:
            0 5px 0 var(--green-600);

    animation:
            correctPulse 0.45s ease;
}

.quiz-option.is-correct span {
    background: var(--green-600);
}

.quiz-option.is-wrong {
    color: var(--red-700);

    border-color: var(--red-500);

    background: var(--red-100);

    box-shadow:
            0 5px 0 var(--red-600);

    animation:
            wrongShake 0.38s ease;
}

.quiz-option.is-wrong span {
    background: var(--red-600);
}

/* BOTÓN VER RESPUESTA */

.show-answer-button {
    display: inline-flex;

    width: 100%;
    min-height: 50px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: auto;
    padding: 10px 12px;

    border:
            1px solid #daa100;

    border-radius: 999px;

    color: var(--navy-950);
    background: var(--gold-500);

    box-shadow:
            0 5px 0 var(--green-600);

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition:
            transform 0.2s ease,
            background-color 0.2s ease,
            box-shadow 0.2s ease;
}

.show-answer-button:hover {
    transform: translateY(-3px);

    background: var(--gold-400);

    box-shadow:
            0 8px 0 var(--green-600);
}

.show-answer-button.is-showing-answer {
    color: var(--white);
    background: var(--navy-800);
}

/* MENSAJE */

.quiz-feedback {
    display: flex;

    align-items: center;

    gap: 13px;

    margin: 0 20px 20px;
    padding: 14px 16px;

    border:
            1px solid var(--border);

    border-radius: 14px;

    background: #f5f8fc;
}

.quiz-feedback__icon {
    display: grid;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    place-items: center;

    border-radius: 50%;

    color: var(--white);
    background: var(--navy-800);

    font-size: 17px;
    font-weight: 900;
}

.quiz-feedback strong {
    display: block;

    color: var(--navy-900);

    font-size: 13px;
}

.quiz-feedback p {
    margin: 3px 0 0;

    color: var(--muted);

    font-size: 11px;
}

.quiz-feedback.is-success {
    border-color: #a5dfc0;
    background: var(--green-100);
}

.quiz-feedback.is-success
.quiz-feedback__icon {
    background: var(--green-600);
}

.quiz-feedback.is-success strong {
    color: var(--green-700);
}

.quiz-feedback.is-error {
    border-color: #f0b0b8;
    background: var(--red-100);
}

.quiz-feedback.is-error
.quiz-feedback__icon {
    background: var(--red-600);
}

.quiz-feedback.is-error strong {
    color: var(--red-700);
}

/* MENSAJE FINAL */

.quiz-final-message {
    display: flex;

    max-width: 820px;

    align-items: center;

    gap: 17px;

    margin:
            30px auto 0;

    padding: 20px 24px;

    border:
            1px solid #e5bd43;

    border-radius: 18px;

    color: var(--navy-900);

    background:
            linear-gradient(
                    135deg,
                    #fff8d9,
                    #ffffff
            );

    box-shadow: var(--shadow-soft);
}

.quiz-final-message[hidden] {
    display: none;
}

.quiz-final-message__icon {
    display: grid;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    place-items: center;

    border-radius: 17px;

    background: var(--gold-500);

    font-size: 27px;
}

.quiz-final-message strong {
    font-size: 18px;
}

.quiz-final-message p {
    margin: 4px 0 0;

    color: var(--muted);
    font-size: 13px;
}

/* =====================================================
   MATERIAL
   ===================================================== */

.materials {
    padding-block:
            clamp(70px, 8vw, 110px);

    background: var(--background);
}

.material-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.material-card {
    position: relative;

    min-width: 0;
    padding: 27px 23px 24px;

    border:
            1px solid var(--border);

    border-radius: var(--radius-lg);

    overflow: hidden;

    background: var(--white);

    box-shadow: var(--shadow-soft);

    transition:
            transform 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
}

.material-card::before {
    position: absolute;

    top: -55px;
    right: -55px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background: var(--blue-100);

    content: "";
}

.material-card:hover {
    transform: translateY(-8px);

    border-color: #b8cbe3;

    box-shadow:
            0 24px 55px rgba(3, 31, 70, 0.15);
}

.card-icon {
    position: relative;
    z-index: 2;

    display: grid;

    width: 68px;
    height: 68px;

    place-items: center;

    border-radius: 18px;

    background:
            linear-gradient(
                    145deg,
                    #edf4ff,
                    #ffffff
            );

    box-shadow:
            0 8px 20px rgba(3, 31, 70, 0.08);

    font-size: 31px;
}

.card-number {
    display: inline-flex;

    margin-top: 18px;
    padding: 5px 11px;

    border-radius: 999px;

    color: var(--green-700);
    background: var(--green-100);

    font-size: 10px;
    font-weight: 900;
}

.material-card h3 {
    margin: 13px 0 9px;

    color: var(--navy-900);

    font-size: 20px;
}

.material-card p {
    min-height: 70px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.7;
}

.material-card a {
    display: inline-flex;

    width: 100%;
    min-height: 46px;

    align-items: center;
    justify-content: center;

    margin-top: 20px;
    padding: 10px 16px;

    border-radius: 999px;

    color: var(--white);

    background:
            linear-gradient(
                    135deg,
                    #f2382f,
                    #d91429
            );

    box-shadow:
            0 6px 0 #9f1020,
            0 13px 24px rgba(217, 20, 41, 0.25);

    font-size: 13px;
    font-weight: 900;
    text-decoration: none;

    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease;
}

.material-card a:hover {
    transform: translateY(-4px);

    box-shadow:
            0 9px 0 #9f1020,
            0 17px 30px rgba(217, 20, 41, 0.32);
}

/* =====================================================
   CONTACTO
   ===================================================== */

.contact {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 42px;

    padding:
            clamp(52px, 6vw, 82px)
            max(7%, calc((100vw - 1480px) / 2));

    color: var(--white);

    background:
            linear-gradient(
                    135deg,
                    var(--navy-800),
                    var(--green-700)
            );
}

.contact > div {
    max-width: 850px;
}

.contact > div > span {
    color: var(--gold-500);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.contact h2 {
    margin: 10px 0;

    font-size:
            clamp(29px, 4vw, 47px);

    line-height: 1.12;
}

.contact p {
    margin: 0;

    color: #d1dded;

    font-size: 15px;
}

.whatsapp-button {
    flex: 0 0 auto;

    gap: 9px;

    color: var(--white);

    border:
            1px solid rgba(255, 255, 255, 0.30);

    background: var(--green-600);

    box-shadow:
            0 6px 0 #05642f;
}

.whatsapp-button:hover {
    transform: translateY(-4px);

    background: var(--green-500);

    box-shadow:
            0 10px 0 #05642f;
}

/* =====================================================
   PIE DE PÁGINA
   ===================================================== */

.site-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
            28px max(7%, calc((100vw - 1480px) / 2));

    color: #aebed5;
    background: var(--navy-950);

    font-size: 12px;
}

.site-footer strong {
    display: block;

    margin-bottom: 3px;

    color: var(--white);
    font-size: 15px;
}

.site-footer p {
    margin: 0;
}

/* =====================================================
   ANIMACIONES
   ===================================================== */

@keyframes correctPulse {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes wrongShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }
}

/* =====================================================
   LAPTOP Y TABLET
   ===================================================== */

@media (max-width: 1240px) {

    .quiz-grid {
        grid-template-columns: 1fr;
    }

    .quiz-card__body {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, 230px);
    }

    .material-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        max-width: 900px;

        margin-inline: auto;

        text-align: center;
    }

    .hero-label {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-benefits {
        margin-inline: auto;
    }

    .hero-image__frame {
        max-width: 680px;
    }
}

/* =====================================================
   CELULAR Y TABLET VERTICAL
   ===================================================== */

@media (max-width: 820px) {

    .site-header__inner {
        width: min(100% - 30px, 1540px);
    }

    .menu-toggle {
        display: flex;
    }

    .site-menu {
        position: fixed;

        top: 78px;
        right: 15px;
        left: 15px;

        display: flex;

        max-height: 0;

        align-items: stretch;
        flex-direction: column;

        gap: 10px;
        padding: 0 16px;

        overflow: hidden;

        border-radius: 0 0 18px 18px;

        background:
                rgba(3, 31, 70, 0.99);

        box-shadow:
                0 24px 45px rgba(0, 0, 0, 0.28);

        opacity: 0;
        visibility: hidden;

        transition:
                max-height 0.3s ease,
                padding 0.3s ease,
                opacity 0.2s ease;
    }

    .site-menu.is-open {
        max-height: 500px;

        padding:
                18px 16px 23px;

        opacity: 1;
        visibility: visible;
    }

    .site-menu > a {
        width: 100%;

        min-height: 45px;

        font-size: 13px;
    }

    .quiz-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .quiz-reset {
        grid-column: 1 / -1;
    }

    .quiz-card__body {
        grid-template-columns: 1fr;
    }

    .quiz-image-stage {
        min-height: 310px;
    }

    .quiz-options {
        display: grid;

        grid-template-columns:
            repeat(5, minmax(0, 1fr));
    }

    .quiz-option {
        min-height: 50px;

        justify-content: center;

        padding: 7px;

        box-shadow:
                0 4px 0 var(--green-600);

        font-size: 0;
    }

    .quiz-option span {
        width: 33px;
        height: 33px;

        flex-basis: 33px;

        font-size: 13px;
    }

    .show-answer-button {
        margin-top: 18px;
    }

    .contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .whatsapp-button {
        width: 100%;
    }
}

@media (max-width: 620px) {

    .section-container {
        width: min(100% - 28px, 1480px);
    }

    .site-logo img {
        width: 53px;
        height: 53px;

        flex-basis: 53px;
    }

    .site-logo strong {
        max-width: 190px;
        font-size: 15px;
    }

    .site-logo span {
        display: none;
    }

    .hero {
        padding:
                55px 20px
                72px;
    }

    .hero h1 {
        font-size:
                clamp(39px, 12vw, 56px);

        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        display: grid;

        grid-template-columns: 1fr;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
    }

    .quiz-section,
    .materials {
        padding-block: 66px;
    }

    .section-title {
        margin-bottom: 34px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .quiz-summary {
        grid-template-columns: 1fr 1fr;

        padding: 10px;
    }

    .quiz-summary__item {
        flex-direction: column;

        align-items: flex-start;

        gap: 1px;
    }

    .quiz-card {
        border-radius: 18px;
    }

    .quiz-card__header {
        grid-template-columns:
            auto minmax(0, 1fr);

        padding: 15px;
    }

    .quiz-status {
        grid-column: 1 / -1;

        justify-self: stretch;

        text-align: center;
    }

    .quiz-card__header h3 {
        font-size: 15px;
    }

    .quiz-card__body {
        padding: 14px;
    }

    .quiz-image-stage {
        min-height: 260px;

        padding:
                40px 8px 10px;
    }

    .quiz-image {
        max-height: 340px;
    }

    .quiz-options {
        grid-template-columns:
            repeat(5, minmax(48px, 1fr));

        gap: 6px;
    }

    .quiz-feedback {
        margin:
                0 14px 14px;

        padding: 12px;
    }

    .quiz-final-message {
        align-items: flex-start;

        margin-top: 22px;
        padding: 16px;
    }

    .material-grid {
        grid-template-columns: 1fr;
    }

    .material-card p {
        min-height: 0;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;

        text-align: left;
    }
}

@media (max-width: 420px) {

    .site-logo strong {
        max-width: 150px;
        font-size: 13px;
    }

    .quiz-number {
        width: 44px;
        height: 44px;
    }

    .quiz-options {
        grid-template-columns:
            repeat(5, minmax(42px, 1fr));
    }

    .quiz-option span {
        width: 30px;
        height: 30px;

        flex-basis: 30px;
    }
}

/* =====================================================
   ACCESIBILIDAD
   ===================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
                0.01ms !important;

        animation-iteration-count:
                1 !important;

        transition-duration:
                0.01ms !important;
    }
}