/* =========================================
   IMPORTACIÓN DE FUENTES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap');

:root {
    --primary: #ffcc00; 
    --bg: #0b0e14;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --header-h: 105px; 
}

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

/* =========================================
   LENIS SMOOTH SCROLL BASE & NATIVE SMOOTH
   ========================================= */
html {
    scroll-behavior: auto !important;
}

html, body { 
    width: 100% !important; 
    min-height: 100vh;
    margin: 0 !important; 
    padding: 0 !important;
    overflow-x: hidden !important; 
}

body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', -apple-system, sans-serif; 
    transition: background 0.4s ease, color 0.4s ease;
}

.main-header, .hero, section, .brands-marquee, .main-footer {
    width: 100vw !important;
    max-width: 100vw !important;
}

section { scroll-margin-top: 75px; }

/* =========================================
   SISTEMA DE CONTENEDORES INTERNOS
   ========================================= */
.site-container { max-width: 1200px; margin: 0 auto; width: 100%; }

/* =========================================
   HEADER & NAVEGACIÓN
   ========================================= */
.main-header {
    position: fixed !important; 
    top: 0 !important; 
    left: 0 !important; 
    height: var(--header-h);
    border-bottom: 1px solid var(--border); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000; display: flex; align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    background: transparent; 
}

.main-header::before {
    content: ''; position: absolute; inset: 0;
    background: var(--glass); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: inherit; z-index: -1;
    transition: background 0.5s ease;
}

.main-header.scrolled {
    top: 20px !important; width: fit-content !important; max-width: 95% !important; height: 60px; border-radius: 50px;
    margin: 0 auto !important; left: 0 !important; right: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

.main-header.scrolled::before {
    background: rgba(11, 14, 20, 0.85); 
}

.nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; transition: all 0.5s ease;}
.main-header.scrolled .nav-container { padding: 0 1.5rem; gap: 3rem; justify-content: center; width: auto; }

.brand-container { display: flex; align-items: center; height: 100%; }
.logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none; transition: gap 0.5s ease; cursor: pointer; }
.main-header.scrolled .logo-link { gap: 0; }

.nav-logo-img { height: 90px; width: auto; display: block; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1); filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.3)) contrast(1.1) brightness(1.1); }
.logo-link:hover .nav-logo-img { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.5)) contrast(1.1) brightness(1.1); }
.main-header.scrolled .nav-logo-img { height: 45px; transform: rotate(360deg); } 
.main-header.scrolled .logo-link:hover .nav-logo-img { transform: rotate(360deg) scale(1.1); }

.logo-text { display: flex; flex-direction: column; justify-content: center; transition: all 0.5s ease; max-width: 500px; opacity: 1; overflow: hidden; white-space: nowrap; }
.main-header.scrolled .logo-text { opacity: 0; max-width: 0px; transform: scale(0.8) translateX(-20px); }

@keyframes textReveal { 0% { opacity: 0; transform: translateX(-30px); filter: blur(4px); } 100% { opacity: 1; transform: translateX(0); filter: blur(0); } }
.brand-title { display: block; color: #fff; font-family: 'Montserrat', sans-serif; font-size: 1.8rem; font-weight: 900; line-height: 1; letter-spacing: -0.5px; animation: textReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.text-yellow { color: var(--primary); font-weight: 800; } 
.brand-subtitle { display: block; color: #fff; font-size: 0.85rem; opacity: 0; font-weight: 500; line-height: 1; margin-top: 5px; text-align: left; letter-spacing: 4px; animation: textReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; }

/* =========================================
   ENLACES DEL MENÚ Y HAMBURGUESA
   ========================================= */
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; margin-left: auto; }
.nav-links a:not(.btn-reserva) { position: relative; color: var(--text); text-decoration: none; opacity: 0.8; font-size: 0.9rem; font-weight: 500; transition: opacity 0.3s, color 0.3s; }
.nav-links a:not(.btn-reserva)::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: -6px; left: 0; background-color: var(--primary); transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease; }
.nav-links a:not(.btn-reserva):hover { opacity: 1; color: var(--primary); }
.nav-links a:not(.btn-reserva):hover::after { transform: scaleX(1); }

