/* ========== CONOCENOS PAGE - SIGUIENDO ESTILOS INDEX ========== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main{
    background: #f5f5f5;
}

/* ========== ANIMACIONES GENERALES ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Clases para animaciones con scroll */
[data-scroll] {
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
}

[data-scroll].is-inview {
    opacity: 1;
}

/* ========== EFECTO RIPPLE ========== */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========== EFECTOS DE HOVER MEJORADOS ========== */
.hero-btn,
.nav-cta,
.footer-submit-btn,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

/* ========== HERO SECTION ========== */
.about-hero {
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: url(../assets/image/eo.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.about-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.about-hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.2) 0%, 
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    flex: 1;
}

.about-hero-text {
    max-width: 1000px;
    text-align: center;
}

.about-hero-text h1 {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    color: var(--color-light);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out;
}

.about-hero-text p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--color-light);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.about-hero-text .hero-btn {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    box-shadow: 0 10px 30px rgba(193, 218, 84, 0.4);
    transition: all 0.3s ease;
}

.about-hero-text .hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(193, 218, 84, 0.5);
}

/* Misión Section - Cajas separadas */
.mission-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f5f5;
    max-width: 1700px;
    margin: 0 auto;
}
.m-20{
    margin-top: 60px;
}
.mission-container {
   
    width: 100%;
    position: relative;
}

.mission-indicator {
    position: absolute;
    top: -40px;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mission-indicator-number {
    margin-top: -10px;
    color: var(--color-dark);
}

.mission-indicator-line {
    margin-top: 100px;
    width: 2px;
    height: 50px;
    background: var(--color-dark);
}

.mission-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 80vh;
}

