/* ============================================
   INDEX.CSS
   Estilos exclusivos para la página principal
   Mejoras premium - Efectos wow sin dañar nada
   ============================================ */

/* ============================================
   1. FRANJA TICKER - Efecto brillo y glow
   ============================================ */
.trust-ticker-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.trust-ticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.trust-ticker-item:hover::before {
    left: 100%;
}

.trust-ticker-item:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(255, 106, 0, 0.3);
}

/* ============================================
   2. TECHNOLOGY ECOSYSTEM - Tarjetas premium
   ============================================ */
/* Fondo de la sección (gris) */
section.py-4.bg-black {
    background-color: #D9DEE3 !important;
}

/* Tarjetas con borde más grueso */
.tech-card {
    background: transparent;
    border: 2px solid #0A3D66;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
}

.tech-card i {
    font-size: 2.5rem;
    color: #0A3D66;
    transition: all 0.3s ease;
}

.tech-card span {
    display: block;
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--hexa-black);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: #0A3D66;
    border-width: 2px;
    box-shadow: 0 15px 35px rgba(10, 61, 102, 0.12);
    background: rgba(10, 61, 102, 0.05);
}

.tech-card:hover i {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(10, 61, 102, 0.3));
}

/* ============================================
   3. KEY DIFFERENTIATORS - Efecto glow
   ============================================ */
.criteria-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.criteria-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.06), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.criteria-card:hover::after {
    left: 100%;
}

.criteria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.criteria-number {
    transition: all 0.3s ease;
}

.criteria-card:hover .criteria-number {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

/* ============================================
   4. INDUSTRY CARDS (Home) - Glow y elevación
   ============================================ */
.industry-detailed-card {
    background: transparent !important;
    border: 2px solid #0A3D66 !important;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.industry-detailed-card:hover {
    transform: translateY(-8px);
    border-color: #0A3D66 !important;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
}

/* 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 .small {
    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;
}

/* ============================================
   BOTÓN AZUL (para industrias y otros)
   ============================================ */

#industries .btn-cta {
    background: #0A3D66 !important;
    color: white !important;
    border: none;
}

#industries .btn-cta:hover {
    background: #072e4d !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.3);
}

/* ============================================
   5. SERVICE CARDS - Efecto radial y botón
   ============================================ */
.service-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background-color: var(--hexa-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

/* Efecto de brillo radial al hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 106, 0, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 20px;
}

.service-card:hover::after {
    opacity: 1;
}

/* Efecto de elevación al hover */
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--hexa-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Efecto en el ícono */
.service-card i {
    font-size: 2.8rem;
    color: var(--hexa-orange);
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.3));
}

/* Efecto en el título */
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--hexa-black);
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--hexa-orange);
}

/* Efecto en el texto descriptivo */
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

/* BOTÓN "Learn More" - Borde naranja, texto naranja */
.service-card .btn-outline-light {
    color: var(--hexa-orange) !important;
    border: 1px solid var(--hexa-orange) !important;
    background: transparent;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Efecto hover del botón - se llena de naranja */
.service-card .btn-outline-light:hover {
    background: var(--hexa-orange) !important;
    color: white !important;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

/* Línea decorativa superior al hover */
.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);
}

.industry-detailed-card h4 {
    color: #0A3D66 !important;
}

/* Texto "Key Services:" */
.industry-detailed-card .fw-bold {
    color: #0A3D66 !important;
}

/* ============================================
   6. TEAM MEMBERS - Foto con glow
   ============================================ */
.team-member {
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.team-member img {
    transition: all 0.4s ease;
}

.team-member:hover img {
    transform: scale(1.03);
    box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.2);
}

.team-member h4 {
    transition: color 0.3s ease;
}

.team-member:hover h4 {
    color: var(--hexa-orange);
}

/* ============================================
   CONTACTO - Fondo gris, inputs azules
   ============================================ */
.form-control {
    background-color: transparent !important;
    border: 2px solid #0A3D66 !important;
    border-radius: 12px;
    color: var(--hexa-black);
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.form-control:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 61, 102, 0.15);
    border-color: #0A3D66 !important;
    outline: none;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* ============================================
   BOTÓN SEND REQUEST - AZUL (corregido)
   ============================================ */
#contacto .btn-cta {
    background: #0A3D66 !important;
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

#contacto .btn-cta:hover {
    background: #072e4d !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 61, 102, 0.3);
}

#contacto .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#contacto .btn-cta:hover::before {
    left: 100%;
}

/* ============================================
   BOTÓN NARANJA - SOLO PARA BOOK A CALL Y GET FREE ASSESSMENT
   ============================================ */

/* Botón "Book a Call" en el navbar - NARANJA */
.navbar .btn-cta,
.navbar .btn-cta.ms-lg-4 {
    background: #FF6A00 !important;
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.navbar .btn-cta:hover,
.navbar .btn-cta.ms-lg-4:hover {
    background: #E55A00 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.3);
}

.navbar .btn-cta::before,
.navbar .btn-cta.ms-lg-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.navbar .btn-cta:hover::before,
.navbar .btn-cta.ms-lg-4:hover::before {
    left: 100%;
}

/* Botón "Get Free Assessment" en el Hero - NARANJA */
.hero-section .btn-cta,
.hero-content .btn-cta {
    background: #FF6A00 !important;
    color: white !important;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.hero-section .btn-cta:hover,
.hero-content .btn-cta:hover {
    background: #E55A00 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 106, 0, 0.3);
}

.hero-section .btn-cta::before,
.hero-content .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-section .btn-cta:hover::before,
.hero-content .btn-cta:hover::before {
    left: 100%;
}

/* ============================================
   8. FOOTER - Enlaces con línea naranja
   ============================================ */
.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--hexa-orange);
    transition: width 0.3s ease;
}

.footer-link:hover::before {
    width: 100%;
}

.social-icon {
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 106, 0, 0.3);
}

/* ============================================
   11. KEY DIFFERENTIATORS - MEJORA PREMIUM
   ============================================ */

/* Contenedor de la sección */
.section-light {
    background-color: var(--hexa-white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo sutil */
.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.03), transparent);
    pointer-events: none;
}

/* Tarjetas de criterios */
.criteria-card {
    background: var(--hexa-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px 25px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

/* Efecto de borde gradiente al hover */
.criteria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 106, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.criteria-card:hover::before {
    opacity: 1;
}

/* Efecto de elevación */
.criteria-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 106, 0, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* Número decorativo (01, 02, 03) */
.criteria-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 106, 0, 0.12);
    line-height: 1;
    margin-bottom: 15px;
    display: block;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.criteria-card:hover .criteria-number {
    color: rgba(255, 106, 0, 0.25);
    transform: scale(1.05);
}

/* Título */
.criteria-card h4 {
    color: var(--hexa-black);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.criteria-card:hover h4 {
    color: var(--hexa-orange);
}

/* Descripción */
.criteria-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Línea decorativa superior */
.criteria-card {
    position: relative;
}

.criteria-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hexa-orange), var(--hexa-orange-dark));
    transition: width 0.4s ease;
    border-radius: 3px;
}

.criteria-card:hover::after {
    width: 60px;
}

/* Contenedor de imagen */
.criteria-img-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
}

.criteria-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.criteria-card:hover .criteria-img-container::before {
    opacity: 1;
}

.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);
}