.btn-reserva { background: rgba(255, 204, 0, 0.1); color: var(--primary) !important; padding: 0.6rem 1.2rem; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: all 0.3s ease !important; border: 1px solid transparent; }
.btn-reserva:hover { background: var(--primary); color: #000 !important; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3); }

/* Ocultar elementos móviles en desktop */
.mobile-menu-toggle { display: none; }
.close-menu-wrapper { display: none; }
.menu-overlay { display: none; }

/* =========================================
   COMPONENTES REUTILIZABLES
   ========================================= */
.btn-primary { background: var(--primary); color: #000 !important; padding: 0.8rem 1.5rem; border-radius: 10px; text-decoration: none; font-weight: 700; display: inline-block; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2); }
.btn-secondary { color: var(--text); text-decoration: none; margin-left: 1.5rem; border-bottom: 1px solid var(--primary); padding-bottom: 2px; transition: color 0.3s;}
.btn-secondary:hover { color: var(--primary); }

.glass-card { background: var(--glass); border: 1px solid var(--border); padding: 2.5rem; border-radius: 24px; backdrop-filter: blur(10px); }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 2rem; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; background-image: url('../img/hero-car.webp'); background-size: cover; background-position: center right; background-repeat: no-repeat; z-index: 0; animation: kenBurns 25s ease-in-out infinite alternate; }
@keyframes kenBurns { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.15) translate(-2%, 2%); } }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 14, 20, 0.95) 0%, rgba(11, 14, 20, 0.7) 45%, rgba(11, 14, 20, 0.1) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; }

.hero-slider-wrapper { margin-bottom: 2.5rem; max-width: 650px; }
.hero-text-slider { display: grid; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
.hero-slide { grid-row-start: 1; grid-column-start: 1; opacity: 0; visibility: hidden; transition: opacity 0.8s ease-in-out, visibility 0.8s; pointer-events: none; }
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero h1, .hero .hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: bold; }
.hero h1 span, .hero .hero-title span { color: var(--primary); }
.hero p { font-size: 1.2rem; opacity: 0.85; line-height: 1.6; margin: 0; }
.hero-btns { margin-top: 1rem; }

.slider-controls { display: flex; flex-direction: column; gap: 1rem; max-width: 80%; }
.slider-progress-bg { width: 100%; height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; position: relative; }
.slider-progress-fill { height: 100%; background: var(--primary); width: 0%; transform-origin: left; }
.slider-dots { display: flex; gap: 12px; align-items: center; justify-content: center; width: 100%; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--glass); border: 2px solid rgba(255, 255, 255, 0.3); cursor: pointer; transition: all 0.3s ease; padding: 0; }
.dot:hover { background: rgba(255, 204, 0, 0.4); border-color: var(--primary); }
.dot.active { background: var(--primary); border-color: var(--primary); transform: scale(1.2); }

/* ESTILOS DEL GHOST LINK (UBICACIÓN EN HERO) */
.hero-location { margin-top: 2rem; }
.hero-location a { color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 10px; }
.hero-location a i { color: var(--primary); font-size: 1.1rem; }
.hero-location a:hover { color: #fff; transform: translateX(5px); text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }

/* =========================================
   CARRUSEL DE MARCAS 
   ========================================= */
.brands-marquee { padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); overflow: hidden; display: flex; }
.marquee-content { display: flex; width: max-content; animation: scroll-left 30s linear infinite; }
.marquee-track { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; font-weight: 700; font-size: 1.2rem; opacity: 0.5; letter-spacing: 2px; flex-shrink: 0; }
.marquee-track span.dot { color: var(--primary); }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   CATÁLOGO DE SERVICIOS Y PRECIOS
   ========================================= */
