/* ========================================
   KEYMEX - Estilos Específicos Quiénes Somos
   ======================================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #8b2e24 0%, #a43832 100%);
    color: white;
    padding: 80px 50px;
    text-align: center;
}

.hero-title {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    animation: fadeIn 0.8s ease;
}

.hero-main-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: 2px;
    animation: slideInLeft 0.8s ease;
}

.hero-text {
    max-width: 900px;
    margin: 0 auto 25px;
    font-size: 15px;
    line-height: 1.8;
    animation: fadeIn 1s ease;
}

/* Stats Section */
.stats-section {
    padding: 80px 50px;
    text-align: center;
    background: white;
}

.stats-title {
    font-size: 28px;
    font-weight: 900 !important;
    margin-bottom: 50px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    cursor: pointer;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Difference Section */
.difference-section {
    padding: 80px 50px;
    background: #f8f8f8;
}

.difference-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.difference-title {
    font-size: 28px;
    font-weight: 900 !important;
    margin-bottom: 40px;
    color: #333;
}

.difference-item {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.difference-item:hover {
    transform: translateX(10px);
}

.difference-item-title {
    font-size: 16px;
    font-weight: 900;
    color: #c9302c;
    margin-bottom: 8px;
}

.difference-item-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.difference-illustration {
    border: 2px solid #ddd;
    padding: 30px;
    background: white;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.difference-illustration:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.illustration-caption {
    margin-top: 20px;
    font-size: 13px;
    color: #c9302c;
    font-weight: 600;
    line-height: 1.4;
}

/* Estilo para la imagen en la sección de diferencias */
.difference-image {
    max-width: 100%;
    height: auto;
}

/* Services Section */
.services-section {
    padding: 80px 50px;
    background: white;
    text-align: center;
}

.services-title {
    font-size: 28px;
    font-weight: 900 !important;
    margin-bottom: 60px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.service {
    text-align: center;
    transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service:hover .service-icon {
    transform: rotate(360deg);
}

.service-icon svg {
    width: 100px;
    height: 100px;
    fill: white;
}

.service-icon img {
    width: 170px;
    height: 120px;
    object-fit: contain;
}

.service-title {
    font-size: 18px;
    font-weight: 900 !important;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
}

.service-button {
    background: #c9302c;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.service-button:hover {
    background: #a82824;
    transform: scale(1.05);
}

.service-agro {
    grid-column: 2 / 4;
    margin-top: 40px;
}

/* Team Section */
.team-section {
    padding: 80px 50px;
    background: #f8f8f8;
    text-align: center;
}

.team-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 60px;
    color: #333;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-photo {
    position: relative;
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 20px;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-role {
    font-weight: bold;
}

.team-email {
    color: #c9302c !important; 
}

.team-member:hover .team-photo {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: #c9302c;
}

.team-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.team-role {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.team-email {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.team-button {
    background: #c9302c;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.team-button:hover {
    background: #a82824;
    transform: scale(1.05);
}

.team-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

/* Values Section */
.values-section {
    padding: 80px 50px;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%); */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-column {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.value-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.value-title {
    font-size: 24px;
    font-weight: 700;
    color: #c9302c;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.value-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: left;
}

.value-list {
    list-style: none;
    padding: 0;
}

.value-list li {
    margin-bottom: 15px;
    padding-left: 0;
    transition: transform 0.3s ease;
}

.value-list li:hover {
    transform: translateX(5px);
}

.value-list strong {
    color: #333;
    text-transform: uppercase;
    font-size: 12px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 50px;
    background: #f8f8f8;
}

.copyright {
    font-size: 11px;
    color: #999;
}

.developer-credit {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 15px;
    background: #333;
    color: white;
    border-radius: 20px;
    font-size: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.developer-credit:hover {
    background: #c9302c;
    transform: scale(1.05);
}

/* Estilo para las imágenes del equipo en círculos */
.team-latam img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 10px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .difference-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }

    .service-agro {
        grid-column: 1;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-main-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .hero-text {
        font-size: 14px;
    }
    
    .stats-title {
        font-size: 24px;
    }
    
    .services-title {
        font-size: 24px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-member {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .stats-title,
    .services-title {
        font-size: 20px;
    }
}
