:root {
    --negro: #1a1a1a;
    --blanco: #fdfdf2;
    --gris: #808080;
    --rojo: #b30000;
    --naranja: #ff8000;
    --azul: #336699;
    --verde: #00b33c;
    --feature: #1d3956;
    --background: #bfbfde;
}

/* Reseteo de estilos */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    /*for debugging
    outline: 2px solid limegreen !important;
    background-color: rgb(0 100 0 / 0.1) !important;
*/
}

html {
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    /*scroll-padding-top: 100px;*/
    /* Para evitar que el navbar cubra el contenido al dar clic en una opcion del menu */
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.5;
}

a,
p {
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

/* Divide el contenido en columnas iguales */
.split-columns {
    display: flex;
    flex-direction: column;
}

@media (min-width: 40em) {

    /* 40em = 640px */
    .split-columns {
        flex-direction: row;
    }

    .split-columns>* {
        flex-basis: 100%;
    }
}


/* Para centrar texto o div */
.centrado {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centra {
    display: grid;
    place-items: center;
}

/*
    Modal Pop Up
*/
/* Overlay oscuro */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del modal */
.modal {
    background: var(--blanco);
    border-radius: 16px;
    padding: 40px;
    width: 90%;
    max-width: 550px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

/* Botón de cerrar (X) */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.modal h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 28px;
}

.modal p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: space-around;
    margin-top: 2rem;
}


header {
    min-height: calc(4rem + 100px);
}

.top-nav {
    position: relative;
    width: 100%;
    min-height: 4rem;
    background: rgba(51, 102, 153, 1);
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(51, 102, 153, 1) 35%, rgba(0, 153, 204, 1) 100%);
    z-index: 10;
}

.top-links {
    width: 100%;
    position: absolute;
    top: 1rem;
    right: 4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.top-links a {
    color: var(--blanco);
    font-weight: bolder;
}

.top-links a:hover {
    color: var(--feature);
}

.user-icon {
    height: 24px;
    width: 24px;
    background: url("../images/user.svg") no-repeat;
    display: inline-block;
}

.user-icon:hover {
    background: url("../images/user-hover.svg") no-repeat;
}

.logout-icon {
    height: 24px;
    width: 24px;
    background: url("../images/log-out.svg") no-repeat;
    display: inline-block;
}

.logout-icon:hover {
    background: url("../images/log-out-hover.svg") no-repeat;
}

.perfil-icon {
    height: 24px;
    width: 24px;
    background: url("../images/file-text.svg") no-repeat;
    display: inline-block;
}

.perfil-icon:hover {
    background: url("../images/file-text-hover.svg") no-repeat;
}

/* Menu para Usuarios Afiliados */
.usuarios-afiliados {
    display: none;
    position: absolute;
    top: 0rem;
    right: 1rem;
    border: 2px solid var(--azul);
    padding: 0 1rem 1rem 1rem;
    background-color: var(--blanco);
    border-radius: 5px;
    box-shadow: rgba(100, 100, 111, 0.3) 0px 7px 29px 0px;
    width: 180px;
    z-index: 10;
}

.usuarios-afiliados a {
    color: var(--azul);
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content:flex-start;
    padding-left: 36px;
    margin-top: 1rem;
}

.usuarios-afiliados a:hover {
    background-color: var(--azul);
    color: var(--blanco);
}

/* Menu de opciones y móvil */
.nav-bar {
    position: relative;
}

nav {
    position: absolute;
    top: 1rem;
    right: 3rem;
    width: 90%;
    min-height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9;
}

.nav-links {
    display: flex;
    justify-content: space-around;
}


.nav-links li a {
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    padding: .75rem 1rem;
    transition: all 0.5s;
}

.nav-links a:hover {
    color: var(--blanco);
    background-color: var(--azul);
    border-radius: 5px;
}

.mobile-menu {
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    display: none;
    z-index: 99;
}

.mobile-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--feature);
    margin: 5px;
    transition: all 0.5s ease;
}

@media (max-width: 1024px) {
    .nav-links {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
        z-index: 10;
    }

    nav {
        padding: 1.5rem 1rem;
        top: 0;
        right: 0;
        width: 100%;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 0;
        height: calc(100dvh - 4rem);
        background-color: var(--azul);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
        z-index: 9;
    }

    .nav-links li {
        opacity: 0;
    }

    .nav-links li a {
        color: var(--blanco);
    }

}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