.services-section { padding: 30px 2rem 100px; }
.catalog-header { text-align: left; margin-bottom: 3rem; }
.kicker { font-size: 0.9rem; font-weight: 800; letter-spacing: 1px; opacity: 0.7; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.catalog-header h2 { font-size: 3rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 1rem; }
.catalog-header h2 span { color: var(--primary); }
.catalog-header p { font-size: 1.1rem; opacity: 0.8; line-height: 1.5; }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

.catalog-grid:hover .catalog-card { filter: blur(4px) brightness(0.6); transform: scale(0.96); }
.catalog-card { padding: 0; overflow: visible; display: flex; flex-direction: column; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; }
.catalog-grid .catalog-card:hover { filter: blur(0) brightness(1); transform: scale(1.05); z-index: 10; border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,204,0,0.15); }

.card-img-wrap { width: 100%; height: 180px; border-radius: 24px 24px 0 0; overflow: hidden; background: rgba(0,0,0,0.5); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.5s ease; filter: grayscale(100%); }
.catalog-card:hover .card-img-wrap img { transform: scale(1.05); filter: grayscale(0%); }

.badge-star { position: absolute; top: -12px; left: 20px; background: var(--primary); color: #000; font-size: 0.75rem; font-weight: 800; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4); z-index: 10; overflow: hidden; }
.badge-star::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent); transform: skewX(-20deg); animation: shimmer 3s infinite; }
@keyframes shimmer { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.1; font-weight: 900; }
.card-body p { opacity: 0.7; font-size: 0.95rem; margin-bottom: 2rem; flex-grow: 1; }

.price-container { display: flex; flex-direction: column; border-top: 1px solid var(--border); padding-top: 1.5rem; margin-top: auto; }
.price-mod { font-size: 0.75rem; color: var(--primary); font-weight: 800; text-transform: uppercase; margin-bottom: 0.2rem; }
.price-val { font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -1px; }

.btn-card-reserva { display: block; text-align: center; background: rgba(255, 204, 0, 0.1); color: var(--primary); text-decoration: none; padding: 0.8rem; border-radius: 12px; font-weight: 700; margin-top: 1rem; transition: background 0.3s, color 0.3s; }
.btn-card-reserva:hover { background: var(--primary); color: #000 !important; }

/* =========================================
   OFERTAS NEUMÁTICOS 
   ========================================= */
.offers-section { padding: 30px 2rem 100px; border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.offers-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; background: radial-gradient(circle, rgba(255,204,0,0.04) 0%, transparent 60%); z-index: 0; pointer-events: none; animation: pulseAmbient 4s infinite alternate; }
@keyframes pulseAmbient { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.95); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }

.offers-container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.offers-header { text-align: center; margin-bottom: 2rem; }
.offers-kicker { font-size: 1.1rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; border-bottom: 2px solid var(--primary); padding-bottom: 5px; display: inline-block; margin-bottom: 1.5rem; }
.offers-header h2 { font-size: 4rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 1rem; letter-spacing: 2px; font-weight: 900; }
.offers-header h2 span { color: #fff; } 
.offers-header p { font-size: 1.1rem; opacity: 0.9; }

.table-responsive { width: 100%; overflow-x: auto; margin-bottom: 2rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); transition: all 0.4s ease; position: relative; }
.table-responsive:hover { border-color: rgba(255, 204, 0, 0.3); box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 204, 0, 0.1); transform: translateY(-5px); }

