﻿
/* --- VARIABLES DE IDENTIDAD VISUAL --- */
:root {
    --ruby-red: #D92458;
    --ruby-red-dark: #b01a45;
    --modern-blue: #00338D;       /* Telcel Pantone 280 C */
    --modern-blue-dark: #002266;
    --modern-blue-light: #004FB6;
    --elegant-gray: #343A40;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
}

/* --- TIPOGRAFÍA --- */
body {
    font-family: 'Inter', sans-serif;
    color: var(--elegant-gray);
    overflow-x: hidden;
    background-color: #f4f6f9;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
    font-family: 'Outfit', sans-serif;
}

/* --- NAVBAR PREMIUM GLASSMORPHISM --- */
.navbar {
    padding: 0.6rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 79, 182, 0.08);
    box-shadow: 0 4px 30px rgba(0, 79, 182, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}

.navbar.scrolled {
    padding: 0.4rem 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 40px rgba(0, 79, 182, 0.12);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--modern-blue), var(--ruby-red)) 1;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--modern-blue) !important;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.nav-link {
    color: var(--elegant-gray) !important;
    font-weight: 600;
    margin: 0 2px;
    padding: 8px 14px !important;
    position: relative;
    letter-spacing: 0.3px;
    font-size: 0.78rem;
    text-transform: uppercase;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 2px;
        left: 50%;
        background: linear-gradient(90deg, var(--modern-blue), var(--ruby-red));
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }

    .nav-link:hover {
        color: var(--modern-blue) !important;
        background: rgba(0, 79, 182, 0.04);
    }

    .nav-link:hover::after {
        width: 70%;
    }

    .nav-link.active {
        color: var(--ruby-red) !important;
    }

    .nav-link.active::after {
        width: 70%;
        background: var(--ruby-red);
    }

/* --- MEGA MENU PREMIUM --- */
.dropdown-menu.mega-menu {
    width: 100%;
    min-width: 600px;
    padding: 20px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 79, 182, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    margin-top: 10px;
    border: 1px solid rgba(0, 79, 182, 0.06);
    animation: megaMenuIn 0.25s ease-out;
}

@keyframes megaMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--elegant-gray);
}

    .mega-menu-item:hover {
        background: linear-gradient(135deg, rgba(0, 79, 182, 0.05), rgba(217, 36, 88, 0.03));
        transform: translateX(5px);
    }

.mega-menu-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(0, 79, 182, 0.08), rgba(217, 36, 88, 0.08));
    color: var(--modern-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.mega-menu-item:hover .mega-menu-icon {
    background: linear-gradient(135deg, var(--modern-blue), var(--ruby-red));
    color: white;
    transform: scale(1.08);
}

.mega-menu-content h6 {
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--modern-blue);
}

.mega-menu-content p {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.3;
}

/* --- MENÚ MÓVIL PREMIUM --- */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-collapse {
        background: linear-gradient(160deg, #001433 0%, var(--modern-blue) 40%, var(--modern-blue-dark) 100%);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem 1.5rem 1.5rem;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
        max-height: 85vh;
        overflow-y: auto;
        animation: mobileMenuSlide 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes mobileMenuSlide {
        from { opacity: 0; transform: translateY(-15px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.95rem;
        padding: 14px 16px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-align: left;
        border-radius: 10px;
        margin: 2px 0;
    }

    .nav-link:hover, .nav-link:focus {
        color: white !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        color: white !important;
        background: rgba(217, 36, 88, 0.2) !important;
        border-left: 3px solid var(--ruby-red);
    }

    /* Ajustes Mega Menu Movil */
    .dropdown-menu.mega-menu {
        position: static;
        width: 100%;
        min-width: auto;
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
        padding: 8px 0;
        margin: 0;
        border: none;
        border-radius: 12px;
        animation: none;
    }

    .mega-menu-item {
        padding: 12px 16px;
        border-bottom: none;
        border-radius: 10px;
        margin: 2px 0;
    }

    .mega-menu-item:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: none;
    }

    .mega-menu-icon {
        background: rgba(255, 255, 255, 0.12);
        color: white;
    }

    .mega-menu-content h6 {
        color: white;
        font-size: 0.9rem;
    }

    .mega-menu-content p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.75rem;
    }
}

/* --- HAMBURGUESA ANIMADA --- */
.navbar-toggler {
    border: none;
    padding: 0;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

    .hamburger-icon span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--modern-blue);
        border-radius: 9px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

.navbar.scrolled .hamburger-icon span {
    background: var(--ruby-red);
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 9px;
}

.hamburger-icon span:nth-child(3) {
    top: 18px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 9px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 9px;
    transform: rotate(-135deg);
}

/* --- HERO SECTION (CARRUSEL) --- */
.hero-carousel {
    height: 100vh;
    position: relative;
}

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}
/* Capa oscura para legibilidad */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 51, 141, 0.65), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- BOTONES — SISTEMA UNIFICADO CENCEL --- */
.btn-ruby {
    background: linear-gradient(135deg, var(--ruby-red) 0%, var(--ruby-red-dark) 100%);
    color: white;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(217, 36, 88, 0.25);
}

