/* ========================================
   MOV Production - Custom Styles
   ======================================== */

/* ─── Global Reset & Base ─── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.mov-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.mov-accent { color: var(--mov-red); }
.mov-accent-gold { color: var(--mov-gold); }

.mov-section-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mov-gold);
  margin-bottom: var(--space-sm);
}

.mov-section-title {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.mov-section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

/* ─── Buttons ─── */
.mov-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.mov-btn-primary {
  background: var(--mov-red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(196,30,30,0.3);
}
.mov-btn-primary:hover {
  background: var(--mov-red-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-red);
  color: #fff;
}

.mov-btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-subtle);
}
.mov-btn-outline:hover {
  border-color: var(--mov-red);
  color: var(--mov-red-bright);
  transform: translateY(-2px);
}

.mov-btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

/* ─── Hero Section — Total Black with Floating Broadcast Icons ─── */
.mov-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000000 !important;
  overflow: hidden;
  padding: var(--space-4xl) var(--space-xl);
}

/* Floating broadcast icons container */
.mov-hero-icons-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Individual floating icon */
.mov-float-icon {
  position: absolute;
  left: var(--fi-x, 50%);
  top: var(--fi-y, 50%);
  width: var(--fi-size, 48px);
  height: var(--fi-size, 48px);
  color: rgba(196,30,30,0.07);
  filter: blur(2px);
  opacity: 0.6;
  animation: floatIcon var(--fi-dur, 20s) ease-in-out var(--fi-delay, 0s) infinite;
  will-change: transform, opacity;
}

@keyframes floatIcon {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(15px, -20px) rotate(5deg) scale(1.05);
    opacity: 0.6;
  }
  50% {
    transform: translate(-10px, -35px) rotate(-3deg) scale(0.95);
    opacity: 0.5;
  }
  75% {
    transform: translate(20px, -15px) rotate(4deg) scale(1.03);
    opacity: 0.55;
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.4;
  }
}

/* Subtle ambient glows — very understated on black */
.mov-hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.mov-hero-glow-1 {
  width: 500px; height: 500px;
  top: -10%; left: 20%;
  background: rgba(196,30,30,0.06);
  animation: glowFloat1 8s ease-in-out infinite;
}
.mov-hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -5%; right: 15%;
  background: rgba(0,180,216,0.03);
  animation: glowFloat2 10s ease-in-out infinite;
}
@keyframes glowFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.15); }
}
@keyframes glowFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -30px) scale(1.1); }
}

.mov-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

/* 3D Logo removed — user's real logo is in navbar only */

.mov-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--mov-gold);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
  background: rgba(201,168,76,0.05);
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.mov-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mov-gold);
  animation: pulseDot 2s infinite;
}

.mov-hero-title {
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  margin-bottom: var(--space-lg);
  color: #fff;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.mov-hero-line { display: block; }

.mov-hero-accent {
  color: var(--mov-red);
  font-style: italic;
  text-shadow: 0 0 30px rgba(196,30,30,0.3);
}

.mov-hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

.mov-hero-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 1.4s both;
}

/* Brand ticker */
.mov-hero-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-3xl);
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.3);
  animation: fadeInUp 0.8s ease-out 1.6s both;
}
.mov-brand-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(196,30,30,0.5);
}

/* ─── Categories Section ─── */
.mov-categories {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.mov-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--space-xl);
  max-width: 100%;
  margin: 0 auto;
}

.mov-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.mov-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mov-red), var(--neon-blue));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.mov-cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-glow);
}
.mov-cat-card:hover::before { opacity: 1; }

.mov-cat-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-xl);
  margin: var(--space-lg) 0 var(--space-md);
}

.mov-cat-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.mov-cat-link {
  color: var(--mov-red);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.mov-cat-link:hover { color: var(--mov-red-bright); }

/* ─── Brand Tabs ─── */
.mov-brands-section {
  padding: var(--space-4xl) 0;
}

.mov-brand-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.mov-brand-tab {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.mov-brand-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,30,30,0.15), rgba(196,30,30,0.05));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 50px;
}
.mov-brand-tab:hover {
  border-color: var(--mov-red);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.mov-brand-tab:hover::before {
  opacity: 1;
}
.mov-brand-tab:active {
  transform: translateY(0) scale(0.97);
}
.mov-brand-tab.active {
  background: var(--mov-red);
  border-color: var(--mov-red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196,30,30,0.4);
  transform: translateY(-2px);
}
.mov-brand-tab.active::before { opacity: 0; }

/* Products grid fade transition */
.mov-products-grid.mov-loading-state {
  opacity: 0.3;
  transform: translateY(10px);
  transition: all 0.3s;
}
.mov-products-grid.mov-loaded-state {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s cubic-bezier(.4,0,.2,1);
}

/* ─── Products Grid ─── */
.mov-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* ─── Product Cards (WooCommerce override) ─── */
.mov-products-grid .product,
.woocommerce ul.products li.product,
.mov-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.mov-products-grid .product:hover,
.mov-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-glow);
}