.offers-table { width: 100%; border-collapse: collapse; text-align: center; }
.offers-table th { background: rgba(255,255,255,0.05); padding: 1.2rem; font-size: 0.9rem; letter-spacing: 1px; color: #fff; border-bottom: 1px solid var(--border); }
.offers-table td { padding: 1.2rem; border-bottom: 1px dotted rgba(255,255,255,0.15); font-size: 1.1rem; }
.offers-table tr:last-child td { border-bottom: none; }
.offers-table .price-yellow { color: var(--primary); font-weight: 800; }

.highlight-row { background: rgba(255, 204, 0, 0.05); box-shadow: inset 0 0 10px rgba(255, 204, 0, 0.1); border-left: 3px solid var(--primary); border-right: 3px solid var(--primary); }
.highlight-row td { border-bottom: 1px solid rgba(255, 204, 0, 0.2); }
.td-content-flex { display: flex; align-items: center; justify-content: center; gap: 10px; }
.badge-popular { background: var(--primary); color: #000; font-size: 0.65rem; font-weight: 800; padding: 3px 8px; border-radius: 12px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(255, 204, 0, 0.3); animation: pulseGlowBadge 2s infinite alternate; }
@keyframes pulseGlowBadge { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4); } 100% { box-shadow: 0 0 0 8px rgba(255, 204, 0, 0); } }

.offers-actions { text-align: center; }
.btn-yellow-solid { background: var(--primary); color: #000; font-weight: 900; text-transform: uppercase; font-size: 1.1rem; padding: 1.2rem 3rem; border-radius: 50px; text-decoration: none; display: inline-block; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3); }
.btn-yellow-solid:hover { background: #ffb800; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255, 204, 0, 0.5); }
.offers-disclaimer { margin-top: 1.5rem; font-size: 0.85rem; opacity: 0.5; font-style: italic; }

@media (max-width: 768px) {
    .offers-header h2 { font-size: 2.5rem; }
    .offers-table th, .offers-table td { padding: 0.8rem; font-size: 0.95rem; }
}

/* =========================================
   CONÓCENOS 
   ========================================= */
.about-section { padding: 80px 2rem; border-top: 1px solid var(--border); position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, rgba(255,204,0,0.02) 100%); }
.about-container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;}

.about-text h2 { font-size: 3rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 900; letter-spacing: -1px; }
.about-text h2 span { color: var(--primary); }
.about-text p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 1.5rem; line-height: 1.6; }

.about-video { position: relative; display: flex; justify-content: center; align-items: center; }
.video-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 500px; background: var(--primary); filter: blur(120px); opacity: 0.15; z-index: 0; border-radius: 50%; pointer-events: none; animation: pulseGlow 3s infinite alternate ease-in-out; }
@keyframes pulseGlow { 0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.1; } 100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.25; } }

.video-glass-card { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255,255,255,0.1); padding: 0.8rem; border-radius: 24px; backdrop-filter: blur(10px); z-index: 1; position: relative; width: 100%; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.video-glass-card.vertical-mode { max-width: 320px; aspect-ratio: 9/16; }

.video-link { display: block; overflow: hidden; text-decoration: none; position: relative; border-radius: 16px; width: 100%; height: 100%; background: #000; }
.video-thumbnail { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; transition: transform 0.5s ease, filter 0.5s ease; filter: brightness(0.6) grayscale(20%); }
.video-link:hover .video-thumbnail { transform: scale(1.05); filter: brightness(0.4) grayscale(0%); }

.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.play-btn-circle { width: 70px; height: 70px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(255,204,0,0.5); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.play-btn-circle i { margin-left: 5px; }
.video-link:hover .play-btn-circle { transform: scale(1.15); }

@media (max-width: 992px) {
    .about-container { grid-template-columns: 1fr; text-align: center; }
    .about-text p { max-width: 600px; margin: 0 auto 1.5rem; }
    .about-video { margin-top: 3rem; }
}

/* =========================================
   VISÍTANOS 
   ========================================= */
.contact-section { padding: 80px 2rem; margin-bottom: 60px; position: relative; }
.contact-section::before { content: ''; position: absolute; bottom: -10%; right: -10%; width: 60%; height: 60%; background: radial-gradient(circle, rgba(255,204,0,0.03) 0%, transparent 60%); z-index: 0; pointer-events: none; }
.contact-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; position: relative; z-index: 1; }

.contact-cards-wrap { display: flex; flex-direction: column; gap: 1rem; }
.info-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s ease; background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); }
.info-card:hover { transform: translateX(10px); border-color: rgba(255, 204, 0, 0.3); background: rgba(255, 204, 0, 0.03); box-shadow: -5px 10px 20px rgba(0,0,0,0.2); }

