:root {
    --oxido: #A64B2A;
    --crema: #F4F1EA;
    --black: #0F0F0F;
    --white: #FFFFFF;
    --font-header: 'Staatliches', cursive;
    --font-body: 'Inter', sans-serif;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--crema); font-family: var(--font-body); color: var(--black); }

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

/* HEADER */
.main-header {
    position: fixed; top: 0; width: 100%; z-index: 2000;
    background: rgba(244, 241, 234, 0.95); backdrop-filter: blur(10px);
    border-bottom: 4px solid var(--black); height: 80px; display: flex; align-items: center;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-header); font-size: 2.2rem; color: var(--black); letter-spacing: -1px; }
.logo span { background: var(--oxido); color: white; padding: 0 8px; margin-left: 5px; }
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--black); font-family: var(--font-header); font-size: 1.3rem; }
.nav-cta { background: var(--black); color: white !important; padding: 10px 20px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.bar { width: 30px; height: 4px; background: var(--black); transition: 0.4s; }

/* HERO */
.hero { height: 100vh; position: relative; display: flex; align-items: center; background: var(--black); overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('img/header.jpg') center/cover; opacity: 0.5; filter: grayscale(1);
}
.hero-content { position: relative; z-index: 10; color: var(--white); }
.hero-content p { max-width:600px; font-size:1.2rem; text-transform:uppercase; letter-spacing:1px; margin-bottom:40px; }
.hero-line { width: 80px; height: 8px; background: var(--oxido); margin-bottom: 20px; }
h1 { font-family: var(--font-header); font-size: clamp(3.5rem, 10vw, 8rem); line-height: 0.85; margin-bottom: 20px; }
h1 .accent { color: var(--oxido); }
.btn-main { background: var(--oxido); color: white; text-decoration: none; padding: 20px 40px; font-family: var(--font-header); font-size: 1.5rem; transition: 0.3s; display: inline-block; }

/* SECCIONES */
.section-dark { background: var(--black); color: var(--white); padding: 100px 0; }
.section-crema { padding: 100px 0; }
.ultra-title { font-family: var(--font-header); font-size: clamp(3rem, 8vw, 5rem); line-height: 0.9; margin-bottom: 40px; }
.ultra-title.center { text-align: center; }
.ultra-title span { color: var(--oxido); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-frame img { width: 100%; border: 15px solid #222; filter: grayscale(1); }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.step-card { background: var(--white); padding: 50px; border-bottom: 10px solid var(--black); color: var(--black); }
.step-num { font-family: var(--font-header); font-size: 4rem; color: var(--oxido); line-height: 1; margin-bottom: 10px; }
.step-card h3 { font-family: var(--font-header); font-size: 2rem; margin-bottom: 15px; }

/* CAPACIDADES (NUEVO) */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; margin-bottom: 60px; }
.value-item i { display: block; font-size: 3rem; color: var(--oxido); margin-bottom: 15px; }
.value-item span { font-family: var(--font-header); font-size: 1.1rem; letter-spacing: 1px; }
.info-content { max-width: 900px; margin: 0 auto; }
.info-block { margin-bottom: 25px; line-height: 1.6; color: #bbb; font-size: 1.1rem; text-align:justify; }
.process-highlight { padding: 30px; border-left: 5px solid var(--oxido); background: #151515; color: var(--white); }

/* CARRUSEL */
.swiper { width: 100%; padding-bottom: 60px !important; }
.gallery-item { height: 450px; position: relative; overflow: hidden; background: var(--black); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.6s; }
.project-overlay {
    position: absolute; bottom: -100%; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--oxido), transparent);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; transition: 0.4s;
}
.gallery-item:hover img { filter: grayscale(0); transform: scale(1.05); }
.gallery-item:hover .project-overlay { bottom: 0; }
.project-overlay h4 { font-family: var(--font-header); font-size: 2.2rem; color: white; }
.project-overlay p { font-weight: 900; color: white; font-size: 0.8rem; }

/* CONTACTO */
.contact { padding: 100px 0; background: var(--oxido); }
.contact-box { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--white); }
.contact-visual { background: var(--black); color: white; padding: 60px; }
.contact-visual h3 { font-family: var(--font-header); font-size: 4rem; line-height: 0.9; margin-bottom: 20px; }
.contact-visual h3 span { color: var(--oxido); }
.contact-form { padding: 60px; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, textarea { width: 100%; padding: 18px; border: 3px solid var(--black); background: var(--crema); font-weight: 700; outline: none; font-family: var(--font-body); }
.btn-submit { width: 100%; padding: 20px; background: var(--black); color: white; font-family: var(--font-header); font-size: 1.8rem; border: none; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--oxido); }

/* FOOTER */
.footer { background: var(--black); color: #555; text-align: center; padding: 40px; font-weight: 900; font-size: 0.8rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .container { padding: 0 25px; }
    .menu-toggle { display: flex; z-index: 2001; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--crema); flex-direction: column; justify-content: center; transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 2.5rem; }
    .split-grid, .contact-box, .input-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .value-item:last-child { grid-column: span 2; }
    h1 { font-size: 3.8rem; }
}