/* ESTÉTICA SIDEBAR NEO-RUSTIC - RUBÉN ZURITA DE BUSTOS (CEREALES) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Oswald:wght@500;700&display=swap');

:root {
    --cereal-gold: #E5A91E;    /* Oro Trigo */
    --soil-dark: #1E1C1A;      /* Tierra Oscura / Texto */
    --wheat-light: #F4F1E1;    /* Blanco Roto / Fondo Principal */
    --white: #FFFFFF;
    --border-thick: 3px solid var(--soil-dark);
    --shadow-solid: 8px 8px 0px var(--soil-dark);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--wheat-light); color: var(--soil-dark); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; color: var(--soil-dark); text-transform: uppercase; }

/* NUEVA ESTRUCTURA: NAVEGACIÓN LATERAL (SIDEBAR) EN ESCRITORIO */
header { background: var(--cereal-gold); padding: 30px 20px; border-bottom: var(--border-thick); z-index: 1000; display: flex; flex-direction: column; align-items: center; text-align: center; }
.brand { margin-bottom: 30px; }
.brand h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: 1px; line-height: 1.1; }
.brand h1 span { display: block; color: var(--white); text-shadow: 2px 2px 0px var(--soil-dark); }
.brand p { font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; margin-top: 10px; border-top: 2px solid var(--soil-dark); padding-top: 5px; }
nav { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.nav-links { display: flex; flex-direction: column; list-style: none; gap: 10px; width: 100%; }
.nav-links a { display: block; text-decoration: none; color: var(--soil-dark); font-family: 'Oswald', sans-serif; font-size: 1.2rem; padding: 12px; border: 2px solid transparent; transition: var(--transition); background: var(--white); border: 2px solid var(--soil-dark); box-shadow: 4px 4px 0px var(--soil-dark); }
.nav-links a:hover { background: var(--soil-dark); color: var(--cereal-gold); box-shadow: 0px 0px 0px var(--soil-dark); transform: translate(4px, 4px); }
.lang-selector { margin-top: 20px; border: 2px solid var(--soil-dark); background: var(--white); color: var(--soil-dark); padding: 10px; font-family: 'Oswald', sans-serif; font-size: 1rem; cursor: pointer; width: 100%; text-align: center; box-shadow: 4px 4px 0px var(--soil-dark); transition: var(--transition); }
.lang-selector:hover { background: var(--soil-dark); color: var(--white); transform: translate(4px, 4px); box-shadow: 0px 0px 0px var(--soil-dark); }

main { flex: 1; display: flex; flex-direction: column; }
.content-wrapper { width: 100%; }

/* ADAPTACIÓN A ESCRITORIO (SIDEBAR REAL) */
@media (min-width: 900px) {
    body { flex-direction: row; }
    header { width: 280px; height: 100vh; position: fixed; top: 0; left: 0; border-right: var(--border-thick); border-bottom: none; justify-content: flex-start; }
    main { margin-left: 280px; width: calc(100% - 280px); }
    footer { margin-left: 280px; width: calc(100% - 280px); }
}

/* HERO SECTION (GEOMÉTRICO Y BRUTALISTA) */
.hero { display: grid; grid-template-columns: 1fr; border-bottom: var(--border-thick); background: var(--white); }
@media (min-width: 1200px) { .hero { grid-template-columns: 1fr 1fr; } }
.hero-content { padding: 80px 10%; display: flex; flex-direction: column; justify-content: center; background: var(--wheat-light); border-right: var(--border-thick); }
.hero-content h2 { font-size: 4.5rem; line-height: 1; margin-bottom: 20px; }
.hero-content h2 span { background: var(--cereal-gold); padding: 0 10px; border: 2px solid var(--soil-dark); display: inline-block; transform: rotate(-2deg); margin-top: 10px; }
.hero-content p { font-size: 1.2rem; font-weight: 600; margin-bottom: 0; border-left: 4px solid var(--cereal-gold); padding-left: 20px; }
.hero-image { position: relative; min-height: 400px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; filter: contrast(1.1) grayscale(20%); }

/* CONTENEDORES Y TÍTULOS */
.content-block { padding: 80px 5%; border-bottom: var(--border-thick); background: var(--wheat-light); }
.section-title { font-size: 3.5rem; margin-bottom: 50px; display: inline-block; background: var(--white); padding: 10px 20px; border: var(--border-thick); box-shadow: var(--shadow-solid); }

/* SERVICIOS (REGLA: SOLO TÍTULOS, DISEÑO TARJETA SÓLIDA) */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card { background: var(--white); border: var(--border-thick); box-shadow: var(--shadow-solid); display: flex; flex-direction: column; transition: var(--transition); }
.service-card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0px var(--cereal-gold); }
.service-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: var(--border-thick); filter: grayscale(100%); transition: filter 0.3s; }
.service-card:hover img { filter: grayscale(0%); }
.service-card h3 { padding: 25px; font-size: 1.6rem; margin: 0; text-align: center; background: var(--cereal-gold); }

/* 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: 40px; border: var(--border-thick); box-shadow: var(--shadow-solid); position: relative; }
.testimonial-card p { font-size: 1.15rem; font-weight: 600; line-height: 1.6; position: relative; z-index: 1; }
.testimonial-card::before { content: '”'; position: absolute; top: -10px; left: 20px; font-family: 'Oswald', sans-serif; font-size: 6rem; color: var(--cereal-gold); line-height: 1; z-index: 0; }

/* DUDAS (REGLA: EXACTAMENTE 2, H3 + P) */
.faq-container { display: flex; flex-direction: column; gap: 30px; }
.faq-box { background: var(--white); padding: 40px; border: var(--border-thick); box-shadow: var(--shadow-solid); }
.faq-box h3 { font-size: 1.5rem; margin-bottom: 15px; background: var(--soil-dark); color: var(--cereal-gold); display: inline-block; padding: 5px 15px; }
.faq-box p { font-size: 1.1rem; font-weight: 600; }

/* FOOTER RÚSTICO INDUSTRIAL */
footer { background-color: var(--soil-dark); color: var(--wheat-light); padding: 60px 5% 40px; border-top: var(--border-thick); }
.footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.footer-columns > div { flex: 1; min-width: 220px; }
.footer-columns h4 { color: var(--cereal-gold); font-size: 1.3rem; margin-bottom: 20px; border-bottom: 2px solid var(--cereal-gold); padding-bottom: 10px; display: inline-block; }
.footer-columns p { margin-bottom: 10px; font-size: 0.95rem; }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 10px; }
.footer-menu-links a { color: var(--wheat-light); text-decoration: none; font-size: 0.95rem; transition: var(--transition); text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.footer-menu-links a:hover { color: var(--cereal-gold); padding-left: 10px; }

/* REGLA ESTRICTA LOGO KIT DIGITAL: FONDO BLANCO GARANTIZADO SIEMPRE */
.logo-kit-local { display: block; margin: 0 auto 40px; max-width: 280px; width: 100%; height: auto; background-color: #FFFFFF; padding: 15px; border-radius: 8px; border: var(--border-thick); }
.footer-legal-text { text-align: center; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; font-weight: 600; }