/* ESTÉTICA MONOLITH MINIMAL - PEDRO GÓMEZ ANDRÉS (CONSTRUCCIÓN) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Oswald:wght@400;500;700&display=swap');

:root {
    --navy-deep: #1A202C;      /* Azul Marino Oscuro / Textos y Fondos pesados */
    --concrete: #E2E8F0;       /* Hormigón Crudo / Fondo general */
    --slate: #4A5568;          /* Gris Pizarra / Textos secundarios */
    --yellow-build: #ECC94B;   /* Amarillo Obra / Acentos */
    --white: #FFFFFF;
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--concrete); color: var(--navy-deep); line-height: 1.7; padding-bottom: 80px; /* Espacio para el menú inferior */ }
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-weight: 500; }

/* BARRA DE CONTACTO SUPERIOR (FLOTANTE MINIMALISTA) */
.top-contact { position: absolute; top: 30px; right: 5%; display: flex; gap: 20px; z-index: 500; }
.top-contact span { background: var(--navy-deep); color: var(--white); padding: 8px 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; }

/* NAVEGACIÓN INFERIOR FIJA (BOTTOM NAVIGATION) */
header { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--navy-deep); display: flex; justify-content: space-between; align-items: center; padding: 0 5%; height: 80px; z-index: 1000; box-shadow: 0 -10px 30px rgba(0,0,0,0.2); }
.brand h1 { color: var(--white); font-size: 1.8rem; letter-spacing: 2px; }
.brand h1 span { color: var(--yellow-build); }
nav { display: flex; align-items: center; gap: 40px; height: 100%; }
.nav-links { display: flex; list-style: none; height: 100%; }
.nav-links li { height: 100%; }
.nav-links a { display: flex; align-items: center; height: 100%; padding: 0 20px; text-decoration: none; color: var(--concrete); font-family: 'Oswald', sans-serif; font-size: 1.1rem; letter-spacing: 1px; transition: var(--transition); border-top: 4px solid transparent; }
.nav-links a:hover { color: var(--yellow-build); border-top: 4px solid var(--yellow-build); background: rgba(255,255,255,0.05); }
.lang-selector { background: transparent; border: 1px solid var(--slate); color: var(--concrete); padding: 5px 10px; font-family: 'Oswald', sans-serif; cursor: pointer; transition: var(--transition); outline: none; }
.lang-selector:hover { border-color: var(--yellow-build); color: var(--yellow-build); }

/* HERO SECTION (MONUMENTAL CON VÍDEO FULL-WIDTH) */
.hero { height: 100vh; position: relative; display: flex; align-items: center; background-color: var(--navy-deep); overflow: hidden; }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-image video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(50%); }
.hero-content { position: relative; z-index: 10; width: 50%; background: var(--yellow-build); padding: 80px; margin-left: 5%; transform: translateY(-40px); box-shadow: 20px 20px 0px rgba(26, 32, 44, 0.1); }
.hero-content h2 { font-size: 4.5rem; line-height: 1; color: var(--navy-deep); margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: var(--navy-deep); font-weight: 600; }

/* CONTENEDORES Y TÍTULOS */
.content-block { padding: 100px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { font-size: 3.5rem; color: var(--navy-deep); margin-bottom: 60px; position: relative; display: inline-block; }
.section-title::before { content: ''; position: absolute; bottom: 10px; left: 0; width: 100%; height: 15px; background: var(--yellow-build); z-index: -1; }

/* SERVICIOS (REGLA: SOLO TÍTULOS - BLOQUES MONOLÍTICOS) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2px; background: var(--navy-deep); border: 2px solid var(--navy-deep); }
.service-card { position: relative; height: 350px; background: var(--concrete); overflow: hidden; cursor: pointer; }
.service-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: var(--transition); opacity: 0.7; }
.service-card:hover img { filter: grayscale(0%); transform: scale(1.05); opacity: 1; }
.service-card h3 { position: absolute; bottom: 0; left: 0; background: var(--navy-deep); color: var(--white); padding: 20px 30px; margin: 0; font-size: 1.4rem; transition: var(--transition); }
.service-card:hover h3 { background: var(--yellow-build); color: var(--navy-deep); }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.testimonial-card { background: var(--white); padding: 50px; border-left: 10px solid var(--yellow-build); box-shadow: 10px 10px 30px rgba(0,0,0,0.05); }
.testimonial-card p { font-size: 1.15rem; color: var(--slate); font-style: italic; line-height: 1.8; }
.testimonial-icon { font-size: 3rem; color: var(--concrete); margin-bottom: 20px; display: block; font-family: 'Oswald', sans-serif; line-height: 1; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-container { display: flex; flex-direction: column; gap: 30px; max-width: 900px; }
.faq-box { background: var(--white); padding: 40px; border: 1px solid #E2E8F0; }
.faq-box h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--navy-deep); }
.faq-box p { font-size: 1.1rem; color: var(--slate); }

/* FOOTER MONOLÍTICO */
footer { background: var(--navy-deep); color: var(--concrete); padding: 80px 5% 40px; margin-top: 60px; margin-bottom: 80px; /* Para que no lo tape el menú inferior */ }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; max-width: 1400px; margin: 0 auto 60px; }
.footer-columns h4 { color: var(--yellow-build); font-size: 1.2rem; margin-bottom: 25px; letter-spacing: 1px; }
.footer-columns p { margin-bottom: 10px; font-size: 0.95rem; color: var(--slate); }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 15px; }
.footer-menu-links a { color: var(--concrete); text-decoration: none; font-size: 1rem; font-family: 'Oswald', sans-serif; transition: var(--transition); letter-spacing: 1px; }
.footer-menu-links a:hover { color: var(--yellow-build); padding-left: 10px; }

/* REGLA ESTRICTA LOGO KIT DIGITAL: BLANCO GARANTIZADO, PADDING */
.logo-kit-local { display: block; margin: 0 auto 40px; max-width: 280px; width: 100%; height: auto; background-color: #FFFFFF !important; padding: 15px; border: none; }
.footer-legal-text { text-align: center; border-top: 1px solid var(--slate); padding-top: 30px; font-size: 0.85rem; color: var(--slate); }

/* ADAPTABILIDAD AL MENÚ INFERIOR */
@media (max-width: 1024px) {
    .top-contact { display: none; }
    .hero { flex-direction: column; }
    .hero-image { position: relative; width: 100%; height: 50vh; }
    .hero-content { width: 90%; margin: -50px auto 0; padding: 40px; }
    nav { display: none; /* En versión móvil se requeriría un menú hamburguesa, aquí simplificamos ocultando textos y dejando iconos o un select */ }
    header { justify-content: center; }
}