main {
    padding-top: 4rem;
}

footer {
    padding: 0 4rem 4rem 4rem;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 60dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center / cover no-repeat linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/hero-image.png);
}

.hero-certificacion {
    position: relative;
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center / cover no-repeat linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/header-certificacion.png);
}

.hero-sello {
    position: relative;
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center / cover no-repeat linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/header-sello.png);
}

.hero-indice-precios {
    position: relative;
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center / cover no-repeat linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/header-indice.png);
}

.hero-pcr {
    position: relative;
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: center / cover no-repeat linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/header-pcr.png);
}

.beneficios-pcr div {
    margin: 0 1rem;
}

.beneficios-pcr div img {
    max-height: 160px;
}

.beneficios-pcr div p span {
    font-weight: bolder;
    color: coral;
}

.hero-evaluacion {
    position: relative;
    width: 100%;
    min-height: 50dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7)), url(../images/header-evaluacion.png) center / contain no-repeat;
}


.text-hero {
    width: 50%;
    padding-bottom: 2rem;
}

.text-hero h2 {
    color: var(--blanco);
    font-size: clamp(2em, 2em + 1vw, 3em);
    line-height: 1.1;
    text-align: center;
}

.text-hero-bottom {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
}

.text-hero-bottom h2 {
    color: var(--blanco);
    font-size: clamp(2em, 2em + 1vw, 3em);
    text-transform: uppercase;
}


.titulo-servicios h3 {
    color: var(--feature);
    font-size: 1.9em;
    text-align: center;
    margin-bottom: 4rem;
}

.servicio-card {
    border: 3px solid var(--feature);
    border-radius: 6px;
    margin: 0 1rem;
    padding: 3rem 1rem;
    transition: all .5s;
}

.servicio-card:hover {
    transform: translatey(-16px);
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.4);
}
.servicio-card:hover img {
    transform: scale(1.2);
}

.servicio-card img {
    height: 48px;
    margin-bottom: 1rem;
}

.servicio-card h3 {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--feature);
}

.servicio-card a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Formulario de Registro */
/*
.registro-form {
    width: 50%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.registro-form p {
    color: var(--blanco);
    font-size: 1.2em;
    text-transform: uppercase;
    padding-bottom: 2rem;
    text-align: center;
}

.registro-form form {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(191, 191, 222, 1);
    border-radius: 6px;
    background-color: rgba(191, 191, 222, 0.6);
    box-shadow: 0px 0px 60px 5px rgba(255, 255, 255, 0.4);
}

.registro-form input,
.registro-form textarea {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1em;
}

.registro-form input::placeholder,
.registro-form textarea::placeholder {
    color: var(--blanco);
    opacity: 1;
}

.registro-form input:-ms-input-placeholder,
.registro-form textarea:-ms-input-placeholder {
    color: var(--blanco);
}

.registro-form input::-ms-input-placeholder,
.registro-form textarea::-ms-input-placeholder {
    color: var(--blanco);
}

.registro-form input[type="text"] {
    outline: none;
    border: 1px solid var(--blanco);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    padding: 1em 1.2em;
    width: 100%;
    margin-bottom: 1rem;
}

.registro-form input[type="tel"],
.registro-form input[type="email"] {
    outline: none;
    border: 1px solid var(--blanco);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    padding: 1em 1.2em;
    width: 49%;
    margin-bottom: 1rem;
    margin-right: 3px;
}
*/

/*
    CTA Button
*/
.cta-btn {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em 1.2em;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    border: none;
    font-family: inherit;
    font-weight: 300;
    color: var(--blanco);
    background-color: var(--verde);
    letter-spacing: 3px;
    cursor: pointer;
}

.cta-btn:hover {
    border: 1px solid var(--blanco);
    letter-spacing: 6px;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.cta-btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.cta-btn::after {
    background-color: var(--verde);
}

.cta-btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}


/*
    Button
*/
.btn {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em 1.2em;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    border: none;
    font-family: inherit;
    font-weight: 300;
    color: var(--blanco);
    background-color: var(--feature);
    letter-spacing: 3px;
    cursor: pointer;
}

.btn:hover {
    border: 1px solid var(--blanco);
    letter-spacing: 6px;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn::after {
    background-color: var(--azul);
}

.btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}

