:root {
    --bg: #030712;
    --surface: #0f172a;
    --primary-blue: #1d4ed8; 
    --accent-orange: #f97316;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
    background: var(--bg); 
    color: var(--text-main); 
    line-height: 1.6; 
}

h1, h2, h3 { 
    font-family: 'Outfit', sans-serif; 
}

/* --- Header --- */
header {
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 100;
    padding: 1.2rem 8%; 
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--border);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 800; 
    color: var(--text-main); 
    letter-spacing: -1px; 
}

.logo span { 
    color: var(--accent-orange); 
}

.nav-links {
    display: flex; 
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dim); 
    text-decoration: none; 
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a.active {
    color: var(--text-main); /* El texto resalta un poco más */
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px; /* Ajusta la distancia respecto al texto */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

/* --- Hero --- */
.hero {
    height: 100vh; 
    padding: 0 8%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.1) 0%, transparent 40%);
}

.hero h1 { 
    font-size: clamp(2.5rem, 6vw, 4.2rem); 
    max-width: 850px; 
    margin-bottom: 1.5rem; 
    line-height: 1.1; 
}

.hero h1 b { 
    color: var(--accent-orange); 
}

.hero p { 
    max-width: 600px; 
    color: var(--text-dim); 
    font-size: 1.2rem; 
    margin-bottom: 2.5rem; 
}

/* --- Services Grid --- */
.section { 
    padding: 100px 8%; 
}

.section-header { 
    margin-bottom: 3rem; 
}

.section-header h2 { 
    font-size: 2.5rem; 
    color: var(--text-main); 
}

.section-header .line { 
    width: 50px; 
    height: 4px; 
    background: var(--accent-orange); 
    margin-top: 10px; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--surface); 
    padding: 2.5rem; 
    border-radius: 12px;
    border: 1px solid var(--border); 
    transition: var(--transition);
}

.service-card:hover { 
    border-color: var(--accent-orange); 
    transform: translateY(-5px); 
}

.service-card svg { 
    width: 40px; 
    height: 40px; 
    stroke: var(--accent-orange); 
    margin-bottom: 1.5rem; 
}

.service-card h3 { 
    margin-bottom: 1rem; 
    font-size: 1.4rem; 
}

.service-card p { 
    color: var(--text-dim); 
    font-size: 0.95rem; 
}

/* --- Diferencial Section --- */
.diferencial { 
    background: #070e1b; 
    display: flex; 
    gap: 4rem; 
    align-items: center; 
    flex-wrap: wrap; 
}

.dif-content { 
    flex: 1; 
    min-width: 300px; 
}

.dif-text {
    color: var(--text-dim); 
    font-size: 1.1rem;
}

.dif-image { 
    flex: 1; 
    min-width: 300px; 
    background: var(--surface); 
    height: 400px; 
    border-radius: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border: 1px solid var(--border); 
    position: relative; 
    overflow: hidden; 
}

.accuracy-label {
    color: var(--accent-orange); 
    font-family: 'Outfit'; 
    font-weight: 800; 
    letter-spacing: 5px;
}

/* Efecto de precisión para el diferencial */
.dif-image::before {
    content: ''; position: absolute; width: 100%; height: 1px; background: rgba(249, 115, 22, 0.2); top: 50%; left: 0;
}
.dif-image::after {
    content: ''; position: absolute; height: 100%; width: 1px; background: rgba(249, 115, 22, 0.2); left: 50%; top: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block; 
    padding: 1rem 2.5rem; 
    background: var(--accent-orange);
    color: white; 
    text-decoration: none; 
    font-weight: 700; 
    border-radius: 6px; 
    transition: var(--transition);
}

.btn:hover { 
    filter: brightness(1.2); 
    transform: scale(1.05); 
}


/* --- Footer --- */
.main-footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding-top: 3rem; /* Espacio para los enlaces superiores */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Redes Sociales */
.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-socials a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--accent-orange);
}

/* Enlaces Secundarios (FAQs, Legal) */
.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--text-main);
}

/* Barra inferior reducida (La de la imagen adjunta) */
.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 8%; /* Altura reducida */
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem; /* Tamaño de fuente más discreto */
    color: var(--text-dim);
    margin: 0;
}

.social-links {
    color: #f97316
}

/* Responsive */
@media (max-width: 600px) {
    .footer-socials, .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Responsive */
@media (max-width: 768px) { 
    .section { padding: 60px 5%; } 
    .nav-links { display: none; } /* Opcional: ocultar nav en móvil o crear menú hamburguesa */
}