.btn-ruby::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.6s ease;
}

.btn-ruby:hover::before {
    left: 100%;
}

.btn-ruby:hover {
    transform: translateY(-3px) scale(1.02);
    color: white;
    box-shadow: 0 8px 25px rgba(217, 36, 88, 0.4);
}

.btn-ruby:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(217, 36, 88, 0.3);
}

/* Boton contacto pequeño */
.btn-ruby-sm {
    padding: 8px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.btn-outline-light-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.btn-outline-light-custom:hover::before {
    left: 100%;
}

    .btn-outline-light-custom:hover {
        background: white;
        color: var(--modern-blue);
        border-color: white;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    }

/* Unificar TODOS los botones del sitio con el estilo Cencel */
.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-success:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

.btn-outline-dark {
    border: 2px solid var(--elegant-gray);
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.btn-outline-dark:hover {
    transform: translateY(-3px) scale(1.02) !important;
    background: var(--elegant-gray);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary {
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    overflow: hidden;
}

.btn-outline-primary:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 18px rgba(0, 79, 182, 0.25);
}

/* --- BOTÓN FLOTANTE "TE LLAMAMOS" --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: var(--whatsapp-green);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

    .floating-cta:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
        background-color: #20b857;
        color: white;
    }

    .floating-cta i {
        font-size: 1.2rem;
    }

/* --- SECCIONES GENERALES --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    color: var(--modern-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        display: block;
        width: 50%;
        height: 4px;
        background: var(--ruby-red);
        margin-top: 5px;
        border-radius: 2px;
    }

/* --- QUIENES SOMOS (CARDS) — Legacy support --- */
.feature-card {
    border: none;
    border-radius: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
    padding: 2rem;
}

    .feature-card:hover {
        transform: translateY(-10px);
    }

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 79, 182, 0.1);
    color: var(--modern-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.award-list li, .vision-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: start;
}

.award-list i, .vision-list i {
    color: var(--ruby-red);
    margin-right: 10px;
    margin-top: 5px;
}

/* ============================================
   NOSOTROS — NUESTRA HISTORIA (Redesign)
   ============================================ */
.nosotros-section {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.nosotros-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 79, 182, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(217, 36, 88, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.nosotros-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--modern-blue), var(--ruby-red));
    color: white;
    padding: 6px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.nosotros-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--modern-blue);
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.nosotros-title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--modern-blue), var(--ruby-red));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Imagen con marco decorativo */
.historia-img-wrapper {
    position: relative;
    padding: 20px;
}

.historia-img-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    border: 3px solid var(--modern-blue);
    border-radius: 20px;
    z-index: 0;
    opacity: 0.3;
}

.historia-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 60px rgba(0, 79, 182, 0.2);
    transition: transform 0.5s ease;
}

.historia-img-wrapper:hover .historia-img {
    transform: scale(1.02);
}