/*
    Button-orange
*/
.btn-orange {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em 1.2em;
    display: inline-block;
    border: none;
    border-radius: 6px;
    transition: all .2s;
    font-family: inherit;
    font-weight: 300;
    color: var(--blanco);
    background-color: var(--naranja);
    letter-spacing: 3px;
    cursor: pointer;

    &:hover {
        border: 1px solid var(--blanco);
        letter-spacing: 6px;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    &: active {
        transform: translateY(-1px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    &::after {
        content: "";
        display: inline-block;
        height: 100%;
        width: 100%;
        background-color: var(--background);
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        transition: all .4s;
    }

    &:hover::after {
        transform: scaleX(1.4) scaleY(1.6);
        opacity: 0;
    }
}

.btn-normal {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: .75em 1.2em;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    border: none;
    font-family: inherit;
    font-weight: 300;
    color: var(--blanco);
    background-color: var(--feature);
    letter-spacing: 3px;
    cursor: pointer;
}
.btn-normal:hover {
    border: 1px solid var(--blanco);
    background-color: #336699;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-normal:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-normal-orange {
    position: relative;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    padding: .75em 1.2em;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    border: none;
    font-family: inherit;
    font-weight: 300;
    color: var(--blanco);
    background-color: var(--naranja);
    letter-spacing: 3px;
    cursor: pointer;
}
.btn-normal-orange:hover {
    border: 1px solid #fff;
    background-color: #ff6600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.btn-normal-orange:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}



section {
    padding: 4rem;
}

section h2 {
    color: var(--feature);
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-bottom: 2rem;
}

.main-title {
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    width: 100%;
    color: var(--blanco);
    background-color: var(--feature);
    letter-spacing: 3px;
    font-size: 1.5em;
    text-transform: uppercase;
    border-radius: 6px;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.4);
}


#tipos-giros h3 {
    color: var(--feature);
    font-size: 1.9em;
    text-align: center;
}

.tipos-giros-card-azul {
    display: grid;
    grid-template-columns: 70% 30%;
}

.tipos-giros-card-azul .giros-text {
    background: rgb(0, 43, 128);
    background: linear-gradient(90deg, rgba(0, 43, 128, 1) 35%, rgba(26, 102, 255, 1) 100%);
}

.tipos-giros-card-azul .giros-text a {
    text-align: right;
}

.tipos-giros-card-azul .giros-imagen {
    padding: 4rem 0;
}

.giros-imagen img {
    max-height: 200px;
}

.tipos-giros-card-verde {
    display: grid;
    grid-template-columns: 30% 70%;
}

.tipos-giros-card-verde .giros-text {
    background: rgb(0, 179, 60);
    background: linear-gradient(90deg, rgba(0, 179, 60, 1) 35%, rgba(0, 102, 34, 1) 100%);
}

.tipos-giros-card-verde .giros-text a {
    text-align: left;
}

.tipos-giros-card-verde .giros-imagen {
    padding: 4rem 0;
    display: flex;
    justify-content: end;
}

.giros-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--blanco);
    padding: 0 4rem;
    border-radius: 12px;
    box-shadow: -8px -8px 10px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
}

.giros-text h4 {
    font-size: 2em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.giros-text p {
    text-align: center;
    margin-bottom: 1rem;
}

.giros-text a {
    color: var(--blanco);
    transition: color .5s;
}

.giros-text a:hover {
    color: var(--gris);
}


.afiliacion-aportacion {
    font-size: 3.2em;
    display: flex;
    width: 50%;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.texto-afiliacion-aportacion {
    width: 70%;
    display: flex;
    margin: 0 auto;
    color: var(--azul);
    font-size: 2em;
    text-align: center;
    padding: 4rem 0;

}

.resultados-amirpac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.resultados-amirpac-card h4 {
    color: var(--azul);
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 1rem 0;
}

/*
    Formulario de Afiliación
*/

.form-right {
    padding: 0 2rem;
}

.form-afiliacion {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--feature);
    margin-top: 4rem;
    padding: 0 2rem;
}

.form-afiliacion h2 {
    color: var(--blanco);
    margin-top: 2rem;
}

.form-afiliacion form {
    background-color: var(--blanco);
    border-radius: 6px;
    margin-bottom: 2rem;
    padding: 2rem;
}

.form-afiliacion p {
    color: var(--feature);
    font-size: .9em;
}

.form-registro {
    color: var(--blanco);
    background-color: var(--feature);
    border-radius: 6px;
    padding: 2rem;
    margin-top: 2rem;
    width: 100%;
}

#afiliacionForm input,
.form-registro input,
.perfil-empresa input,
#agregarColaboradorForm input,
#afiliacionForm select,
.form-registro select,
.perfil-empresa select,
#afiliacionForm textarea,
.form-registro textarea,
.perfil-empresa textarea {
    font-family: inherit;
    color: var(--feature);
    font: inherit;
    font-size: 1em;
    padding: .5rem;
    margin-bottom: 1rem;
    width: 100%;
    border: 2px solid var(--background);
    border-radius: .5rem;
}

input[type="checkbox"] {
    width: initial !important;
    margin: 8px 5px 8px -2px;
}

.form-registro input[type="checkbox"],
.perfil-empresa input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 3px 8px 3px 0px !important;
    padding: initial !important;
    font-size: 1.1em !important;
}

