/* =========================================
   BRAND KIT - INVERSIONES HASBUN
   ========================================= */

/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
    /* PALETA PRINCIPAL */
    --color-midnight: #0B1F3A;  /* Fondo oscuro, headers */
    --color-tech-blue: #1F6FEB; /* Botones, acentos */
    --color-silver: #CED6E0;    /* Fondos suaves */
    --color-charcoal: #2E2E2E;  /* Textos lectura */
    
    /* ACENTOS */
    --color-security: #0FB67A;
    --color-energy: #FFB800;
    --color-alert: #E63946;

    /* FUENTES */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-midnight);
}

/* --- COMPONENTES GLOBALES --- */

/* Botones */
.btn-primary-custom {
    background-color: var(--color-tech-blue);
    border: 2px solid var(--color-tech-blue);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #165AC6;
    border-color: #165AC6;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light-custom {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background-color: white;
    color: var(--color-midnight);
}

/* Utilidades de Texto y Fondo */
.text-primary-custom { color: var(--color-tech-blue) !important; }
.bg-midnight { background-color: var(--color-midnight); color: white; }
.bg-silver { background-color: #F5F7FA; }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }

/* --- NAVBAR --- */
.navbar-custom {
    background-color: var(--color-midnight);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s;
}

.navbar-custom .nav-link:hover, 
.navbar-custom .nav-link.active {
    color: var(--color-tech-blue) !important;
}

/* --- HERO SECTION (INICIO) --- */
.hero-section {
    /* Asegúrate de tener la imagen hero-bg.jpg en la carpeta img */
    background: linear-gradient(rgba(11, 31, 58, 0.9), rgba(11, 31, 58, 0.85)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    min-height: 80vh; /* Ocupa buena parte de la pantalla */
    display: flex;
}

.hero-section h1 {
    color: white;
    font-size: 3rem; /* Tamaño grande para desktop */
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Ajuste responsive para Hero texto */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2rem; }
}

/* --- SECCIÓN NOSOTROS --- */
.about-img-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.about-img-container:hover img {
    transform: scale(1.05);
}

.check-list li {
    list-style: none;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.check-list li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: "Font Awesome 6 Free"; /* Actualizado a FA 6 */
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-tech-blue);
}

/* --- SECCIÓN SERVICIOS (TARJETAS) --- */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    /* Combina el borde sutil con el acento superior azul */
    border: 1px solid rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-tech-blue);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.15);
}

.icon-wrapper {
    transition: transform 0.3s ease;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* --- BENEFICIOS --- */
.feature-box {
    transition: transform 0.3s ease;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-box:hover .icon-circle {
    background-color: var(--color-tech-blue) !important;
    color: white !important;
    transform: rotateY(180deg);
}

/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, #0b1120 0%, #1a2e5a 100%);
}

.cta-section .btn-primary {
    background-color: var(--color-tech-blue);
    border-color: var(--color-tech-blue);
    box-shadow: 0 4px 15px rgba(31, 111, 235, 0.4);
}

.cta-section .btn-primary:hover {
    background-color: white;
    color: var(--color-tech-blue);
}

/* --- FOOTER --- */
.footer-custom {
    background-color: #020610;
    color: #adb5bd;
    font-size: 0.95rem;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--color-tech-blue);
    padding-left: 5px;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
}

/* Redes Sociales Footer */
.iconos-container {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.iconos-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.iconos-container a:hover {
    background-color: var(--color-tech-blue);
    color: white;
    transform: scale(1.1);
}

/* --- ESTILOS EXTRA (Páginas Futuras como Seguridad) --- */
.hero-seguridad {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?q=80&w=2070');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.card-seguridad {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    background: #f8f9fa; /* Fondo ligero */
}

.card-seguridad:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* --- Hero para Equipos Tecnológicos --- */
.hero-equipos {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.7)), url('../img/fondo-equipos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: white;
    text-align: center;
}

/* Efecto hover suave para las tarjetas de productos */
.card-producto {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card-producto:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- Hero para Marketing y Diseño --- */
.hero-marketing {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('../img/fondo-marketing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: white;
    text-align: center;
}

/* Tarjetas de servicios de marketing (Iconos grandes) */
.service-icon-box {
    width: 80px;
    height: 80px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    transition: all 0.3s ease;
}

.card-marketing:hover .service-icon-box {
    background-color: #0a192f; /* Color primario oscuro */
    color: white !important;
    transform: scale(1.1);
}

.card-marketing {
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card-marketing:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Hero para Soluciones Empresariales --- */
.hero-soluciones {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('../img/fondo-soluciones.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    color: white;
    text-align: center;
}

/* Lista de características con check */
.feature-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.feature-list i {
    color: #64ffda; /* Color secundario brillante */
    background-color: #0a192f;
    border-radius: 50%;
    padding: 5px;
    font-size: 0.8rem;
    margin-right: 10px;
}

/* --- Página de Contacto --- */
.hero-contacto {
    background: linear-gradient(rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.8)), url('../img/fondo-contacto.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.contact-info-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a192f; /* Azul oscuro */
    margin-right: 20px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Resaltar horario con el tono amarillo de tu imagen */
.schedule-highlight {
    background-color: #fff9e6; /* Fondo amarillo muy suave */
    border-left: 4px solid #ffc107; /* Borde amarillo */
    padding: 15px;
    border-radius: 4px;
}