.historia-img-float-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--ruby-red), var(--ruby-red-dark));
    color: white;
    padding: 12px 24px;
    border-radius: 15px 0 20px 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(217, 36, 88, 0.35);
}

.historia-img-float-badge i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Texto historia */
.historia-text-block {
    position: relative;
    padding-left: 30px;
}

.historia-quote-icon {
    position: absolute;
    top: -10px;
    left: 0;
    color: var(--ruby-red);
    font-size: 2rem;
    opacity: 0.2;
}

.historia-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 1.2rem;
}

.historia-text strong {
    color: var(--modern-blue);
    font-weight: 700;
}

.historia-text-highlight {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 79, 182, 0.08), rgba(217, 36, 88, 0.08));
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--modern-blue);
    font-size: 1.15rem;
    border-left: 4px solid var(--ruby-red);
    margin-top: 0.5rem;
}

/* ============================================
   MISIÓN & VISIÓN (Redesign)
   ============================================ */
.mv-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 100%);
}

.mv-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 79, 182, 0.06) 0%, transparent 70%);
    z-index: 1;
}

/* Card principal */
.mv-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 79, 182, 0.12);
}

/* Barra superior de color */
.mv-card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--modern-blue), var(--ruby-red));
}

/* Número decorativo grande */
.mv-card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 79, 182, 0.04);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

/* Icono circular */
.mv-card-icon-wrap {
    margin-bottom: 1.5rem;
}

.mv-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.mv-card-mision .mv-card-icon {
    background: linear-gradient(135deg, rgba(0, 79, 182, 0.1), rgba(0, 79, 182, 0.05));
    color: var(--modern-blue);
}

.mv-card-vision .mv-card-icon {
    background: linear-gradient(135deg, rgba(217, 36, 88, 0.1), rgba(217, 36, 88, 0.05));
    color: var(--ruby-red);
}

.mv-card:hover .mv-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.mv-card-mision:hover .mv-card-icon {
    background: var(--modern-blue);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 79, 182, 0.3);
}

.mv-card-vision:hover .mv-card-icon {
    background: var(--ruby-red);
    color: white;
    box-shadow: 0 10px 25px rgba(217, 36, 88, 0.3);
}

/* Título y texto */
.mv-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--elegant-gray);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.mv-card-mision .mv-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--modern-blue);
    margin-top: 8px;
    border-radius: 2px;
    transition: width 0.3s;
}

.mv-card-vision .mv-card-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--ruby-red);
    margin-top: 8px;
    border-radius: 2px;
    transition: width 0.3s;
}

.mv-card:hover .mv-card-title::after {
    width: 70px;
}

.mv-card-text {
    color: #5a6577;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Acento inferior */
.mv-card-bottom-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 79, 182, 0.08);
    color: var(--modern-blue);
    transition: all 0.3s;
}

.mv-card:hover .mv-card-bottom-accent {
    background: var(--modern-blue);
    color: white;
    transform: translateX(5px);
}

/* Compromiso Cencel */
.mv-commitment-title {
    font-weight: 700;
    color: var(--modern-blue);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 79, 182, 0.1);
}

.mv-commitment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mv-commitment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(0, 79, 182, 0.04), rgba(217, 36, 88, 0.02));
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
    transition: all 0.3s;
}

.mv-commitment-item:hover {
    background: linear-gradient(135deg, rgba(0, 79, 182, 0.1), rgba(217, 36, 88, 0.05));
    transform: translateX(3px);
}

.mv-commitment-item i {
    color: var(--ruby-red);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nosotros-main-title {
        font-size: 2.2rem;
    }
    .historia-img-accent {
        display: none;
    }
    .historia-text-block {
        padding-left: 0;
    }
    .mv-card {
        padding: 2rem 1.5rem;
    }
    .mv-card-number {
        font-size: 3.5rem;
    }
    .mv-commitment-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PLANES COMPARATIVA (Redesign V2)
   ============================================ */
.planes-comp-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
}

.planes-comp-bg {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 79, 182, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.plans-table-container-v2 {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 79, 182, 0.1);
    background: white;
    border: 1px solid rgba(0, 79, 182, 0.08);
}