.form-registro a {
    color: var(--background);
    text-decoration: underline;
}

.form-registro {
    display: flex;
}
.form-group p {
    font-weight: bolder;
}

#cargarDocumentosForm input[type="file"],
#cambiarLogoForm input[type="file"] {
    display: none;
}

#cargarDocumentosForm .form-group,
#cambiarLogoForm .form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}
#cargarDocumentosForm label,
#cambiarLogoForm label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    background-color: var(--feature);
    color: var(--blanco);
    font: inherit;
    font-size: 1em;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    width: 100%;
    border: 2px solid var(--background);
    border-radius: .5rem;
    cursor: pointer;
}
#cargarDocumentosForm label:hover,
#cambiarLogoForm label:hover {
    background-color: #336699
}


.perfil-empresa h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.informacion-general,
.contacto-sucursales,
.procesos-capacidad {
    border: 1px solid var(--background);
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem;
    box-shadow: 8px 8px 14px rgba(0, 0, 0, 0.2);
}

.change-logo {
    border: none;
    background-color: none;
    cursor: pointer;
}
.change-logo:hover {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.change-logo img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}

#terminos-condiciones {
    display: none;
}

.gracias-registro {
    display: none;
    color: var(--feature);
    background-color: var(--blanco);
    padding: 2rem;

    p {
        font-size: 1.2em;
        line-height: 1.5em;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.4em;
        margin-bottom: 1rem;
    }
}

.material-input-div,
.procesos-input-div,
.sin-procesos {
    border: 2px solid var(--background);
    background-color: #fff;
    border-radius: 6px;
    padding: 0 1rem;
}

/* input[name="nombre"] {
} */

.titulo-metodos-de-pago {
    background-color: var(--blanco);
    padding: 2rem;
    display: none;
}

.titulo-metodos-de-pago h3 {
    color: var(--feature);
}

.titulo-metodos-de-pago h4 {
    color: var(--feature);
    font-size: 1.2em;
    text-align: center;
}

.titulo-metodos-de-pago h4 span {
    font-size: 1.3em;
    color: var(--azul);
}

.metodos-de-pago {
    padding: 2rem;
    display: none;
}

.metodos-de-pago h4 {
    text-transform: uppercase;
    text-align: center;
    color: var(--feature);
}

.datos-transferencia {
    margin-top: 2rem;
    display: none;
}

.email-stripe {
    display: none;
}

.pago-stripe,
.pago-deposito {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 2rem;
    margin: 2rem;
    transition: box-shadow .5s;
}

.pago-stripe:hover,
.pago-deposito:hover {
    box-shadow: 10px 10px 14px rgba(0, 0, 0, 0.2);
}

.pago-deposito img {
    margin: 0 auto;
}

.instrucciones-deposito {
    color: var(--azul);
}

