/* ============================================
   VARIABLES Y RESET
   ============================================ */
:root {
    /* Colores principales - Tema solar/energía */
    --primary-color: #0a1628;
    --primary-light: #112240;
    --secondary-color: #f59e0b;        /* Amarillo solar */
    --secondary-dark: #d97706;
    --accent-color: #10b981;           /* Verde limpio */
    --accent-dark: #059669;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --light-gray: #cbd5e1;
    --white: #ffffff;
    --black: #000000;
    --gradient-solar: linear-gradient(135deg, #f59e0b, #ef4444, #f59e0b);
    --gradient-green: linear-gradient(135deg, #10b981, #059669);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.2);
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 60px;
    font-size: 16px;
    line-height: 1.8;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    font-size: 22px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo h2 i {
    color: var(--secondary-color);
    font-size: 24px;
}

.logo p {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    background: rgba(245, 158, 11, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(245, 158, 11, 0.3);
    color: var(--secondary-color);
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(245, 158, 11, 0.1);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: 
        url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1920&h=1080&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Overlay suave solo para que el texto sea legible */
    background: linear-gradient(
        to bottom,
        rgb(240, 236, 236) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary-color);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.hero h2 {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.hero > .hero-content > p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

/* Estadísticas del Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    animation: fadeIn 1s ease-out 0.8s backwards;
    flex-wrap: wrap;
}

.quote {
    font-style: italic;
    color: var(--text-muted);
    font-size: 15px;
    animation: fadeIn 1s ease-out 1s backwards;
}

.quote span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--black);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(245, 158, 11, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECCIÓN DE SERVICIOS
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-solar);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(245, 158, 11, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 28px;
    color: var(--secondary-color);
}

.service-card:hover .service-icon {
    background: rgba(245, 158, 11, 0.2);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--light-gray);
}

.service-features li i {
    color: var(--accent-color);
    font-size: 11px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 14px;
    color: var(--white);
}

/* ============================================
   SECCIÓN DE EQUIPO
   ============================================ */
.team {
    padding: var(--section-padding);
    background: var(--primary-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(245, 158, 11, 0.2);
}

.team-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    transition: var(--transition);
}

.team-card:hover .team-avatar {
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 19px;
    color: var(--white);
    margin-bottom: 5px;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-card > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.team-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 15px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--secondary-color);
    color: var(--black);
    transform: translateY(-3px);
}

/* ============================================
   GALERÍA / PROYECTOS
   ============================================ */
.gallery {
    padding: var(--section-padding);
    background: var(--primary-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 22px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary-color);
    border-color: rgba(245, 158, 11, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-category {
    display: inline-block;
    background: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    width: fit-content;
}

.overlay h4 {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 5px;
}

.overlay p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   PROCESO DE TRABAJO
   ============================================ */
.process {
    padding: var(--section-padding);
    background: var(--primary-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.process-step:hover {
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.15);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}

.process-step:hover .step-number {
    color: rgba(245, 158, 11, 0.35);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.step-icon i {
    font-size: 20px;
    color: var(--secondary-color);
}

.step-content h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   BENEFICIOS
   ============================================ */
.benefits {
    padding: var(--section-padding);
    background: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.benefit-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: var(--accent-color);
}

.benefit-card h3 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 6px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--primary-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-card {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 18px;
    color: var(--secondary-color);
}

.contact-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--white);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Botón WhatsApp dentro de contacto */
.whatsapp-float {
    display: none; /* Se usa el global en su lugar */
}

/* Formulario */
.contact-form-wrapper {
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 35px;
}

.contact-form-wrapper h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-wrapper h3 i {
    color: var(--secondary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: var(--transition);
    background: var(--primary-color);
    padding: 0 6px;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -9px;
    left: 12px;
    font-size: 11px;
    color: var(--secondary-color);
    font-weight: 600;
}

.form-group select option {
    background: var(--primary-light);
    color: var(--text-color);
    padding: 10px;
}

.form-disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

.form-disclaimer i {
    color: var(--accent-color);
    margin-right: 4px;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP (GLOBAL)
   ============================================ */
.whatsapp-float-global {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float-global:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--white);
    border-right: none;
}

.whatsapp-float-global:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(5, 10, 20, 0.95);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col h3 i {
    color: var(--secondary-color);
}

.footer-col h4 {
    font-size: 16px;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-col > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px !important;
}

.footer-contact li i {
    color: var(--secondary-color);
    width: 18px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-credit a {
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación al hacer scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Navegación móvil */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Grids */
    .services-grid,
    .gallery-grid,
    .process-timeline,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    /* Contacto */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* WhatsApp flotante */
    .whatsapp-float-global {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Proceso */
    .step-number {
        font-size: 36px;
        min-width: 45px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .process-step {
        flex-direction: column;
        gap: 10px;
    }

    .step-number {
        font-size: 28px;
    }
}
/* ============================================
   LOGOS AGROLINEAS
   ============================================ */

/* Logo en la navegación */
.logo-link {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.85;
    transform: scale(1.03);
}

/* Logo grande en el Hero */
.hero-logo {
    width: 400px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 25px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    animation: fadeIn 1s ease-out;
}

/* Logo en el Footer */
.footer-logo {
    height: 200px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(0.9);
}