/* ==========================================================================
   AS HOLDING - Estilos Finales Definitivos
   Version: 8.0 - Todas las correcciones
   ========================================================================== */

/* ==========================================================================
   1. HERO CAROUSEL - Solo colores con transición automática
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: transparent;
}

.hero-carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Gradientes únicos para cada slide */
.hero-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-slide-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.hero-slide-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Overlay suave para mejor legibilidad */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Paginación del Hero */
.heroSwiper .swiper-pagination {
    position: absolute;
    bottom: 30px;
    z-index: 10;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Ocultar TODAS las flechas de navegación */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

/* ==========================================================================
   2. NUESTRO EQUIPO - Una sola fila profesional RESPONSIVE CORREGIDO
   ========================================================================== */

.team {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 100px 0;
    overflow: visible;
    width: 100%;
}

.team .container {
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.team .section-title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.team .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 60px;
}

/* Contenedor de miembros - CORREGIDO para no cortarse */
.team-members-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 20px 0;
}

/* Para pantallas grandes - mostrar todos sin scroll */
@media (min-width: 1500px) {
    .team-members-row {
        flex-wrap: nowrap;
    }
    
    .team-member {
        flex: 0 1 280px;
        max-width: 280px;
    }
}

/* Para pantallas medianas - permitir scroll horizontal */
@media (max-width: 1499px) {
    .team-members-row {
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    
    .team-member {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    /* Scrollbar estilizada */
    .team-members-row::-webkit-scrollbar {
        height: 8px;
    }

    .team-members-row::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
    }

    .team-members-row::-webkit-scrollbar-thumb {
        background: #00BCD4;
        border-radius: 10px;
    }
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.3);
    border-color: #00BCD4;
}

.team-member-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.1);
}

