:root {
    --black-c: #121212;
    --accent: #d71818;
    --titles: #3e3e3e;
    --text-body: #666666;
    --white: #ffffff;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: var(--text-body); background: var(--white); overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- NAVEGACIÓN --- */
#navbar { position: fixed; width: 100%; top: 0; z-index: 2000; padding: 25px 0; transition: 0.4s; background: transparent; }
#navbar.scrolled { background: rgba(255, 255, 255, 0.98); padding: 12px 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo img { height: 90px; width: auto; display: block; transition: 0.4s; }
#navbar.scrolled .logo img { height: 65px; }

.logo-dark { display: none !important; }
#navbar.scrolled .logo-light { display: none !important; }
#navbar.scrolled .logo-dark { display: block !important; }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { font-family: 'Oswald', sans-serif; color: var(--white); text-decoration: none; margin-left: 30px; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
#navbar.scrolled .nav-links li a { color: var(--black-c); }
.nav-links li a:hover, .nav-links li a.active { color: var(--accent) !important; }

/* --- SELECTOR DE IDIOMA INTERACTIVO --- */
.lang-container { margin-left: 25px; }
.lang-switch {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white) !important; font-size: 11px !important; transition: 0.3s; margin-left: 15px !important;
}
.lang-switch i { font-size: 14px; transition: 0.5s ease; }
.lang-switch:hover { background: var(--white); color: var(--black-c) !important; border-color: var(--white); }
.lang-switch:hover i { transform: rotate(180deg); }

#navbar.scrolled .lang-switch { border-color: rgba(0,0,0,0.15); color: var(--black-c) !important; }
#navbar.scrolled .lang-switch:hover { background: var(--black-c); color: var(--white) !important; border-color: var(--black-c); }

.menu-toggle { display: none; color: var(--white); font-size: 26px; cursor: pointer; z-index: 4000; }
#navbar.scrolled .menu-toggle { color: var(--black-c); }

/* --- HERO --- */
.hero { height: 100vh; background-image: url('../imgs/hero-bigers-tecnologia.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.hero-overlay { height: 100%; background: rgba(0,0,0,0.65); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-title { font-family: 'Oswald', sans-serif; font-size: 5rem; letter-spacing: 15px; color: var(--white); text-transform: uppercase; }
.hero-subtitle { color: var(--white); font-size: 13px; letter-spacing: 5px; opacity: 0.8; margin-top: 15px; }
.btn-scroll { display: inline-block; margin-top: 40px; padding: 15px 35px; border: 1px solid var(--white); color: var(--white); text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 12px; transition: 0.3s; }
.btn-scroll:hover { background: var(--accent); border-color: var(--accent); }

/* --- SECCIONES COMUNES --- */
.section-padding { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-title { font-family: 'Oswald', sans-serif; font-size: 3.5rem; letter-spacing: 8px; color: var(--titles); font-weight: 700; text-transform: uppercase; }
.line { width: 50px; height: 1px; background: #ddd; margin: 20px auto; }
.section-subtitle { font-size: 11px; letter-spacing: 2px; max-width: 800px; margin: 0 auto; text-transform: uppercase; }

/* --- NOSOTROS --- */
.mision-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.mv-item { text-align: center; }
.mv-item h3 { font-family: 'Oswald', sans-serif; margin-bottom: 20px; color: var(--titles); letter-spacing: 2px; }
.mv-item p { margin-bottom: 15px; text-align: justify; font-size: 0.95rem; line-height: 1.6; }
.circle-icon { width: 100px; height: 100px; border: 1px solid #eee; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent); transition: 0.4s; }

.grid-valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.valor-card { padding: 25px; background: #f9f9f9; border-top: 3px solid #eee; transition: 0.3s; }
.valor-card:hover { border-top-color: var(--accent); transform: translateY(-5px); background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.valor-card h4 { font-family: 'Oswald', sans-serif; font-size: 0.9rem; margin-bottom: 10px; color: var(--black-c); text-transform: uppercase; }
.valor-card p { font-size: 0.8rem; line-height: 1.5; }

/* --- PRODUCTOS --- */
.featured-works { background-image: url('../imgs/bg-bigers-productos.jpg'); position: relative; background-attachment: fixed; background-size: cover; }
.overlay-dark { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(18,18,18,0.75); z-index: 1; }
.relative-z { position: relative; z-index: 5; }
.white-text { color: var(--white) !important; }
.white-line { background: var(--white) !important; }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; }
.portfolio-item { position: relative; height: 350px; overflow: hidden; background: #000; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; opacity: 0.7; }
.portfolio-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: white; opacity: 0; transition: 0.4s; }
.portfolio-item:hover .portfolio-info { opacity: 1; }
.portfolio-item:hover img { transform: scale(1.1); opacity: 0.4; }

/* --- SERVICIOS --- */
.services-bg { background-image: url('../imgs/bg-bigers-servicios.jpg'); background-attachment: fixed; background-size: cover; position: relative; }
.overlay-light { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(255,255,255,0.85); z-index: 1; }
.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.circle-border { width: 90px; height: 90px; border: 1px solid #ccc; border-radius: 50%; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: 0.4s; color: var(--black-c); }
.service-item:hover .circle-border { background: var(--black-c); color: var(--white); border-color: var(--black-c); }
.service-item h4 { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 1px; color: var(--titles); text-transform: uppercase; font-weight: 700; line-height: 1.3; }

/* --- CONTACTO ACTUALIZADO --- */
.contact-section { background-image: url('../imgs/bg-bigers-contacto.jpg'); background-attachment: fixed; background-size: cover; padding: 150px 0; position: relative; }
.overlay-contact { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(18,18,18,0.5); z-index: 1; }
.contact-card-box { background: rgba(18,18,18,0.85); color: white; padding: 80px 40px; max-width: 850px; margin: 0 auto; text-align: center; border-top: 4px solid var(--accent); position: relative; z-index: 5; }
.phone-circle { width: 70px; height: 70px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; font-size: 24px; }
.contact-number { font-family: 'Oswald', sans-serif; font-size: 4rem; letter-spacing: 5px; margin-bottom: 10px; }
.contact-location { font-size: 11px; letter-spacing: 2px; opacity: 0.7; text-transform: uppercase; margin-bottom: 20px; }

.btn-whatsapp {
    display: inline-block; background: #25d366; color: white; padding: 15px 35px; border-radius: 50px;
    text-decoration: none; font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: 2px;
    margin-top: 20px; transition: 0.4s; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

/* --- FOOTER --- */
.main-footer { padding: 60px 0; text-align: center; background: #fff; border-top: 1px solid #eee; }
.main-footer p { font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

/* --- FUNCIONALIDADES --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s all ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: #f4f4f4; color: #333; text-align: center; line-height: 45px; border-radius: 4px; z-index: 3000; display: none; transition: 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.1); text-decoration: none; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .menu-toggle { display: block; position: relative; z-index: 4000; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--black-c); flex-direction: column; justify-content: center; align-items: center; transition: 0.5s ease; z-index: 3000; display: flex !important; }
    .nav-links.active { right: 0; }
    .nav-links li a { color: #fff !important; font-size: 1.8rem !important; }
    .lang-container { margin-left: 0; margin-top: 30px; }
    .lang-switch { font-size: 1.2rem !important; padding: 12px 25px; }
    .mision-vision-grid, .grid-valores, .portfolio-grid, .grid-services { grid-template-columns: 1fr; }
    .contact-number { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
}