/* ==========================================================================
   DECLARACIÓN DE FUENTES LOCALES (HARDENING / PRIVACIDAD)
   ========================================================================== */

/* Manrope Regular (400) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/xn7gYHE41ni1AdIRggexSg.woff2') format('woff2');
}

/* Manrope Medium (500) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/xn7gYHE41ni1AdIRggmxSuXd.woff2') format('woff2');
}

/* Manrope SemiBold (600) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2') format('woff2');
}

/* Manrope Bold (700) */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2') format('woff2');
}

/* ==========================================================================
   ESTILOS GENERALES (PALETA AZUL TECNOLÓGICO)
   ========================================================================== */

:root {
    --bg-dark: #070f1e;       /* Azul oscuro mate profundo de fondo */
    --text-main: #ffffff;     /* Texto principal */
    --text-muted: #8a99ad;    /* Texto secundario azul grisáceo sutil */
    --accent-blue: #00bcff;   /* Azul eléctrico tecnológico */
    --font-family: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.6;
    padding-bottom: 40px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Brand / Logo en el Header */
.brand-name {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px 0;
}

/* Grid equilibrado según tu primera distribución */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center;
        gap: 40px;
    }
    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.hero-image img {
    width: 100%;
    max-width: 440px;
    display: block;
    margin: 0 auto;
}

.hero-text .subtitle {
    font-family: var(--font-family);
    color: var(--text-muted);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-text h1 {
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 480px;
}

/* Botón Estructural Estilo con Guiones Laterales */
.btn-assessment {
    display: inline-block;
    padding: 14px 28px;
    color: #ffffff;
    background: transparent;
    border: 1px solid var(--text-main);
    font-family: var(--font-family);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-assessment::before { content: "— "; color: var(--text-main); transition: color 0.3s ease; }
.btn-assessment::after { content: " —"; color: var(--text-main); transition: color 0.3s ease; }

.btn-assessment:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(0, 188, 255, 0.04);
    letter-spacing: 2px;
}

.btn-assessment:hover::before,
.btn-assessment:hover::after {
    color: var(--accent-blue);
}

/* Services Section */
.services-section {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

.service-card {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.services-grid .service-card:nth-child(3n) {
    border-right: none;
}

@media (max-width: 900px) {
    .service-card { border-right: none !important; }
}

.service-card h3 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Framework Section Modificada (Línea Estática Centrada) */
.framework-section {
    padding: 80px 0 40px 0;
    text-align: center;
}

.framework-section .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
}

.framework-static-container {
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
}

.framework-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.3rem;
    color: var(--accent-blue);
    letter-spacing: 0.5px;
    text-align: center;
}

.marquee-footer {
    font-family: var(--font-family);
    font-weight: 400;
    letter-spacing: 5px;
    font-size: 1.1rem;
    color: #ffffff;
    margin-top: 50px;
    opacity: 0.8;
}

/* Footer */
.main-footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}
