/* === Importación de Fuentes === */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* === Variables de TeChrea === */
:root {
    --color-principal: #1AC0C4;  /* Turquesa (innovación) */
    --color-secundario: #47368C; /* Violeta (creatividad) */
    --font-titulo: 'Comfortaa', cursive;
    --font-texto: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texto);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: white;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titulo);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-secundario);
}

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: var(--color-principal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secundario);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--color-principal);
    color: white;
    font-weight: bold;
}

.btn-primary:hover {
    background: var(--color-secundario);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 192, 196, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-principal);
    border: 2px solid var(--color-principal);
}

.btn-secondary:hover {
    background: var(--color-principal);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(26, 192, 196, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(26, 192, 196, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 20px;
    position: relative;
}

/* Logo Improvements */
.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
}

.logo:hover .logo-image {
    filter: drop-shadow(0 8px 25px rgba(26, 192, 196, 0.5));
    transform: scale(1.03);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 1rem;
    background: transparent;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--color-principal);
    background: rgba(26, 192, 196, 0.08);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.1);
}

.nav-link.active {
    color: white;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    box-shadow: 0 4px 15px rgba(26, 192, 196, 0.3);
}

.nav-link.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 192, 196, 0.4);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(26, 192, 196, 0.1);
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--color-secundario);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: var(--color-principal);
}

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

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: var(--color-principal);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-principal), var(--color-secundario));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/backgrounds/bgmain.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.9;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 192, 196, 0.8) 0%, rgba(71, 54, 140, 0.8) 100%);
    z-index: 2;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: var(--font-titulo);
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-secundario);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background: white;
    color: var(--color-secundario);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

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

.tech-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 120px;
}

/* Colores específicos para cada icono */
.floating-icon:nth-child(1) i,
.floating-icon:nth-child(1) svg {
    color: #00D4FF;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
}

.floating-icon:nth-child(2) i {
    color: #00D4FF;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

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

.floating-icon:nth-child(4) i {
    color: #00D4FF;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.floating-icon:nth-child(3) i {
    color: #00D4FF;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.icon-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.95);
}

.ai-brain-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.floating-icon:hover .ai-brain-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.circuit-ai-icon {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    transition: all 0.3s ease;
}

.service-card:hover .circuit-ai-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.8));
}



.floating-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.floating-icon:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 15%;
    right: 15%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: 3s;
}

.floating-icon:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--color-secundario);
    margin-bottom: 1rem;
    font-family: var(--font-titulo);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--color-secundario);
    margin: 1.5rem 0 0.5rem 0;
    font-family: var(--font-titulo);
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8f9fa;
    position: relative;
    z-index: 10;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--color-principal);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-secundario);
    font-family: var(--font-titulo);
}

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--color-principal);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: var(--color-secundario);
}

/* About Section */
.about {
    background: white;
}

.company-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--color-secundario);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-family: var(--font-titulo);
}

.value-card i {
    margin-right: 0.5rem;
    color: var(--color-principal);
}

/* Timeline */
.timeline-section {
    margin-bottom: 5rem;
}

.timeline-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--color-secundario);
    font-family: var(--font-titulo);
}

.timeline-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-intro p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.timeline-intro p:last-child {
    font-weight: 500;
    color: var(--color-secundario);
    font-style: italic;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--color-principal);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--color-principal);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    flex: 1;
}

.timeline-content h4 {
    color: var(--color-secundario);
    margin-bottom: 1rem;
    font-family: var(--font-titulo);
    font-size: 1.3rem;
}

.case-logo {
    margin-bottom: 1rem;
    text-align: center;
}

.case-logo .client-logo {
    max-width: 250px;
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.timeline-content ul {
    margin: 0.5rem 0 1rem 0;
    padding-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.5;
}

/* Team */
.team-section {
    margin-top: 3rem;
}

.team-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-secundario);
    font-family: var(--font-titulo);
}

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

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    margin-bottom: 1.5rem;
}

.avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.team-card h4 {
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulo);
}

.role {
    color: var(--color-principal);
    font-weight: 500;
    margin-bottom: 1rem;
}

.bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Clients Section */
.clients {
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-principal);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulo);
}

