﻿/* =========================================
   1. VARIABLES & RESET (Estilo Tech Premium)
   ========================================= */
:root {
    --tech-blue: #0056b3; /* Azul corporativo serio */
    --tech-blue-light: #e3f2fd; /* Fondo azul muy claro */
    --tech-dark: #1e293b; /* Gris oscuro (Casi negro) para textos */
    --tech-gray: #64748b; /* Gris medio para subtítulos */
    --tech-bg: #f8fafc; /* Fondo general off-white */
    --tech-card-bg: #ffffff;
    --tech-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    --tech-radius: 16px;
}

body {
    background-color: var(--tech-bg);
    color: var(--tech-dark);
    font-family: 'Inter', sans-serif; /* Asegúrate de importar Inter o Roboto */
}

/* =========================================
   2. CARRUSEL HERO (Modernizado)
   ========================================= */
.carrusel-section {
    position: relative;
    border-radius: 0 0 30px 30px; /* Curva moderna abajo */
    overflow: hidden;
    box-shadow: var(--tech-shadow);
}

.carousel-item img {
    height: 55vw; /* Se adapta al ancho de la pantalla */
    max-height: 500px; /* Límite en pantallas grandes */
    min-height: 200px; /* Límite mínimo en pantallas muy pequeñas */
    width: 100%;
    object-fit: fill;
    filter: brightness(0.9);
}

/* =========================================
   3. SECCIÓN DE BIENVENIDA (Tipografía)
   ========================================= */
.welcome-section {
    padding: 5rem 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--tech-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--tech-gray);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   4. TARJETAS DE PRODUCTOS/CATEGORÍAS
   ========================================= */
.products-section {
    padding: 4rem 0;
    background-color: var(--tech-bg);
}

.tech-card {
    background: var(--tech-card-bg);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--tech-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
        border-color: var(--tech-blue-light);
    }

    .tech-card h4 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--tech-dark);
        margin-bottom: 1.5rem;
    }

    .tech-card img {
        max-height: 180px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .tech-card:hover img {
        transform: scale(1.05);
    }

/* =========================================
   5. SECCIÓN DE SERVICIOS (Grid & Iconos)
   ========================================= */
.services-section {
    padding: 5rem 0;
    background-color: #fff;
}

.service-card {
    background: var(--tech-card-bg);
    border-radius: var(--tech-radius);
    padding: 2.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--tech-blue);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-card:hover {
        box-shadow: var(--tech-shadow);
        transform: translateY(-5px);
    }

        .service-card:hover::before {
            opacity: 1;
        }

.service-icon-box {
    width: 60px;
    height: 60px;
    background: var(--tech-blue-light);
    color: var(--tech-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-text {
    font-size: 0.95rem;
    color: var(--tech-gray);
    line-height: 1.6;
}

/* ==========================================
   SECCIÓN DE MARCAS (BRANDS SECTION)
   UI/UX: Full Color, Mayor Escala y Social Proof
   ========================================== */

.brands-section {
    padding: 80px 0; 
    background: #ffffff;
    border-top: 1px solid #f0f2f5;
    border-bottom: 1px solid #f0f2f5;
}

.brands-swiper {
    padding: 30px 0; 
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

    .brands-swiper .swiper-wrapper {
        transition-timing-function: linear !important;
    }


.brand-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px; 
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    cursor: pointer;
}


    .brand-item:hover {
        transform: translateY(-8px); 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        border-color: #e2e8f0;
    }


    .brand-item img {
        max-height: 75px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .brand-item:hover img {
        transform: scale(1.08);
    }

.swiper-pagination {
    display: none !important;
}
/* =========================================
   7. BOTÓN CTA (Llamada a la Acción)
   ========================================= */
.btn-tech-primary {
    background-color: var(--tech-blue);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    .btn-tech-primary:hover {
        background-color: #004494;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
        color: #fff;
    }
