/* ==========================================================================
   VilaTec 2.0 — CSS de Mantenimiento Informático
   Estética Premium Glassmorphic con Acentos Oro/Naranja y Telemetría HUD
   ========================================================================== */

#sistemas-mantenimiento-page {
    background-color: #0b1120; /* Gris pizarra premium (Slate 900) acorde al Stitch */
    color: #f3f4f6;
    overflow-x: hidden;
}

/* ─── Hero Section ────────────────────────────────────────── */
.maint-hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(255, 157, 0, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.maint-hero__bg-image {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
    z-index: 0;
    opacity: 0.22;
    filter: saturate(0.9) contrast(1.1);
}

.maint-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, #05070a 5%, transparent 60%, #05070a 95%);
    z-index: 1;
    pointer-events: none;
}

.maint-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 157, 0, 0.06);
    border: 1px solid rgba(255, 157, 0, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #ff9d00;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.maint-hero__title {
    font-size: clamp(2.3rem, 4.5vw, 4.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.maint-hero__highlight {
    background: linear-gradient(135deg, #ffb33b 0%, #ff9d00 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.maint-hero__desc {
    max-width: 36rem;
    color: #9ca3af;
    line-height: 1.65;
    margin-bottom: 3rem;
}

.maint-hero__ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.maint-hero__ctas .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* ─── HUD de Destacados (Premium Glassmorphic Cyberpunk) ─── */
.maint-hud {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, #0b1120, #0e1629);
}

.maint-hud__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.maint-hud__card {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(255, 157, 0, 0.03) 0%, rgba(13, 17, 23, 0.45) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: block;
}

.maint-hud__card:hover {
    border-color: rgba(255, 157, 0, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(255, 157, 0, 0.06), inset 0 0 15px rgba(255, 157, 0, 0.02);
}

/* Tarjeta especial KuraGuardian */
.maint-hud__card--kuraguardian {
    background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.03) 0%, rgba(13, 17, 23, 0.45) 100%);
    cursor: pointer;
}

.maint-hud__card--kuraguardian:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 20px 45px rgba(0, 240, 255, 0.08), inset 0 0 15px rgba(0, 240, 255, 0.02);
}

.maint-hud__icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(255, 157, 0, 0.1) 0%, rgba(255, 157, 0, 0.02) 100%);
    border: 1px solid rgba(255, 157, 0, 0.2);
    color: #ff9d00;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.maint-hud__card--kuraguardian .maint-hud__icon-wrapper {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, rgba(0, 240, 255, 0.02) 100%);
    border-color: rgba(0, 240, 255, 0.2);
    color: #00f0ff;
}

.maint-hud__icon-wrapper span.material-symbols-outlined {
    font-size: 3.20rem; /* ICONO DOBLE DE GRANDE (frente a 1.6rem anterior) */
    transition: all 0.4s ease;
}

.maint-hud__card:hover .maint-hud__icon-wrapper {
    border-color: rgba(255, 157, 0, 0.45);
    color: #ffb33b;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 157, 0, 0.15);
}

