:root {
  --primary: #ff0000;
  --primary-deep: #cc0000;
  --bg: #050505;
  --bg-card: #0c0c0c;
  --text: #ffffff;
  --text-dim: #999999;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;900&family=Unbounded:wght@400;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
  position: relative;
}

/* NOISE & GLOW - ULTRA PREMIUM TOUCH */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "";
  position: fixed;
  bottom: -10%; right: -10%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.04) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  animation: bgGlow 15s infinite alternate ease-in-out;
}

@keyframes bgGlow {
  0% { transform: translate(0,0); }
  100% { transform: translate(-20%, -20%); }
}

/* REVEAL SYSTEM */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR - TOP GLASS */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 5, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 5%;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 2px;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-hours-mobile {
  display: none;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background: white;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* HERO - POWERFUL & CLEAN */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(5, 5, 5, 1)),
    url('hero.jpg') center/cover no-repeat;
  z-index: 1;
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 1100px;
  width: 100%;
}

.logo-container {
  margin-bottom: 40px;
  display: inline-block;
  animation: logoBreath 4s infinite ease-in-out;
}

.logo {
  width: 400px;
  max-width: 85%;
  filter: drop-shadow(0 0 40px rgba(255, 0, 0, 0.25));
}

@keyframes logoBreath {

  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.2));
  }

  50% {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 0 50px rgba(255, 0, 0, 0.4));
  }
}

.hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2.4rem, 10vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 25px;
  color: white;
  text-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  /* EMBLEM EFFECT */
  background: linear-gradient(to bottom, #ffffff 45%, #777777 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 span {
  display: block;
  font-size: 0.4em;
  letter-spacing: 5px;
  font-weight: 300;
  color: var(--primary);
  margin-top: 10px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  padding: 18px 45px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-main {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.15);
}

.btn-main::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.6s;
}

.btn-main:hover::after {
  left: 100%;
}

.btn-main:hover {
  background: var(--primary-deep);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.35);
}

.btn-alt {
  background: var(--glass);
  color: white;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-alt:hover {
  background: white;
  color: black;
  transform: translateY(-5px);
}

/* SECTIONS */
section {
  padding: 150px 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* SECTION DIVIDERS - PREMIUM SLANT */
section:not(:first-of-type) {
  margin-top: -80px;
  padding-top: 200px;
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.03);
}

section:not(:first-of-type)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, 
    #0062ad 0%, 
    #1d1e30 33%, #1d1e30 66%, 
    #e30010 100%
  );
  transform: translateY(39px) rotate(-1.5deg);
  transform-origin: left;
  z-index: 10;
  opacity: 0.6;
}

h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 80px;
  text-align: center;
  /* METALLIC GRADIENT */
  background: linear-gradient(to bottom, #ffffff 30%, #aaaaaa 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  margin: 30px auto 0;
  /* BMW M TRICOLOR WITH GLOW */
  background: linear-gradient(
    90deg,
    #0062ad 33.33%,
    #1d1e30 33.33%,
    #1d1e30 66.66%,
    #e30010 66.66%
  );
  box-shadow: 0 0 15px rgba(227, 0, 16, 0.4);
  border-radius: 2px;
}

/* METALLIC SHEEN ANIMATION FOR TITLES */
h2 {
  position: relative;
  overflow: hidden;
}

h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-25deg);
  animation: shine 8s infinite ease-in-out;
}

@keyframes shine {
  0% {
    left: -150%;
  }
  20%,
  100% {
    left: 150%;
  }
}

/* SOBRE NOSOTROS */
#nosotros p {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-dim);
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  line-height: 2;
  letter-spacing: 0.5px;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.service-card {
  background: var(--bg-card);
  padding: 60px 45px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--primary);
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 255, 255, 0.12);
  background: #111;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  height: 100%;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: white;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-cta {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: var(--transition);
}

.service-cta::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 20px; height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.service-cta:hover {
  color: white;
  transform: translateX(5px);
}

.service-cta:hover::after {
  width: 100%;
  background: white;
}

/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(0.8);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* CONTACTO */
.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  background: var(--bg-card);
  padding: 60px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  border: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.contact-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(10px);
}

.contact-link img {
  width: 35px;
  transition: var(--transition);
}

.contact-link:hover img {
  transform: scale(1.1);
}

.contact-link div span {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

.contact-link:hover div span {
  color: white;
}

.contact-link div p {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 5px;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
  width: 35px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 80px 5%;
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
}

.footer-logo {
  width: 140px;
  margin-bottom: 20px;
  opacity: 1;
}

footer p {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 968px) {
  .navbar {
    padding: 20px 5%;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    justify-content: flex-end;
  }

  .nav-logo {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-hours-mobile {
    display: block;
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
  }

  .nav-hours-mobile span {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 2px;
    font-weight: 700;
  }

  .nav-hours-mobile p {
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 5px;
  }

  .nav-hours-mobile .h-closed {
    color: var(--primary);
    font-size: 0.8rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .logo {
    width: 300px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    padding: 0 5%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .contact-link {
    padding: 20px;
  }

  .contact-link div p {
    font-size: 1rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
  }
}