.btn-deposito {
    height: 36px;
    background: var(--verde);
    color: var(--blanco);
    width: 100%;
    font-size: 1rem;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.6;
    border-radius: 25px;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.acceso-individual-info {
    padding: 2rem;
    color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;

    ul {
        list-style-type: disc;
        color: var(--blanco);
        padding-inline-start: 1rem;
        margin-bottom: 2rem;
    }

    p  {
        color: var(--blanco);
        font-size: 1.2em;
        margin-bottom: 1rem;
    }
}


/*

    Pagos con Stripe
*/

/*
    Botón de pago STRIPE
*/
.stripe-button {
    padding: 1rem;
    border: 1px solid var(--blanco);
    border-radius: 6px;
    width: 100%;
    text-align: center;
}

.stripe-button form {
    width: 100%;
    align-self: center;
    /* box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
      0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    */
    border-radius: 5px;
    padding: 1rem .5rem;
    background-color: rgba(85, 108, 214, 0.1);
}

.stripe-button form input,
.stripe-button input,
.ElementsApp .InputElement {
    border-radius: 6px;
    margin-bottom: 6px;
    padding: 12px;
    border: 1px solid #1a1a1a !important;
    height: 44px;
    font-size: 1em;
    width: 100%;
    background: white;
    margin: 0 0 1rem 0;
}

.stripe-button input:focus,
.stripe-button input:active {
    background-color: var(--blanco);
}

.input-email-stripe {
    color: transparent !important;
    background-color: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: .8rem !important;
}

.checkout-button {
    height: 36px;
    background: #556cd6;
    color: var(--blanco);
    width: 100%;
    font-size: 14px;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.6;
    border-radius: 25px;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    margin-top: 1rem;
}

.checkout-button span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-button:hover {
    filter: contrast(115%);
}

.checkout-button:disabled {
    opacity: 0.5;
    cursor: default;
}

#payment-request-button {
    margin-bottom: 32px;
}

.result-message {
    line-height: 22px;
    font-size: 16px;
}

.hidden {
    display: none;
}

#card-error {
    color: rgb(105, 115, 134);
    text-align: left;
    font-size: 13px;
    line-height: 17px;
    margin-top: 12px;
}

/* spinner/processing state, errors */
.spinner,
.spinner:before,
.spinner:after {
    border-radius: 50%;
}

.spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.spinner:before,
.spinner:after {
    position: absolute;
    content: "";
}

.spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}

.spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}



footer {
    width: 100%;
    min-height: 50dvh;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    background: center / cover no-repeat linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url(../images/footer.png);
}

#contacto {
    color: var(--blanco);
}

#contacto h4 {
    width: fit-content;
    border-bottom: 2px solid #fff;
    margin-bottom: 2rem;
}

#contacto a {
    color: var(--blanco);
}

#contacto a:hover {
    color: var(--gris);
}

.quienes-somos {
    margin: 4rem;
    margin-bottom: 0;
    padding: 2rem;
    border: 1px solid #000;
}

.quienes-somos p {
    font-size: 1.2em;
    line-height: 1.5;
    padding-bottom: 1rem;
}

.img-mision-vision {
    display: flex;
    align-items: center;
}

.img-mision-vision h2 {
    padding-bottom: 0;
    padding-left: 1rem;
}

.img-mision-vision img {
    height: 48px;
}

.txt-mision-vision {
    padding: 2rem;
}

.txt-mision-vision p {
    padding: .5rem 0;
}

.valores {
    display: flex;
    flex-direction: column;
}

.timeline {
    margin: 1em auto;
    max-width: 34.15em;
}

.checkpoint {
    position: relative;
    max-width: 34em;
    padding-top: 2em;
    padding-bottom: 2em;
}

.checkpoint h4 {
    color: #d9d9d9;
    position: absolute;
    font-size: 3em;
    z-index: -1;
}

.checkpoint-content {
    border: 2px solid #d9d9d9;
    border-radius: 1em;
    padding: 1.5em;
}

.checkpoint-content p {
    line-height: 27px;
    color: #666;
}

.checkpoint:nth-child(odd) {
    border-left: 3px solid #888;
    padding-left: 3em;
    transform: translateX(17em);
}

.checkpoint:nth-child(even) {
    border-right: 3px solid #888;
    padding-right: 3em;
    transform: translateX(-16.8em);
}

