/* =========================================
   VARIABLES CORPORATIVAS JAVAR OBRAS
   ========================================= */
:root {
    /* Paleta Oficial (Manual de Marca) */
    --color-dark: #212322;    /* Negro/Gris muy oscuro - Fondo principal */
    --color-silver: #D0D3D4;  /* Gris claro - Textos secundarios */
    --color-steel: #425464;   /* Azul Acero - Detalles y fondos secundarios */
    --color-neon: #92D500;    /* Verde Neón - Acentos y botones (El color estrella) */
    
    --text-light: #FFFFFF;
    --font-main: 'Space Grotesk', sans-serif;
}

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

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

/* Tipografía y Textos */
h1, h2, h3, h4 { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.highlight { color: var(--color-neon); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }

/* Botones y Badges */
.btn-primary {
    background: transparent;
    color: var(--color-neon);
    padding: 12px 30px;
    border: 2px solid var(--color-neon);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background: var(--color-neon);
    color: var(--color-dark);
    box-shadow: 0 0 20px rgba(146, 213, 0, 0.4);
}
.btn-neon {
    background: var(--color-neon);
    color: var(--color-dark) !important;
    padding: 8px 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-neon:hover {
    background: #a3e600;
    box-shadow: 0 0 15px rgba(146, 213, 0, 0.5);
}
.badge-neon {
    background: rgba(146, 213, 0, 0.1);
    color: var(--color-neon);
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--color-neon);
    display: inline-block;
    margin-bottom: 20px;
}

/* Navegación */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(33, 35, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(208, 211, 212, 0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1300px;
    margin: 0 auto;
}
.logo img {
    height: 40px; /* Ajusta según el recorte de tu imagen temporal */
    /* mix-blend-mode: lighten; -> Usar si el fondo de la imagen es negro oscuro */
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--color-silver);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--color-neon); }

/* Hero Slider */
.hero-slider { position: relative; height: 100vh; overflow: hidden; background: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; padding: 0 10%; z-index: 1; }
.slide.active { opacity: 1; z-index: 2; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: 0.4; filter: grayscale(80%) contrast(120%); transition: transform 6s ease-out; }
.slide.active .slide-bg { transform: scale(1.05); }
.slide-content { max-width: 700px; transform: translateY(30px); transition: transform 1s; position: relative; z-index: 2; }
.slide.active .slide-content { transform: translateY(0); }
.slide-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: var(--text-light); }
.slide-content p { font-size: 1.2rem; color: var(--color-silver); margin-bottom: 35px; }

/* Controles de Slider */
.slider-controls { position: absolute; bottom: 40px; left: 10%; z-index: 10; display: flex; gap: 10px; }
.dot { width: 40px; height: 3px; background: rgba(208, 211, 212, 0.3); cursor: pointer; transition: all 0.3s; }
.dot.active { background: var(--color-neon); }

/* Nosotros */
.about-section { padding: 100px 0; background: var(--color-dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.lead-text { font-size: 1.2rem; color: var(--text-light); margin-bottom: 15px; }
.about-text p { color: var(--color-silver); margin-bottom: 15px; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.val-item { font-weight: 600; color: var(--color-neon); display: flex; align-items: center; gap: 10px; }
.about-image { position: relative; }
.about-image img { width: 100%; filter: grayscale(50%); z-index: 2; position: relative; }
.img-accent { position: absolute; bottom: -20px; left: -20px; width: 100px; height: 100px; border-bottom: 5px solid var(--color-neon); border-left: 5px solid var(--color-neon); z-index: 1; }

/* Servicios Minimalistas */
.services-section { padding: 100px 0; background: var(--color-steel); } /* Fondo Azul Acero */
.services-section h2 { font-size: 2.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.srv-card { background: var(--color-dark); padding: 40px 30px; border-top: 3px solid transparent; transition: all 0.3s; }
.srv-card:hover { border-top-color: var(--color-neon); transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
.srv-card i { font-size: 2.5rem; color: var(--color-neon); margin-bottom: 20px; }
.srv-card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.srv-card p { color: var(--color-silver); font-size: 0.9rem; }

/* Proyectos */
.projects-section { padding: 100px 0; background: var(--color-dark); }
.projects-section h2 { font-size: 2.5rem; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.project-card { background: rgba(208, 211, 212, 0.03); border: 1px solid rgba(208, 211, 212, 0.1); display: flex; flex-direction: column; overflow: hidden; transition: all 0.3s; }
.project-card:hover { border-color: var(--color-neon); }
.project-img-wrapper { width: 100%; height: 220px; overflow: hidden; }
.project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); transition: transform 0.5s ease; }
.project-card:hover .project-img-wrapper img { transform: scale(1.05); filter: grayscale(0%); }
.project-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.project-info h3 { font-size: 1.3rem; margin-bottom: 5px; color: var(--text-light); }
.project-category { color: var(--color-neon); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
.project-desc { color: var(--color-silver); font-size: 0.9rem; flex-grow: 1; }

/* Contacto */
.contact-section { padding: 100px 0; background: linear-gradient(rgba(33, 35, 34, 0.9), rgba(33, 35, 34, 0.9)), url('img/slide-2.jpg') center/cover; }
.contact-box { background: var(--color-dark); max-width: 700px; margin: 0 auto; padding: 50px; border-top: 5px solid var(--color-neon); text-align: center; }
.contact-box h2 { font-size: 2rem; margin-bottom: 15px; }
.contact-box p { color: var(--color-silver); margin-bottom: 30px; }
#contact-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
#contact-form input, #contact-form textarea { width: 100%; padding: 15px; background: rgba(208, 211, 212, 0.05); border: 1px solid rgba(208, 211, 212, 0.2); color: var(--text-light); font-family: var(--font-main); outline: none; transition: border 0.3s; margin-bottom: 20px; }
#contact-form input:focus, #contact-form textarea:focus { border-color: var(--color-neon); }
#contact-form button { width: 100%; font-family: var(--font-main); font-size: 1.1rem; cursor: pointer; }

/* Footer */
.main-footer { background: #111; padding: 60px 0 20px; border-top: 1px solid rgba(208, 211, 212, 0.1); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-info h4, .footer-social h4 { color: var(--color-neon); margin-bottom: 20px; font-size: 1.1rem; }
.footer-info p { color: var(--color-silver); margin-bottom: 10px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; color: var(--text-light); text-decoration: none; border: 1px solid rgba(208, 211, 212, 0.3); padding: 10px 20px; transition: all 0.3s; }
.social-btn:hover { border-color: var(--color-neon); color: var(--color-neon); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(208, 211, 212, 0.1); padding-top: 20px; color: var(--color-silver); font-size: 0.85rem; }
.footer-bottom a { color: var(--color-neon); text-decoration: none; }

/* WhatsApp Flotante */
.wa-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25D366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); cursor: pointer; z-index: 1000; transition: transform 0.3s ease; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .slide-content h1 { font-size: 2.2rem; }
    .about-grid, .footer-content { grid-template-columns: 1fr; }
    #contact-form .form-row { flex-direction: column; gap: 0; }
    .contact-box { padding: 30px 20px; }
}