/* VARIABLES GLOBALES */
:root {
    --primary-blue: #0b2341; /* Azul Oscuro Corporativo */
    --secondary-blue: #1c4b82;
    --accent-orange: #f39c12; /* Naranja Seguridad */
    --light-gray: #f8f9fa;
}

/* GENERAL */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* TOP BAR */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}
.top-bar a { color: white; text-decoration: none; margin-right: 15px; }
.top-bar a:hover { color: var(--accent-orange); }

/* NAVBAR */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: white;
}
.navbar-brand {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.5rem;
}
.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    margin-right: 15px;
}
.nav-link:hover { color: var(--accent-orange) !important; }

/* BOTÓN COTIZAR (NAVBAR) */
.btn-quote {
    background-color: var(--accent-orange);
    color: white;
    font-weight: 600;
    border-radius: 0;
    border: none;
    transition: 0.3s;
}
.btn-quote:hover {
    background-color: #d35400;
    color: white;
}

/* HERO SECTION */
.hero-section {
    background: linear-gradient(rgba(11, 35, 65, 0.8), rgba(11, 35, 65, 0.7)), url('https://images.unsplash.com/photo-1563245372-f21720e326bb?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}
.hero-title { font-size: 3rem; margin-bottom: 20px; }
.btn-hero-primary {
    background-color: var(--accent-orange);
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    margin-right: 15px;
    margin-bottom: 10px;
}
.btn-hero-primary:hover { background-color: #d35400; color: white; }
.btn-hero-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}
.btn-hero-outline:hover { background-color: white; color: var(--primary-blue); }

/* CARACTERÍSTICAS (Iconos) */
.feature-box {
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s;
}
.feature-box:hover { transform: translateY(-5px); }
.feature-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 20px;
}

/* CATÁLOGO DE PRODUCTOS */
.product-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}
.product-img {
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent-orange);
}
.card-title { color: var(--primary-blue); font-weight: 700; }

/* SECCIÓN SERVICIOS */
.service-card-hover {
    transition: all 0.3s ease;
    background-color: white;
}
.service-card-hover:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* INDUSTRIAS (Iconos circulares) */
.industry-strip { background-color: var(--primary-blue); color: white; }
.industry-icon {
    font-size: 2.5rem;
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: 0.3s;
}
.industry-col:hover .industry-icon {
    background-color: var(--accent-orange);
    transform: rotateY(360deg);
}

/* ESTILOS SECCIÓN NOSOTROS */
.mission-card {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s;
}
.vision-card {
    background-color: #f8f9fa;
    border-left: 5px solid var(--accent-orange);
    transition: transform 0.3s;
}
.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
footer { background-color: #061526; color: #ccc; padding: 60px 0 20px; }
footer h5 {
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-orange);
    display: inline-block;
    padding-bottom: 5px;
}
footer a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: 0.3s;
}
footer a:hover { color: var(--accent-orange); padding-left: 5px; }

/* BOTONES FLOTANTES (WhatsApp/Tel) */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btn-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
}
.btn-float:hover { transform: scale(1.1); color: white; }
.btn-whatsapp { background-color: #25D366; }
.btn-phone { background-color: var(--secondary-blue); }

/* Ajustes Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-section { height: auto; padding: 100px 0; }
    .top-bar { display: none; }
}