:root {
    --dark: #1b1b1b;
    --darker: #111111;
    --gray-dark: #3a3a3a;
    --gray-mid: #707070;
    --orange: #ff7e24;
    --blue: #4ba8c1;
    --bg-light: #f4f6f8;
    --white: #ffffff;
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ---------------- Nav ---------------- */
.main-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: 0.3s;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5vw;
}
.logo img {
    height: 45px;
    width: auto;
}
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}
.nav-menu a {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--orange);
}
.btn-solid {
    background: var(--dark);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 4px;
}
.btn-solid:hover {
    background: var(--orange);
}
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}
.menu-icon span {
    width: 30px; height: 3px;
    background: var(--dark);
    transition: 0.3s;
}

/* ---------------- Hero Industrial ---------------- */
.hero-industrial {
    position: relative;
    height: 100vh;
    background-image: url('../img/foto_familia_hd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 0 5vw;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 17, 17, 0.7);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-left: 8px solid var(--orange);
    padding: 60px 50px;
    max-width: 700px;
}
.line-accent {
    width: 60px; height: 4px;
    background: var(--blue);
    margin-bottom: 20px;
}
.hero-box h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    margin-bottom: 20px;
}
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }
.hero-box p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}
.btn-outline-white {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--white);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

/* ---------------- Nosotros / Transparencia ---------------- */
.about-industrial {
    position: relative;
    padding: 120px 5vw;
    background: var(--white);
    overflow: hidden;
}
.bg-letter {
    position: absolute;
    top: 50%; right: -5%;
    transform: translateY(-50%);
    font-family: var(--font-head);
    font-size: 35vw;
    font-weight: 900;
    color: #f0f0f0;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}
.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}
.thick-line {
    width: 80px; height: 6px;
    background: var(--dark);
    margin-bottom: 30px;
}
.about-text .lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}
.about-text p {
    color: var(--gray-mid);
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.stats-container {
    display: flex;
    gap: 50px;
}
.stat-block {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}
.stat-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-top: 10px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-img {
    max-width: 120%;
    transform: scale(1.1);
    /* Se usa drop-shadow filter para dar volumen sin romper la transparencia */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: scale(1.1) translateY(0px); }
    50% { transform: scale(1.1) translateY(-15px); }
    100% { transform: scale(1.1) translateY(0px); }
}

/* ---------------- Why Us ---------------- */
.why-us {
    padding: 80px 5vw;
    background: var(--dark);
    color: var(--white);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.why-card {
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border-top: 4px solid var(--orange);
    transition: 0.3s;
}
.why-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
}
.why-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}
.why-card p {
    color: #b0b0b0;
    font-size: 1.05rem;
}

/* ---------------- Services Industrial List ---------------- */
.services-industrial {
    padding: 120px 5vw;
    background: var(--darker);
    color: var(--white);
}
.services-header {
    margin-bottom: 80px;
}
.services-header h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 900;
}
.services-header p {
    font-size: 1.2rem;
    color: var(--gray-mid);
}

.service-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr 2fr 50px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s;
    cursor: default;
    position: relative;
}
.service-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: var(--orange);
    transition: 0.4s ease;
    z-index: 0;
}
.service-row:hover::before {
    width: 100%;
}
.service-row > * {
    position: relative;
    z-index: 1;
    transition: 0.3s;
}
.service-row:hover > * {
    color: var(--darker) !important;
}
.s-num {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-mid);
}
.s-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
}
.s-desc {
    color: #a0a0a0;
    font-size: 1.05rem;
}
.s-arrow {
    font-size: 2rem;
    text-align: right;
    color: var(--blue);
}

/* ---------------- Projects ---------------- */
.projects-industrial {
    padding: 120px 5vw;
    background: var(--bg-light);
}
.projects-header {
    margin-bottom: 60px;
}
.projects-header h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    font-weight: 900;
}
.projects-header p {
    font-size: 1.2rem;
    color: var(--gray-mid);
    max-width: 600px;
    margin: 0 auto;
}
.text-center { text-align: center; }

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.p-img-wrapper {
    height: 300px;
    overflow: hidden;
}
.p-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.project-card:hover .p-img-wrapper img {
    transform: scale(1.05);
}
.p-details {
    padding: 30px;
}
.p-details h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}
.p-details p {
    color: var(--gray-mid);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.p-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-blue, #dbedff);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.btn-solid-orange {
    background: var(--orange);
    color: var(--white) !important;
    padding: 15px 30px;
    border: 2px solid var(--orange);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    display: inline-block;
}
.btn-solid-orange:hover {
    background: transparent;
    color: var(--orange) !important;
}

/* ---------------- Banner Parallax ---------------- */
.banner-parallax {
    height: 70vh;
    background-image: url('../img/banner_hd.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-overlay {
    background: rgba(45, 45, 45, 0.85);
    padding: 80px;
    text-align: center;
    color: var(--white);
    border: 4px solid var(--blue);
}
.parallax-overlay h2 {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 900;
}
.parallax-overlay p {
    font-size: 1.2rem;
}

/* ---------------- Footer Light ---------------- */
.footer-light {
    background: var(--bg-light);
    padding: 80px 5vw 30px;
    color: var(--gray-dark);
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}
.f-logo {
    height: 60px;
    margin-bottom: 20px;
    /* ELIMINADO EL FILTER INVERT, AHORA EL LOGO ES OSCURO SOBRE FONDO CLARO */
}
.f-info p {
    color: var(--gray-mid);
    max-width: 300px;
}
.f-address h4, .f-contact h4 {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    text-transform: uppercase;
}
.f-address p, .f-contact p {
    color: var(--gray-mid);
    margin-bottom: 10px;
}
.mt-2 { margin-top: 15px; display: inline-block; }
.f-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    color: var(--gray-mid);
    font-size: 0.9rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 75px; left: -100%;
        width: 100%; height: calc(100vh - 75px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
    }
    .menu-icon {
        display: flex;
    }
    .hero-box {
        padding: 40px 20px;
    }
    .hero-box h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .bg-letter { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .service-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }
    .s-num { display: none; }
    .s-arrow { display: none; }
    .projects-gallery {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
}