.table-planes-v2 th {
    background: linear-gradient(135deg, var(--modern-blue) 0%, var(--modern-blue-dark) 100%);
    color: white;
    border: none;
    padding: 1.3rem 1rem;
    vertical-align: middle;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.table-planes-v2 th:first-child {
    border-radius: 20px 0 0 0;
}

.table-planes-v2 th:last-child {
    border-radius: 0 20px 0 0;
}

.th-renta-libre {
    background: linear-gradient(135deg, var(--modern-blue-dark), #001a4d) !important;
    border-left: 2px solid rgba(255,255,255,0.15) !important;
    border-right: 2px solid rgba(255,255,255,0.15) !important;
}

.th-renta-ctrl {
    background: linear-gradient(135deg, var(--ruby-red), var(--ruby-red-dark)) !important;
}

.table-planes-v2 td {
    padding: 1.1rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.table-planes-v2 tbody tr:hover td {
    background-color: rgba(0, 79, 182, 0.03);
}

.table-planes-v2 tbody tr:last-child td:first-child {
    border-radius: 0 0 0 20px;
}

.table-planes-v2 tbody tr:last-child td:last-child {
    border-radius: 0 0 20px 0;
}

/* Info button promo - blue circle */
.btn-info-promo {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
    cursor: pointer;
    vertical-align: middle;
}

.btn-info-promo:hover {
    background: white;
    color: var(--modern-blue);
    border-color: white;
    transform: scale(1.15);
}

/* Info button in table rows */
.btn-info-promo-row {
    background: rgba(0, 79, 182, 0.1);
    border: none;
    color: var(--modern-blue);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.3s;
    cursor: pointer;
    vertical-align: middle;
}

.btn-info-promo-row:hover {
    background: var(--modern-blue);
    color: white;
    transform: scale(1.2);
}

/* --- PIN ROSA OVERLAY PARA MAPA --- */
.map-wrapper {
    position: relative;
}

.map-pin-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 8px rgba(217, 36, 88, 0.4));
    animation: pinBounce 0.6s ease-out;
}

.map-pin-overlay svg {
    width: 44px;
    height: 58px;
}

.map-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    z-index: 9;
    pointer-events: none;
}

.map-pin-pulse::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(217, 36, 88, 0.25);
    border-radius: 50%;
    animation: pinPulse 2s ease-out infinite;
}

@keyframes pinBounce {
    0% { transform: translate(-50%, -150%); opacity: 0; }
    60% { transform: translate(-50%, -90%); opacity: 1; }
    80% { transform: translate(-50%, -105%); }
    100% { transform: translate(-50%, -100%); }
}

@keyframes pinPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(4); opacity: 0; }
}

/* --- SUCURSALES — Telcel Azul Cielo Nocturno + Partículas --- */
#sucursales {
    background: linear-gradient(170deg, #00245e 0%, #00338D 35%, #003fa8 65%, #001e50 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

    #sucursales::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            radial-gradient(circle 500px at 10% 80%, rgba(217, 36, 88, 0.1) 0%, transparent 60%),
            radial-gradient(circle 400px at 90% 20%, rgba(0, 100, 200, 0.15) 0%, transparent 60%),
            radial-gradient(circle 600px at 50% 50%, rgba(0, 51, 141, 0.2) 0%, transparent 50%);
        animation: sucursalesGlow 8s ease-in-out infinite alternate;
        pointer-events: none;
    }

    @keyframes sucursalesGlow {
        0% { opacity: 0.7; }
        100% { opacity: 1; }
    }

    #sucursales::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        background-image:
            radial-gradient(circle 2px at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 100%),
            radial-gradient(circle 1.5px at 60% 20%, rgba(255,255,255,0.12) 0%, transparent 100%),
            radial-gradient(circle 2px at 80% 60%, rgba(255,255,255,0.1) 0%, transparent 100%),
            radial-gradient(circle 1px at 40% 80%, rgba(255,255,255,0.15) 0%, transparent 100%),
            radial-gradient(circle 1.5px at 10% 60%, rgba(255,255,255,0.08) 0%, transparent 100%),
            radial-gradient(circle 2px at 90% 85%, rgba(255,255,255,0.12) 0%, transparent 100%),
            radial-gradient(circle 1px at 70% 45%, rgba(255,255,255,0.1) 0%, transparent 100%),
            radial-gradient(circle 1.5px at 35% 15%, rgba(255,255,255,0.08) 0%, transparent 100%);
        animation: starsFlicker 5s ease-in-out infinite alternate;
        z-index: 0;
    }

    @keyframes starsFlicker {
        0% { opacity: 0.6; }
        50% { opacity: 1; }
        100% { opacity: 0.7; }
    }

