/* Variables y Reset */
:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e2e8f0;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Fix: html con color del footer para evitar espacio blanco */
html {
    background-color: #333 !important;
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #fff;
    padding-top: 130px;
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
}

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

/* Estilos generales */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botones */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 30px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 55px;
}

.logo-text {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.2rem;
    white-space: nowrap;
}

.header.scrolled .logo-text {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

.navbar > ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.navbar > ul > li {
    position: relative;
}

.navbar > ul > li > a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 14px;
    display: block;
    border-radius: 6px;
    text-decoration: none;
}

.navbar > ul > li > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar > ul > li > a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.05);
}

.navbar > ul > li > a:hover::after {
    width: 70%;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown > a::after {
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    margin-left: 2px;
    opacity: 0.7;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 20px 24px;
    min-width: 360px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 1000;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li {
    margin: 0;
    list-style: none;
}

.dropdown-menu a {
    font-size: 0.9rem;
    color: var(--dark-color);
    display: block;
    padding: 10px 12px;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 102, 204, 0.08);
    padding-left: 16px;
}

.dropdown.open > .dropdown-menu {
    display: flex;
}

.dropdown.open > a::after {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0 0 10px;
        min-width: auto;
    }

    .dropdown-menu a {
        padding: 4px 0;
        white-space: normal;
    }
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    text-decoration: none;
    white-space: nowrap;
    margin-left: 10px;
}

.btn-phone:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #003d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
}

.btn-phone i {
    font-size: 0.9rem;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

/* Services Section */
.services {
    padding: 100px 0;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 50px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.25);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 77, 153, 0.15) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: white;
}

.service-card:hover .service-icon::before {
    width: 120px;
    height: 120px;
}

.service-features {
    margin-top: 20px;
}

.service-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: #f8fafc;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    margin-top: 50px;
    position: relative;
}

/* Línea conectora horizontal */
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px; /* Centrado con los círculos */
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--primary-color);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 15px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.step p {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        margin-bottom: 30px;
        max-width: 400px;
    }
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background-color: #fff;
}

.tech-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 0;
}

.tech-tab {
    padding: 15px 20px;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray-color);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px; /* To sit exactly on the line */
    font-size: 1.1rem;
}

.tech-tab:hover {
    color: var(--primary-color);
}