.mov-products-grid .product img,
.mov-product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: var(--bg-secondary);
  padding: var(--space-md);
}

.mov-products-grid .product .woocommerce-loop-product__title,
.mov-product-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-md) var(--space-lg) var(--space-xs);
  color: var(--text-primary);
}

.mov-products-grid .product .woocommerce-loop-product__link {
  text-decoration: none;
  color: inherit;
}

/* ─── WhatsApp Button on Products ─── */
.mov-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - var(--space-2xl));
  justify-content: center;
  margin: var(--space-sm) var(--space-lg) var(--space-lg);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: #25D366;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-base);
}
.mov-btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  color: #fff;
}

/* ─── Services ─── */
.mov-services {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
}

.mov-services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
}

.mov-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  flex: 0 1 calc(33.333% - var(--space-xl));
  min-width: 260px;
  max-width: 380px;
  box-sizing: border-box;
}
.mov-service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-card);
  border-color: var(--border-glow);
}

.mov-service-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  margin: var(--space-lg) 0 var(--space-md);
}

.mov-service-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ─── Specs Grid ─── */
.mov-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
}

.mov-spec-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.mov-spec-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-xs);
}
.mov-spec-value {
  font-weight: 600;
  color: var(--mov-red);
  font-size: var(--text-base);
}

/* ─── WhatsApp Float ─── */
.mov-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--transition-base);
  animation: floatBounce 3s ease-in-out infinite;
}
.mov-whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

/* ─── Footer ─── */
.mov-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.mov-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.mov-widget-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.mov-footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

/* ─── No Products Message ─── */
.mov-no-products {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-3xl);
  font-size: var(--text-lg);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .mov-hero-title { font-size: clamp(2rem, 8vw, 3.5rem); }
  .mov-section-title { font-size: var(--text-3xl); }
  .mov-hero-actions { flex-direction: column; align-items: center; }
  .mov-btn { width: 100%; max-width: 300px; justify-content: center; }
  .mov-brand-tabs { gap: 6px; }
  .mov-brand-tab { padding: 8px 16px; font-size: var(--text-xs); }
  .mov-products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .mov-container { padding: 0 var(--space-md); }
}

@media (max-width: 960px) {
  .mov-cat-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .mov-service-card {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .mov-products-grid { grid-template-columns: 1fr; }
}

/* ─── Soluciones Section ─── */
.mov-soluciones {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.mov-soluciones::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,30,30,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.mov-soluciones::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.mov-soluciones-wrapper {
  position: relative;
  z-index: 1;
}

.mov-soluciones-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.mov-soluciones-icon-row {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.mov-soluciones-icon-row .mov-icon-3d {
  width: 80px;
  height: 80px;
}

.mov-soluciones-text {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.mov-soluciones-lead {
  font-size: var(--text-xl);
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}
.mov-soluciones-lead strong {
  color: var(--mov-red);
}

.mov-soluciones-highlight {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.8;
}
.mov-soluciones-highlight strong {
  color: var(--text-primary);
}

.mov-accent-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--mov-red), var(--mov-red-bright));
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-md);
  font-family: 'Anton', sans-serif;
  font-size: var(--text-lg);
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(196,30,30,0.25);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.mov-soluciones-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.mov-sol-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.mov-sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.mov-sol-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-card);
  border-color: var(--border-glow);
}
.mov-sol-card:hover::before { opacity: 1; }

.mov-sol-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  color: var(--neon-blue);
}
.mov-sol-card-icon svg {
  width: 100%;
  height: 100%;
}

.mov-sol-card h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.mov-sol-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .mov-soluciones-icon-row { gap: var(--space-lg); }
  .mov-soluciones-icon-row .mov-icon-3d { width: 60px; height: 60px; }
  .mov-soluciones-lead { font-size: var(--text-lg); }
  .mov-soluciones-cards { grid-template-columns: 1fr; }
}