.checkpoint:nth-child(odd)::before,
.checkpoint:nth-child(even)::before {
    content: '';
    background: #888;
    width: 3em;
    height: 3px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.checkpoint:nth-child(even)::before {
    left: auto;
    right: 0;
}

.checkpoint:nth-child(odd) .checkpoint-content::before,
.checkpoint:nth-child(even) .checkpoint-content::before {
    content: '';
    background-color: #000;
    box-shadow: 0 0 0.5em #000;
    width: 0.8em;
    height: 0.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: -1;
}

.checkpoint:nth-child(odd) .checkpoint-content::before {
    left: -0.5em;
}

.checkpoint:nth-child(even) .checkpoint-content::before {
    right: -0.5em;
}

.quien-text,
.quien-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quien-text {
    flex-direction: column;
    background: var(--blanco);
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    margin: 2rem;
    padding: 2rem;
}

.mesa-directiva h3 {
    color: var(--azul);
    text-transform: uppercase;
    font-size: 1.2em;
}

.mesa-directiva a {
    color: #808080;
}

.mesa-directiva a:hover {
    color: #1d3956;
}

.certificaciones div {
    padding: 1rem;
}

.como-certicarte p {
    padding-bottom: 1rem;
}

.como-certicarte p span {
    color: var(--verde);
}

.quien-text::after,
.quien-text::before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid var(--blanco);
}

.quien-text::after {
    top: -1px;
    left: -1px;
    border-top: 5px solid var(--feature);
    border-left: 5px solid var(--feature);
}

.quien-text::before {
    bottom: -1px;
    right: -1px;
    border-bottom: 5px solid var(--feature);
    border-right: 5px solid var(--feature);
}

.quien-text p {
    color: var(--gris);
    font-size: 1.2em;
}


