/* ============================================
   HOME.CSS - Estilos específicos de la página principal
   ============================================ */

/* === NAVBAR === */
.navbar {
    background-color: var(--hexa-blue) !important;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--hexa-orange) !important;
}

.main-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .main-logo {
        height: 40px;
    }
}

/* DROPDOWN */
.dropdown-menu {
    background-color: var(--hexa-blue);
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.dropdown-item {
    color: var(--text-light);
    padding: 10px 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: var(--hexa-orange);
    color: white;
    padding-left: 30px;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('../images/consultoria.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 61, 102, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 140px;
}

.hero-section h1 {
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: normal !important;
}

.hero-section .lead {
    color: white !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    font-size: 1rem !important;
    max-width: 700px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section .lead {
        font-size: 0.95rem !important;
    }
}

/* === SECCIÓN CRITERIOS (Fondo BLANCO) === */
.section-light {
    background-color: var(--hexa-white);
    color: var(--hexa-black);
    padding: 80px 0;
}

.criteria-card {
    background: var(--hexa-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 25px;
    height: 100%;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.criteria-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.criteria-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.criteria-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.criteria-card:hover .criteria-img-container img {
    transform: scale(1.05);
}

.criteria-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hexa-orange);
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.criteria-card h4 {
    color: var(--hexa-black);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.criteria-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === SECCIÓN SERVICIOS (Fondo AZUL, tarjetas BLANCAS) === */
#servicios {
    background-color: var(--hexa-blue);
    padding: 80px 0;
}

#servicios .section-title {
    color: white;
}

.service-card {
    background-color: var(--hexa-white);
    border: none;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--hexa-orange), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 2.8rem;
    color: var(--hexa-orange);
    margin-bottom: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--hexa-black);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* === SECCIÓN INDUSTRIAS (Home - Fondo AZUL) === */
#industries {
    background-color: #D9DEE3;
    padding: 80px 0;
}

#industries .section-title {
    color: var(--hexa-black);
}

.industry-box {
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.industry-box i {
    color: var(--hexa-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.industry-box p {
    color: white;
    font-weight: 600;
    margin-bottom: 0;
}

.industry-box:hover {
    border-color: var(--hexa-orange) !important;
    background: rgba(255, 106, 0, 0.15);
    transform: translateY(-5px);
}
.industry-detailed-card {
    background: var(--hexa-white);
    border: 2px solid #0A3D66 !important;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.industry-detailed-card:hover {
    transform: translateY(-8px);
    border-color: #0A3D66 !important;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

/* Iconos */
.industry-detailed-card i {
    color: #0A3D66 !important;
}

.industry-detailed-card:hover i {
    transform: scale(1.1);
}

/* Títulos */
.industry-detailed-card h4 {
    color: var(--hexa-black) !important;
}

.industry-detailed-card:hover h4 {
    color: #0A3D66 !important;
}

/* Textos */
.industry-detailed-card p,
.industry-detailed-card .text-muted,
.industry-detailed-card small,
.industry-detailed-card span {
    color: var(--text-muted) !important;
}

/* Key Services */
.industry-detailed-card .fw-bold {
    color: var(--hexa-black) !important;
}

.industry-detailed-card:hover .fw-bold {
    color: #0A3D66 !important;
    transform: translateX(5px);
}

/* Línea separadora */
.industry-detailed-card hr {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.industry-detailed-card:hover hr {
    border-color: rgba(10, 61, 102, 0.3) !important;
}
/* === SECCIÓN EQUIPO (Fondo BLANCO) === */
#nosotros {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

#nosotros .section-title {
    color: var(--hexa-black);
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--hexa-white);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 4px solid var(--hexa-orange);
    padding: 5px;
    background-color: var(--hexa-white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.02);
}

.team-member h4 {
    color: var(--hexa-black);
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.team-member p {
    color: var(--hexa-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* === SECCIÓN CONTACTO (Fondo BLANCO) === */
#contacto {
    background-color: var(--hexa-white);
    padding: 80px 0;
}

#contacto h2 {
    color: var(--hexa-black);
}

#contacto p {
    color: var(--text-muted);
}

.form-control {
    background-color: var(--hexa-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--hexa-black);
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--hexa-orange);
    box-shadow: 0 0 0 3px var(--hexa-orange-glow);
    outline: none;
}

/* === FRANJA DE CONFIANZA (TICKER) === */
.trust-ticker-section {
    background: linear-gradient(90deg, var(--hexa-white) 0%, #f8f9fa 50%, var(--hexa-white) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0;
}

.trust-ticker-section::before,
.trust-ticker-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.trust-ticker-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--hexa-white), transparent);
}

.trust-ticker-section::after {
    right: 0;
    background: linear-gradient(270deg, var(--hexa-white), transparent);
}

.trust-ticker-wrapper {
    width: 100%;
    overflow-x: hidden;
    white-space: nowrap;
    position: relative;
}

.trust-ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: scrollTickerPremium 75s linear infinite;
}

.trust-ticker-track:hover {
    animation-play-state: paused;
}

.trust-ticker-item {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin: 0 0.3rem;
    background: var(--hexa-white);
    color: var(--hexa-black);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: default;
}

.trust-ticker-item:hover {
    background: linear-gradient(135deg, var(--hexa-orange) 0%, var(--hexa-orange-dark) 100%);
    color: #ffffff;
    border-color: var(--hexa-orange);
    transform: scale(1.05);
}

@keyframes scrollTickerPremium {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === FOOTER (Fondo AZUL) === */
.bg-black-hexa {
    background-color: var(--hexa-blue) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.2;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--hexa-orange);
    transform: translateX(5px);
}

.social-icon {
    font-size: 1.2rem;
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--hexa-orange);
    color: white !important;
    transform: translateY(-3px);
}

.text-gray {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* === RESPONSIVE HOME === */
@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
    }
    
    .trust-ticker-item {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .criteria-number {
        font-size: 2rem;
    }
    
    .criteria-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding-top: 100px;
    }
    
    .btn-cta,
    .btn-outline-light {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
}