.sucursales-glass-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.branch-card-modern {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border-left: 6px solid var(--ruby-red);
    position: relative;
    overflow: hidden;
}

    .branch-card-modern:hover {
        transform: translateX(5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

.branch-icon-bg {
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 5rem;
    color: rgba(0,0,0,0.03);
    transform: rotate(-15deg);
}

/* --- TABLA COMPARATIVA DE PLANES (NUEVO) --- */
.plans-table-container {
    overflow-x: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.table-custom th {
    background-color: var(--modern-blue);
    color: white;
    border: none;
    padding: 1.5rem 1rem;
    vertical-align: middle;
    font-family: 'Outfit', sans-serif;
}

.table-custom td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.table-custom tr:hover td {
    background-color: #f8f9fa;
}

.plan-icon-header {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.btn-info-custom {
    background: rgba(0, 79, 182, 0.1);
    border: none;
    color: var(--modern-blue);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s;
    cursor: pointer;
}

    .btn-info-custom:hover {
        background: var(--modern-blue);
        color: white;
    }

/* --- INTERNET EN CASA --- */
.internet-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

    .internet-card:hover {
        transform: translateY(-10px);
    }

.speed-badge {
    background: var(--ruby-red);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- ATENCIÓN CORPORATIVA (NUEVO) --- */
.corp-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/atención corpo 1600x1067.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
    text-align: center;
}

/* Nuevo Carrusel Corporativo */
#corpSolutionsCarousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.corp-slide-item {
    height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.corp-slide-caption {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border-left: 5px solid var(--ruby-red);
}

/* Modelo InPlant Moderno */
.inplant-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

    .inplant-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 10px;
        background: var(--modern-blue);
    }

.inplant-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 79, 182, 0.1);
    color: var(--modern-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.inplant-feature:hover .inplant-icon {
    background: var(--modern-blue);
    color: white;
    transform: scale(1.1);
}

/* Clientes Badge Grid */
.client-badge {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 800;
    color: var(--elegant-gray);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

    .client-badge:hover {
        transform: translateY(-5px);
        border-bottom-color: var(--ruby-red);
        color: var(--modern-blue);
    }

/* Stats Animadas */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: -webkit-linear-gradient(45deg, var(--modern-blue), var(--ruby-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- ESTILOS BUSCADOR PLANES (Preservados) --- */
.plans-filter-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.form-control-dark, .form-select-dark {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    padding: 12px 15px;
}

    .form-control-dark:focus, .form-select-dark:focus {
        background-color: rgba(255,255,255,0.1);
        border-color: var(--ruby-red);
        color: white;
        box-shadow: 0 0 0 0.25rem rgba(217, 36, 88, 0.25);
    }

    .form-select-dark option {
        background-color: var(--elegant-gray);
        color: white;
    }

.form-label-custom {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* Tarjeta de Plan Buscador */
.plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

    .plan-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 79, 182, 0.15);
        z-index: 2;
    }

.plan-header {
    background: var(--modern-blue);
    padding: 1.5rem;
    color: white;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

    .plan-header.masivo {
        background: linear-gradient(135deg, var(--modern-blue) 0%, var(--modern-blue-dark) 100%);
    }

    .plan-header.profamily {
        background: linear-gradient(135deg, var(--modern-blue) 0%, var(--modern-blue-dark) 100%);
    }

.plan-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ruby-red);
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-body {
    padding: 1.5rem;
}

.data-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 8px solid #f0f2f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

    .data-circle::after {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 50%;
        border: 8px solid transparent;
        border-top-color: var(--ruby-red);
        border-right-color: var(--ruby-red);
        transform: rotate(45deg);
    }

.benefit-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 0.9rem;
    color: white;
}
/* Colores de Marcas (Aproximación) */
.bg-claro-video {
    background: #d90000;
}

.bg-claro-drive {
    background: #ef7d00;
}

.bg-prime {
    background: #00A8E1;
}

.bg-paramount {
    background: #0064FF;
}

.bg-vrim {
    background: #6c757d;
}

.bg-tdu {
    background: #28a745;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.85rem;
    text-align: left;
}

/* --- FOOTER --- */
footer {
    background-color: var(--elegant-gray);
    color: white;
    padding-top: 60px;
    padding-bottom: 20px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

    .footer-link:hover {
        color: var(--ruby-red);
        padding-left: 5px;
    }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .plans-filter-container {
        padding: 1.5rem;
    }
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pop-in {
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Animacion Promo Gigas */
.promo-highlight {
    animation: pulse 2s infinite;
    color: var(--ruby-red);
    font-weight: bold;
    cursor: help;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


/* Tooltip custom */
.tooltip-inner {
    background-color: var(--modern-blue);
    color: white;
}

/* Servicios Exclusivos Hero Block Styles */
.services-hero-block {
    position: relative;
    background: linear-gradient(135deg, var(--modern-blue-dark) 0%, var(--modern-blue) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 4rem;
}

    .services-hero-block::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Ruta corregida: Sube un nivel para entrar a Images */
        background: url('/images/Servicios corpo 1000x667.jpg') no-repeat center center;
        background-size: cover;
        opacity: 0.2; /* Ajusta qué tan transparente quieres la imagen */
        z-index: 1; /* Va al fondo */
    }

.services-hero-content {
    position: relative;
    z-index: 1;
}

/* Servicios Exclusivos Grid Styles */
.exclusive-service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
    cursor: pointer;
    height: 100%;
}

    .exclusive-service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 79, 182, 0.15);
        border-top-color: var(--ruby-red);
    }

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 79, 182, 0.05);
    color: var(--modern-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: all 0.4s;
}

.exclusive-service-card:hover .service-icon-wrapper {
    background: var(--modern-blue);
    color: white;
    transform: rotateY(360deg);
}

input, select, textarea {
    max-width: 100% !important;
}

.form-selectbt {
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon,none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-selectbt:disabled {
    background-color: #f2f2f2;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.form-selectbt:disabled option {
    color: #999;
}

.btn-disabled {
    background-color: #bfc5cc !important;
    border-color: #bfc5cc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

#detalle-vacante h5 {
    margin-top: 1.5rem;
}

#detalle-vacante p {
    line-height: 1.6;
}

/* ============================================
   SECCIÓN 1: PLANES — Telcel Azul Profundo + Aurora Boreal
   ============================================ */
.section-planes-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #00143a 0%, #00338D 50%, #001a4d 100%);
}

.section-planes-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 15% 30%, rgba(0, 51, 141, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 85% 70%, rgba(217, 36, 88, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 50% 0%, rgba(0, 79, 182, 0.3) 0%, transparent 60%);
    z-index: 0;
    animation: auroraShift 12s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.8; transform: scale(1); }
}

.section-planes-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.section-planes-premium > * {
    position: relative;
    z-index: 1;
}

/* Orbes animados */
.planes-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: orbFloat 10s ease-in-out infinite;
    z-index: 0;
}

