/* =========================================================
   INTRA WCS — ESTÁNDAR UI/UX C-LEVEL (OVERRIDE GLOBAL)
   ========================================================= */

:root {
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --border-parametric: 1px solid rgba(0, 51, 102, 0.18);
    --radius-parametric: 3px;
}

/* 1. Tipografía Global */
body, p, li, a, span, input, select, textarea {
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6,
.recursos-title,
.contacto-title,
.home-video-title,
.home-recursos-main-title {
    font-family: var(--font-display) !important;
    letter-spacing: -0.02em;
}

/* Fuente técnica para datos, códigos y botones C-Level */
.font-mono,
.home-hero-badge,
.home-hero-btn-carousel,
.home-btn-square-blue,
.contacto-btn-submit,
input[name="credencial"] {
    font-family: var(--font-mono) !important;
}

/* 2. Geometría Paramétrica (Cero sombras, bordes afilados 3px, líneas 1px) */
.home-service-preview-card,
.home-service-card-front,
.home-service-card-back,
.contacto-form-box,
.contacto-mapa-box,
.home-image-frame,
.home-contacto-image-frame,
.home-video-wrapper {
    border-radius: var(--radius-parametric) !important;
    box-shadow: none !important;
    border: var(--border-parametric) !important;
}

/* Botones técnicos */
.home-hero-btn-carousel,
.home-btn-square-blue,
.contacto-btn-submit {
    border-radius: var(--radius-parametric) !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* Grid de 4 columnas para los 4 módulos oficiales en Home */
.home-services-preview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 1100px) {
    .home-services-preview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .home-services-preview-grid {
        grid-template-columns: 1fr !important;
    }
}

.home-hero-section .home-hero-content h1 {
    font-size: 2.1rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .home-hero-section .home-hero-content h1 {
        font-size: 1.35rem;
        line-height: 1.2;
    }
}

/* Ajuste de una sola línea para la sección de video (Blindaje Operacional Global) */
@media (min-width: 992px) {
    .home-video-feature-section .home-video-layout {
        grid-template-columns: 1.15fr 1fr;
        gap: 50px;
    }

    .home-video-feature-section .home-video-title {
        font-size: clamp(2rem, 2.6vw, 2.75rem);
        white-space: nowrap;
    }

    .home-video-feature-section .home-video-list li {
        font-size: clamp(0.9rem, 1vw, 1rem);
        white-space: nowrap;
    }
}

/* Ajuste intermedio de tamaño y separación en el Header (solo escritorio) */
@media (min-width: 993px) {
    .layout-header .layout-nav ul {
        gap: 26px;
    }

    .layout-header .layout-nav a {
        font-size: 1rem;
        letter-spacing: 0.6px;
    }
}

/* =========================================================
   CORRECCIÓN DE ESPACIADO EN TEXTOS (ELIMINAR RÍOS DE JUSTIFY)
   ========================================================= */
.servicios-section .servicio-desc,
.nosotros-intro .nosotros-intro-lead,
.nosotros-mvv-card .nosotros-mvv-text p,
.nosotros-valor-card .nosotros-valor-content p,
.home-why-section .home-why-lead,
.home-video-feature-section .home-video-desc,
.home-recursos-timeline-section .home-recursos-lead,
.home-contacto-cta-section .home-contacto-desc {
    text-align: left;
    letter-spacing: normal;
    word-spacing: normal;
}