.info-icon { font-size: 1.8rem; color: var(--primary); }
.info-content h4 { font-size: 0.85rem; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.3rem; }
.info-content p { font-size: 1.1rem; font-weight: 600; margin: 0; color: #fff; }

.highlight-card { background: rgba(255, 204, 0, 0.02); border-color: rgba(255, 204, 0, 0.15); justify-content: center; padding: 2rem; position: relative; overflow: hidden; }
.highlight-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,204,0,0.06) 0%, transparent 60%); animation: rotateGlow 10s linear infinite; z-index: 0; pointer-events: none; }
.highlight-card:hover { border-color: rgba(255, 204, 0, 0.4); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255, 204, 0, 0.15); }
@keyframes rotateGlow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.info-content.text-center { text-align: center; width: 100%; position: relative; z-index: 1; }
.info-content.text-center h4 { margin-bottom: 1.5rem; color: #fff; font-weight: 800; }

.btn-yellow-expert { background: var(--primary); color: #000; font-weight: 900; text-transform: uppercase; font-size: 0.95rem; padding: 1.2rem; border-radius: 50px; text-decoration: none; display: block; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3); width: 100%; }
.btn-yellow-expert:hover { background: #ffb800; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 204, 0, 0.5); }
.btn-yellow-expert i { margin-right: 8px; font-size: 1.2rem; vertical-align: text-bottom; }

.contact-map { border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.4s ease; }
.contact-map:hover { border-color: rgba(255, 204, 0, 0.4); box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255, 204, 0, 0.1); }
.dark-map { filter: invert(90%) hue-rotate(180deg) grayscale(20%) contrast(110%); transition: filter 0.4s ease; }

/* =========================================
   PORTAL DE RESERVAS (TERMINAL CTA)
   ========================================= */
.cta-section { padding: 40px 2rem 80px; margin-bottom: 60px; }
.cta-section span { color: var(--primary); }

/* =========================================
   FOOTER (REDESIGN PREMIUM)
   ========================================= */
.main-footer { position: relative; padding: 80px 2rem 20px; border-top: 1px solid rgba(255, 255, 255, 0.05); background: var(--bg); overflow: hidden; }
.footer-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 200px; background: radial-gradient(ellipse at top, rgba(255, 204, 0, 0.05) 0%, transparent 70%); z-index: 0; pointer-events: none; }

.main-footer .site-container { position: relative; z-index: 1; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }

.footer-brand .footer-logo-link { display: flex; align-items: center; gap: 15px; text-decoration: none; margin-bottom: 1.5rem; }
.footer-logo-img { height: 60px; width: auto; filter: drop-shadow(0 0 5px rgba(255,204,0,0.2)); transition: transform 0.3s ease; }
.footer-brand .footer-logo-link:hover .footer-logo-img { transform: scale(1.05); }
.footer-brand p { opacity: 0.7; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 350px; }

.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); color: #fff; text-decoration: none; transition: all 0.3s ease; border: 1px solid rgba(255, 255, 255, 0.1); }
.social-links a:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3); }

.footer-links h4, .footer-contact h4 { margin-bottom: 1.5rem; font-size: 1.1rem; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 1rem; }
.footer-links a { color: var(--text); text-decoration: none; opacity: 0.7; transition: all 0.3s; display: inline-block; }
.footer-links a:hover { opacity: 1; color: var(--primary); transform: translateX(5px); }