.planes-orb-1 {
    width: 350px;
    height: 350px;
    background: #0055cc;
    top: -120px;
    right: -80px;
}

.planes-orb-2 {
    width: 250px;
    height: 250px;
    background: var(--ruby-red);
    bottom: -80px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -18px) scale(1.08); }
    66% { transform: translate(-18px, 12px) scale(0.94); }
}

/* ============================================
   SECCIÓN 2: EQUIPOS — Blanco/Gris Corporativo Elegante
   ============================================ */
.section-equipos-premium {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f0f2f6 40%, #e8ecf2 100%);
}

.section-equipos-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 700px 500px at 0% 0%, rgba(0, 51, 141, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 100% 100%, rgba(217, 36, 88, 0.04) 0%, transparent 60%);
    z-index: 0;
}

/* Patrón diagonal tech sutil */
.section-equipos-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 50px,
            rgba(0, 51, 141, 0.02) 50px,
            rgba(0, 51, 141, 0.02) 51px
        );
    z-index: 0;
}

.section-equipos-premium > * {
    position: relative;
    z-index: 1;
}

/* Acento decorativo azul superior */
.equipos-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--modern-blue), var(--ruby-red), var(--modern-blue));
    z-index: 1;
    animation: none;
}

/* Override textos a oscuros para fondo claro */
.section-equipos-premium .nosotros-main-title {
    color: var(--modern-blue) !important;
}

