:root {
  --primary-color: #DBFF29;
  --dark: #000000;
  --dark-alt: #0D1216;
  --light: #FFFFFF;
  --radius-xl: 40px;
  --radius-pill: 100px;
  --border-radius-pill: 100px;
  --border-radius-xl: 60px;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  cursor: none;
}

/* Foco visible para navegación por teclado (Bootstrap's shadow-none no toca outline) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.portfolio-card:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Typography styles */
.font-sans {
  font-family: 'Jost', sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Utilities */
.text-acid { color: var(--primary-color) !important; }
.bg-acid { background-color: var(--primary-color) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-dark-alt { background-color: var(--dark-alt) !important; }
.rounded-acid { border-radius: var(--radius-xl) !important; }
.rounded-pill { border-radius: var(--radius-pill) !important; }
.transition-all { transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important; }

/* Filter */
.filter-grayscale { filter: grayscale(100%) !important; }
.hover-scale-img:hover { transform: scale(1.03); filter: grayscale(0%) !important; }

/* Custom Cursor */
.modal-content {
  border-radius: var(--radius-acid);
}

.shorts-badge {
  background-color: rgba(0, 0, 0, 0.75);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.modal .btn-close {
  padding: 0.75rem;
  margin: -0.5rem -0.5rem -0.5rem auto;
}

#galleryCarousel {
  max-height: 70vh;
  overflow: hidden;
  border-radius: 12px;
}

#galleryCarousel .carousel-item img {
  object-fit: contain;
  max-height: 70vh;
}

.carousel-control-prev, .carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 1.5rem;
}

/* Original styles continue... */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}
.cursor-hover {
  width: 60px;
  height: 60px;
  background-color: rgba(219, 255, 41, 0.2);
  border-color: transparent;
}

/* Navbar */
#main-navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hover-acid:hover { color: var(--primary-color) !important; }

/* Hero Section */
.hero-section {
  min-height: 100vh;
}
.hero-bg video {
  z-index: 1;
}
.hero-title {
  font-size: clamp(3rem, 12vw, 15rem);
  letter-spacing: -0.05em;
  text-shadow: 0 0 50px rgba(219, 255, 41, 0.4);
}
.hero-subtitle {
  font-size: clamp(2rem, 8vw, 8rem);
  margin-right: -2rem; 
  text-shadow: 0 20px 40px rgba(0,0,0,0.8);
}
.hero-subtitle-serif {
  font-size: clamp(1.8rem, 7vw, 6rem);
  margin-top: -1.5rem;
  z-index: 5;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.scale-up-anim {
  animation: scaleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes scaleUp {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Scroll indicator */
.tracking-wide { letter-spacing: 0.2em; }
.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}
.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollMouse 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}
@keyframes scrollMouse {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Sections */
.section-padding {
  padding: 8rem 0;
}

/* Image wrappers */
.image-wrapper img {
  border-radius: var(--radius-xl);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

/* Quiénes somos overlap */
.overlap-box-right {
  margin-left: -50px;
  z-index: 10;
}

@media (max-width: 991px) {
  .overlap-box-right {
    margin-top: -60px;
    margin-left: 0;
    position: relative;
    z-index: 10;
  }
  .hero-subtitle {
    margin-right: 0;
  }
  .hero-subtitle-serif {
    margin-top: 0.25rem;
  }
}

/* Servicios hover interactions */
.spinning-star {
  display: inline-block;
  transition: transform 0.4s ease;
}
.filter-acid {
  filter: invert(86%) sepia(50%) saturate(600%) hue-rotate(20deg) brightness(105%) contrast(105%);
}

/* WhatsApp Floating */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--dark);
  border-radius: 50px;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(219, 255, 41, 0.4);
  z-index: 999;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: white;
  color: black;
}
.service-item:hover .spinning-star {
  transform: rotate(180deg) scale(1.2);
}
.hover-acid-text:hover {
  color: var(--primary-color) !important;
  transform: translateX(20px);
}

/* Proyectos Hover */
.portfolio-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) !important;
}
.portfolio-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  opacity: 0;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.transform-y-10 {
  transform: translateY(20px);
  opacity: 0;
}
.portfolio-card:hover .transform-y-10 {
  transform: translateY(0);
  opacity: 1;
}
.delay-100 { transition-delay: 100ms !important; }

/* Buttons */
.btn-acid {
  background-color: var(--primary-color);
  color: var(--dark);
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  transition: all 0.3s ease;
}
.btn-acid:hover {
  background-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}

/* Accesibilidad: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .scale-up-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mouse::before {
    animation: none !important;
    opacity: 1 !important;
  }
  .transition-all {
    transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease !important;
  }
}

/* Marcas */
.hover-opacity-100:hover { opacity: 1 !important; transform: scale(1.1); }
.hover-scale-up:hover { transform: translateY(-10px) scale(1.05); }

/* Contact Specific */
.contact-box:hover .btn {
  background-color: var(--light);
  color: var(--dark);
}
.hover-neon:hover {
  color: var(--light) !important;
  text-shadow: 0 0 20px rgba(255,255,255,0.8);
}

/* Category Filters */
.btn-outline-acid {
  border: 1px solid rgba(219, 255, 41, 0.3);
  color: var(--light);
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.02);
}
.btn-outline-acid:hover, .btn-outline-acid.active {
  background-color: var(--primary-color) !important;
  color: var(--dark) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 15px rgba(219, 255, 41, 0.4);
}
.filter-btn {
  font-weight: 700;
  letter-spacing: 1px;
}