/* Variables del Tema (Azul Electrico & Dark Cybernetic) */
:root {
    --blue-primary: #0284C7;
    --blue-bright: #38BDF8;
    --blue-glow: rgba(56, 189, 248, 0.4);
    --dark-base: #0B1120;
    --dark-surface: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-main: #F8FAFC;
    --text-sub: #94A3B8;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-base);
    color: var(--text-main);
    overflow-x: hidden;
}

.text-blue {
    color: var(--blue-bright) !important;
}

/* Colores de Utilidad */
.text-primary-blue {
    color: var(--primary-blue) !important;
}

.bg-blue-subtle {
    background-color: rgba(11, 99, 229, 0.15);
    border: 1px solid rgba(11, 99, 229, 0.3);
}

.text-light-gray {
    color: var(--text-muted);
}

/* Botones Personalizados Azul y Blanco */
.btn-blue {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-blue:hover {
    background-color: var(--primary-blue-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 99, 229, 0.4);
}

/* ==================== NAVBAR MODERN ==================== */
.custom-navbar {
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.5);
}

.brand-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
    display: block;
}

.brand-subtitle {
    font-size: 0.65rem;
    color: var(--text-sub);
    letter-spacing: 1.5px;
    font-weight: 600;
    display: block;
}

.custom-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.custom-link:hover, .custom-link.active {
    color: var(--blue-bright) !important;
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow {
    background: linear-gradient(135deg, #0284C7, #2563EB);
    color: #fff;
    border: none;
    box-shadow: 0 0 20px var(--blue-glow);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.7);
    color: #fff;
}

.custom-navbar .btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.custom-navbar .btn-glass:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--blue-bright);
    color: var(--blue-bright);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* ==================== HERO SECTION & SLIDER ==================== */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Imágenes de fondo para el Slider con animación de zoom leve */
.swiper-slide {
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.swiper-slide-active {
    transform: scale(1.08);
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1617814076367-b759c7d7e738?q=80&w=1920');
}
.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?q=80&w=1920');
}
.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1517524008697-84bbe3c3fd98?q=80&w=1920');
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, rgba(11, 17, 32, 0.85) 0%, rgba(11, 17, 32, 0.95) 100%);
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Badge con luz intermitente */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--blue-bright);
    font-size: 0.85rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--blue-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--blue-bright);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-heading {
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: linear-gradient(135deg, #38BDF8 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-sub);
    max-width: 580px;
}

/* Botones Hero */
.btn-main {
    background: linear-gradient(135deg, #0284C7, #2563EB);
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.6);
    color: #fff;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-weight: 600;
    padding: 14px 32px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* ==================== HERO GLASS CARD ==================== */
.hero-glass-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-header-badge {
    background: rgba(2, 132, 199, 0.2);
    color: var(--blue-bright);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin: 0;
}

.divider {
    border-color: var(--glass-border);
    margin: 20px 0;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ==================== WHATSAPP PULSE ==================== */
.whatsapp-btn-pulse {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: whatsapp-glow 2s infinite;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-btn-pulse:hover {
    color: #fff;
    transform: scale(1.1);
}

@keyframes whatsapp-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--dark-base);
        padding: 20px;
        border-radius: 16px;
        margin-top: 15px;
        border: 1px solid var(--glass-border);
    }
}


/* ==================== SECCIÓN NOSOTROS ==================== */
.about-section {
    position: relative;
    background: #0F172A; /* Tono de superficie un poco más claro que el fondo base */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 30px;
    padding-right: 30px;
}

.main-img-box img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
}

.secondary-img-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border: 4px solid #0F172A;
    border-radius: 20px;
    overflow: hidden;
}

.secondary-img-box img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, #0284C7, #2563EB);
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.4);
}

.badge-number {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
}

/* Tarjetas de Características */
.about-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(2, 132, 199, 0.2);
    color: var(--blue-bright);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Ajustes Responsive para la composición de imágenes */
@media (max-width: 575.98px) {
    .about-image-wrapper {
        padding-bottom: 0;
        padding-right: 0;
    }
    .experience-badge {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        display: inline-flex;
    }
}


/* ==================== SECCIÓN SERVICIOS ==================== */
.services-section {
    background-color: var(--dark-base);
    position: relative;
}

.service-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto de linea brillante superior al hacer hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0284C7, #38BDF8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(2, 132, 199, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--blue-bright);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, #0284C7, #2563EB);
    color: #ffffff;
    box-shadow: 0 0 20px var(--blue-glow);
}

.service-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.btn-service {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.4);
}


/* ==================== SECCIÓN PROCESO Y POR QUÉ ELEGIRNOS ==================== */
.process-section {
    background: #0F172A;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
}

.why-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 22px;
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(2, 132, 199, 0.15);
    color: var(--blue-bright);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

/* Pasos del Proceso (Step Cards) */
.step-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 20px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--blue-bright);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.2);
}

.step-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #38BDF8, #2563EB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}


/* ==================== SECCIÓN CONTACTO Y FOOTER ==================== */
.contact-section {
    background-color: var(--dark-base);
    position: relative;
}

.contact-info-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.85);
    transform: translateX(5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(2, 132, 199, 0.15);
    color: var(--blue-bright);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.whatsapp-cta-box {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 132, 199, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.map-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.main-footer {
    background: #070B14;
    border-top: 1px solid var(--glass-border);
}

.hover-blue:hover {
    color: var(--blue-bright) !important;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--blue-primary);
    color: #fff;
    transform: translateY(-3px);
}