.card-beneficios {
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-beneficios img {
    width: fit-content;
    max-height: 75px;
    margin-bottom: 2rem;
}

.card-beneficios p {
    text-align: center;
}

.div-btn-center {
    padding-top: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.mensaje-de-gracias {
    display: none;
    color: var(--feature);
    background-color: var(--blanco);
    padding: 2rem;
    margin-bottom: 4rem;
}


.aviso-de-privacidad-content p {
    margin-bottom: 1rem;
}


/*
    BLOG

*/

.blog {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.blog-card {
    position: relative;
    max-width: 320px;
    height: 600px;
    border: 1px solid #ABBDD4;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .5s ease;
}

.blog-card:hover {
    box-shadow: 10px 10px 18px rgb(136, 136, 136, 0.6);
}

.blog-card img {
    height: 300px;
    object-fit: cover;
}

.blog-card-text {
    position: absolute;
    top: 316px;
}

.blog-card p,
.blog-texto p {
    display: flex;
}

.blog-card .calendar,
.blog-texto .calendar {
    min-height: 24px;
    max-height: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-right: 1rem;
}

.blog-card h3 {
    padding: 1rem 2rem;
    align-items: flex-start;
}

.blog-card p {
    padding: 0 2rem;
    line-height: 24px;
}

.blog-btn {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
}

.blog-btn a {
    cursor: pointer;
    color: var(--feature);
    background-color: transparent;
    border: none;
    letter-spacing: 2px;
    transition: color .3s;
}

.blog-btn a:hover {
    color: var(--azul);
}

/* para la pagina de blog */
.blog-content {
    padding: 0 4rem;
    margin-top: 2rem;
}
.blog-content h1 {
    margin-bottom: 1rem;
}

.blog-content img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.blog-texto {
    padding: 0 2rem;
}

.share-blog {
    display: flex;
    background-color: var(--feature);
    padding: 1rem 1rem 0rem 1rem;
    border-radius: 6px;
}

.social-links img {
    display: inline-block;
    max-height: 28px;
    margin-right: 1rem;
}


/*
    Eventos
*/
.evento-card {
    position: relative;
    max-width: 320px;
    height: 500px;
    border: 1px solid #ABBDD4;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .5s ease;
}

.evento-card:hover {
    box-shadow: 10px 10px 18px rgb(136, 136, 136, 0.6);
}

.evento-card-titulo {
    height: 85px;
    margin-bottom: 1rem;
}

.card-img {
    height: 168px;
}

.card-img img {
    width: 100%;
    max-height: 168px;
    object-fit: cover;
}

.evento-card-text {
    padding: 1rem;
}

.evento-card p,
.evento-texto p {
    display: flex;
}

.evento-card .calendar,
.evento-texto .calendar {
    min-height: 24px;
    max-height: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-right: 10px;
}

.evento-btn {
    position: absolute;
    bottom: 1rem;
    right: 0;
}

/*
    Para el detalle del Evento
*/

#evento h1 {
    font-size: 2em;
    text-transform: uppercase;
}

.evento-content {
    padding: 4rem;
}

.evento-form {
    padding: 2rem;
}

.evento-form input {
    color: var(--feature);
    font: inherit;
    font-size: 1em;
    padding: .5rem;
    margin-bottom: 1rem;
    width: 100%;
    border: 2px solid var(--background);
    border-radius: .5rem;
}

.cantidad-boletos input {
    color: var(--feature);
    font: inherit;
    font-size: 1em;
    padding: .5rem;
    margin-bottom: 1rem;
    width: 25%;
    border: 2px solid var(--background);
    border-radius: .5rem;
}

.evento-text {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 2rem;

}

.boleto-content {
    background-color: #ccc;
    padding: 2rem;
}

.boleto-evento {
    background-color: #fff;
    border-radius: 6px;
}

.boleto-evento  img {
    border-radius: 6px 6px 0 0;
}

.fecha-evento {
    display: flex;
}

.fecha-evento .calendar {
    min-height: 24px;
    max-height: 24px;
    width: 24px;
    height: 24px;
    padding: 0;
    margin-right: 1rem;
}

.fecha-precio {
    margin: 2rem;
    display: grid;
    grid-template-columns: 70% 30%;
}

.rip {
    height: 20px;
    margin: 0 10px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAACCAYAAAB7Xa1eAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuOWwzfk4AAAAaSURBVBhXY5g7f97/2XPn/AcCBmSMQ+I/AwB2eyNBlrqzUQAAAABJRU5ErkJggg==);
    background-size: 4px 2px;
    background-repeat: repeat-x;
    background-position: center;
    position: relative;
    box-shadow: 0 1px 0 0 #fff, 0 -1px 0 0 #fff;
}

.rip:before, .rip:after {
    content: "";
    background-color: #ccc;
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 5px solid transparent;
    border-top-color: #ccc;
    border-right-color: #ccc;
    border-radius: 100%;
    pointer-events: none;
}
.rip:before {
    left: -10px;
}
.rip:after {
    transform: translate(-50%, -50%) rotate(225deg);
    right: -40px;
}

.buy {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: var(--azul);
    color: var(--blanco);
    width: 100%;
    font-size: 1rem;
    border: 0;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.6;
    border-radius: 25px;
    transition: all 0.2s ease;
    box-shadow: 5px 5px 6px 0px rgba(0, 0, 0, 0.2);
}

.code-buy {
    display: flex;
    align-items: center;
    padding: 0 2rem 2rem 2rem
}

.code-buy img {
    max-height: 48px;
}

/*

    Adaptación a dispositivos moviles
*/
@media (max-width: 768px) {

    .top-nav {
        background: rgb(51, 102, 153);
        background: linear-gradient(90deg, rgba(51, 102, 153, 1) 35%, rgba(29, 57, 86, 0.8) 100%);
    }

    .top-links {
        width: 100%;
        right: 0rem;
        justify-content: space-evenly;
    }

    nav {
        padding: .5rem 1rem;
    }

    .hero {
        position: relative;
        display: grid;
        width: 100%;
        min-height: 150dvh;
        background-color: var(--azul);
        z-index: 1;
    }

    .hero .text-hero,
    .hero .registro-form {
        width: 100%;
        z-index: 10;
    }

    .text-hero {
        padding: 2rem;
    }

    .registro-form {
        padding: 0rem 2rem;
    }

    .text-hero h1 span {
        color: var(--background);
    }

    section {
        padding: 2rem 1rem;
    }

    .quien-logo {
        padding: 2rem;
    }

    main {
        padding-top: 2rem;
    }

    .registro-form input[type="text"],
    .registro-form input[type="tel"],
    .registro-form input[type="email"] {
        width: 100%;
        background: rgba(28, 58, 89, 0.3);
    }

    .timeline {
        width: 90dvw;
    }

    .timeline .checkpoint {
        width: 100%;
        transform: none;
        padding-left: 0;
        padding-right: 0;
        border: none;
    }

    .timeline .checkpoint::before {
        width: 3px;
        height: 4em;
        top: -2em;
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline .checkpoint .checkpoint-content::before {
        top: -0.5em;
        left: 50%;
        transform: translateX(-50%);
    }

}


/* 
    Estilos para la Evaluación de Competencias Técnicas
*/

.evaluacion-section {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 2rem;
}

.instrucciones {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 6px;
    margin: 2rem 0;
    border: 1px solid var(--background);
    /* border-left: 5px solid var(--azul); */
    box-shadow: 8px 8px 10px rgba(0,0,0,0.3);
}

.instrucciones h2 {
    color: var(--azul);
    margin-bottom: 1rem;
}

.instrucciones ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.instrucciones li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Header de la evaluación */
.evaluacion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--blanco);
    padding: 1.5rem;
    /* border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
    margin-bottom: 2rem;
}

.progreso-container {
    flex: 1;
    margin-right: 2rem;
}

.progreso-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--azul);
    margin-bottom: 0.5rem;
}

.progreso-bar {
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

#progreso-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--azul), var(--verde));
    transition: width 0.3s ease;
}

.timer-container {
    text-align: center;
}

#timer {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--azul);
    margin-bottom: 0.5rem;
    min-width: 80px;
}

#timer.timer-critico {
    color: var(--rojo);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.timer-bar {
    width: 80px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

#timer-fill {
    height: 100%;
    background: var(--verde);
    transition: width 1s linear;
}

#timer-fill.timer-critico {
    background: var(--rojo);
}

/* Container de pregunta */
.pregunta-container {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.modulo-info {
    background: var(--naranja) !important;
    color: var(--blanco);
    padding: 0.8rem 1.5rem;
    display: inline-block;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pregunta h2 {
    color: #161a1d;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f0f2f4;
    letter-spacing: initial !important;
}

.pregunta-imagen {
    display: none;
    margin-bottom: 1.5rem;
}

/* Opciones de respuesta */
.opciones {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.opcion {
    background: var(--blanco);
    border: 2px solid var(--background);
    padding: .75rem 1rem;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.opcion:hover {
    border-color: var(--azul);
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(51, 102, 153, 0.3);
}

.opcion.seleccionada {
    background: var(--azul);
    color: var(--blanco);
    border-color: var(--background);
    font-weight: 600;
}

/* Resultados */
.resultados-container {
    max-width: 800px;
    margin: 0 auto;
}

.resultado-general {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    text-align: center;
    margin-bottom: 2rem;
}

.resultado-general h2 {
    color: var(--azul);
    letter-spacing: initial;
    margin-bottom: 1rem;
}

.porcentaje {
    font-size: 4rem;
    font-weight: bold;
    color: var(--verde);
    margin: 1rem 0;
}

.detalles {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.detalles p {
    font-size: 1.1rem;
    color: var(--gris);
}

.detalles span {
    font-weight: bold;
    color: var(--negro);
}

.resultados-por-modulo,
.resultados-info {
    background: var(--blanco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    margin-bottom: 2rem;
}

.resultados-por-modulo h3 {
    color: var(--azul);
    margin-bottom: 1.5rem;
    text-align: center;
}

.resultado-modulo {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--naranja);
}

.resultado-modulo h4 {
    color: var(--negro);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.resultado-modulo p {
    color: var(--gris);
    font-weight: 600;
}

/* Botones */
.cta-btn, .btn-orange {
    background: var(--naranja);
    color: var(--blanco);
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover, .btn-orange:hover {
    background: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.3);
}


/* Portal de Empresas */
.menu-empresas {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 4rem;
}

.menu-empresas ul {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.menu-empresas button {
    background: none;
    color: var(--azul);
    padding: .75rem 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    display: inline-block;
}
.menu-empresas button:hover {
    color: var(--verde);
    border-bottom: 2px solid var(--verde);
}
.menu-empresas ul li a {
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    padding: .75rem 1rem;
    transition: all 0.5s;
}
.menu-empresas ul li a:hover {
    color: var(--verde);
    border-bottom: 2px solid var(--verde);
}




/* 
    Responsive
*/
@media (max-width: 768px) {
    .evaluacion-section {
        padding: 1rem;
    }
    
    .evaluacion-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progreso-container {
        margin-right: 0;
        width: 100%;
    }
    
    #timer {
        font-size: 2rem;
    }
    
    .pregunta h2 {
        font-size: 1.2rem;
    }
    
    .opcion {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .detalles {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .porcentaje {
        font-size: 3rem;
    }
}

/* Estilos para impresión */
@media print {
    .evaluacion-header,
    .cta-btn,
    .btn-orange {
        display: none !important;
    }
    
    .resultados-container {
        max-width: none;
    }
    
    .resultado-general,
    .resultados-por-modulo {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.evaluacion-section {
    animation: fadeIn 0.5s ease-out;
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--azul);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}