.stat-card p {
    color: #666;
    font-weight: 500;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Client Logos */
.client-logos {
    margin: 4rem 0;
    overflow: hidden;
}

.logo-carousel {
    display: flex;
    animation: scroll-logos 20s linear infinite;
    gap: 3rem;
}

.logo-item {
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.client-logo {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Testimonials */
.testimonials {
    margin-top: 4rem;
}

.testimonials-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--color-secundario);
    font-family: var(--font-titulo);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.quote-icon {
    color: var(--color-principal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
}

.testimonial-author strong {
    color: var(--color-secundario);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-titulo);
}

.testimonial-author span {
    color: var(--color-principal);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: white;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-info-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.contact-info-card h3 {
    color: var(--color-secundario);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: var(--font-titulo);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
}

.contact-info-item i {
    color: var(--color-principal);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    min-width: 20px;
}

.contact-info-item h4 {
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
    font-family: var(--font-titulo);
    font-size: 1.1rem;
}

.contact-info-item p {
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.contact-card h3 {
    color: var(--color-secundario);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: var(--font-titulo);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    resize: vertical;
}

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

.submit-btn {
    position: relative;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ffc107;
}

/* Contact Info */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--color-secundario);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: var(--font-titulo);
}

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

.contact-item i {
    color: var(--color-principal);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item strong {
    display: block;
    color: var(--color-secundario);
    margin-bottom: 0.25rem;
    font-family: var(--font-titulo);
}

.contact-item p {
    margin: 0;
    color: #666;
}

/* Social Links */
.social-links {
    margin: 2rem 0;
}

.social-links h4 {
    color: var(--color-secundario);
    margin-bottom: 1rem;
    font-family: var(--font-titulo);
}

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

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

.social-link:hover {
    background: var(--color-secundario);
    transform: translateY(-3px);
}

/* Map */
.map-container {
    margin-top: 2rem;
}

.map {
    height: 200px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    text-align: center;
}

.map-placeholder i {
    font-size: 2rem;
    color: var(--color-principal);
    margin-bottom: 0.5rem;
}

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

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

.footer-logo {
    height: 65px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    justify-content: space-between;
}

.footer-column:last-child {
    text-align: right;
    margin-left: auto;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-family: var(--font-titulo);
}

.footer-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-principal);
}

.footer-column p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-column .social-links {
    margin: 0;
}

.footer-column .social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-column .social-link:hover {
    color: var(--color-principal);
}

.footer-column .social-link i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.footer-column .social-link span {
    color: inherit;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    margin: 0;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Mobile Navigation */
    .navbar .container {
        padding: 1.25rem 15px;
    }
    
    .logo-image {
        height: 65px;
        max-width: 220px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 95px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0.5rem;
        border-top: 1px solid rgba(26, 192, 196, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 90%;
        margin: 0 auto;
        justify-content: center;
        padding: 1rem 1.5rem;
        border-radius: 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        font-size: 1.1rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tech-animation {
        height: 300px;
    }
    
    .floating-icon {
        font-size: 2.5rem;
        padding: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .company-values {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 50px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        min-width: 60px;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding: 1rem 15px;
    }
    
    .logo-image {
        height: 55px;
        max-width: 200px;
    }
    
    .nav-menu {
        top: 85px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .service-card,
    .team-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        height: 55px;
        max-width: 180px;
    }
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label:hover .checkmark {
    border-color: var(--color-principal);
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--color-principal);
    border-color: var(--color-principal);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

/* ===== LANGUAGE SELECTOR STYLES ===== */
.language-selector {
    position: relative;
    z-index: 100;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(26, 192, 196, 0.3);
    min-width: 85px;
    justify-content: center;
}

.language-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 192, 196, 0.4);
}

.language-btn i:first-child {
    font-size: 0.95rem;
}

.language-btn i:last-child {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.language-btn:hover i:last-child {
    transform: translateY(2px);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 150px;
    overflow: hidden;
    border: 2px solid rgba(26, 192, 196, 0.1);
}

.language-selector:hover .language-dropdown,
.language-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    border-left: 3px solid transparent;
}

.language-option:hover {
    background: linear-gradient(90deg, rgba(26, 192, 196, 0.1) 0%, rgba(71, 54, 140, 0.05) 100%);
    color: var(--color-principal);
    border-left-color: var(--color-principal);
    transform: translateX(3px);
}

.language-option.active {
    background: linear-gradient(135deg, var(--color-principal) 0%, var(--color-secundario) 100%);
    color: white;
    font-weight: 600;
    border-left-color: transparent;
}

.language-option.active:hover {
    transform: translateX(0);
}

.language-option i {
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
}

.language-option span {
    flex: 1;
}