.team-member-info {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-member-name {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.team-member-role {
    font-size: 14px;
    color: #00BCD4;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    flex-grow: 1;
}

/* Para tablets */
@media (max-width: 768px) {
    .team .container {
        padding: 0 20px;
    }
    
    .team .section-title {
        font-size: 36px;
    }
    
    .team-member {
        flex: 0 0 220px;
        min-width: 220px;
    }
    
    .team-member-image {
        height: 280px;
    }
    
    .team-members-row {
        gap: 20px;
    }
}

/* Para móviles */
@media (max-width: 480px) {
    .team-member {
        flex: 0 0 200px;
        min-width: 200px;
    }
    
    .team-member-image {
        height: 250px;
    }
    
    .team-member-name {
        font-size: 18px;
    }
}

/* ==========================================================================
   3. NUESTRAS EMPRESAS - Diseño Original Mejorado
   ========================================================================== */

.companies {
    background: #f8f9fa;
    padding: 100px 0;
}

.companies .section-title {
    font-size: 48px;
    color: #333;
}

/* Carrusel de empresas - diseño limpio y profesional */
.companies-carousel-auto {
    margin-top: 60px;
    padding: 0 20px;
}

.companies-carousel-auto .swiper-wrapper {
    align-items: stretch;
}

.companies-carousel-auto .company-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.companies-carousel-auto .company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.company-logo {
    width: 160px;
    height: 100px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.company-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.company-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.company-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    width: 100%;
    text-align: left;
}

.company-features li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.company-features i {
    color: #00BCD4;
    font-size: 12px;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #FF6B35;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: #FF8E5E;
    transform: translateX(5px);
}

/* Paginación */
.companies-carousel-auto .swiper-pagination {
    margin-top: 40px;
}

.companies-carousel-auto .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    margin: 0 5px;
}

.companies-carousel-auto .swiper-pagination-bullet-active {
    background: #FF6B35;
    width: 25px;
    border-radius: 5px;
}

/* ==========================================================================
   4. NUESTRA COBERTURA - Limpia y Profesional (sin mapa negro)
   ========================================================================== */

.coverage {
    background: white;
    padding: 100px 0;
}

.coverage .section-title {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 60px;
}

/* Tabla de estadísticas */
.coverage-stats-modern h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.coverage-table {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.coverage-table h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.coverage-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.coverage-row:last-child {
    border-bottom: none;
}

.coverage-row.coverage-total {
    background: linear-gradient(135deg, #00BCD4 0%, #00ACC1 100%);
    color: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.coverage-label {
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coverage-label i {
    color: #00BCD4;
}

.coverage-row.coverage-total .coverage-label {
    color: white;
}

.coverage-value {
    font-size: 18px;
    font-weight: 600;
    color: #FF6B35;
}

.coverage-row.coverage-total .coverage-value {
    color: white;
}

.coverage-details {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.detail-item i {
    color: #00BCD4;
    margin-right: 12px;
    font-size: 20px;
}

/* Mapa de Perú */
.coverage-map-container {
    animation: fadeInRight 1s ease-out;
}

.map-wrapper {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-peru {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.map-legend {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
}

.map-legend h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.map-legend ul {
    list-style: none;
    padding: 0;
}

.map-legend li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 12px;
}

.legend-dot.capital {
    background: #FF6B35;
    box-shadow: 0 2px 5px rgba(255, 107, 53, 0.3);
}

.legend-dot.city {
    background: #00BCD4;
}

/* Responsive para cobertura */
@media (max-width: 992px) {
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .coverage .section-title {
        font-size: 36px;
    }
}

/* ==========================================================================
   5. ANIMACIONES
   ========================================================================== */

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

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

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
/* ==========================================================================
   6. PÁGINA TRABAJA CON NOSOTROS
   ========================================================================== */

.careers {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.careers-header {
    text-align: center;
    margin-bottom: 60px;
}

.careers-header h1 {
    font-size: 48px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.careers-header p {
    font-size: 20px;
    color: #666;
}

.job-listings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-badge {
    background: #00BCD4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-requirements {
    margin-bottom: 25px;
}

.job-requirements h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-requirements li::before {
    content: '✓';
    color: #00BCD4;
    font-weight: bold;
}

.btn-apply {
    background: #FF6B35;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: #FF8E5E;
    transform: translateY(-2px);
}

/* Formulario de aplicación */
.application-form {
    display: none;
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.application-form.active {
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00BCD4;
}

.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: block;
    padding: 12px 20px;
    background: #f0f0f0;
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: #e8e8e8;
    border-color: #00BCD4;
}

.btn-submit {
    background: #00BCD4;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #00ACC1;
    transform: translateY(-2px);
}
/* ==========================================================================
   6. PÁGINA TRABAJA CON NOSOTROS
   ========================================================================== */

.careers {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.careers-header {
    text-align: center;
    margin-bottom: 60px;
}

.careers-header h1 {
    font-size: 48px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.careers-header p {
    font-size: 20px;
    color: #666;
}

.job-listings {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.job-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.job-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-badge {
    background: #00BCD4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.job-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.job-requirements {
    margin-bottom: 25px;
}

.job-requirements h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-requirements li::before {
    content: '✓';
    color: #00BCD4;
    font-weight: bold;
}

.btn-apply {
    background: #FF6B35;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: #FF8E5E;
    transform: translateY(-2px);
}

/* ==========================================================================
   6. ESTILOS ADICIONALES PARA ELEMENTOS PERDIDOS
   ========================================================================== */

/* Ocultar elementos del mapa SVG negro si quedaran */
.peru-map,
.map-container.interactive-map,
.coverage-map svg,
.city-marker,
.city-label,
.peru-outline {
    display: none !important;
}
/* FIX DEFINITIVO FORMULARIO */
.application-form .form-group {
    position: relative;
}

.application-form .form-group label {
    position: static !important;
    display: block !important;
    transform: none !important;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.application-form .form-group input,
.application-form .form-group textarea,
.application-form .form-group select {
    padding: 12px 20px;
    height: auto;
}