/* Estilos específicos para la página principal (index.php) */

.hero-section {
    color: var(--verde);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.btn-contact {
    background-color: var(--verde);
    color: var(--blanco);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: var(--blanco);
    color: var(--azul-marino);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-card {
    background-color: var(--blanco);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s;   
}

.services-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.services-icon {
    font-size: 3rem;
    color: var(--verde);
    margin-bottom: 20px;
}

/* === EXPRESS SECTION PREMIUM === */
.express-section-premium {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1628 0%, #001a36 50%, #00152b 100%);
    color: white;
}

.express-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(254,129,13,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0,123,255,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.express-bg-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(255,255,255,0.01) 50px,
        rgba(255,255,255,0.01) 51px
    );
    opacity: 0.5;
}

/* Header Premium */
.express-header-premium {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.express-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(254,129,13,0.15), rgba(254,129,13,0.05));
    border: 2px solid rgba(254,129,13,0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fe810d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.express-badge-premium i {
    font-size: 1.1rem;
    animation: pulse 2s ease-in-out infinite;
}

.express-title-premium {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.express-subtitle-premium {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Video Container Premium */
.express-video-container {
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.video-wrapper-premium {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    background: rgba(255,255,255,0.02);
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
}

.video-wrapper-premium video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.video-overlay-premium {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(254,129,13,0.05) 0%,
        transparent 50%,
        rgba(0,123,255,0.05) 100%
    );
    pointer-events: none;
    border-radius: 24px;
}

/* Features Grid Premium */
.express-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .express-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.express-feature-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.express-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254,129,13,0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.express-feature-card:hover::before {
    opacity: 1;
}

.express-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Feature Icon */
.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.feature-icon-glow {
    position: absolute;
    inset: -12px;
    background: var(--glow-color, #fe810d);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.express-feature-card:hover .feature-icon-glow {
    opacity: 0.4;
}

.feature-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.express-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-description {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Express Premium */
@media (max-width: 992px) {
    .express-title-premium {
        font-size: 2.8rem;
    }
    .express-subtitle-premium {
        font-size: 1.1rem;
    }
    .express-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .express-section-premium {
        padding: 80px 0;
    }
    .express-title-premium {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .express-subtitle-premium {
        font-size: 1rem;
    }
    .express-badge-premium {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .feature-title {
        font-size: 1.15rem;
    }
}

.clients-section {
    background: linear-gradient(180deg, #031a34 0%, #172230 55%, #172230 100%);
    color: var(--blanco);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.clients-section .container { position: relative; z-index: 3; }
.clients-section::before{
    content:'';
    position:absolute; inset:0;
    /* Subtle white corner highlights (top-left & top-right) to match marquee edges */
    background:
        radial-gradient(10% 10% at 10% 12%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 40%),
        radial-gradient(10% 10% at 90% 12%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 40%);
    pointer-events:none; z-index:0;
}

/* Add lateral soft white fade overlays to mimic marquee fades */
.clients-section::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index:1;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,0.06) 100%);
}
@keyframes clientsBgFloat{
    0%{opacity:.6; transform: translateY(0)}
    100%{opacity:.9; transform: translateY(12px)}
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.client-logo {
    display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 20px;
justify-items: center;   /* centra cada imagen en su celda */
    margin: 20px auto;
    filter: grayscale(100%) brightness(200%);
    opacity: 0.8;
    transition: all 0.3s;
    max-height: 75px;
  
}

.client-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}
      
.partners-section {
    background: linear-gradient(135deg, #e8ecf1 0%, #f3f5f7 50%, #eef1f5 100%);
    padding: 80px 0;
    position: relative;
}
.partners-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 60% at 20% 20%, rgba(23,34,47,0.03) 0%, rgba(23,34,47,0) 50%);
    pointer-events: none;
    z-index: 0;
}
.partners-section .container {
    position: relative;
    z-index: 2;
}

/* Partners title and subtitle */
.partners-title {
    color: var(--azul-marino);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.75rem;
    margin-bottom: 8px;
    position: relative;
}
.partners-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 6px;
    background: linear-gradient(90deg, var(--verde), var(--azul-marino));
    margin: 12px auto 0;
    border-radius: 4px;
}
.partners-subtitle {
    color: rgba(35,25,17,0.7);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.partner-card {
    background-color: var(--blanco);
    border-radius: 16px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 20, 40, 0.06);
    transition: all 0.35s cubic-bezier(.25,.8,.25,1);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    min-height:340px;
    position: relative;
}
.btn-efecto {
   display: inline-block;     
   text-decoration: none;  
   color: rgb(16, 16, 16);    
   font-size: 17px;
   font-weight: bold;
   padding: 10px 25px;
   border-radius: 0.7rem;
   background-image: linear-gradient(rgb(248, 171, 29), rgb(243, 170, 80));
   border: 2px solid rgb(0, 0, 0);
   border-bottom: 5px solid rgb(9, 6, 0);
   box-shadow: 0px 1px 6px 0px rgb(210, 142, 25);
   cursor: pointer;
   transition: all 0.2s linear;
} 

.btn-efecto:hover {
   transform: translate(0, -3px);
}

/* Partner card CTA styling override */
.partner-card .btn-efecto {
    background-image: linear-gradient(90deg, var(--verde), var(--azul-marino));
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(10,20,40,0.08);
}
.partner-card .btn-efecto:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(10,20,40,0.12);
}

/* efecto al presionar */
.btn-efecto:active {
   transform: translate(0, 0);
   border-bottom: 2px solid rgb(50, 50, 50);
}
.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, var(--verde), var(--azul-marino));
    opacity: 0.95;
}

.partner-logo-wrap{
    width: 110px;
    height: 110px;
    border-radius: 999px;
    /* subtle site-tinted background for transparent logos */
    background: linear-gradient(180deg, rgba(3,31,85,0.06), rgba(254,129,13,0.03));
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(10,20,40,0.06);
    border: 1px solid rgba(3,31,85,0.05);
}
.partner-card:hover .partner-logo-wrap { transform: scale(1.06); filter: drop-shadow(0 8px 20px rgba(3,31,85,0.08)); }
.partner-card h5 { font-weight: 800; color: var(--azul-marino); margin-bottom: 8px; }
.partner-logo {
    max-height: 64px;
    max-width: 90%;
}

.partner-role{
    color: rgba(35,25,17,0.6);
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ========================================
   PARTNERS SECTION REDESIGN - Profesional y estructurado
   ======================================== */

/* Header de la sección */
.partners-header-redesign {
    text-align: center;
    margin-bottom: 50px;
}

.partners-title-redesign {
    color: #1e3a8a;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.partners-title-redesign::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    border-radius: 4px;
}

.partners-subtitle-redesign {
    color: #64748b;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 24px;
}

/* Tarjeta de aliado rediseñada */
.partner-card-redesign {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.partner-card-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.partner-card-redesign:hover::before {
    transform: scaleX(1);
}

.partner-card-redesign:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
}

/* Emblema/Ícono del servicio */
.partner-emblem {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.partner-card-redesign:hover .partner-emblem {
    transform: scale(1.12) rotate(-5deg);
}

/* Colores específicos por tipo de servicio */
.partner-emblem.medical {
    background: linear-gradient(135deg, #10b981, #059669);
}

.partner-emblem.finance {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.partner-emblem.invoice {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.partner-emblem.marketing {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Nombre del aliado */
.partner-name-redesign {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

/* Tipo de servicio */
.partner-service-type {
    font-size: 0.85rem;
    font-weight: 800;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 12px 0;
}

/* Descripción breve */
.partner-description-short {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Botón Visitar rediseñado */
.btn-visit-redesign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    margin-top: auto;
}

.btn-visit-redesign:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-visit-redesign i {
    font-size: 0.85rem;
}

/* Responsive para tarjetas de aliados */
@media (max-width: 992px) {
    .partners-title-redesign {
        font-size: 2.2rem;
    }
    
    .partners-subtitle-redesign {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .partners-title-redesign {
        font-size: 1.9rem;
    }
    
    .partner-card-redesign {
        padding: 28px 20px;
    }
    
    .partner-emblem {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
    
    .partner-name-redesign {
        font-size: 1.15rem;
    }
}

/* Reduce corner/highlight strength for mobile */
@media (max-width: 768px) {
    .clients-section::before { background: radial-gradient(60% 60% at 10% 12%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 40%), radial-gradient(60% 60% at 90% 12%, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 40%); }
    .clients-section::after { background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 88%, rgba(255,255,255,0.04) 100%); }
}

/* =======================================
   SECCIÓN DE CONTACTO MODERNA - REDISEÑADA
   ======================================= */
.contact-section-modern {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1e2d47 0%, #121928 50%, #1a2942 100%);
    overflow: hidden;
}

.contact-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 15% 20%, rgba(254,129,13,0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(59,130,246,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-section-modern .container {
    position: relative;
    z-index: 2;
}

/* Hero Card - Columna Izquierda */
.contact-hero-card {
    color: #ffffff;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(254,129,13,0.15), rgba(254,129,13,0.05));
    border: 1px solid rgba(254,129,13,0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--verde);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.contact-badge i {
    font-size: 1rem;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.contact-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Grid de estadísticas */
.contact-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.contact-stat-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254,129,13,0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-stat-card:hover::before {
    opacity: 1;
}

.contact-stat-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(254,129,13,0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--verde), #ffb86b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(254,129,13,0.25);
}

.stat-content h4 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 2px 0;
    line-height: 1;
}

.stat-content p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Beneficios */
.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.benefit-item i {
    color: var(--verde);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Tarjeta del formulario */
.contact-form-card {
    background: linear-gradient(135deg, #14100d 0%, #1a140f 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(254,129,13,0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-form-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 30px;
}

.form-group-modern {
    margin-bottom: 0;
}

.form-label-modern {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-label-modern i {
    color: var(--verde);
    margin-right: 6px;
}

.form-control-modern {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-control-modern:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--verde);
    box-shadow: 0 0 0 4px rgba(254,129,13,0.15);
}

.form-control-modern:valid {
    border-color: rgba(34,197,94,0.5);
}

textarea.form-control-modern {
    resize: vertical;
    min-height: 140px;
}

.btn-submit-modern {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--verde), #ffb86b);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(254,129,13,0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-submit-modern:hover::before {
    transform: translateX(100%);
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(254,129,13,0.5);
}

.btn-submit-modern:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-section-modern {
        padding: 80px 0;
    }
    
    .contact-hero-title {
        font-size: 2.4rem;
    }
    
    .contact-stats-grid {
        gap: 12px;
    }
    
    .contact-form-card {
        padding: 32px 24px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section-modern {
        padding: 60px 0;
    }
    
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .stat-content h4 {
        font-size: 1.5rem;
    }
    
    .contact-form-card {
        padding: 28px 20px;
    }
}

/* Legacy support - mantener estilos antiguos comentados por si acaso */
.contact-section {
    display: none; /* deprecated */
}

/* Efecto de ola entre secciones */
.wave-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sección curva */
.curved-section {
    position: relative;
    overflow: hidden;
}

.curved-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--azul-marino) 0%, var(--verde) 100%);
    clip-path: ellipse(100% 100% at 0% 0%);
    z-index: -1;
}
.img columnas{
  width:350px;
}

/* Efectos adicionales */
.hover-underline {
  font-size: 5rem;
  color: #ffffff;
  position: relative;
}

.hover-underline::after,
.hover-underline::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, #FFFFFF, #a8bebe);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.hover-underline::before {
  top: -5px;
  transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
  transform: scaleX(1);
}

.holographic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* EFECTO */
.mi-fondo {
  background-color: #0c0066; /* Naranja */
}
.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 200px;
  }
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }
  .flip-card-front {
    display: flex;
    font-size: 1.2rem;
  }
  .flip-card-back {
    transform: rotateY(180deg);
  }
  /* ICONOS */
.express-icon{
    font-size: 30px; 
    transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .express-item {
        margin-bottom: 30px;
    }
}

/* Animaciones */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out;
}

/* Hero Mejorado */
.hero-enhanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #14100d 0%, #231911 30%, #8b4513 60%, #d96b04 100%);
    background-size: 400% 400%;
    animation: heroGradientShift 15s ease infinite;
}

.hero-bg-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(217, 107, 4, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(35, 25, 17, 0.5) 0%, transparent 50%);
    animation: bgFloat 20s ease-in-out infinite;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    background: rgba(217, 107, 4, 0.1);
    border-radius: 50%;
    animation: particleMove 10s linear infinite;
}

.hero-particles::before {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    width: 6px;
    height: 6px;
    top: 70%;
    right: 15%;
    animation-delay: 5s;
}

.hero-content-enhanced {
    position: relative;
    z-index: 3;
    animation: slideInLeft 1.5s ease-out;
}

.hero-title-enhanced {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #d96b04);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(217, 107, 4, 0.5);
    animation: textGlowPulse 3s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

.hero-subtitle-enhanced {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 2s ease-out 0.5s both;
}

.btn-enhanced {
    background: linear-gradient(45deg, #d96b04, #ff8c00);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 1s ease-out;
    box-shadow: 0 8px 25px rgba(217, 107, 4, 0.4);
    animation: btnBounce 2s ease-in-out infinite;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 107, 4, 0.5);
    animation: none;
}

.services-card-enhanced {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(217, 107, 4, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
    animation: cardSlideIn 1.5s ease-out both;
}

.services-card-enhanced:nth-child(1) { animation-delay: 1s; }
.services-card-enhanced:nth-child(2) { animation-delay: 1.2s; }
.services-card-enhanced:nth-child(3) { animation-delay: 1.4s; }

.services-card-enhanced:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(217, 107, 4, 0.4);
    border-color: rgba(217, 107, 4, 0.6);
}

.services-card-enhanced h3 {
    color: var(--verde) !important;
}

.services-card-enhanced p {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.services-icon-enhanced {
    font-size: 3.5rem;
    color: #d96b04;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.services-card-enhanced:hover .services-icon-enhanced {
    transform: scale(1.2);
    color: #ff8c00;
}

/* Animaciones Mejoradas */
@keyframes heroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bgFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

@keyframes particleMove {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes textGlowPulse {
    0% { text-shadow: 0 0 20px rgba(217, 107, 4, 0.5); }
    100% { text-shadow: 0 0 40px rgba(217, 107, 4, 0.8), 0 0 60px rgba(217, 107, 4, 0.5); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes btnBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes cardSlideIn {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Animaciones para Express Section */
@keyframes expressGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bgFloatExpress {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

@keyframes particleMoveExpress {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(60px); opacity: 0; }
}

@keyframes textGlowPulseExpress {
    0% { text-shadow: 0 0 20px rgba(107, 114, 128, 0.5); }
    100% { text-shadow: 0 0 40px rgba(107, 114, 128, 0.8), 0 0 60px rgba(107, 114, 128, 0.5); }
}

@keyframes expressItemSlideIn {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlowExpress {
    0% { box-shadow: 0 15px 40px rgba(107, 114, 128, 0.3); }
    100% { box-shadow: 0 15px 40px rgba(107, 114, 128, 0.5), 0 0 20px rgba(107, 114, 128, 0.2); }
}

@keyframes iconPulseExpress {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Animación de shimmer */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animación de patrón */
@keyframes movePattern {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* === MISSION VISION PREMIUM === */
.mission-vision-premium {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(0deg, #e26d00 0%, #0d1726 0%, #a25015 100%);
    color: var(--blanco);
}

.mv-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(254,129,13,0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0,123,255,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.mv-bg-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 60px,
        rgba(255,255,255,0.01) 60px,
        rgba(255,255,255,0.01) 61px
    );
    opacity: 0.3;
}

/* Header Premium */
.mv-header-premium {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.mv-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(254,129,13,0.15), rgba(254,129,13,0.05));
    border: 2px solid rgba(254,129,13,0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fe810d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.mv-badge-premium i {
    font-size: 1.1rem;
}

.mv-title-premium {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.mv-subtitle-premium {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Cards Wrapper */
.mv-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Premium Cards */
.mv-premium-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mv-premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254,129,13,0.06), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mv-premium-card:hover::before {
    opacity: 1;
}

.mv-premium-card:hover {
    transform: translateY(-6px);
    border-color: rgba(254,129,13,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Card Header */
.mv-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.mv-icon-container {
    position: relative;
    flex-shrink: 0;
}

.mv-icon-glow {
    position: absolute;
    inset: -16px;
    background: var(--icon-color, #fe810d);
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mv-premium-card:hover .mv-icon-glow {
    opacity: 0.5;
}

.mv-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.mv-premium-card:hover .mv-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.1));
}

.mv-card-title-section {
    flex-grow: 1;
}

.mv-card-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mv-title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fe810d, rgba(254,129,13,0.3));
    border-radius: 2px;
}

/* Card Text */
.mv-card-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Card Footer */
.mv-card-footer {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mv-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    transition: all 0.3s ease;
}

.mv-feature-badge i {
    color: #fe810d;
    font-size: 0.9rem;
}

.mv-premium-card:hover .mv-feature-badge {
    background: rgba(255,255,255,0.12);
    border-color: rgba(254,129,13,0.3);
}


/* Image Premium Wrapper */
.mv-image-premium-wrapper {
    position: relative;
    z-index: 2;
}

.mv-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    margin-bottom: 24px;
    background: rgba(255,255,255,0.02);
    padding: 8px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.mv-image-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    border-color: rgba(254,129,13,0.3);
}

.mv-image-premium {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: all 0.4s ease;
}

.mv-image-frame:hover .mv-image-premium {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.mv-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(254,129,13,0.1) 0%,
        transparent 50%,
        rgba(0,123,255,0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.mv-image-frame:hover .mv-image-overlay {
    opacity: 1;
}

/* Quick Stats */
.mv-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mv-stat-item {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.mv-stat-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(254,129,13,0.3);
    transform: translateY(-4px);
}

.mv-stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fe810d;
    margin-bottom: 4px;
    line-height: 1;
}

.mv-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Responsive Mission Vision Premium */
@media (max-width: 992px) {
    .mv-title-premium {
        font-size: 2.8rem;
    }
    .mv-subtitle-premium {
        font-size: 1.1rem;
    }
    .mv-quick-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-vision-premium {
        padding: 80px 0;
    }
    .mv-title-premium {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .mv-subtitle-premium {
        font-size: 1rem;
    }
    .mv-badge-premium {
        font-size: 0.8rem;
        padding: 10px 18px;
    }
    .mv-premium-card {
        padding: 28px;
    }
    .mv-card-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .mv-card-title {
        font-size: 1.5rem;
    }
    .mv-card-text {
        font-size: 0.95rem;
    }
    .mv-quick-stats {
        grid-template-columns: 1fr;
    }
    .mv-stat-number {
        font-size: 1.5rem;
    }
}

/* Tarjetas horizontales estilo empresarial (Misión/Visión) */
.mv-card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--blanco);
    border-radius: 12px;
    padding: 20px 20px 20px 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    min-height: 150px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    border: 2px solid transparent;
}

.mv-card-horizontal:hover { 
    transform: translateY(-12px) scale(1.02); 
    box-shadow: 0 30px 70px rgba(0,0,0,0.2), 0 0 30px rgba(254,129,13,0.2); 
    border-color: rgba(254,129,13,0.5);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(254,129,13,0.02));
}

.mv-card-horizontal:hover .mv-card-icon { 
    transform: translateX(-6px) scale(1.1) rotate(5deg); 
    box-shadow: 0 10px 30px rgba(254,129,13,0.2); 
    background: linear-gradient(180deg, rgba(254,129,13,0.15), rgba(254,129,13,0.08));
}

.mv-card-horizontal:hover .mv-card-stripe { 
    width: 16px; 
    background: linear-gradient(180deg, var(--verde) 0%, var(--azul-marino) 100%); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) inset, 0 0 10px rgba(254,129,13,0.3);
}

.mv-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background: rgba(254,129,13,0.08); /* soft orange */
    color: var(--verde);
    font-size: 2.2rem;
    flex-shrink: 0;
}

/* Icon circle with ring and polished look */
.mv-card-icon {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(254,129,13,0.08), rgba(254,129,13,0.04));
    box-shadow: 0 6px 18px rgba(35, 20, 10, 0.06);
    border: 1px solid rgba(254,129,13,0.18);
    font-size: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-card-content { padding-right: 12px; text-align: left; }

.mv-card-content .card-title { color: var(--verde); font-size: 1.45rem; margin-bottom: 6px; font-weight: 900; }
.mv-card-content .card-text { color: #333; font-size: 0.95rem; }

/* Separador tipo línea bajo el título, elegante */
.mv-card-content .title-sep {
    width: 64px;
    height: 6px;
    background: linear-gradient(90deg, rgba(254,129,13,0.95), rgba(254,129,13,0.6));
    margin: 8px 0 12px 0;
    border-radius: 6px;
}

/* Right stripe refinement */
.mv-card-stripe { 
    width: 14px; 
    height: 72%; 
    background: linear-gradient(180deg, var(--azul-marino) 0%, #14211c 100%); 
    border-radius: 6px; 
    margin-left: 14px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) inset; 
    position: relative; 
    transition: width 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

/* Top / bottom badges for stripe */
.mv-card-stripe::before, .mv-card-stripe::after { content: ''; position: absolute; left: -6px; width: calc(100% + 12px); height: 8px; background: inherit; border-radius: 6px; transform-origin: center; }
.mv-card-stripe::before { top: -8px; transform: scaleY(0.45); opacity: 0.95; }
.mv-card-stripe::after { bottom: -8px; transform: scaleY(0.45); opacity: 0.95; }

/* Add top and bottom thin line and subtle card inner border to mimic sample */
.mv-card-horizontal { border: 1px solid rgba(0,0,0,0.04); }
.mv-card-horizontal::after {
    content: '';
    position: absolute;
    top: -8px; left: 20px; right: 20px; height: 6px;
    background: linear-gradient(90deg, rgba(254,129,13,0.9), rgba(254,129,13,0.5)); opacity: 0.06; border-radius: 4px; pointer-events: none;
}

.mv-card-stripe { width: 12px; height: 80%; background: var(--azul-marino); border-radius: 6px; margin-left: 12px; }

/* Make stripe a bottom full-width bar on mobile */
@media (max-width: 768px) {
    .mv-card-horizontal { flex-direction: column; align-items: stretch; }
    .mv-card-icon { width: 70px; height: 70px; margin: 0 auto 10px; }
    .mv-card-stripe { width: 100%; height: 8px; margin: 10px 0 0 0; border-radius: 6px; }
    .mv-card-content { padding-right: 0; }
    .mv-card-horizontal::after { display: none; }
    .mv-card-content { text-align: center; }
}

/* Animaciones para Misión y Visión */
@keyframes grainMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
    .mission-card, .vision-card {
        padding: 30px 20px;
    }
    .card-title {
        font-size: 1.5rem;
    }
}

/* Responsive para Hero Mejorado */
@media (max-width: 768px) {
    .hero-title-enhanced {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-enhanced {
        font-size: 1.2rem;
    }
    
    .services-card-enhanced {
        margin-bottom: 20px;
    }

    .express-title {
        font-size: 2.5rem;
    }
    
    .express-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        min-height: auto;
        margin-bottom: 30px;
    }

    .express-item .express-icon {
        margin: 0 auto 15px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (min-width: 992px) {
    .mission-image { max-height: 460px; object-fit: cover; }
}

/* Accent stripe inside mv-image-card */
.mv-image-card .mv-image-accent {
    position: absolute;
    right: 18px;
    top: 16%;
    width: 12px;
    height: 68%;
    background: linear-gradient(180deg, var(--verde) 0%, var(--azul-marino) 100%);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18) inset;
    transition: transform 0.45s ease, opacity 0.45s ease, width 0.35s ease;
    opacity: 0.9;
    z-index: 3;
}
.mv-image-card:hover .mv-image-accent{
    transform: translateX(2px) scaleX(1.07);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2) inset, 0 0 10px rgba(254,129,13,0.08);
    opacity: 1;
}

/* Scroll reveal helper classes */
.reveal-section {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1), filter 0.6s ease;
    will-change: opacity, transform;
}
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure active section sits above others visually */
.reveal-section.active-section {
    z-index: 3;
    box-shadow: 0 35px 90px rgba(0,0,0,0.18);
}

/* Reduce visible but not active sections (appear faded when out of focus) */
.reveal-section:not(.active-section) {
    opacity: 0.35;
    filter: blur(0.4px) saturate(0.95);
    transform: translateY(-8px);
    transition: opacity 0.6s ease, transform 0.5s ease;
    pointer-events: auto; /* keep interactions on faded sections allowed */
}

/* Sections that are below viewport but not yet revealed should stay fully hidden */
.reveal-section:not(.is-visible):not(.active-section) {
    opacity: 0;
    transform: translateY(24px);
}

/* Staggered child reveal (useful for card lists)
   JS will set inline transition-delays when section becomes visible */
.reveal-section .staggered {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-section.is-visible .staggered {
    opacity: 1;
    transform: translateY(0);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-section, .reveal-section .staggered {
        transition: none !important;
        transform: none !important;
    }
    .reveal-section { opacity: 1 !important; }
}

/* Clients marquee (infinite scrolling slider) */
.marque-container {
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    box-sizing: border-box;
    padding: 60px 0;
    /* Fondo gris oscuro elegante tipo showcase premium */
    background: #162231; /* Color plano para sección de clientes */
    background-size: auto;
    animation: none;
}
.marque-container, .clients-section, .express-section {
    /* Evitar líneas y seams por borders por defecto o subpixel-rendering */
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.marque-container.marquee-theme { background: #162231; }
@keyframes clientsTapeShift{ 0%{ background-position:0% 50% } 100%{ background-position:100% 50% } }

/* Edge fade overlays to hide repetition seam */
.marque-container { position: relative; }
.marque-container::before, .marque-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8%;
    pointer-events: none;
    z-index: 4;
}
.marque-container::before { left: 0; background: linear-gradient(to right, #2c3e50 0%, rgba(44,62,80,0) 100%); width: 120px; }
.marque-container::after { right: 0; background: linear-gradient(to left, #2c3e50 0%, rgba(44,62,80,0) 100%); width: 120px; }
.marque-container .Marquee {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}
.marque-container .Marquee-content {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    min-width: 200%; /* make sure we have room for the duplicated set */
    will-change: transform;
}
.marque-container .Marquee-content:hover { animation-play-state: paused; }
.marque-container .Marquee-content:focus-within { animation-play-state: paused; }
.Marquee-tag { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 24px; 
    border-radius: 16px; 
    background: rgba(52, 73, 94, 0.4); 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.03); 
    position: relative; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    width: 240px; 
    height: 140px;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.Marquee-tag img, .client-logo-item { 
    width: auto; 
    max-width: 85%; 
    max-height: 75%; 
    height: auto; 
    display: block; 
    object-fit: contain;
    filter: grayscale(100%) brightness(0.5) contrast(1.2); 
    opacity: 0.7; 
    transition: all 0.4s ease; 
}
.Marquee-tag:hover { 
    transform: translateY(-8px) scale(1.03); 
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08); 
    border-color: rgba(255, 255, 255, 0.15); 
    background: rgba(52, 73, 94, 0.6);
}
.Marquee-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.Marquee-tag:hover::before { opacity: 1; }
.Marquee-tag:hover img, .Marquee-tag:hover .client-logo-item { transform: scale(1.08); filter: grayscale(0%); opacity: 1; }
.marque-container:hover .Marquee-content, .marque-container .Marquee-content:hover, .Marquee-tag:hover ~ .Marquee-content { animation-play-state: paused !important; }
.marque-container:hover { cursor: grab; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .Marquee-tag { width: 180px; height: 110px; padding: 18px; }
    .Marquee-tag img { max-width: 85%; max-height: 70%; }
    .marque-container { padding: 50px 0; }
}

/* Edge fade wider on mobile to prevent visible seams when layout reflows */
@media (max-width: 768px) {
    .marque-container::before, .marque-container::after { width: 80px; }
}

/* Logo card wrapper: provide a box for each logo */
.logo-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.logo-card::before { display: none; }

/* Responsive adjustments for partners cards */
@media (max-width: 992px) {
    .partner-card { min-height: auto; padding: 22px; }
    .partner-logo-wrap { width: 90px; height: 90px; }
}
@media (max-width: 576px) {
    .partner-card { min-height: auto; padding: 18px; }
    .partner-logo-wrap { width: 72px; height: 72px; }
    .partner-role { font-size: 0.85rem; }
    .partners-title { font-size: 1.3rem; }
}

/* ===============================
   Nueva cinta infinita de clientes
   =============================== */
.clients-loop-wrapper {
    position: relative;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    box-sizing: border-box;
    padding: 40px 0 56px;
    background: linear-gradient(140deg,#0f1c2e 0%, #1a2942 40%, #243851 70%, #2d425c 100%);
    background-size: 180% 180%;
    animation: loopBgShift 28s ease-in-out infinite alternate;
}
.clients-loop-wrapper::before,
.clients-loop-wrapper::after {
    content:'';
    position:absolute;
    top:0; bottom:0;
    width:10%;
    pointer-events:none;
    z-index:4;
}
.clients-loop-wrapper::before { left:0; background:linear-gradient(to right,rgba(15,28,46,0.95),rgba(15,28,46,0)); }
.clients-loop-wrapper::after { right:0; background:linear-gradient(to left,rgba(15,28,46,0.95),rgba(15,28,46,0)); }

@keyframes loopBgShift { 0%{background-position:0% 50%} 100%{background-position:100% 50%} }

.clients-loop-track {
    display:flex;
    gap:28px;
    align-items:stretch;
    width:fit-content;
    animation: clientsBeltScroll 42s linear infinite;
    will-change: transform;
}
.clients-loop-wrapper:hover .clients-loop-track { animation-play-state: paused; }
@keyframes clientsBeltScroll { 0%{ transform:translateX(0)} 100%{ transform:translateX(-50%) } }

.client-card-belt {
    flex:0 0 auto;
    width: clamp(190px,22vw,240px);
    position:relative;
}
.client-card-belt-inner {
    background:#ffffff;
    border-radius:18px;
    height:100%;
    padding:20px 18px 18px;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
    border:2px solid #e2e8f0;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    position:relative;
    overflow:hidden;
    transition: transform .45s cubic-bezier(.25,.8,.25,1), box-shadow .45s ease, border-color .45s ease;
}
.client-card-belt-inner::before {
    content:'';
    position:absolute; left:0; top:0; right:0; height:6px;
    background:linear-gradient(90deg,var(--brand-color,#3b82f6),#1e40af);
    transform:scaleX(.0);
    transform-origin:left;
    transition:transform .55s ease;
}
.client-card-belt:hover .client-card-belt-inner { transform:translateY(-10px); box-shadow:0 18px 40px rgba(0,0,0,0.18); border-color: var(--brand-color,#3b82f6); }
.client-card-belt:hover .client-card-belt-inner::before { transform:scaleX(1); }

.client-logo-ring {
    width:92px; height:92px; border-radius:50%;
    background:linear-gradient(180deg,rgba(59,130,246,.08),rgba(30,64,175,.06));
    display:flex; align-items:center; justify-content:center;
    margin:0 0 14px;
    box-shadow:0 6px 16px rgba(0,0,0,.08);
    border:1px solid rgba(59,130,246,.18);
    overflow:hidden;
    position:relative;
    transition: transform .45s ease, box-shadow .45s ease;
}
.client-card-belt:hover .client-logo-ring { transform:scale(1.08) rotate(-4deg); box-shadow:0 10px 28px rgba(0,0,0,.18); }
.client-logo-ring img { max-width:76%; max-height:68%; object-fit:contain; filter:grayscale(100%) brightness(1.15); opacity:.9; transition:filter .4s ease, opacity .4s ease, transform .4s ease; }
.client-card-belt:hover .client-logo-ring img { filter:grayscale(0%) brightness(1); opacity:1; transform:scale(1.04); }

.client-card-name { font-size:1.05rem; font-weight:800; color:#1e293b; margin:4px 0 2px; letter-spacing:.02em; }
.client-card-category { font-size:.65rem; font-weight:800; letter-spacing:.25em; color:var(--brand-color,#3b82f6); display:inline-block; margin-bottom:10px; }
.client-card-stat { font-size:.75rem; color:#64748b; font-weight:600; line-height:1.3; margin:0; }

/* Colores por marca */
.client-card-belt[data-brand=mercado] { --brand-color:#ffe600; }
.client-card-belt[data-brand=doctor] { --brand-color:#10b981; }
.client-card-belt[data-brand=bdo] { --brand-color:#f59e0b; }
.client-card-belt[data-brand=tech] { --brand-color:#6366f1; }
.client-card-belt[data-brand=99min] { --brand-color:#22d3ee; }
.client-card-belt[data-brand=perro] { --brand-color:#ef4444; }
.client-card-belt[data-brand=liverpool] { --brand-color:#ec4899; }

/* Pausa accesible y reduce motion */
@media (prefers-reduced-motion: reduce) {
    .clients-loop-track { animation: none !important; }
}

/* Responsive ajustes */
@media (max-width: 992px){
    .clients-loop-wrapper { padding:34px 0 44px; }
    .client-card-belt { width: clamp(170px,38vw,220px); }
}
@media (max-width: 768px){
    .clients-loop-wrapper::before, .clients-loop-wrapper::after { width:16%; }
    .client-logo-ring { width:80px; height:80px; }
    .client-card-name { font-size:.95rem; }
    .client-card-category { letter-spacing:.18em; }
    .client-card-stat { font-size:.7rem; }
}
@media (max-width: 520px){
    .client-card-belt { width: 72%; }
    .clients-loop-track { gap:22px; }
}

/* Estado de enfoque para accesibilidad */
.client-card-belt-inner:focus-within, .client-card-belt-inner:focus { outline:3px solid var(--brand-color,#3b82f6); outline-offset:2px; }

/* Estilos para botones de tipo de consulta en formulario de contacto */
.btn-tipo {
    background-color: #fe810d;
    border-color: #fe810d;
    color: white;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    min-width: 180px;
}
.btn-tipo:hover {
    background-color: #e6730a;
    border-color: #e6730a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 108, 3, 0.808);
}
.btn-check:checked + .btn-tipo {
    background-color: #cc5f09;
    border-color: #cc5f09;
    box-shadow: 0 0 0 0.2rem rgba(254, 129, 13, 0.852);
}
.tipo-seleccion .form-label-modern {
    font-weight: 600;
    color: white;
}
