/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales mejorados */
    --primary-color: #1b5e20;
    --primary-light: #2e7d32;
    --primary-dark: #0d4e12;
    --secondary-color: #388e3c;
    --accent-color: #4caf50;
    --accent-light: #66bb6a;
    --accent-bright: #81c784;
    --success-color: #43a047;
    
    /* Colores de texto mejorados */
    --text-primary: #1b5e20;
    --text-secondary: #2e7d32;
    --text-muted: #5d7c5f;
    --text-light: #7a8f7c;
    
    /* Colores de fondo */
    --white: #ffffff;
    --light-bg: #f1f8e9;
    --card-bg: #ffffff;
    --border-light: #c8e6c9;
    
    /* Sombras mejoradas */
    --shadow-sm: 0 2px 8px rgba(27, 94, 32, 0.1);
    --shadow: 0 4px 12px rgba(27, 94, 32, 0.15);
    --shadow-md: 0 6px 20px rgba(27, 94, 32, 0.2);
    --shadow-lg: 0 10px 30px rgba(27, 94, 32, 0.25);
    
    /* Gradientes mejorados */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Tipografía mejorada */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { 
    font-size: 3.5rem; 
    font-weight: 800; 
    letter-spacing: -0.03em;
}

h2 { 
    font-size: 2.5rem; 
    font-weight: 700; 
}

h3 { 
    font-size: 1.75rem; 
    font-weight: 600; 
}

h4 { 
    font-size: 1.25rem; 
    font-weight: 600; 
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

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

/* Franja Superior AEVA - Corregida completamente */
.aeva-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    z-index: 3000; /* Más alto que el header */
    padding: 8px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    animation: slideDownBanner 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    overflow: hidden;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.aeva-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 4s ease-in-out infinite;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.aeva-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.aeva-acronym {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.aeva-letter:nth-child(1) { animation-delay: 0.8s; }
.aeva-letter:nth-child(2) { animation-delay: 0.9s; }
.aeva-letter:nth-child(3) { animation-delay: 1.0s; }
.aeva-letter:nth-child(4) { animation-delay: 1.1s; }

.aeva-letter:hover {
    transform: scale(1.1) translateY(-2px);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.aeva-definition {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.definition-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.definition-word {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transform: translateX(15px);
    animation: wordSlideIn 0.4s ease forwards;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.definition-word.aerial { 
    animation-delay: 1.3s; 
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
}

.definition-word.vital { 
    animation-delay: 1.5s; 
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
}

.definition-connector {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    animation: fadeIn 0.3s ease 1.4s forwards;
    font-style: italic;
}

.definition-subtitle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.5s ease 1.7s forwards;
}

.definition-subtitle i {
    font-size: 0.8rem;
    animation: float 2s ease-in-out infinite;
}

.banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.5s ease 2s forwards;
    backdrop-filter: blur(10px);
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.banner-close i {
    color: var(--white);
    font-size: 0.75rem;
}

.banner-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    width: 0;
    animation: progressBar 8s linear 2s forwards;
}

/* Header - Corregido para evitar solapamiento */
.header {
    position: fixed;
    top: 48px; /* Exactamente debajo de la franja */
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000; /* Menor que la franja */
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}

.header.banner-closed {
    top: 0;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo mejorado */
.nav-logo {
    display: flex;
    align-items: center;
    z-index: 2100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo-img:hover {
    box-shadow: var(--shadow);
}

.logo-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

/* Navegación mejorada */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.hamburger .bar {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section - Estilo Apple Premium */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 130px 20px 60px;
    transition: padding-top 0.3s ease;
}

.hero.banner-closed {
    padding-top: 90px;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(27, 94, 32, 0.7) 0%,
        rgba(46, 125, 50, 0.6) 50%,
        rgba(76, 175, 80, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #81c784, #a5d6a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.scroll-arrow i {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-services {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.service-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.service-tag i {
    color: var(--white);
    font-size: 1rem;
}

.service-tag span {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Botones mejorados */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Animaciones */
@keyframes slideDownBanner {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes letterBounce {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

@keyframes progressBar {
    from { width: 0; }
    to { width: 100%; }
}

/* Secciones generales */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios - Estilo Premium con Imágenes */
.services {
    background: var(--light-bg);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(27, 94, 32, 0.1);
    position: relative;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(27, 94, 32, 0.2);
    border-color: var(--accent-color);
}

.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 94, 32, 0.8) 0%,
        rgba(76, 175, 80, 0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay .service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-overlay .service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 16px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.feature-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-accent);
    border-radius: 16px;
    color: var(--white);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
    color: var(--white);
}

/* Why Choose Section */
.why-choose {
    background: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 94, 32, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.advantage-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* Galería Section */
.gallery {
    background: var(--white);
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-light);
    background: var(--white);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.gallery-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.video-placeholder {
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb {
    text-align: center;
    color: var(--white);
}

.video-thumb i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-thumb h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.video-thumb p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin: 0;
    color: var(--white);
}

/* Team Section */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-image .image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.team-image .image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(27, 94, 32, 0.3);
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.team-info h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.team-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.team-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.team-feature i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
}

/* Video Section */
.video-section {
    background: var(--light-bg);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--gradient-accent);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.video-placeholder p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.video-placeholder small {
    font-size: 1rem;
    opacity: 0.8;
    color: var(--white);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(27, 94, 32, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .aeva-brand {
        gap: 1.2rem;
    }
    
    .definition-line {
        gap: 0.6rem;
    }
    
    .definition-word {
        font-size: 0.95rem;
    }
    
    .about-content,
    .team-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1900;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .aeva-banner {
        padding: 6px 15px;
        min-height: 44px;
    }
    
    .aeva-brand {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .aeva-letter {
        font-size: 1.4rem;
    }
    
    .company-type {
        font-size: 0.8rem;
    }
    
    .definition-word {
        font-size: 0.85rem;
    }
    
    .definition-line {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .definition-subtitle {
        font-size: 0.75rem;
        justify-content: center;
    }
    
    .header {
        top: 44px;
    }
    
    .hero {
        padding: 124px 20px 60px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-services {
        justify-content: center;
        gap: 1rem;
    }
    
    .service-tag {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        aspect-ratio: 16/10;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat {
        flex: 1;
        margin: 0 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .team-image img {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .aeva-banner {
        padding: 5px 10px;
        min-height: 40px;
    }
    
    .aeva-brand {
        gap: 0.8rem;
    }
    
    .aeva-letter {
        font-size: 1.2rem;
    }
    
    .company-type {
        font-size: 0.7rem;
    }
    
    .definition-word {
        font-size: 0.75rem;
    }
    
    .definition-line {
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    
    .definition-subtitle {
        font-size: 0.7rem;
    }
    
    .banner-close {
        width: 22px;
        height: 22px;
        right: 8px;
    }
    
    .banner-close i {
        font-size: 0.65rem;
    }
    
    .header {
        top: 40px;
    }
    
    .hero {
        padding: 120px 15px 40px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .service-tag {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .service-card,
    .advantage-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-image img {
        height: 250px;
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .logo-img {
        width: 38px;
        height: 38px;
    }
    
    .logo-text h2 {
        font-size: 1.2rem;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.advantage-card,
.feature-item,
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }
.advantage-card:nth-child(4) { animation-delay: 0.4s; }

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

/* Utilidades */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* Estado cerrado de la franja */
.aeva-banner.closed {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states mejorados */
.btn:focus,
.nav-link:focus,
.tab-btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Hover states para touch devices */
@media (hover: none) {
    .service-card:hover,
    .advantage-card:hover,
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.6);
    }
}