.mission-box {
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.mission-box.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.mission-box:nth-child(1).is-inview {
    transition-delay: 0.1s;
}

.mission-box:nth-child(2).is-inview {
    transition-delay: 0.3s;
}

.mission-box-text {
    margin-top: 200px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.mission-box-text h2 {
    font-size: clamp(2rem, 4vw, 3.9rem);
    font-weight: 100;
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.mission-box-text p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.mission-box-image {
    position: relative;
    min-height: 500px;
}

.mission-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.8s ease;
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 1s ease-out;
}

.mission-box-image img.is-inview {
    opacity: 1;
    transform: scale(1);
}

.mission-box-image:hover img {
    transform: scale(1.05);
}

.mission-footer {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.mission-footer span {
    color: var(--color-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
}

/* Valores Section - Estilo caja3 */
.values-section {
    width: 98%;
    height: 80vh;
    position: relative;
    overflow: hidden;
    background: url(../assets/image/landscape-with-windmills.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 30px;
    margin: 0 auto;
    max-width: 1655px;
}

.values-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.values-split {
    display: flex;
    width: 100%;
    height: 100%;
}

.values-panel {
    width: 50%;
    height: 100%;
    position: relative;
}

.values-panel-left {
    background: transparent;
}

.values-panel-right {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.values-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 600px;
}

.values-content h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 100;
    font-family: var(--font-main);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 35px;
    letter-spacing: -2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.137);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.value-item {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.value-item.is-inview {
    opacity: 1;
    transform: translateX(0);
}

.value-item:nth-child(1).is-inview {
    transition-delay: 0.1s;
}

.value-item:nth-child(2).is-inview {
    transition-delay: 0.3s;
}

.value-item:nth-child(3).is-inview {
    transition-delay: 0.5s;
}

.value-item h3 {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.value-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.values-footer {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.values-footer span {
    width: 1600px;
    max-width: 95vw;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 1px 3px rgb(0, 0, 0);
    border-top: 2px solid rgba(255, 255, 255, 0.745);
    padding-top: 10px;
    display: inline-block;
}

/* Team Section - Mismos estilos que mission */
.team-section {
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f5f5;
    max-width: 1700px;
    margin: 0 auto; 
}

.team-container {
    width: 100%;
    position: relative;
}

.team-indicator {
    position: absolute;
    top: -40px;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.team-indicator-number {
    color: var(--color-dark);
}

.team-indicator-line {
    margin-top: 60px;
    width: 2px;
    height: 50px;
    background: var(--color-dark);
}

.team-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    height: 80vh;
}

.team-box {
    border-radius: 24px;
    overflow: hidden;
}

.team-box-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-box-text h2 {
    font-size: clamp(2rem, 4vw, 3.9rem);
    font-weight: 100;
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.team-box-text > p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 35px;
}

.team-box-image {
    position: relative;
    min-height: 500px;
}

.team-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.8s ease;
    opacity: 1;
    transform: scale(1);
    animation: fadeIn 1s ease-out;
}

.team-box-image img.is-inview {
    opacity: 1;
    transform: scale(1);
}

.team-box-image:hover img {
    transform: scale(1.05);
}

.team-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.team-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: scale(0.9);
}

.team-stat.is-inview {
    opacity: 1;
    transform: scale(1);
}

.team-stat:nth-child(1).is-inview {
    transition-delay: 0.1s;
}

.team-stat:nth-child(2).is-inview {
    transition-delay: 0.2s;
}

.team-stat:nth-child(3).is-inview {
    transition-delay: 0.3s;
}

.team-stat:hover {
    border: 1px solid var(--color-accent);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-stat-number {
    font-family: var(--font-titles);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.team-stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Timeline/History Section */
.history-section {
    padding: 100px 40px;
    background: #fff;
}

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

.history-container h2 {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.history-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--color-accent), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.timeline-item.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(1).is-inview {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2).is-inview {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3).is-inview {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(4).is-inview {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(5).is-inview {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 3;
    text-align: left;
}

.timeline-year {
    grid-column: 2;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e1f887 0%, #c8e84b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titles);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    box-shadow: 0 8px 25px rgba(200, 232, 75, 0.4);
    z-index: 2;
}

.timeline-content h3 {
    font-family: var(--font-titles);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.final-cta-container.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.final-cta-container h2 {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.final-cta-container p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--color-dark);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--color-dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-dark);
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .about-hero {
        height: 70vh;
    }

    .about-hero-content {
        padding: 40px 25px;
    }

    .about-hero-text h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
        margin-bottom: 20px;
    }

    .about-hero-text p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* Ocultar botón del hero en responsive */
    .about-hero-text .hero-btn {
        display: none;
    }

    .mission-split,
    .values-split,
    .team-split {
        flex-direction: column;
    }

    .mission-panel,
    .values-panel,
    .team-panel {
        width: 100%;
        height: 50%;
    }

    .values-split {
        flex-direction: column-reverse;
    }
    
    /* Centrar contenido de valores en responsive */
    .values-panel-right {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .values-content {
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .values-content h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .values-list {
        width: 100%;
    }
    
    /* Ocultar indicadores numéricos en responsive */
    .mission-indicator,
    .values-indicator,
    .team-indicator {
        display: none !important;
    }
    
    /* Sección 01 - Misión: Convertir grid a columna */
    .mission-boxes {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .mission-box {
        width: 100%;
        min-height: auto;
    }
    
    .mission-box-text {
        margin-top: 80px;
        padding: 40px;
        order: 2;
    }
    
    .mission-box-image {
        order: 1;
        min-height: 300px;
    }
    
    /* Sección 03 - Equipo: Convertir grid a columna */
    .team-boxes {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 30px;
    }
    
    .team-box {
        width: 100%;
        min-height: auto;
    }
    
    .team-box-image {
        order: 1;
        min-height: 300px;
    }
    
    .team-box-text {
        order: 2;
        padding: 40px;
    }

    .mission-content,
    .team-content {
        padding: 30px;
    }
    
    /* Asegurar que valores esté centrado en tablets también */
    .values-panel-right {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .values-content {
        padding: 35px 25px;
        text-align: center;
    }

    .mission-indicator,
    .team-indicator {
        top: 20px;
        left: 20px;
    }

    .values-indicator {
        top: 20px;
        right: 20px;
    }

    .team-stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 20px;
    }

    .timeline-year {
        grid-column: 1;
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2;
        text-align: left;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .about-hero {
        height: 60vh;
    }

    .about-hero-content {
        padding: 30px 20px;
    }

    .about-hero-text h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        margin-bottom: 18px;
    }

    .about-hero-text p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .history-section {
        padding: 60px 20px;
    }

    .final-cta-section {
        padding: 60px 20px;
    }
    
    
    /* Asegurar que indicadores estén ocultos en móviles */
    .mission-indicator,
    .values-indicator,
    .team-indicator {
        display: none !important;
    }
    
    /* Valores: centrado perfecto en móviles */
.values-section{
    width: 90%;
}

    .values-panel-right {
        height: 70% !important;
        min-height: 650px;
    }
    
    .values-panel-left {
        height: 30% !important;
    }
    
    .values-content {
        padding: 30px 20px;
    }
    
    .values-content h2 {
        font-size: 3rem;
    }
    
    .value-item h3 {
        font-size: 2rem;
    }
    
    .value-item p {
        font-size: 1.1rem;
    }
    
    /* Ajustes adicionales para móviles pequeños */
    .mission-box-text {
        margin-top: -10px;
        padding: 25px;
    }

    .mission-box-text h2{
        font-size: 3rem;
    }
    
    .mission-box-image {
        min-height: 250px;
    }
    
    .team-box-text {
        padding: 25px;
    }

    .team-box-text h2{
        font-size: 3rem;
    }
    
    .team-box-image {
        min-height: 250px;
    }
    
    .team-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
