/* --- GLOBALES --- */
:root { --naranja: #f16522; --oscuro: #1e293b; --fondo: #f8fafc; --borde: #e2e8f0; }
body, html { margin: 0; padding: 0; font-family: 'Inter', sans-serif; background-color: var(--fondo); color: var(--oscuro); overflow-x: hidden; scroll-behavior: smooth; }
* { box-sizing: border-box; }
a { text-decoration: none; }

/* --- HEADER Y MENÚ (SE REPITE EN TODA LA WEB) --- */
.k-top-bar { background: var(--oscuro); color: white; padding: 8px 0; overflow: hidden; width: 100%; display: flex; align-items: center; }
.k-marquee { white-space: nowrap; animation: k-scroll-text 15s linear infinite; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
@keyframes k-scroll-text { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

.header { background: white; border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; min-height: 85px; flex-wrap: wrap; }
.logo img { height: 60px; object-fit: contain; }
.menu-toggle { display: none; font-size: 28px; font-weight: 900; color: var(--oscuro); cursor: pointer; user-select: none; padding: 5px; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-link { font-size: 13px; font-weight: 900; color: var(--oscuro); text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; }
.nav-link:hover { color: var(--naranja); }
.nav-btn { background: var(--naranja); color: white; padding: 12px 24px; border-radius: 50px; font-weight: bold; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; }
.nav-btn:hover { background: #d9551a; }

/* --- FOOTER REDISEÑADO PREMIUM (SE REPITE EN TODA LA WEB) --- */
.footer { background: #0b1120; color: #94a3b8; padding: 70px 5% 30px 5%; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-logo-wrapper { background: white; padding: 10px 18px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.footer-logo { max-height: 40px; width: auto; display: block; }
.footer-slogan { font-style: italic; font-size: 14px; color: #64748b; margin-bottom: 25px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #cbd5e1; font-size: 14px; transition: 0.3s; }
.footer-links a:hover { color: var(--naranja); padding-left: 5px; }
.social-group { display: flex; flex-direction: column; gap: 12px; }
.social-link { display: flex; align-items: center; gap: 12px; color: #cbd5e1; font-size: 13px; font-weight: 500; transition: 0.3s ease; width: fit-content; }
.social-icon { width: 20px; height: 20px; transition: 0.3s; }
.social-link:hover { color: white; transform: translateX(5px); }
.address-text { font-size: 14px; color: #cbd5e1; margin-bottom: 15px; line-height: 1.6; }
.map-container { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); margin-bottom: 15px; height: 120px; background: #1e293b; }
.map-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: white; font-size: 13px; font-weight: 700; transition: 0.3s; }
.map-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.2); }
.footer-bottom { margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; font-size: 12px; color: #475569; }

/* RESPONSIVE GLOBAL MÓVIL */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-links { display: none; flex-direction: column; width: 100%; background: white; padding: 20px 0; border-top: 1px solid var(--borde); gap: 15px; order: 3; }
    .nav-links.active { display: flex; animation: slideDown 0.3s ease; }
    .nav-link { width: 100%; padding: 10px; text-align: center; border-bottom: 1px dashed #e2e8f0; }
    .nav-btn { width: 100%; text-align: center; margin-top: 10px; }
    .footer-grid { text-align: center; justify-items: center; gap: 40px; }
    .social-link { justify-content: center; margin: 0 auto;}
    .footer-links { align-items: center; }
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }