/* Paleta de Colores de Marca */
:root {
    --azul: #0078D4;
    --naranja: #FF8C00;
    --verde: #4CAF50;
    --blanco: #ffffff;
    --oscuro: #2d2d2d;
    --gris-f: #f9f9f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--oscuro);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.bg-light { background-color: var(--gris-f); padding: 100px 0; }

/* BARRA DE NAVEGACIÓN Y LOGO */
.navbar {
    background: var(--blanco);
    /*padding: 20px 0;*/
    padding: 3px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav-flex { display: flex; justify-content: space-between; align-items: center; }

.nav-logo img { 
    height: 95px; /* Tamaño grande para máxima visibilidad */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nav-logo img:hover { transform: scale(1.05); }

.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 35px; }
.nav-links a { text-decoration: none; color: var(--oscuro); font-weight: 600; font-size: 1.1rem; transition: 0.3s; }
.nav-links a:hover { color: var(--azul); }
.btn-contacto { background: var(--azul); color: white !important; padding: 12px 28px; border-radius: 8px; }

/* HERO / BANNER PRINCIPAL */
.hero {
    height: 80vh;
    background: url('../banner.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.45);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}

.hero-content { text-align: center; max-width: 900px; padding: 20px; }

.hero-title { 
    font-size: 4rem; color: var(--azul); font-weight: 700; 
    margin-bottom: 15px; text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

.hero-subtitle { font-size: 1.6rem; color: #333; margin-bottom: 45px; font-weight: 300; }

.cta-button {
    background: var(--naranja); color: white;
    padding: 20px 50px; text-decoration: none; font-weight: bold;
    border-radius: 50px; box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    transition: 0.3s; display: inline-block;
}

.cta-button:hover { background: #e67e00; transform: translateY(-3px); }

/* TABLA DE MARCAS ALIADAS */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin: 50px 0;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.brand-item {
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.4s ease;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
}

.brand-item img { max-width: 100%; max-height: 65px; object-fit: contain; }

.brand-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    border-color: var(--azul);
    background: #fff;
}

/* CARDS Y SECCIONES */
section { padding: 100px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.card {
    background: #fdfdfd; padding: 60px 40px; border-radius: 25px;
    text-align: center; border-top: 6px solid var(--verde);
}
.icon { font-size: 4rem; margin-bottom: 25px; display: block; }

.btn-outline {
    display: inline-block; padding: 16px 40px; border: 2px solid var(--azul);
    color: var(--azul); text-decoration: none; font-weight: 700;
    border-radius: 12px; transition: 0.3s; margin-top: 20px;
}
.btn-outline:hover { background: var(--azul); color: white; }

footer { background: var(--oscuro); color: white; padding: 60px 0; text-align: center; }

/* ANIMACIONES */
.anim-fade-in { opacity: 0; animation: fadeIn 1.2s forwards; animation-delay: 0.2s; }
.anim-slide-up { opacity: 0; transform: translateY(30px); animation: slideUp 1s forwards; animation-delay: 0.4s; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-logo img { height: 70px; }
    .hero-title { font-size: 2.6rem; }
    .nav-links { display: none; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); padding: 25px; }
}
