/* ==========================================================================
   VARIABLES DE MARCA - SMART TECHNOLOGY
   ========================================================================== */
:root {
    --smart-cyan: #00C4F4;
    --smart-cyan-hover: #00A8D6;
    --smart-cyan-dark: #008BB3;
    --smart-navy: #0B132B;
    --smart-navy-card: #131F42;
    --smart-slate-300: #CBD5E1;
    --smart-text-muted: #94A3B8;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ==========================================================================
   ESTILOS GENERALES Y TIPOGRAFÍA
   ========================================================================== */
body {
    font-family: var(--font-body);
    color: #1E293B;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
    font-family: var(--font-heading);
}

.fw-extrabold { font-weight: 800; }
.tracking-wide { letter-spacing: 0.06em; }
.tracking-wider { letter-spacing: 0.12em; }
.lh-tight { line-height: 1.15; }
.py-6 { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.max-w-700 { max-width: 700px; }

/* Colores utilitarios */
.text-cyan { color: var(--smart-cyan) !important; }
.text-cyan-dark { color: var(--smart-cyan-dark) !important; }
.text-dark-navy { color: var(--smart-navy) !important; }
.text-slate-300 { color: var(--smart-slate-300) !important; }
.text-light-muted { color: var(--smart-text-muted) !important; }
.bg-dark-navy { background-color: var(--smart-navy) !important; }
.bg-cyan { background-color: var(--smart-cyan) !important; }
.bg-cyan-subtle { background-color: rgba(0, 196, 244, 0.15) !important; }

.text-gradient-cyan {
    background: linear-gradient(90deg, #00C4F4 0%, #67E8F9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   TARJETAS DARK GLASS
   ========================================================================== */
.glass-dark-card {
    background: linear-gradient(145deg, rgba(22, 34, 68, 0.92) 0%, rgba(15, 24, 52, 0.96) 100%);
    border: 1px solid rgba(0, 196, 244, 0.18);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-dark-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 196, 244, 0.55);
    box-shadow: 0 25px 50px -12px rgba(0, 196, 244, 0.15);
}

.metric-tile {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   BOTONES PERSONALIZADOS
   ========================================================================== */
.btn-cyan {
    background-color: var(--smart-cyan);
    border-color: var(--smart-cyan);
    color: var(--smart-navy);
    transition: all 0.25s ease;
}

.btn-cyan:hover, .btn-cyan:focus {
    background-color: var(--smart-cyan-hover);
    border-color: var(--smart-cyan-hover);
    color: var(--smart-navy);
    transform: translateY(-2px);
}

.btn-outline-cyan {
    border: 1.5px solid var(--smart-cyan);
    color: var(--smart-cyan);
    transition: all 0.25s ease;
}

.btn-outline-cyan:hover {
    background-color: var(--smart-cyan);
    color: var(--smart-navy);
}

.shadow-cyan {
    box-shadow: 0 10px 25px -5px rgba(0, 196, 244, 0.4);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    padding: 1.1rem 0;
    background-color: rgba(11, 19, 43, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background-color: rgba(11, 19, 43, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.brand-title {
    font-size: 1.35rem;
    color: #FFFFFF;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--smart-cyan);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 94vh;
    background: radial-gradient(circle at 80% 20%, #162852 0%, var(--smart-navy) 65%);
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 196, 244, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 196, 244, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-glow {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 380px;
    height: 380px;
    background: var(--smart-cyan);
    filter: blur(160px);
    opacity: 0.18;
    border-radius: 50%;
    pointer-events: none;
}

.badge-tech {
    background: rgba(0, 196, 244, 0.12);
    border: 1px solid rgba(0, 196, 244, 0.35);
    color: var(--smart-cyan);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--smart-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 196, 244, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 196, 244, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(0, 196, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 196, 244, 0); }
}

.status-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.infra-item {
    background: rgba(11, 19, 43, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.infra-item:hover {
    transform: translateX(6px);
    border-color: rgba(0, 196, 244, 0.45);
}

.icon-box-sm {
    width: 42px;
    height: 42px;
    background: rgba(0, 196, 244, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-md {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   TARJETAS DE SERVICIOS Y PASOS
   ========================================================================== */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent !important;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(11, 19, 43, 0.12) !important;
    border-top-color: var(--smart-cyan) !important;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 196, 244, 0.12);
    color: var(--smart-cyan-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--smart-cyan);
    color: var(--smart-navy);
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(0, 196, 244, 0.08);
    color: var(--smart-navy);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--smart-cyan);
}

.step-card {
    transition: transform 0.25s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--smart-navy);
    color: var(--smart-cyan);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(0, 196, 244, 0.35);
}

/* ==========================================================================
   NUEVO FORMULARIO DE CONTACTO SAAS (UX MODERNO)
   ========================================================================== */
.contact-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

.contact-glow {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: var(--smart-cyan);
    filter: blur(110px);
    opacity: 0.25;
    border-radius: 50%;
    pointer-events: none;
}

.contact-icon-dark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 196, 244, 0.14);
    border: 1px solid rgba(0, 196, 244, 0.3);
    color: var(--smart-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Selector visual de servicios (Chips / Pills) */
.service-pill {
    background-color: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: #475569;
    cursor: pointer;
    transition: all 0.22s ease;
    user-select: none;
}

.service-pill i {
    color: #64748B;
    transition: color 0.22s ease;
}

.service-pill:hover {
    border-color: var(--smart-cyan);
    background-color: rgba(0, 196, 244, 0.04);
    color: var(--smart-navy);
    transform: translateY(-2px);
}

.btn-check:checked + .service-pill {
    background-color: rgba(0, 196, 244, 0.12);
    border-color: var(--smart-cyan);
    color: var(--smart-navy);
    box-shadow: 0 6px 18px -4px rgba(0, 196, 244, 0.3);
}

.btn-check:checked + .service-pill i {
    color: var(--smart-cyan-dark);
}

/* Inputs modernos con Floating Labels e Iconos */
.input-icon-group {
    position: relative;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.1rem;
    z-index: 5;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-icon-group .modern-input {
    padding-left: 2.85rem !important;
}

.input-icon-group .form-floating > label {
    padding-left: 2.85rem !important;
    color: #64748B;
}

.modern-input, .modern-textarea {
    background-color: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 0.75rem;
    color: var(--smart-navy);
    transition: all 0.2s ease;
}

.modern-input:focus, .modern-textarea:focus {
    background-color: #FFFFFF;
    border-color: var(--smart-cyan);
    box-shadow: 0 0 0 4px rgba(0, 196, 244, 0.15);
}

.input-icon-group:focus-within .input-icon {
    color: var(--smart-cyan-dark);
}

/* ==========================================================================
   FOOTER Y WHATSAPP FLOTANTE
   ========================================================================== */
.footer-link {
    color: var(--smart-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--smart-cyan);
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-btn:hover {
    background: var(--smart-cyan);
    color: var(--smart-navy);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1040;
    transition: transform 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #FFFFFF;
}