/* css/style.css */

/* ========================================================= */
/* VARIABLES CSS y ESTILOS GENERALES                         */
/* ========================================================= */
:root {
    --start-blue-dark: #260088;
    --start-blue-accent: #003366;
    --start-magenta: #FF0080;
    --light-gray-background: #f5f5f5;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray-background);
    color: var(--text-color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================================= */
/* ESTILOS DEL ENCABEZADO (HEADER)                           */
/* ========================================================= */
.main-header {
    width: 100%;
    background-image: linear-gradient(90deg, #260088 0%, #FF0080 100%);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
}
.main-header.scrolled {
    padding: 10px 0;
}
.header-content {
    max-width: 980px;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    position: relative; /* Agregado para posicionar el menú de hamburguesa */
}
.main-header img {
    max-width: 180px;
    height: auto;
    display: block;
    flex-shrink: 0;
    transition: max-width 0.3s ease;
}
.main-header img.scrolled {
    max-width: 120px;
}
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
.main-nav a {
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: 700;
    font-size: 1em;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--start-magenta);
}

/* Estilos para el botón del menú de hamburguesa */
.menu-toggle {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Asegura que esté por encima de la navegación */
}
.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color-light);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* Estilos para la animación del ícono de hamburguesa */
.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================================= */
/* ESTILOS DE LA SECCIÓN HERO                                */
/* ========================================================= */
.main-content {
    width: 100%;
    flex-grow: 1;
    margin-top: 135px;
}
.hero-section {
    background-color: var(--light-gray-background);
    color: var(--text-color-dark);
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.hero-content {
    max-width: 700px;
    color: var(--start-blue-accent);
    width: 100%;
}
.hero-title {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.2;
    color: rgb(38, 0, 136);
}
.hero-title .accent {
    color: var(--start-magenta);
}
.hero-subtitle {
    font-size: 1.2em;
    margin-top: 20px;
    text-align: justify;
    color: var(--start-blue-accent);
}
.hero-subtitle-highlighted {
    color: rgb(229, 0, 129);
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 20px;
}
.hero-image img {
    max-width: 400px;
}
.cta-button-hero a {
    display: inline-block;
    background-color: var(--start-magenta);
    color: var(--text-color-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cta-button-hero a:hover {
    background-color: #c00067;
    transform: translateY(-2px);
}

/* ========================================================= */
/* ESTILOS DE LA SECCIÓN DE SERVICIOS                        */
/* ========================================================= */
.services-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--light-gray-background);
    background-image: linear-gradient(to bottom, rgba(0, 51, 102, 0.05), rgba(245, 245, 245, 1) 200px);
    padding-top: 150px;
}
.services-header h2 {
    font-size: 2.5em;
    color: var(--start-blue-accent);
    margin-bottom: 50px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.service-item {
    background-color: var(--start-text-light);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.service-item img {
    max-width: 80px;
    margin-bottom: 10px;
}
.service-item h3 {
    color: var(--start-blue-accent);
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
}
.service-divider {
    display: block;
    width: 100%;
    height: 2px;
    border-bottom: 2px dashed var(--start-magenta);
    margin: 15px auto;
}
.service-item p {
    font-size: 1em;
    text-align: justify;
}
.services-button-container {
    max-width: 1200px;
    margin: 30px auto 80px;
    text-align: left;
}
.contact-button {
    display: inline-block;
    background-color: var(--start-magenta);
    color: var(--text-color-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-button:hover {
    background-color: #c00067;
    transform: translateY(-2px);
}

/* ========================================================= */
/* ESTILOS DE LA SECCIÓN POR QUÉ ELEGIRNOS                   */
/* ========================================================= */
.reasons-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.reasons-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Graficos/empty-room-with-chairs-desks.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 1;
}
.reasons-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 128, 0.85);
    z-index: 2;
}
.reasons-content-overlay {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 90%;
    color: var(--text-color-light);
    padding: 80px 0;
}
.reasons-title {
    font-size: 3.5em;
    font-weight: 800;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 50px;
    color: var(--text-color-light);
}
.reasons-item-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 30px; 
}
.reason-number {
    position: relative;
    font-size: 3em;
    font-weight: 900;
    color: #4d07f1;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    opacity: 0.8;
}
.reason-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 2px;
    height: 100%;
    background-color: currentColor;
    margin-left: 10px;
}
.reason-text-content h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 10px;
}
.reason-text-content p {
    font-size: 1em;
    line-height: 1.6;
}

