/* Reset básico y variables CSS */
:root {
    --primary-blue: #051d3b;
    --secondary-blue: #192f52;
    --accent-green: #34a853;
    --accent-red: #ea4335;
    --accent-yellow: #fbbc04;
    --accent-orange: #ff9800;
    --light-gray: #f8f9fa;
    --medium-gray: #e8eaed;
    --white: #ffffff;
    --dark-gray: #5f6368;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --shadow-light: rgba(5, 29, 59, 0.08);
    --shadow-medium: rgba(5, 29, 59, 0.12);
    --gradient-primary: #051d3b;
    --gradient-secondary: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
    --gradient-accent: #051d3b;
    --gradient-warm: linear-gradient(135deg, #fbbc04 0%, #ff9800 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', Open Sans;
    background: var(--gradient-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.7s;
}

.scroll-animate-wrapper {
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

/* Header mejorado */
header {
    background: #051d3b;
    color: var(--white);
    padding: 8px;
    box-shadow: 0 4px 20px var(--shadow-medium);
    position: relative;
    z-index: 90;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.logo-area {
    display: flex;
    align-items: left;
    gap: 30px;
}

.logo-container {
    background: transparent;
    border-radius: 12px;
    padding: 6px;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
}

.logo-container:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.logo {
    width: 120px;
    height: 80px;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.company-info h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    opacity: 1;
}

/* Navegación mejorada */
nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent-yellow);
    background: rgba(251, 188, 4, 0.15);
    transform: translateY(-1px);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-warm);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav a:hover::after {
    width: 80%;
}

/* Carousel mejorado */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-medium);
    background: var(--white);
    z-index: 1;
    margin: 20px auto;
    max-width: 1400px;
    border: 1px solid rgba(5, 29, 59, 0.1);
}

.carousel-images {
    display: flex;
    width: 300%;
    height: 550px;
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    width: 33.333%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Indicadores del carrusel */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--accent-yellow);
    transform: scale(1.2);
}

/* Botones de navegación */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(5, 29, 59, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(5, 29, 59, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

@media (max-width: 900px) {
    .carousel {
        height: 250px;
        margin: 15px auto;
        max-width: 95%;
    }
    
    .carousel-images img {
        height: 250px;
    }
}





@media (max-width: 900px) {
    .carousel-images img, .carousel {
        height: 250px;
    }
    
    .carousel-images img {
        object-fit: contain;
        background: var(--light-gray);
    }
}

/* Secciones principales */
.section {
    padding: 80px 0 60px 0;
    background: var(--white);
    margin-bottom: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-light);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #051d3b;
}

.section:hover {
    box-shadow: 0 8px 32px var(--shadow-medium);
    transform: translateY(-2px);
    border: 1px solid #051d3b;
}

.section-flex {
    display: flex;
    align-items: center;
    gap: 48px;
}

.section-flex.reverse {
    flex-direction: row-reverse;
}

.section-img {
    flex: 0 0 300px;
    max-width: 350px;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-img img {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-medium);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-img img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

@media (max-width: 900px) {
    .section-flex {
        flex-direction: column !important;
        gap: 24px;
    }
    .section-img {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .section-img img {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Títulos y contenido */
.section h2 {
    color: #051d3b;
    margin-bottom: 24px;
    font-size: 2.2rem;
    font-weight: 700;
    border-left: 6px solid;
    border-image: #051d3b 1;
    padding-left: 20px;
    letter-spacing: -0.5px;
}

.section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Listas mejoradas */
.valores-lista, .servicios-lista, .certifications-list {
    list-style: none;
    padding: 0;
    color: var(--text-secondary);
}

.valores-lista li, .servicios-lista li, .certifications-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    padding: 12px 16px;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid #051d3b;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.valores-lista li:hover, .servicios-lista li:hover, .certifications-list li:hover {
    background: var(--white);
    color: #051d3b;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 6px 20px var(--shadow-medium);
    border-left: 4px solid #051d3b;
}

.valores-lista li::before, .servicios-lista li::before, .certifications-list li::before {
    content: "✈";
    margin-right: 12px;
    color: #051d3b;
    font-size: 1.2rem;
}

/* Footer mejorado */
footer {
     background: #051d3b;
      color: var(--white);
      padding: 48px 0 24px 0;
      margin-top: 48px;
      font-size: 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info > div {
    flex: 1 1 300px;
}

.footer-info h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-info h4 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.contact-list, .certifications-list {
    list-style: none;
    padding: 0;
    color: var(--white);
}

.contact-list li, .certifications-list li {
    margin-bottom: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0 16px 0;
    font-size: 0.95rem;
    color: var(--white);
    opacity: 0.8;
}

/* Barra de progreso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-accent);
    z-index: 1000;
    transition: width 0.1s ease;
    border-radius: 0 0 2px 0;
}

/* Mejoras de accesibilidad */
.keyboard-navigation *:focus {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader::after {
    content: "✈";
    font-size: 4rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* Responsive design mejorado */
@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .logo-area {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .company-info h1 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .section {
        padding: 60px 0 40px 0;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .company-info h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .company-info h1 {
        font-size: 1.2rem;
    }
    
    .section h2 {
        font-size: 1.6rem;
    }
    
    .container {
        width: 98%;
    }
    
    .logo {
        width: 80px;
        height: 60px;
    }
    
    .logo-container {
        padding: 4px;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .carousel {
        height: 200px;
        margin: 10px auto;
    }
    
    .carousel-images img {
        height: 200px;
    }
}
