/* 🧱 FUENTES SOBERANAS (Local Assets - Zero External) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-400.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-300.ttf') format('truetype');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-500.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

:root {
    /* Paleta Institucional Calmada */
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --accent: #b2bec3;
    /* Gris muy suave para detalles */
    --brand-primary: #2d3436;
    /* Casi negro, elegante */

    /* Espaciado Premium */
    --spacing-section: 6rem;
    --spacing-element: 2rem;

    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--brand-primary);
    margin-top: 0;
}

/* Main Containers */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
    /* More side padding for premium feel */
}

/* Header Global Refined */
.header-content {
    background: #ffffff;
    padding: 1.5rem 0;
}

.header-content .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nav */
.nav-static {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section,
.hero-section {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Botones y Elementos */
.btn-contact {
    display: inline-block;
    background: transparent;
    border: 1px solid #e1e1e1;
    padding: 0.6rem 1.8rem;
    border-radius: 99px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}


.btn-contact:hover {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: white;
}

.big-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.big-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Secciones */
.section {
    padding: 2.5rem 0;
    /* Extra compact */
}

/* Hero Section Refined */
.hero-section {
    min-height: auto;
    background: #ffffff;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-limit {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    /* Slightly larger image but more gap */
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 800;
    /* Bold */
    text-transform: uppercase;
    color: #000;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 600;
    /* Semi-bold para el gris */
    color: #5d6d7e;
}

.hero-main-image {
    width: 100%;
    height: auto;
    /* Sin border-radius ni sombra, imagen limpia rectangular */
    object-fit: cover;
}

/* Texto de Bajada Jerarquizado */
.hero-lead-container {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-primary-text {
    font-size: 1.25rem;
    color: #2c3e50;
    /* Oscuro */
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.hero-secondary-text {
    font-size: 1rem;
    color: #626567;
    /* Gris claro */
    font-weight: 400;
    line-height: 1.6;
}


/* Cabeceras de Sección Centradas */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
    letter-spacing: -0.02em;
}

.section-lead {
    font-size: 1.15rem;
    color: #5d6d7e;
    line-height: 1.6;
    font-weight: 400;
}

/* Grids de Contenido (Texto Izq / IMG Der) */
.content-split-right-img {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    /* Better balance */
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    /* More compact */
}

@media (max-width: 900px) {
    .content-split-right-img {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

.content-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #000;
    letter-spacing: -0.01em;
}

.content-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4d5656;
}

.content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.main-radius {
    border-radius: 12px;
}

/* Grid de Tarjetas de Servicio */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.card-text {
    font-size: 1rem;
    color: #636e72;
    line-height: 1.6;
}

/* Botón de Contacto Estilo Imagen (Dark Pill) */
.btn-contact.big-btn {
    background: #2d3436;
    /* Color oscuro como el de la captura */
    color: #ffffff;
    border: none;
    padding: 1.2rem 3.5rem;
    border-radius: 99px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-contact.big-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Footer Institucional / Técnico */
.site-footer {
    background: #ffffff;
    padding: 6rem 0 4rem;
    /* Más espacio arriba para separar de la sección contacto */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado como solicita el usuario */
    gap: 1.5rem;
}

.footer-links,
.footer-loc,
.footer-copy {
    margin: 0;
    font-size: 0.95rem;
    color: #626567;
    /* Gris sutil */
    line-height: 1.4;
    font-weight: 400;
}

.footer-links {
    color: #5d6d7e;
    letter-spacing: 0.01em;
}

/* Ajuste móvil para el footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 4rem 2rem;
    }
}