.tech-tab.active {
    background-color: transparent;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tech-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tech-content.active {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    padding-top: 20px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.tech-item span {
    font-weight: 600;
    color: var(--dark-color);
}

/* Case Studies Section */
.case-studies {
    padding: 80px 0;
    background-color: #f8fafc;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

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

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

.case-content {
    padding: 25px;
}

.case-industry {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.case-description {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.case-results {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.result-item {
    text-align: center;
}

.result-item span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-case {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 3px;
}

/* CTA Section - Mejorada */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0066cc;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.cta-badge i {
    font-size: 1.2rem;
    color: #ff6b6b;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1e3a8a;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.cta-subtitle {
    max-width: 750px;
    margin: 0 auto 35px;
    font-size: 1.25rem;
    color: #1e40af;
    line-height: 1.7;
    font-weight: 500;
}

.cta-subtitle strong {
    color: #0066cc;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-cta i {
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.btn-cta span {
    position: relative;
    z-index: 1;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
}

.btn-cta-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-cta-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.cta-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.cta-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e40af;
    font-weight: 600;
    font-size: 1rem;
}

.cta-benefit-item i {
    color: #10b981;
    font-size: 1.1rem;
    animation: checkPulse 2s ease-in-out infinite;
}

.cta-benefit-divider {
    color: rgba(30, 64, 175, 0.3);
    font-weight: 300;
    font-size: 1.2rem;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

/* Responsive CTA Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .btn-cta {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-benefit-divider {
        display: none;
    }
    
    .cta-benefit-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: #ffffff;
}

.clients .section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.clients .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.clients .section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1rem;
    margin-bottom: 50px;
}

.clients-carousel {
    margin-top: 50px;
    padding: 0 20px;
    position: relative;
}

.client-item {
    padding: 30px 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 140px;
    outline: none;
}

.client-item img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.clients-carousel .slick-prev,
.clients-carousel .slick-next {
    display: none !important;
}

.clients-carousel .slick-dots {
    bottom: -40px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.clients-carousel .slick-dots li {
    margin: 0;
    width: 10px;
    height: 10px;
}

.clients-carousel .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #d1d5db;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clients-carousel .slick-dots li button:hover {
    background-color: #9ca3af;
}

.clients-carousel .slick-dots li.slick-active button {
    background-color: var(--primary-color);
    width: 12px;
    height: 12px;
}

@media (max-width: 768px) {
    .client-item {
        height: 100px;
        padding: 20px 10px;
    }
    
    .client-item img {
        max-width: 120px;
        max-height: 70px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact .section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-content .section-subtitle {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-form {
    margin-top: 0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.info-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.info-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-card small {
    display: block;
    margin-top: 8px;
    color: var(--gray-color);
    font-size: 0.85rem;
    font-style: italic;
}

.map-container {
    grid-column: 1 / -1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Contact Section */
@media (max-width: 992px) {
    .contact .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        padding: 30px;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact .section-title {
        font-size: 2rem;
    }
    
    .contact-content {
        padding: 25px;
    }
    
    .contact-content h2 {
        font-size: 1.6rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    color: var(--light-gray);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

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

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-certification {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-certification p {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
}

.footer-certification strong {
    color: #ffffff;
    font-weight: 700;
}

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

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

/* Main Slider */
.main-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slider-item {
    position: relative;
    height: 600px;
    width: 100%;
    outline: none;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 90%;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.4);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    animation: fadeInUp 0.8s ease-out;
}

.slider-content h1, 
.slider-content h2 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.slider-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.4);
    color: #ffffff;
    font-weight: 500;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-slider {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4), 0 0 0 0 rgba(0, 102, 204, 0.5);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-slider:hover::before {
    width: 300px;
    height: 300px;
}

.btn-slider:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Slick Customization */
.slick-prev, .slick-next {
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slick-prev:hover, .slick-next:hover {
    background: var(--primary-color);
}

.slick-prev { left: 20px; }
.slick-next { right: 20px; }

.slick-prev i, .slick-next i {
    font-size: 20px;
}

.slick-dots {
    bottom: 20px;
    position: absolute;
    width: 100%;
    text-align: center;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 12px;
    height: 12px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transition: all 0.3s;
}

.slick-dots li.slick-active button {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.6);
}

/* Stats Section Moderna */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, #003366 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stat-item {
    position: relative;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out both;
}

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

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px !important;
    text-shadow: none !important;
    animation: pulse 2s ease-in-out infinite;
}

.stat-label {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* CTA Section Mejorada - Estilos consolidados arriba */

/* Feature Cards Modernas */
.feature-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px !important;
    padding: 40px 30px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2) !important;
    border-color: var(--primary-color);
}

.icon-box {
    transition: all 0.4s ease !important;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.feature-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg) !important;
    background: transparent !important;
}

.feature-card:hover .icon-box::before {
    width: 120px;
    height: 120px;
}

.feature-card:hover .icon-box i {
    color: white !important;
    position: relative;
    z-index: 1;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Progress Bar de Scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.5);
}

/* Casos de Éxito Mejorados */
.case-studies {
    position: relative;
    overflow: hidden;
}

.case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 77, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.case-card:hover::before {
    opacity: 1;
}

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

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.case-card:hover .case-image img {
    transform: scale(1.15) rotate(2deg);
}

.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 102, 204, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-card:hover .case-image::after {
    opacity: 1;
}

.case-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.case-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.25);
    border-color: var(--primary-color);
}

.case-industry {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-results {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 102, 204, 0.1);
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-item span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.result-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Clientes Section Mejorada */
.clients {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.client-item {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.client-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
}

.client-item:hover::before {
    left: 100%;
}

.client-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.client-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    border: 2px solid var(--primary-color);
}

.client-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* Testimonios Mejorados */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: white !important;
    padding: 40px 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(0, 102, 204, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2) !important;
    border-color: var(--primary-color);
}

.stars {
    position: relative;
    z-index: 1;
    font-size: 1.3rem !important;
    margin-bottom: 20px !important;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #444 !important;
}

/* Tecnologías Section Mejorada */
.technologies {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.tech-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 77, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(50%) opacity(0.7);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.tech-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15) rotate(5deg);
}

.tech-item span {
    font-weight: 600;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tech-item:hover span {
    color: var(--primary-color);
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-color);
}

.tech-tab {
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.tech-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    z-index: 0;
}

.tech-tab:hover::before,
.tech-tab.active::before {
    width: 200px;
    height: 200px;
}

.tech-tab:hover,
.tech-tab.active {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.tech-tab span {
    position: relative;
    z-index: 1;
}

/* Header con efecto al hacer scroll */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Efecto de partículas sutiles (opcional, ligero) */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    animation: floatParticle 15s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Sección de Proceso Mejorada */
.process {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.step {
    position: relative;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
    text-align: center;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 77, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.step:hover::before {
    opacity: 1;
}

.step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-color);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.step:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.4);
}

/* Productos Section Mejorada */
.productos {
    position: relative;
    overflow: hidden;
}

.producto-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
}

.producto-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.producto-card:hover::after {
    transform: scaleX(1);
}

.producto-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.25);
    border-color: var(--primary-color);
}

.producto-img-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.producto-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.6s ease;
}

.producto-card:hover .producto-img {
    transform: scale(1.1) rotate(5deg);
}

