:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --secondary: #1A1A1A;
    --accent: #FFD700;
    --bg-dark: #0A0A0A;
    --bg-medium: #1A1A1A;
    --bg-light: #F5F5F5;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --industrial-gray: #4A4A4A;
}

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

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 5%;
    border-bottom: 2px solid var(--primary);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--text-light);
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    height: 90vh; /* Se ajustará automáticamente en pantallas pequeñas */
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary) 50%, var(--industrial-gray) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 102, 204, 0.03) 2px,
            rgba(0, 102, 204, 0.03) 4px
        );
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* NUEVO: Contenedor Flex para el layout de 2 columnas */
.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 3rem;
    width: 100%;
    z-index: 2; /* Asegura que esté por encima de los fondos */
}

/* MODIFICADO: .hero-content ahora es un item de flex */
.hero-content {
    flex: 1 1 55%; /* Ocupa ~55% del ancho */
    animation: fadeInUp 1s ease;
}

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

/* NUEVO: Contenedor para la imagen */
.hero-image-wrapper {
    flex: 1 1 40%; /* Ocupa ~40% del ancho */
    animation: fadeInUp 1s ease 0.5s backwards;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
  /*  aspect-ratio: 1 / 1; /* Mantiene la imagen cuadrada */
  /*  object-fit: cover; /* Recorta la imagen para que llene el espacio sin deformarse */
    border: 5px solid var(--primary);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}


/* --- Estilos de texto (sin cambios) --- */
.hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: var(--text-light);
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    text-shadow: 0 5px 30px rgba(0, 102, 204, 0.3);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.8s backwards;
}

/* --- NUEVO: Media queries para el comportamiento responsive --- */
@media (max-width: 1024px) {
    .hero {
        height: auto;
        padding: 5rem 0;
    }
    
    .hero-layout {
        flex-direction: column; /* Apila el texto y la imagen verticalmente */
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-image-wrapper {
        max-width: 500px;
        width: 100%;
    }
    
    .hero-stats, .cta-buttons {
        justify-content: center; /* Centra los stats y botones */
    }

    .hero h1 {
        font-size: 4.5rem; /* Ajuste de tamaño para tablet */
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column; /* Apila los stats en móvil */
        align-items: center;
    }

    .hero h1 {
        font-size: 3.5rem; /* Ajuste de tamaño para móvil */
    }
}

.stat {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 1s backwards;
}

.btn {
    padding: 1.2rem 3rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Features Section */
.features {
    padding: 8rem 5%;
    background: white;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--secondary);
    letter-spacing: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 3rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.05;
    transform: rotate(45deg) translate(50%, -50%);
    transition: all 0.3s ease;
}

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

.feature-card:hover::before {
    width: 150px;
    height: 150px;
    opacity: 0.1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--industrial-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Products Section */
.products {
    padding: 8rem 5%;
    background: var(--bg-dark);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 102, 204, 0.03) 49%, rgba(0, 102, 204, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 102, 204, 0.03) 49%, rgba(0, 102, 204, 0.03) 51%, transparent 52%);
    background-size: 20px 20px;
    pointer-events: none;
}

.products .section-title h2 {
    color: var(--text-light);
}

.product-categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}
.product-category-card {
    background: var(--secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    color: white;
}
.product-category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}
.category-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}
.product-category-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}
.product-category-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.products .btn-primary {
    margin-top: 4rem;
    display: inline-block;
}

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

/* Why Choose Us Section */
.why-us {
    padding: 8rem 5%;
    background: white;
}

.why-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    transition: all 0.3s ease;
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

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

.why-card:hover::after {
    height: 5px;
}

.why-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    position: relative;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::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.6s ease;
}

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

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.service-card p {
    color: var(--industrial-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--industrial-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: var(--secondary);
    color: white;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-align: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateX(10px);
}

.contact-label {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border: 2px solid rgba(0, 102, 204, 0.3);
}

.contact-form-container h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.form-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.6);
}

.social-link {
    display: inline-block;
    margin-top: 2rem;
    text-align: center;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 3rem 5%;
    border-top: 2px solid var(--primary);
}

footer p {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-button svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    right: 95px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
    }

    .whatsapp-button svg {
        width: 35px;
        height: 35px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

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

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

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

    .contact-methods {
        gap: 1.5rem;
    }

    .nav-links {
        display: none;
    }
}
.contact-link {
    text-decoration: none; /* Elimina el subrayado de los enlaces */
    color: inherit;        /* Hereda el color del texto (blanco) */
    display: block;        /* Asegura que el enlace ocupe todo el espacio del bloque */
}

/* Ajuste de tamaño para el texto de la ubicación */
.contact-value.location-text {
    font-size: 1.5rem;
    line-height: 1.2; /* Mejora la legibilidad si el texto ocupa dos líneas */
}