/*
 * Template CSS para Secciones de Servicios
 * Utilizado en: Executive Search, Kuali, etc.
 * Versión: 1.0
 */

/* ===== FUENTES ===== */
@font-face {
    font-family: 'Trajan Sans Pro';
    src: url('/wp-content/uploads/2025/12/TrajanPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Trajan Sans Pro';
    src: url('/wp-content/uploads/2025/12/TrajanPro-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* ===== RESET BÁSICO ===== */
* {
    box-sizing: border-box;
}

h1, h2{
    margin-top: 0px;
    margin-bottom: 0px;
}
/* ===== SECCIÓN HERO ===== */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0 150px;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    padding: 0 20px;
}
.hero-logo{
    margin-bottom: 20px;;
}
.hero-logo img {
    width: auto;
    max-width: 161px;
}

.hero-title {
    font-family: 'TrajanPro', serif;
    font-size: 50px;
    font-weight: 600 !important;
    color: #FFFFFF;
    
}

.hero-subtitle {
    font-family: 'Mulish', sans-serif !important;
    font-size: 22px;
    font-weight: 700 !important;
    color: #FFFFFF;
    margin: 10px 0;
}

.hero-description {
    max-width: 50%;
    margin: 10px auto;
}

.hero-description p,
.hero-description h3 {
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.6;
}

.hero-button {
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #CB333B;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1A509D;
    transform: translateY(-2px);
}

/* ===== SECCIÓN VIDEO ===== */
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 0 0 100px;
}

.video-wrapper {
    width: 85%;
    max-width: 1000px;
    margin: -150px auto 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ===== TARJETAS DE ESTADÍSTICAS ===== */
.stats-container {
    display: flex;
    flex-direction: row;
    gap: 35px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 90px auto 0;
    padding: 0 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.08);
    min-width: 250px;
    flex: 1;
}

.stat-number {
    font-family: 'TrajanPro', serif;
    font-size: 50px;
    font-weight: 700;
    color: #1A509D;
    margin-bottom: 0px;
}

.stat-label {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #0D1427;
    text-align: center;
}

/* ===== SECCIÓN SOLUCIONES ===== */
.solutions-section {
    width: 100%;
    background: linear-gradient(172.44deg, #1A509D -34.35%, #0D1427 87.87%);
    padding: 100px 20px;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 60px;
}

.solutions-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solutions-title {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
    color: #FFFFFF;
}

.solutions-image img {
    width: 100%;
    border-radius: 10px;
}

.solutions-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid #FFFFFFB2;
    padding: 30px 0;
}

.solution-item:first-child {
    padding-top: 0;
    padding-bottom: 30px;
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.solution-title {
    font-family: 'TrajanPro', serif;
    font-size: 22px;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
    transition: font-weight 0.3s ease;
}

.solution-item:hover .solution-title {
    font-weight: 600;
}

.solution-icon {
    width: 24px;
    height: 24px;
}

.solution-description {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFFB2;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 0 10px 0;
}

/* ===== SECCIÓN POR QUÉ ELEGIR ===== */
.why-section {
    background-image: url('/wp-content/uploads/2025/12/bg-sectionsoluciones-scaled.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-title {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 600;
    color: #0D1427;
    margin-bottom: 20px;
}

.why-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #0D1427;
    max-width: 65%;
    width: 65%;
    margin: 0 auto;
    text-align: center;
}

.why-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-grow: 1;
    align-self: stretch;
    gap: 45px;
    padding-top: 50px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 30%;
}

.why-grid:first-child {
    justify-content: center;
}

.why-grid:last-child {
    justify-content: flex-start;
}

.why-item {
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.why-center-image {
    background-image: url('/wp-content/themes/hello-elementor/img/web3.png');
    background-size: cover;
    background-position: center center;
    border-radius: 16px;
    min-height: 300px;
    width: 45%;
}

.why-icon {
    margin-bottom: 15px;
}

.why-text {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0D1427;
    line-height: 1.6;
}

.why-text strong {
    font-weight: 700;
}

/* ===== SECCIÓN BENEFICIOS ===== */
.benefits-section {
    background-image: url('/wp-content/uploads/2025/12/section5-scaled.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 20px;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-title {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-align: center;
}

.benefits-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 50px;
}

.benefits-image-wrapper {
    position: relative;
    width: 100%;
}

.benefits-image {
    width: 100%;
    margin: 0 auto;
}

.benefits-image img {
    width: 100%;
    border-radius: 10px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 25px;
    margin-top: -150px;
    padding: 0;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.102);
}

.benefit-number {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 600;
    color: #CB333B;
    line-height: 1;
}

.benefit-text {
    font-family: 'Mulish', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #0D1427;
    line-height: 1.6;
    margin-top: 0px;
}

/* ===== SECCIÓN LÍDERES ===== */
.leaders-section {
    background-image: url('/wp-content/uploads/2025/12/bg-es-2-scaled.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 20px 150px;
}

.leaders-container {
    max-width: 1200px;
    margin: 0 auto;
}

.leaders-title {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 600;
    color: #000;
    margin-bottom: 50px;
    text-align: center;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.leaders-grid-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.leader-card {
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 20px 30px;
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 20, 39, 0) 50%, #0D1427 100%);
    z-index: 1;
}

.leader-card:hover::before {
    background: linear-gradient(180deg, rgba(0, 72, 135, 0.6) 0%, rgba(0, 72, 135, 0.6) 100%);
}

.leader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.leader-icon {
    margin-bottom: 10px;
}

.leader-name {
    font-family: 'TrajanPro', serif;
    font-size: 22px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.leader-position {
    font-family: 'Mulish', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #FFFFFF;
}

/* ===== CTA CARD (dentro de sección líderes) ===== */
.cta-card {
    background-image: url('/wp-content/uploads/2025/12/bg-sec-1.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 80px 50px;
    max-width: 1200px;
    width: 100%;
    margin-top: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.cta-title {
    font-family: 'TrajanPro', serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
    color: #FFFFFF;
    max-width: 80%;
    margin: 0;
}

.cta-description {
    font-family: 'Mulish', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #FFFFFF;
    margin: 0;
}

.cta-button .btn-primary {
    background-color: #CB333B;
    font-family: 'TrajanPro', serif;
    font-weight: 300;
    text-transform: uppercase;
}

.cta-button .btn-primary:hover {
    background-color: #1A509D;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-description {
        max-width: 70%;
    }

    .video-wrapper {
        margin-top: -100px;
    }

    .solutions-container {
        flex-direction: column;
        gap: 40px;
    }

    .why-content {
        flex-direction: column;
    }

    .why-grid {
        width: 100%;
    }

    .why-center-image {
        min-height: 350px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        max-width: 90%;
    }

    .video-wrapper {
        width: 95%;
        margin-top: -80px;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-card {
        min-width: 100%;
    }

    .solution-title {
        font-size: 18px;
    }

    .benefits-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 20px;
    }

    .benefit-card {
        padding: 20px;
    }

    .leaders-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 50px 30px;
    }

    .cta-title {
        font-size: 25px;
        line-height: 35px;
        max-width: 100%;
    }

    .cta-description {
        font-size: 16px;
    }
}
