/* ==========================================================================
   MultirepuestosRG V7 — Premium Impact Design
   ========================================================================== */

:root {
    --orange: #FF5A1F;
    --orange-dark: #E04D1A;
    --orange-glow: rgba(255,90,31,0.15);
    --orange-glow-strong: rgba(255,90,31,0.4);
    --dark: #0B0B0F;
    --dark-card: #12121A;
    --dark-lighter: #1A1A25;
    --light: #FAFBFC;
    --light-alt: #F1F3F5;
    --text: #0F1419;
    --text-mid: #5B6370;
    --text-dim: #8B95A2;
    --border: rgba(255,255,255,0.06);
    --border-light: #E5E8EB;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 8px;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Space Grotesk', var(--font);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--light);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px; font-weight: 600;
    font-size: 0.95rem; font-family: var(--font); border: none;
    cursor: pointer; transition: all 0.4s var(--ease); position: relative;
}
.btn--primary { background: var(--orange); color: #FFF; }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-3px); box-shadow: 0 12px 32px var(--orange-glow-strong); }
.btn--glow { box-shadow: 0 0 40px var(--orange-glow-strong), 0 4px 15px var(--orange-glow); }
.btn--outline { background: transparent; color: #FFF; border: 1.5px solid rgba(255,255,255,0.2); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--dark { background: #000; color: #FFF; }
.btn--dark:hover { background: #222; transform: translateY(-2px); }
.btn--sm { padding: 10px 22px; font-size: 0.88rem; }
.btn--wa-big {
    background: #25D366; color: #FFF; padding: 18px 48px;
    font-size: 1.15rem; font-weight: 700;
    box-shadow: 0 8px 30px rgba(37,211,102,0.35);
}
.btn--wa-big:hover { background: #1EB954; transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 48px rgba(37,211,102,0.45); }

/* ========== NAVBAR ========== */
.nav {
    position: fixed; top: 0; width: 100%; z-index: 9999;
    padding: 18px 0; transition: all 0.5s var(--ease);
}
.nav.scrolled {
    background: rgba(11,11,15,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 12px 0; box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav__inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { height: 50px; object-fit: contain; transition: transform 0.3s; border-radius: 6px; }
.nav__logo:hover img { transform: scale(1.05); }
.nav__menu { display: flex; gap: 32px; }
.nav__menu a {
    font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.6);
    position: relative;
}
.nav__menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--orange); transition: width 0.3s var(--ease); border-radius: 1px;
}
.nav__menu a:hover { color: #FFF; }
.nav__menu a:hover::after { width: 100%; }
.nav__cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; background: var(--orange); color: #FFF;
    border-radius: 50px; font-weight: 600; font-size: 0.88rem;
}
.nav__cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--orange-glow-strong); }
.nav__toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span { width: 24px; height: 2px; background: #FFF; border-radius: 2px; transition: 0.3s; }

/* ========== HERO ========== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    justify-content: center; overflow: hidden;
    background: radial-gradient(ellipse at 30% 50%, #1a1020 0%, var(--dark) 60%);
    padding: 120px 24px 80px;
}
.hero__particles {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero__glow {
    position: absolute; width: 800px; height: 800px;
    background: radial-gradient(circle, var(--orange-glow-strong) 0%, transparent 60%);
    top: -200px; right: -200px; filter: blur(80px); z-index: 0;
    animation: glowPulse 6s ease-in-out infinite alternate;
}
@keyframes glowPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.15); }
}
.hero__content {
    position: relative; z-index: 1; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
    max-width: 800px;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7); padding: 8px 22px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--orange); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--orange-glow-strong); }
    50% { box-shadow: 0 0 0 10px transparent; }
}
.hero__title {
    font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800; color: #FFF; line-height: 1.05; letter-spacing: -1px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--orange) 0%, #FF8A50 50%, #FFB380 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.55); max-width: 600px; line-height: 1.8;
}
.hero__sub strong { color: rgba(255,255,255,0.85); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__trust {
    display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}
.trust-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    padding: 10px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px); transition: all 0.3s var(--ease);
}
.trust-pill i { color: var(--orange); font-size: 0.9rem; }
.trust-pill:hover { border-color: var(--orange); color: rgba(255,255,255,0.85); }

/* Scroll indicator */
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-indicator {
    width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
    width: 4px; height: 8px; background: var(--orange); border-radius: 2px;
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ========== MARQUEE ========== */
.marquee {
    background: var(--dark); padding: 18px 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.04);
}
.marquee__track {
    display: flex; gap: 48px; animation: marqueeScroll 20s linear infinite;
    white-space: nowrap; width: max-content;
}
.marquee__track span {
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    color: rgba(255,255,255,0.12); letter-spacing: 4px; text-transform: uppercase;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== SECTIONS ========== */
.section { padding: 110px 0; }
.section--dark { background: var(--dark); color: #FFF; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700; color: var(--orange);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.title-xl {
    font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.section--dark .title-xl { color: #FFF; }
.subtitle { font-size: 1.05rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; }
.section--dark .subtitle { color: rgba(255,255,255,0.45); }
.section__header { margin-bottom: 56px; }

/* ========== SERVICIOS ========== */
.services {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc {
    background: #FFF; border: 1px solid var(--border-light); border-radius: var(--radius);
    padding: 36px 28px; transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.svc::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), #FF8A50);
    transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.svc:hover::after { transform: scaleX(1); }
.svc:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: transparent; }
.svc__icon {
    width: 56px; height: 56px; background: var(--orange-glow); color: var(--orange);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 20px; transition: all 0.4s var(--ease);
}
.svc:hover .svc__icon { background: var(--orange); color: #FFF; transform: scale(1.1) rotate(-5deg); }
.svc h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.svc p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.55; }

/* ========== WHY CHOOSE US ========== */
.why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.why-card {
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius); padding: 32px 24px;
    transition: all 0.4s var(--ease); position: relative;
}
.why-card:hover {
    background: rgba(255,255,255,0.06); border-color: var(--orange);
    transform: translateY(-6px); box-shadow: 0 16px 40px rgba(255,90,31,0.1);
}
.why-number {
    font-family: var(--font-display); font-size: 2.5rem; font-weight: 900;
    background: linear-gradient(135deg, var(--orange) 0%, #FF8A50 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 16px;
}
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #FFF; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ========== STORY ========== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story__img { position: relative; }
.story__img img {
    border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%;
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}
.story__badge {
    position: absolute; bottom: -14px; right: -14px;
    background: var(--orange); color: #FFF; padding: 14px 24px;
    border-radius: var(--radius-sm); font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 800; letter-spacing: 1px;
    box-shadow: 0 8px 24px var(--orange-glow-strong); border: 3px solid var(--dark);
}
.story__text p { color: var(--text-mid); margin-bottom: 16px; font-size: 1.02rem; }
.story__text strong { color: var(--text); }
.story__features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.feat {
    display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500;
    color: var(--text-mid); padding: 12px 16px;
    background: var(--light-alt); border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
}
.feat i { color: var(--orange); font-size: 1rem; }

/* ========== BRANDS ========== */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand {
    background: #FFF; border: 1px solid var(--border-light); border-radius: var(--radius);
    padding: 28px 16px; text-align: center; transition: all 0.4s var(--ease);
    cursor: default;
}
.brand:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); border-color: transparent; }
.brand img { max-height: 50px; max-width: 100px; object-fit: contain; margin: 0 auto 14px; }
.brand__info h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.brand__info p { font-size: 0.78rem; color: var(--text-dim); margin-top: 2px; }

/* ========== GALLERY ========== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal {
    position: relative; overflow: hidden; border-radius: var(--radius);
    cursor: pointer; aspect-ratio: 1/1;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gal:hover img { transform: scale(1.1); }
.gal__over {
    position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%);
    display: flex; justify-content: space-between; align-items: flex-end;
    padding: 20px; color: #FFF; opacity: 0; transition: opacity 0.4s var(--ease);
}
.gal:hover .gal__over { opacity: 1; }
.gal__over span { font-weight: 600; font-size: 0.95rem; }
.gal__over i { opacity: 0.7; }

/* ========== TIKTOK ========== */
.tiktok-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.tiktok-embed-box {
    background: var(--light-alt); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 24px; min-height: 400px;
    display: flex; justify-content: center; overflow: hidden;
}
.tiktok-sidebar { display: flex; flex-direction: column; gap: 20px; }
.tiktok-card {
    background: #FFF; border: 1px solid var(--border-light); border-radius: var(--radius);
    padding: 36px; text-align: center;
}
.tiktok-card__icon {
    width: 60px; height: 60px; background: #000; color: #FFF; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin: 0 auto 18px;
}
.tiktok-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.tiktok-card p { color: var(--text-mid); font-size: 0.92rem; margin-bottom: 18px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-btn {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 18px 14px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.82rem; color: #FFF; transition: all 0.35s var(--ease);
}
.social-btn i { font-size: 1.4rem; }
.social-btn:hover { transform: translateY(-4px); }
.social-btn--tiktok { background: #010101; }
.social-btn--fb { background: #1877F2; }
.social-btn--maps { background: #EA4335; }
.social-btn--wa { background: #25D366; }

/* ========== MAP ========== */
.map-box { margin-top: 48px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.map-bar {
    display: flex; align-items: center; justify-content: center; gap: 36px;
    padding: 20px 28px; background: var(--dark-card); border: 1px solid rgba(255,255,255,0.06);
    border-top: none; border-radius: 0 0 var(--radius) var(--radius);
}
.map-info { display: flex; align-items: center; gap: 12px; }
.map-info i { font-size: 1.2rem; color: var(--orange); }
.map-info div { display: flex; flex-direction: column; }
.map-info strong { font-size: 0.85rem; color: #FFF; }
.map-info span { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ========== CTA ========== */
.cta {
    padding: 120px 0; position: relative; overflow: hidden;
    background: linear-gradient(160deg, #0F0F18 0%, #1A0A05 100%);
    color: #FFF;
}
.cta__glow {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--orange-glow-strong) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%); filter: blur(100px); opacity: 0.5;
}
.cta__title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; margin-bottom: 16px; position: relative;
}
.cta__sub { font-size: 1.05rem; color: rgba(255,255,255,0.45); max-width: 500px; margin: 0 auto 32px; position: relative; }

/* ========== FOOTER ========== */
.footer { background: #070710; color: #8B95A2; padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer__logo { height: 60px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer__brand p { font-size: 0.88rem; color: rgba(255,255,255,0.3); max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #FFF; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 0.88rem; color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 8px; }
.footer__col a:hover { color: var(--orange); }
.footer__col i { font-size: 0.8rem; color: var(--orange); }
.footer__bottom { padding: 20px 0; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.2); }

/* ========== WA FLOAT ========== */
.wa-float {
    position: fixed; bottom: 28px; right: 28px; background: #25D366; color: #FFF;
    width: 60px; height: 60px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 8000;
    transition: all 0.3s var(--ease); animation: waFloat 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.12); }
@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.94); backdrop-filter: blur(20px);
    justify-content: center; align-items: center;
}
.lightbox.active { display: flex; }
.lightbox__img {
    max-width: 92vw; max-height: 90vh; border-radius: var(--radius);
    box-shadow: 0 0 80px rgba(0,0,0,0.5); animation: lbIn 0.35s var(--ease);
    object-fit: contain;
}
.lightbox__close {
    position: absolute; top: 20px; right: 28px; color: #FFF; font-size: 2.5rem;
    background: none; border: none; cursor: pointer; z-index: 100000; line-height: 1;
    transition: 0.3s;
}
.lightbox__close:hover { color: var(--orange); transform: scale(1.15); }
@keyframes lbIn { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ========== ANIMATIONS ========== */
.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal.show, .reveal-left.show, .reveal-right.show { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .story { grid-template-columns: 1fr; gap: 40px; }
    .brands { grid-template-columns: repeat(3, 1fr); }
    .tiktok-layout { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav__menu {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(11,11,15,0.98); backdrop-filter: blur(20px);
        flex-direction: column; padding: 24px; gap: 18px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav__menu.active { display: flex; }
    .nav__cta { display: none; }
    .nav__toggle { display: flex; }
    .services { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
    .brands { grid-template-columns: repeat(2, 1fr); }
    .story__features { grid-template-columns: 1fr; }
    .map-bar { flex-direction: column; gap: 14px; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .section { padding: 80px 0; }
}
@media (max-width: 480px) {
    .services { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .brands { grid-template-columns: 1fr 1fr; }
    .hero__counters { flex-direction: column; gap: 16px; padding: 16px 24px; }
    .counter__sep { width: 50px; height: 1px; }
    .social-grid { grid-template-columns: 1fr 1fr; }
}