/* ========================================================= */
/* ESTILOS DE LA SECCIÓN ¡TE ESTAMOS BUSCANDO!               */
/* ========================================================= */
.hiring-section {
    background-color: var(--light-gray-background);
    color: var(--start-blue-dark);
    padding: 80px 20px;
    text-align: center;
}
.hiring-title {
    font-size: 3em;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: left;
    color: var(--start-blue-dark);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.hiring-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.hiring-intro-column-left,
.hiring-intro-column-right {
    flex-basis: 33%;
    text-align: justify;
}
.hiring-intro-column-center {
    flex-basis: 33%;
    display: flex;
    justify-content: center;
}
.hiring-intro-p {
    font-size: 1.4em;
    font-weight: bold;
    line-height: 1.6;
    margin: 0;
    color: var(--start-blue-dark);
}
.hiring-intro-logo {
    width: 120px;
    height: auto;
}
.hiring-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto 0;
    text-align: left;
}
.hiring-value-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.hiring-value-icon {
    width: 20px;
    height: auto;
    margin-top: 5px;
    flex-shrink: 0;
}
.hiring-value-text h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--start-magenta);
    margin: 0 0 5px;
}
.hiring-value-text p {
    font-size: 1em;
    line-height: 1.5;
    margin: 0;
    color: var(--start-blue-dark);
}
.hiring-cta-container {
    max-width: 800px;
    margin: 80px auto 0;
}
.hiring-cta-container p {
    font-size: 2em;
    font-weight: 800;
    color: var(--start-blue-dark);
    line-height: 1.2;
    text-align: center;
}
.cta-percentage {
    font-size: 1.5em;
    color: var(--start-magenta);
    font-weight: 800;
}
.cta-button {
    text-align: center;
    margin-top: 40px;
}
.hiring-button {
    display: inline-block;
    background-color: var(--start-magenta);
    color: var(--text-color-light);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.hiring-button:hover {
    transform: translateY(-2px);
    background-color: #c00067;
}

/* ========================================================= */
/* ESTILOS DE LAS PÁGINAS DE FORMULARIO                      */
/* ========================================================= */
.contact-section, .application-section {
    padding: 80px 20px;
    background-color: var(--light-gray-background);
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-form-container, .application-form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}
.contact-form-container h2, .application-form-container h2 {
    font-size: 2.5em;
    color: var(--start-blue-accent);
    text-align: center;
    margin-bottom: 20px;
}
.contact-intro, .application-intro {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}
.contact-form label, .application-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color-dark);
}
.contact-form input, .contact-form textarea,
.application-form input, .application-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--start-blue-dark), var(--start-magenta));
    color: var(--text-color-light);
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ========================================================= */
/* ESTILOS DEL PIE DE PÁGINA (FOOTER)                        */
/* ========================================================= */
.main-footer {
    width: 100%;
    background-image: linear-gradient(90deg, var(--start-blue-dark) 0%, var(--start-magenta) 100%);
    color: var(--text-color-light);
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}
.footer-content {
    max-width: 980px;
    width: 90%;
    margin: 0 auto;
}
.main-footer p {
    margin: 5px 0;
}
.footer-link {
    color: var(--text-color-light);
    text-decoration: underline;
}

/* ========================================================= */
/* ESTILOS RESPONSIVOS (MEDIA QUERIES)                       */
/* ========================================================= */
@media (max-width: 768px) {
    /* Muestra el botón de hamburguesa y oculta el menú normal */
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%; /* Posiciona el menú debajo del header */
        left: 0;
        width: 100%;
        background-image: linear-gradient(90deg, var(--start-blue-dark) 0%, var(--start-magenta) 100%);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        text-align: center;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
        z-index: 999;
    }
    
    .main-nav.menu-open {
        display: block; /* Muestra el menú cuando tiene la clase .menu-open */
        max-height: 300px; /* Altura máxima para la animación de despliegue */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0; /* Elimina el espacio entre los elementos en el menú vertical */
    }
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-nav a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1em;
    }

    /* Ajustes generales para móvil */
    .header-content {
        flex-wrap: nowrap;
    }
    .main-header {
        padding: 10px 0;
    }
    .main-header img {
        max-width: 120px;
    }
    .main-content {
        margin-top: 90px;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-content, .hero-image {
        width: 100%;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .reasons-title {
        font-size: 2.5em;
    }
    .reason-item-container {
        grid-template-columns: 1fr;
    }
    .reason-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .reason-number {
        font-size: 2em;
    }
    .hiring-intro-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hiring-intro-column-left,
    .hiring-intro-column-right {
        text-align: center;
    }
    .hiring-intro-logo {
        margin: 20px 0;
    }
    .hiring-values-grid {
        grid-template-columns: 1fr;
    }
    .hiring-value-item {
        text-align: left;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    .hero-image img {
        max-width: 100%;
        margin-top: 20px;
    }
}

/* ========================================================= */
/* ESTILOS DE LA SECCIÓN DE VERIFICACIÓN                     */
/* ========================================================= */
.verification-section {
    padding: 80px 20px;
    background-color: var(--light-gray-background);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.verification-container {
    max-width: 700px;
    width: 100%;
}

.verification-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.verification-icon {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.verification-status {
    font-size: 2.5em;
    color: var(--start-blue-accent);
    margin-bottom: 10px;
}

.verification-text {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.verification-details {
    text-align: left;
    margin-top: 30px;
    border-top: 2px dashed #ccc;
    padding-top: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.detail-label {
    font-weight: bold;
    color: var(--start-blue-dark);
}

.detail-value {
    color: #555;
    word-break: break-all;
}

.detail-link {
    color: var(--start-magenta);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: var(--start-blue-dark);
}