/* Blog Section Mejorada */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.blog-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    border-color: var(--primary-color);
}

.blog-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.15);
}

/* FAQ Section Mejorada */
.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-color);
}

.faq-question {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: var(--primary-color);
}

.faq-answer {
    background: white;
}

/* Botones Flotantes Mejorados */
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.float-btn:hover::before {
    width: 200px;
    height: 200px;
}

.float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    color: white;
}

/* Mejoras Responsive Adicionales */
@media (max-width: 768px) {
    .case-card,
    .producto-card,
    .blog-card {
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .tech-item img {
        width: 60px;
        height: 60px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .slider-content {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .slider-content h1,
    .slider-content h2 {
        font-size: 2rem;
    }
    
    .slider-content p {
        font-size: 1.1rem;
    }
    
    .btn-slider {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
    
    .service-card,
    .feature-card {
        padding: 30px 20px !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .navbar.active {
        display: block;
    }
    
    .navbar ul {
        flex-direction: column;
    }
    
    .navbar ul li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    /* Ajustes responsive para slider */
    .slider-item {
        height: 400px;
    }
    
    .slider-content h1, .slider-content h2 {
        font-size: 2rem;
    }
    
    .slider-content {
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .tech-tabs {
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Productos Section */
.productos {
    padding: 100px 0;
    background-color: white;
}

.productos-filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.producto-item {
    animation: fadeIn 0.5s ease;
}

.producto-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 1px solid var(--light-gray);
}

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

.producto-img-container {
    height: 200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--light-gray);
}

.producto-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.producto-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.producto-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
}

.producto-content p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

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

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.whatsapp-btn {
    background-color: #25d366;
}

.facebook-btn {
    background-color: #1877f2;
}

.float-btn i {
    color: white;
}

/* ============================================
   LAZY LOADING DE IMÁGENES
   ============================================ */

/* Imagen antes de cargar (placeholder) */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Animación de carga (skeleton) */
@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Imagen después de cargar */
img.lazy-loaded {
    opacity: 1;
    animation: none;
    background: none;
}

/* Para iframes lazy (Google Maps, etc.) */
iframe.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

iframe.lazy-loaded {
    opacity: 1;
}

/* Blur effect opcional (descomentar si se desea) */
/*
img.lazy {
    filter: blur(5px);
}

img.lazy-loaded {
    filter: blur(0);
}
*/

/* Fade-in más suave para imágenes grandes */
img.lazy-loaded.fade-slow {
    transition: opacity 0.6s ease-in;
}

/* ============================================
   FIN LAZY LOADING
   ============================================ */

/* ============================================
   MEGA MENU PRODUCTOS
   ============================================ */
.mega-dropdown {
    position: static;
}

.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 30px 5%;
    display: none;
    z-index: 999;
    border-top: 3px solid var(--primary-color);
}

.mega-dropdown:hover .mega-menu,
.mega-dropdown.open .mega-menu {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.mega-menu-column {
    flex: 1;
    min-width: 160px;
    background-color: #ffffff;
}

.mega-menu * {
    background-color: #ffffff;
}

.mega-menu-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f0fe;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin: 0;
}

.mega-menu-column ul li a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mega-menu-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.mega-menu-link:hover {
    text-decoration: underline;
}

.mega-submenu {
    margin-bottom: 15px;
}

.mega-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    padding-bottom: 5px;
}

.mega-label i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .mega-menu {
        flex-wrap: wrap;
        padding: 20px;
    }
    .mega-menu-column {
        flex: 0 0 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        position: static;
        box-shadow: none;
        padding: 10px 0 0 15px;
        flex-direction: column;
        gap: 15px;
    }
    .mega-dropdown:hover .mega-menu,
    .mega-dropdown.open .mega-menu {
        flex-direction: column;
    }
    .mega-menu-column {
        flex: 1 1 100%;
        min-width: auto;
        margin-bottom: 10px;
    }
    .mega-menu-column h4 {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    .mega-menu-column ul li a {
        font-size: 0.8rem;
        padding: 3px 0;
    }
}
/* ============================================
   FIN MEGA MENU
   ============================================ */

/* ============================================
   BREADCRUMBS
   ============================================ */

.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 90px;
}

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

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
}

.breadcrumbs-list li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #999;
}

.breadcrumbs-list a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-list a:hover {
    color: #004d99;
    text-decoration: underline;
}

.breadcrumbs-list .current {
    color: #666;
    font-weight: 500;
}

.breadcrumbs-list i {
    margin-right: 5px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumbs {
        margin-top: 70px;
        padding: 12px 0;
    }
    
    .breadcrumbs-list {
        font-size: 0.85rem;
    }
    
    .breadcrumbs-list li:not(:last-child)::after {
        margin: 0 8px;
    }
}

/* ============================================
   FIN BREADCRUMBS
   ============================================ */