/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Main Brand Colors */
    --aguilera-gray: #4A5568;
    --aguilera-gray-light: #718096;
    --aguilera-gray-dark: #2D3748;
    
    /* Sub-brand Colors */
    --it-blue: #3182CE;
    --it-blue-light: #63B3ED;
    --marketing-red: #E53E3E;
    --marketing-red-light: #FC8181;
    --ai-green: #38A169;
    --ai-green-light: #68D391;
    --sports-orange: #DD6B20;
    --sports-orange-light: #F6AD55;
    --ev-charging-blue: #00B4D8;
    --ev-charging-blue-light: #90E0EF;
    --cabling-purple: #805AD5;
    --cabling-purple-light: #B794F6;
    --automation-teal: #319795;
    --automation-teal-light: #4FD1C7;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #1A202C;
    --gray-50: #F7FAFC;
    --gray-100: #EDF2F7;
    --gray-200: #E2E8F0;
    --gray-800: #2D3748;
    --gray-900: #1A202C;
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Better anchor scrolling with fixed header */
section { scroll-margin-top: 80px; }

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hidden state for header on scroll down */
.header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: var(--aguilera-gray);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-text {
    color: var(--aguilera-gray);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo-icon {
    font-size: 1.8rem;
    color: var(--aguilera-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--aguilera-gray);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    min-width: 44px; /* Mejor área táctil */
    min-height: 44px; /* Mejor área táctil */
    padding: 8px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--aguilera-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.5rem);
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    font-weight: 400;
}



.hero-description {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.3);
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.4);
}



/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--aguilera-gray-light);
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: all 0.3s ease;
}

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

/* Service Card Colors */
.it-services::before {
    background: var(--it-blue);
}

.it-services .service-icon {
    color: var(--it-blue);
}

.it-services:hover .service-icon {
    color: var(--it-blue-light);
}

.it-services .feature {
    border: 1px solid var(--it-blue);
    color: var(--it-blue);
    background: rgba(49, 130, 206, 0.1);
}

.marketing-services::before {
    background: var(--marketing-red);
}

.marketing-services .service-icon {
    color: var(--marketing-red);
}

.marketing-services:hover .service-icon {
    color: var(--marketing-red-light);
}

.marketing-services .feature {
    border: 1px solid var(--marketing-red);
    color: var(--marketing-red);
    background: rgba(229, 62, 62, 0.1);
}

.ai-services::before {
    background: var(--ai-green);
}

.ai-services .service-icon {
    color: var(--ai-green);
}

.ai-services:hover .service-icon {
    color: var(--ai-green-light);
}

.ai-services .feature {
    border: 1px solid var(--ai-green);
    color: var(--ai-green);
    background: rgba(56, 161, 105, 0.1);
}

.ev-charging-services::before {
    background: var(--ev-charging-blue);
}

.ev-charging-services .service-icon {
    color: var(--ev-charging-blue);
}

.ev-charging-services:hover .service-icon {
    color: var(--ev-charging-blue-light);
}

.ev-charging-services .feature {
    border: 1px solid var(--ev-charging-blue);
    color: var(--ev-charging-blue);
    background: rgba(0, 180, 216, 0.1);
}

.sports-services::before {
    background: var(--sports-orange);
}

.sports-services .service-icon {
    color: var(--sports-orange);
}

.sports-services:hover .service-icon {
    color: var(--sports-orange-light);
}

.sports-services .feature {
    border: 1px solid var(--sports-orange);
    color: var(--sports-orange);
    background: rgba(221, 107, 32, 0.1);
}

.cabling-services::before {
    background: var(--cabling-purple);
}

.cabling-services .service-icon {
    color: var(--cabling-purple);
}

.cabling-services:hover .service-icon {
    color: var(--cabling-purple-light);
}

.cabling-services .feature {
    border: 1px solid var(--cabling-purple);
    color: var(--cabling-purple);
    background: rgba(128, 90, 213, 0.1);
}

.automation-services::before {
    background: var(--automation-teal);
}

.automation-services .service-icon {
    color: var(--automation-teal);
}

.automation-services:hover .service-icon {
    color: var(--automation-teal-light);
}

.automation-services .feature {
    border: 1px solid var(--automation-teal);
    color: var(--automation-teal);
    background: rgba(49, 151, 149, 0.1);
}

.service-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: block;
}

.service-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-logo-img {
    height: 80px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.service-card:hover .service-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--aguilera-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: center;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature {
    background: var(--gray-100);
    color: var(--gray-800);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coming-soon {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    margin: 1rem auto 0;
    display: block;
    width: fit-content;
}

.service-cta {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    display: block;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 85, 104, 0.2);
    width: fit-content;
}

.service-cta:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 85, 104, 0.3);
    color: var(--white);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--gray-50);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aguilera-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--aguilera-gray-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat {
    text-align: center;
}

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

.stat p {
    color: var(--aguilera-gray-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 6rem;
    color: var(--aguilera-gray);
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--aguilera-gray);
    width: 40px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--aguilera-gray-light);
    margin-bottom: 0.25rem;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item .flag {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.contact-form {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aguilera-gray);
}

.submit-btn {
    background: var(--aguilera-gray);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--aguilera-gray-dark);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-section p {
    color: var(--gray-200);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section .flag {
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--aguilera-gray);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--aguilera-gray-light);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-200);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-current:hover {
    border-color: var(--aguilera-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    font-size: 1.2rem;
}

.lang-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-100);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: var(--gray-50);
}

.lang-option.active {
    background: var(--aguilera-gray);
    color: var(--white);
}

.lang-option.active .lang-name {
    color: var(--white);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--aguilera-gray);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--aguilera-gray-dark); transform: translateY(-2px); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo-img { height: 32px; }
    .nav-logo-text { font-size: 1.25rem; }
    .navbar { padding: 0.75rem 0; }
    .nav-link { padding: 12px 0; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }



    .hero-title { font-size: clamp(1.8rem, 6vw, 2.2rem); }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    /* Language switcher responsive */
    .language-switcher {
        margin-left: 1rem;
    }
    
    .lang-name {
        display: none;
    }
    
    .lang-current {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2rem); }

    .section-title {
        font-size: 2rem;
    }

    .service-card { padding: 1.25rem; }


    .cta-button { width: 100%; text-align: center; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
} 