.maint-hud__card--kuraguardian:hover .maint-hud__icon-wrapper {
    border-color: rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

.maint-hud__val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.maint-hud__desc {
    color: #9ca3af;
    line-height: 1.65;
}

/* Contenedor del Logo de KuraGuardian en la tarjeta */
.maint-hud__logo-container {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.maint-hud__kura-logo {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    /* Invertir el logo negro a blanco puro y darle opacidad para el tema oscuro */
    filter: brightness(0) invert(1) opacity(0.48);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.maint-hud__card--kuraguardian:hover .maint-hud__kura-logo {
    filter: brightness(0) invert(1) opacity(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
}

.maint-hud__val {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.maint-hud__desc {
    color: #9ca3af;
    line-height: 1.6;
}

/* ─── Showroom Dual de Tarjetas ────────────────────────────── */
.maint-showroom {
    padding: 6rem 0;
    background-color: #0e1629;
}

.maint-showroom__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
}

.maint-showroom__card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.maint-showroom__card-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.38;
    filter: saturate(0.8) contrast(1.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.maint-showroom__card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(5, 7, 10, 0.95) 10%, rgba(5, 7, 10, 0.6) 60%, transparent 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.maint-showroom__card-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 100%;
}

.maint-showroom__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 157, 0, 0.08);
    border: 1px solid rgba(255, 157, 0, 0.25);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ff9d00;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.maint-showroom__card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.maint-showroom__card-title span.material-symbols-outlined {
    font-size: 1.45rem;
}

.maint-showroom__card-desc {
    color: #9ca3af;
    line-height: 1.65;
}

/* Efectos Interactivos Showroom */
.maint-showroom__card:hover {
    border-color: rgba(255, 157, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(255, 157, 0, 0.05);
}

.maint-showroom__card:hover .maint-showroom__card-bg {
    transform: scale(1.05);
    opacity: 0.48;
}

.maint-showroom__card:hover .maint-showroom__card-overlay {
    background: linear-gradient(to top, rgba(5, 7, 10, 0.9) 10%, rgba(5, 7, 10, 0.5) 60%, transparent 100%);
}


/* ─── Metodología de Tranquilidad ──────────────────────────── */
.maint-methodology {
    padding: 8rem 0;
    background-color: #0b1120;
}

.maint-methodology__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 4.5rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.maint-methodology__card {
    background: rgba(255, 255, 255, 0.02); /* Fondo translúcido claro premium */
    border: 1px solid rgba(255, 255, 255, 0.06); /* Borde nítido para resaltar del fondo */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.25rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.maint-methodology__card:hover {
    border-color: rgba(255, 157, 0, 0.45); /* Resaltar con ámbar/naranja */
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-6px) translateX(6px);
    /* Iluminación glow en hover activa */
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px rgba(255, 157, 0, 0.12), inset 0 0 15px rgba(255, 157, 0, 0.02);
}

.maint-methodology__card-inner {
    display: flex;
    gap: 2rem;
    align-items: center; /* Centrar verticalmente para que con iconos dobles de grande se alinee perfectamente */
}

.maint-methodology__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px; /* Escalado a 2/3 del tamaño máximo (de 96px a 64px) */
    height: 64px; /* Escalado a 2/3 del tamaño máximo (de 96px a 64px) */
    border-radius: 16px; /* Proporcional (de 24px a 16px) */
    background: rgba(255, 157, 0, 0.05);
    border: 1px solid rgba(255, 157, 0, 0.15);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.maint-methodology__card:hover .maint-methodology__icon {
    border-color: rgba(255, 157, 0, 0.45);
    background: rgba(255, 157, 0, 0.12);
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.2);
}

.maint-methodology__icon span.material-symbols-outlined {
    font-size: 1.93rem; /* Escalado a 2/3 del tamaño máximo (de 2.9rem a 1.93rem) */
}

.maint-methodology__content {
    flex-grow: 1;
}

.maint-methodology__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.maint-methodology__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: #ff9d00;
    opacity: 0.6;
    background: rgba(255, 157, 0, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.maint-methodology__desc {
    color: #9ca3af;
    line-height: 1.6;
}


/* ─── Cotizador Inteligente IA ────────────────────────────── */
.maint-quote {
    padding: 6rem 0;
    background-color: #0e1629;
}

.maint-quote__card {
    background: rgba(13, 17, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 3.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.maint-quote__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.maint-quote__content {
    display: flex;
    flex-direction: column;
}

.maint-quote__title {
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.maint-quote__desc {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.maint-quote__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.maint-quote__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.72;
    filter: saturate(0.85);
}

.maint-quote__image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(5,7,10,0.85) 20%, transparent 100%);
    z-index: 1;
}

/* Marco HUD Inteligente */
.maint-quote__hud {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    background: rgba(5, 7, 10, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 8px;
    padding: 1rem;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 15px rgba(0, 240, 255, 0.05);
}

.maint-quote__hud-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    color: #00f0ff;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.maint-quote__hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00f0ff;
    animation: pulse-opacity 1.5s infinite;
}

.maint-quote__hud-body {
    font-size: 0.65rem;
    line-height: 1.5;
    color: #9ca3af;
}


/* ─── CTA Final ───────────────────────────────────────────── */
.maint-cta {
    padding: 8rem 0;
    background-color: #0b1120;
}

.maint-cta__card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8) 0%, rgba(255, 157, 0, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.maint-cta__glow {
    position: absolute;
    top: -50%; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 157, 0, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.maint-cta__inner {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (MÓVIL / TABLETAS)
   ========================================================================== */

/* Portátiles y pantallas medianas */
@media (max-width: 992px) {
    .maint-hero {
        padding: 10rem 0 6rem;
    }
    
    .maint-hero__bg-image {
        width: 100%;
        opacity: 0.12;
    }

    .maint-hud__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .maint-showroom__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .maint-quote__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .maint-quote__card {
        padding: 2.5rem;
    }
}

/* Móviles en vertical */
@media (max-width: 576px) {
    .maint-hero__badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.85rem;
    }

    .maint-hero__title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .maint-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .maint-hero__ctas .btn {
        text-align: center;
        justify-content: center;
        white-space: normal; /* Permitir saltos de línea para textos largos */
        font-size: 0.78rem; /* Reducir ligeramente la fuente en móvil */
        padding: 0.85rem 1rem; /* Padding adaptado para pantallas estrechas */
        line-height: 1.4;
    }

    .maint-hud__card {
        padding: 2rem 1.5rem;
    }

    .maint-showroom__card {
        min-height: 320px;
    }

    .maint-showroom__card-content {
        padding: 2rem;
    }

    .maint-methodology__card {
        padding: 1.5rem;
    }

    .maint-methodology__card-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .maint-cta__card {
        padding: 3.5rem 1.5rem;
    }
}

/* ─── ANIMACIONES PREMIUM PARA LAIA ───────────────────────────────────── */
@keyframes pulse-laia {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0,240,255,0.4)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 12px rgba(0,240,255,0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(0,240,255,0.4)); }
}

@keyframes modal-fadein {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

