/* ========================================================================
   ZINCAPEL - SISTEMA DE DISEÑO INDUSTRIAL PREMIM (FINAL SIN ERRORES)
   ======================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Roboto+Mono:wght@400;700&display=swap');

:root {
    --bg-main: #FFFFFF; /* Fondo Blanco Puro */
    --brand-color: #6A5ACD; /* EL COLOR SLATEBLUE PROFESIONAL */
    --accent: #1A1A24; /* Negro Industrial para texto */
    --text-main: #1A1A24;
    --text-card: #FFFFFF;
    --text-card-muted: #E6E6FA; /* Lavanda suave para texto en cards */
    --border: #E9ECEF;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-base: 'Inter', sans-serif;
    --font-tech: 'Roboto Mono', monospace; 
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-base); background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* HEADER BLANCO INDUSTRIAL */
header { 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px); 
    border-bottom: 3px solid var(--brand-color); 
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
nav { max-width: 1300px; margin: auto; padding: 1.2rem 2rem; display: flex; justify-content: space-between; align-items: center; }

/* LOGO ZINCAPEL RECTO (ARREGLADO IMAGEN 1) */
.logo { 
    font-family: var(--font-tech); 
    font-size: 1.8rem; 
    font-weight: 900; 
    color: #FFF; /* Texto blanco dentro */
    text-decoration: none; 
    text-transform: uppercase; 
    background-color: var(--brand-color); /* Fondo SlateBlue entero */
    padding: 6px 15px; /* Espaciado interno */
    border-radius: 4px; /* Bordes ligeramente suaves */
    letter-spacing: -1px;
    display: inline-block;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--accent); text-decoration: none; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; transition: var(--transition); }
.nav-links a:hover { color: var(--brand-color); }

/* HERO VIDEO PROFESIONAL CON BOTÓN CENTRAL (ARREGLADO IMAGEN 3) */
.hero-video-container { 
    position: relative; height: 70vh; width: 100%; overflow: hidden; 
    display: flex; align-items: center; justify-content: center; background: #000; 
    margin-top: 75px; border-bottom: 6px solid var(--brand-color);
}
.hero-video-container video { 
    position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; 
    transform: translate(-50%, -50%); opacity: 0.55; object-fit: cover; 
}
.hero-content { position: relative; z-index: 2; text-align: center; color: #FFF; padding: 0 20px; max-width: 800px; }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; text-transform: uppercase; letter-spacing: -2px; line-height: 1.1; margin-bottom: 1rem; }
.hero-content h1 span { color: #FFF; text-shadow: 0 0 15px rgba(106, 90, 205, 0.8); }
.hero-content p { font-size: 1.4rem; margin-bottom: 2rem; font-weight: 400; opacity: 0.9; }

/* SECCIONES Y TÍTULOS */
section { padding: 80px 2rem 50px; max-width: 1300px; margin: auto; }
.section-title { font-weight: 800; font-size: 2.8rem; margin-bottom: 1rem; color: var(--accent); text-transform: uppercase; letter-spacing: -1.5px; }
.section-title span { color: var(--brand-color); }

.grid-2, .grid-3 { display: grid; gap: 30px; margin-top: 2.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* CARDS CON EL COLOR MARCA */
.card { 
    background: var(--brand-color); 
    padding: 2.5rem; border-radius: 12px; color: #FFF; 
    box-shadow: 0 10px 25px rgba(106, 90, 205, 0.15); transition: var(--transition); 
}
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(106, 90, 205, 0.3); }
.card h3 { font-size: 1.6rem; margin-bottom: 0.8rem; font-weight: 800; text-transform: uppercase; }
.card p { color: var(--text-card-muted); font-size: 1rem; }

/* COLORES - CÍRCULOS (EN FONDO BLANCO) */
.color-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.color-swatch { 
    background: #FFF; border: 1px solid var(--border); 
    border-radius: 10px; padding: 15px; text-align: center; transition: var(--transition); 
}
.color-swatch:hover { transform: translateY(-4px); border-color: var(--brand-color); box-shadow: 0 8px 15px rgba(0,0,0,0.03); }
.color-circle { 
    width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 12px; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05), 0 3px 6px rgba(0,0,0,0.08); border: 3px solid #FFF; 
}
.color-swatch h4 { font-size: 0.9rem; font-weight: 800; color: var(--accent); }
.color-swatch p { font-size: 0.75rem; color: #888; text-transform: uppercase; }

/* GALERÍA */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.gallery-item { 
    background: var(--brand-color); padding: 6px; border-radius: 10px; 
    height: 280px; overflow: hidden; cursor: pointer; transition: var(--transition); 
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.05); }

/* FORMULARIO Y BOTONES (USANDO EL COLOR MARCA) */
.btn { 
    background: var(--accent); color: #FFF; padding: 1.1rem 2.2rem; border-radius: 6px; 
    font-weight: 800; text-transform: uppercase; transition: var(--transition); border: none; cursor: pointer; display: inline-block; 
}
.btn:hover { background: var(--brand-color); transform: scale(1.02); box-shadow: 0 5px 15px rgba(106, 90, 205, 0.3); }

input, textarea { 
    width: 100%; padding: 1.1rem; background: #FBFBFB; border: 1px solid var(--border); 
    border-radius: 6px; margin-bottom: 1.2rem; font-family: var(--font-base); color: var(--accent);
}
input:focus { border-color: var(--brand-color); outline: none; background: #FFF; }

/* FOOTER NEGRO INDUSTRIAL */
footer { background: var(--accent); padding: 3rem 2rem; text-align: center; color: rgba(255,255,255,0.7); margin-top: 40px; font-size: 0.85rem; }

/* ANIMACIONES */
.reveal { opacity: 0; transform: translateY(25px); transition: 0.7s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* MODAL GALERIA */
.modal { display: none; position: fixed; z-index: 2000; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-content { max-width: 90%; max-height: 85vh; border: 3px solid var(--brand-color); border-radius: 6px; }
.close-modal { position: absolute; top: 15px; right: 30px; color: #FFF; font-size: 40px; cursor: pointer; }

/* IDENTIDAD CARD TECH ID */
.card-tech-id { font-family: var(--font-tech); color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.5rem; text-transform: uppercase;}

/* BOTÓN WHATSAPP FLOTANTE (ARREGLADO IMAGEN 2) */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    background-color: #20b858;
}