/* --- ENGINE VISUAL: LIGHT INDUSTRIAL & STEEL GRID --- */
:root {
    --rojo-industrial: #e51d24;
    --rojo-alerta: #c01117;
    --gris-cemento: #ebedf0; /* Fondo claro de taller */
    --gris-acero: #dee2e6; /* Líneas y bordes técnicos */
    --carbon-texto: #1a1c1e; /* Texto principal rudo */
    --blanco-puro: #ffffff; /* Tarjetas macizas de acero limpio */
    --texto-mutado: #5a6270;
    --fuente-heavy: 'Roboto', 'Arial Black', sans-serif;
    --fuente-mono: 'Courier New', monospace;
    --shadow-heavy: rgba(26, 28, 30, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-heavy);
    color: var(--carbon-texto);
    background-color: var(--gris-cemento); /* Cambiado a fondo claro */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADER INDUSTRIAL --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 4px solid var(--carbon-texto);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-title {
    color: var(--carbon-texto);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-title span {
    display: block;
    color: var(--rojo-industrial);
    font-size: 0.85rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav a {
    text-decoration: none;
    color: var(--texto-mutado);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--rojo-industrial);
    border: 2px solid var(--carbon-texto);
    background-color: var(--gris-acero);
}

/* --- HERO INMERSIVO CLARO (FULL SCREEN PARALLAX) --- */
.industrial-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Capa más clara sobre la imagen industrial */
    background: linear-gradient(rgba(235, 237, 240, 0.75), rgba(235, 237, 240, 0.9)), 
                url('https://unsplash.com') center/cover no-repeat fixed;
    border-bottom: 4px solid var(--carbon-texto);
}

.hero-content {
    max-width: 750px;
}

.tech-badge {
    display: inline-block;
    background-color: var(--carbon-texto);
    color: var(--blanco-puro);
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: bold;
    padding: 6px 16px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.industrial-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--carbon-texto);
    letter-spacing: -1px;
}

.industrial-hero h1 span {
    color: var(--rojo-industrial);
    display: block;
    font-size: 4.5rem;
}

.industrial-hero p {
    font-size: 1.25rem;
    color: #4a505a;
    margin-bottom: 45px;
    font-weight: 400;
}

/* --- BOTÓN IMPACTO PESADO --- */
.btn-heavy {
    display: inline-block;
    background-color: var(--rojo-industrial);
    color: var(--blanco-puro);
    text-decoration: none;
    padding: 18px 40px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    box-shadow: 4px 4px 0px var(--carbon-texto);
    transition: all 0.2s ease;
}

.btn-heavy:hover {
    background-color: var(--rojo-alerta);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--carbon-texto);
}

/* --- BLOQUE DE ESTADÍSTICAS INDUSTRIALES --- */
.tech-stats {
    background-color: var(--blanco-puro);
    padding: 60px 0;
    border-bottom: 2px solid var(--gris-acero);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--carbon-texto);
    font-family: var(--fuente-mono);
    border-bottom: 4px solid var(--rojo-industrial);
    display: inline-block;
    padding: 0 10px;
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--texto-mutado);
    layer-spacing: 1px;
    margin-top: 15px;
    font-weight: 700;
}

/* --- CATÁLOGO DE BLOQUES DE ACERO BLANCO --- */
.machinery-catalog {
    padding: 120px 0;
    background-color: var(--gris-cemento);
}

.section-headline {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 80px;
    text-align: center;
    color: var(--carbon-texto);
    letter-spacing: -1px;
}

.section-headline span {
    color: var(--rojo-industrial);
}

.grid-tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Tarjetas de acero blanco pesado */
.tech-card {
    background: var(--blanco-puro);
    border: 2px solid var(--gris-acero);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-heavy);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: var(--carbon-texto);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.tech-card-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 2px solid var(--gris-acero);
}

.tech-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: all 0.4s ease;
}

.tech-card:hover .tech-card-img img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.tech-card-body {
    padding: 35px 30px;
}

.card-serial {
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    color: var(--rojo-industrial);
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.tech-card-body h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--carbon-texto);
}

.tech-card-body p {
    color: var(--texto-mutado);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.6;
}

/* --- CONTACTO RUGOSO (GRIS INDUSTRIAL) --- */
.industrial-contact {
    background-color: var(--carbon-texto);
    color: var(--blanco-puro);
    padding: 120px 0;
    position: relative;
}

/* Línea de peligro amarilla/negra industrial superior */
.industrial-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(-45deg, #f1c40f, #f1c40f 15px, #111 15px, #111 30px);
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    align-items: center;
}

.contact-tech-info {
    flex: 1;
    min-width: 300px;
}

.contact-tech-info h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 30px;
}

.contact-tech-info h2 span {
    color: var(--rojo-industrial);
}

.contact-tech-info p {
    color: #969faf;
    margin-bottom: 45px;
    font-size: 1.1rem;
    font-weight: 300;
}

.industrial-rfc {
    display: inline-block;
    background-color: #22252a;
    border-left: 5px solid var(--rojo-industrial);
    padding: 15px 30px;
    font-family: var(--fuente-mono);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.contact-form-heavy {
    flex: 1.2;
    min-width: 300px;
    background-color: #1c1e22;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.05);
}

.heavy-group {
    margin-bottom: 30px;
}

.heavy-group label {
    display: block;
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--rojo-industrial);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.heavy-group input, .heavy-group textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--carbon-texto);
    border: 1px solid #343a40;
    color: var(--blanco);
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.heavy-group input:focus, .heavy-group textarea:focus {
    outline: none;
    border-color: var(--rojo-industrial);
}

.btn-submit-heavy {
    width: 100%;
    cursor: pointer;
    text-align: center;
    border: none;
    box-shadow: none;
}

.btn-submit-heavy:hover {
    color: var(--carbon-texto) !important;
}

/* --- FOOTER MAQUINARIA --- */
footer {
    background-color: #111214;
    color: #4f5764;
    padding: 40px 0;
    text-align: center;
    font-family: var(--fuente-mono);
    font-size: 0.8rem;
    border-top: 1px solid #1c1e22;
    letter-spacing: 1px;
}

/* --- WHATSAPP INDUSTRIAL --- */
.whatsapp-heavy-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: var(--carbon-texto);
    border: 2px solid var(--rojo-industrial);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-heavy-btn:hover {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    transform: scale(1.1);
}

.whatsapp-heavy-icon {
    width: 28px;
    height: 28px;
    fill: var(--rojo-industrial);
    transition: fill 0.3s ease;
}

.whatsapp-heavy-btn:hover .whatsapp-heavy-icon {
    fill: var(--blanco);
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 20px; }
    .industrial-hero { height: auto; padding: 120px 0; background-attachment: scroll; }
    .industrial-hero h1 { font-size: 2.5rem; }
    .industrial-hero h1 span { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
    .contact-layout { flex-direction: column; }.contact-form-heavy { padding: 30px 20px; }
}