.footer-contact li { opacity: 0.8; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { opacity: 0.6; font-size: 0.85rem; margin: 0; }

.ubicom-link { color: #fff; font-weight: 800; text-decoration: none; letter-spacing: 1.5px; transition: all 0.3s ease; position: relative; padding-bottom: 2px; }
.ubicom-link::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: 0; left: 0; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.ubicom-link:hover { color: var(--primary); text-shadow: 0 0 10px rgba(255,204,0,0.4); opacity: 1; }
.ubicom-link:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 576px) {
    .footer-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* =========================================
   BOTÓN WHATSAPP MAGNÉTICO
   ========================================= */
.magnetic-wrap { position: fixed; bottom: 30px; right: 30px; z-index: 9999; padding: 20px; }
.magnetic-btn { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background-color: var(--primary); color: #000; border-radius: 50%; text-decoration: none; box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4); transition: background-color 0.3s ease, transform 0.3s ease; animation: pulse-wa 2s infinite; }
.magnetic-btn svg { width: 32px; height: 32px; fill: currentColor; }
.magnetic-btn:hover { background-color: #ffb800; transform: scale(1.05) !important; }

@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.6); } 70% { box-shadow: 0 0 0 20px rgba(255, 204, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); } }

/* =========================================
   MEDIA QUERIES - MOBILE (CANDADO DESKTOP Y OFF-CANVAS MENU)
   ========================================= */
@media (max-width: 768px) {
    /* MODIFICACIÓN HERO MÓVIL: Intercambio de imagen para mejor encuadre y rendimiento */
    .hero-bg {
        background-image: url('../img/hero-car-mobile.webp') !important;
        background-position: center center !important;
    }

    /* HEADER INICIAL */
    .brand-subtitle { display: none !important; } 
    
    /* 1. Logo inicial más grande */
    .nav-logo-img { height: 75px !important; }
    .logo-link { gap: 10px !important; }
    .nav-container { padding: 0 1rem; }
    
    /* 2. Título en 2 líneas siempre en móvil */
    .brand-title { font-size: 1.3rem !important; line-height: 1.1 !important; } 
    .brand-title span.text-yellow { display: block; }
    
    /* 3. HEADER CÁPSULA (SCROLLED) */
    .main-header.scrolled .logo-text { 
        opacity: 1 !important; 
        max-width: 200px !important; 
        transform: none !important; 
    }
    .main-header.scrolled .brand-title { 
        font-size: 0.95rem !important; 
    }
    .main-header.scrolled .nav-logo-img { 
        height: 45px !important; 
    }
    .main-header.scrolled .nav-container { 
        justify-content: space-between !important; 
        padding: 0 1.2rem !important;
        gap: 1rem !important;
    }

    /* LÓGICA OFF-CANVAS MENU MÓVIL */
    .mobile-menu-toggle { display: block; background: none; border: none; color: var(--primary); font-size: 1.8rem; cursor: pointer; z-index: 1001; }
    
    .nav-links {
        position: fixed; top: 0; right: 0; width: 80%; max-width: 320px; height: 100vh;
        background: rgba(11, 14, 20, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
        transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000; box-shadow: -10px 0 30px rgba(0,0,0,0.6);
        border-left: 1px solid var(--border);
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links a:not(.btn-reserva) { font-size: 1.2rem; font-weight: 700; }
    
    .close-menu-wrapper { display: block; position: absolute; top: 20px; right: 20px; }
    .close-menu-btn { background: none; border: none; color: var(--primary); font-size: 2.5rem; cursor: pointer; transition: transform 0.3s ease; }
    .close-menu-btn:hover { transform: scale(1.1); }
    
    /* OVERLAY OSCURO PARA CERRAR AL TOCAR FUERA */
    .menu-overlay {
        display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.7);
        z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease;
    }
    .menu-overlay.active { opacity: 1; visibility: visible; }
    
    /* HERO TEXT MÓVIL */
    .hero { padding: 100px 1.5rem 0 1.5rem; text-align: left; }
    .hero h1, .hero .hero-title { font-size: 2.2rem !important; line-height: 1.15; margin-bottom: 1rem; }
    .hero p { font-size: 0.95rem !important; line-height: 1.5; }
    .hero-btns { display: flex; flex-direction: column; gap: 1rem; width: 100%; align-items: flex-start; }
    .btn-secondary { margin-left: 0 !important; }
    .slider-controls { max-width: 100%; margin-top: 1rem; }
    .hero-location { margin-top: 1.5rem; display: block; }
}