.section-equipos-premium .section-subtitle-premium {
    color: #5a6577;
}

.section-equipos-premium .form-label-custom {
    color: var(--modern-blue);
}

.section-equipos-premium .plans-filter-container {
    background: white;
    border: 1px solid rgba(0, 51, 141, 0.1);
    box-shadow: 0 15px 40px rgba(0, 51, 141, 0.08);
}

.section-equipos-premium .form-control-dark,
.section-equipos-premium .form-select-dark {
    background-color: #f8f9fb;
    border: 1px solid rgba(0, 51, 141, 0.12);
    color: var(--elegant-gray);
}

.section-equipos-premium .form-control-dark:focus,
.section-equipos-premium .form-select-dark:focus {
    background-color: #ffffff;
    border-color: var(--modern-blue);
    color: var(--elegant-gray);
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 141, 0.15);
}

.section-equipos-premium .form-select-dark option {
    background-color: white;
    color: var(--elegant-gray);
}

.section-equipos-premium #initialMessageEquipos {
    color: var(--elegant-gray) !important;
}

.section-equipos-premium #initialMessageEquipos h4 {
    color: #5a6577;
}

.section-equipos-premium #initialMessageEquipos i {
    color: rgba(0, 51, 141, 0.25);
}

/* Líneas decorativas animadas */
.section-deco-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 141, 0.5), rgba(217, 36, 88, 0.4), transparent);
    z-index: 0;
}

.section-deco-line-top {
    top: 0;
    left: 5%;
    right: 5%;
    animation: decoLineGlow 4s ease-in-out infinite;
}

.section-deco-line-bottom {
    bottom: 0;
    left: 10%;
    right: 10%;
    animation: decoLineGlow 4s ease-in-out infinite 2s;
}

@keyframes decoLineGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* ============================================
   BOTÓN BUSCAR ANIMADO PREMIUM
   ============================================ */
.btn-search-premium {
    background: linear-gradient(135deg, var(--ruby-red) 0%, var(--ruby-red-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(217, 36, 88, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-search-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.btn-search-premium:hover::before {
    left: 100%;
}

.btn-search-premium:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 35px rgba(217, 36, 88, 0.45);
    color: white;
}

.btn-search-premium:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-search-premium .search-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.btn-search-premium:hover .search-icon-wrap {
    background: rgba(255,255,255,0.35);
    transform: rotate(10deg) scale(1.1);
}

/* ============================================
   SECCIÓN SUBTÍTULO PREMIUM
   ============================================ */
.section-subtitle-premium {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   NAVBAR RESPONSIVE EXTRA-SMALL
   ============================================ */
@media (max-width: 575px) {
    .navbar-brand img {
        height: 38px !important;
        width: auto !important;
    }

    .navbar-collapse {
        padding: 0.8rem 1rem 1.2rem;
    }

    .nav-link {
        font-size: 0.88rem !important;
        padding: 12px 14px !important;
    }
}

@media (max-width: 991px) {
    .btn-ruby {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }

    .btn-search-premium {
        width: 100%;
        justify-content: center;
    }
}

