/* ════════════════════════════════════════════════════
   MAS3D — Premium Dark Website
   Paleta: Orange #FF5A43 · Magenta #E92C81 · Violet #8F39EC · Blue #2D9CFC
   ════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --orange:    #FF5A43;
  --magenta:   #E92C81;
  --violet:    #8F39EC;
  --blue:      #2D9CFC;
  --bg:        #0A0A0F;
  --bg-card:   #13131A;
  --bg-card2:  #1A1A24;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(255,255,255,0.15);
  --text:      #F9F7F5;
  --text-muted:#9090A8;
  --text-dim:  #5A5A72;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 20px 60px rgba(0,0,0,0.5);
  --glow-o:    0 0 40px rgba(255,90,67,0.25);
  --glow-m:    0 0 40px rgba(233,44,129,0.25);
  --glow-v:    0 0 40px rgba(143,57,236,0.25);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── CURSOR ── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9999; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
.cursor-dot  { width: 6px; height: 6px; background: var(--orange); }
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,90,67,0.5);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
}
body:not(:hover) .cursor-dot,
body:not(:hover) .cursor-ring { opacity: 0; }

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ── SPLASH ── */
#splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  animation: splashHide 0.6s ease 2.8s forwards;
}
.splash-inner { text-align: center; }
.splash-panda {
  font-size: 3.5rem;
  animation: splashBounce 0.8s ease infinite alternate;
}
.splash-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, var(--orange), var(--magenta), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.5rem;
}
.splash-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 1.5rem auto 0;
  overflow: hidden;
}
.splash-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  animation: splashLoad 2.4s ease forwards;
}

@keyframes splashLoad    { from { width: 0 } to { width: 100% } }
@keyframes splashBounce  { from { transform: translateY(0) } to { transform: translateY(-8px) } }
@keyframes splashHide    { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ── UTILITY ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 600px;
  margin-top: 1rem;
}
.section-sub.center { margin: 1rem auto 0; text-align: center; }
.accent { color: var(--orange); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,90,67,0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--border-h);
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] { opacity: 1; transform: none; }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 40px;
  height: 70px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
#nav.scrolled { background: rgba(10,10,15,0.97); }

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.nav-logo-icon { font-size: 1.5rem; }
.nav-logo-text .accent { color: var(--orange); }

.nav-links {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,90,67,0.35); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 30px; padding: 4px; margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text);
  border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 120px 40px 80px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Video de fondo en bucle */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center; /* Desplaza el panda a la derecha */
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-video { object-position: center center; }
}

/* Overlay oscuro sobre el video para que el texto sea legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  /* Desktop: más oscuro izquierda (texto), más claro derecha (visual del video) */
  background: linear-gradient(
    100deg,
    rgba(10,10,15,0.82) 0%,
    rgba(10,10,15,0.60) 45%,
    rgba(10,10,15,0.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  /* Mobile: overlay uniforme más oscuro para que el texto siempre sea legible */
  .hero-video-overlay {
    background: rgba(10,10,15,0.72);
  }
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.05); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,0.95), 0 4px 60px rgba(0,0,0,0.9);
}
.hero-line { display: block; }
.hero-line-accent {
  background: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,1)) drop-shadow(0 0 30px rgba(0,0,0,0.95));
}

.hero-sub {
  color: rgba(249,247,245,0.9);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; z-index: 2; }

.hero-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  max-height: 540px;
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, rgba(255,90,67,0.08) 0%, rgba(143,57,236,0.08) 100%);
  color: var(--text-muted);
  text-align: center; padding: 2rem;
}
.hero-img-icon { font-size: 4rem; }
.hero-img-placeholder p { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.hero-img-placeholder span { font-size: 0.75rem; color: var(--text-dim); }
.hero-img-glow {
  position: absolute; inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,90,67,0.2), rgba(143,57,236,0.2));
  z-index: -1;
  filter: blur(20px);
}
.hero-img-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
}
.hero-img-badge strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-img-badge span { font-size: 0.75rem; color: var(--text-muted); line-height: 1.3; }

/* Logo real en nav */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(1.1);
}

/* Foto de producto en el hero frame */
.hero-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── STATS BAR ── */
.stats-bar {
  position: relative; z-index: 1;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.stat-item {
  display: flex; align-items: center; gap: 12px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 900; font-size: 2rem;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-plus { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--orange); }
.stat-icon { font-size: 1.5rem; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border-h); }

/* ── NOSOTROS ── */
#nosotros {
  padding: 120px 40px;
  position: relative; z-index: 1;
}
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.nosotros-visual { }
.nosotros-img-wrap { position: relative; }
.nosotros-collage {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.65rem;
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
}
.collage-main {
  border-radius: 18px;
  overflow: hidden;
}
.collage-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.collage-main:hover img { transform: scale(1.04); }
.collage-side {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.collage-sm {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
}
.collage-sm img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.collage-sm:hover img { transform: scale(1.06); }

.nosotros-img-placeholder {
  border-radius: 24px;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(233,44,129,0.1) 0%, rgba(143,57,236,0.1) 100%);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 2rem;
  color: var(--text-muted);
}
.nosotros-img-icon { font-size: 3.5rem; }
.nosotros-img-placeholder p { font-size: 1rem; font-weight: 600; color: var(--text); }
.nosotros-img-placeholder span { font-size: 0.72rem; color: var(--text-dim); }
.nosotros-badge-wrap {
  position: absolute; bottom: -16px; right: -16px;
}
.nosotros-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow);
}

.nosotros-text { }
.nosotros-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.nosotros-pillars {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.pillar {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}
.pillar-icon { font-size: 1rem; }

/* ── SERVICIOS ── */
#servicios {
  padding: 120px 40px;
  background: var(--bg-card);
  position: relative; z-index: 1;
}
#servicios .section-title,
#servicios .section-eyebrow { }
#servicios > .section-inner > .section-sub { margin: 1rem auto 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  position: relative;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent, var(--orange));
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.service-card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, color-mix(in srgb, var(--accent, var(--orange)) 12%, transparent), transparent 65%);
  pointer-events: none;
  transition: opacity var(--transition);
  opacity: 0;
}
.service-card:hover .service-card-glow { opacity: 1; }

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-card-photo {
  width: calc(100% + 4rem);
  margin: -2rem -2rem 1.5rem -2rem;
  height: 190px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.service-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s ease;
}
.service-card:hover .service-card-photo img {
  transform: scale(1.06);
}
.service-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 1.5rem;
}
.service-tags li {
  padding: 4px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.service-cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent, var(--orange));
  letter-spacing: 0.03em;
  transition: gap var(--transition);
  display: inline-flex; align-items: center; gap: 4px;
}
.service-cta:hover { gap: 8px; }

/* ── PROCESO ── */
#proceso {
  padding: 120px 40px;
  position: relative; z-index: 1;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}
.process-line {
  display: none;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.process-step:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.proceso-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ── MUNDIAL 2026 ── */
#mundial {
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0A1A0A 0%, #0D0D18 50%, #1A0A0A 100%);
  z-index: 1;
}
.mundial-bg { position: absolute; inset: 0; pointer-events: none; }
.mundial-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px);
}
.mundial-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.12) 0%, transparent 70%);
  top: -100px; right: 10%;
  animation: orbFloat 10s ease-in-out infinite alternate;
}
.mundial-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,100,0,0.15) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  animation: orbFloat 12s ease-in-out infinite alternate-reverse;
}

.mundial-urgencia {
  background: linear-gradient(135deg, #FFD700, #FF6B00);
  color: #1a1a1a;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.mundial-urgencia a {
  color: #1a1a1a;
  font-weight: 800;
  text-decoration: underline;
  margin-left: 8px;
  white-space: nowrap;
}
.mundial-urgencia a:hover { opacity: 0.75; }

.mundial-header { text-align: center; margin-bottom: 3.5rem; }
.mundial-flag { font-size: 3.5rem; margin-bottom: 0.5rem; animation: flagWave 2s ease-in-out infinite; }
@keyframes flagWave {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

.mundial-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
/* Mundial cards — colores de marca */
.mundial-card {
  position: relative;
  background: var(--bg-card2);
  border: 1px solid rgba(255,90,67,0.2);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  overflow: hidden;
  transition: all var(--transition);
}
.mundial-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,90,67,0.08), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.mundial-card:hover::before { opacity: 1; }
.mundial-card:hover {
  border-color: rgba(255,90,67,0.5);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(255,90,67,0.15);
}
.mundial-card.featured {
  background: linear-gradient(160deg, rgba(255,90,67,0.12) 0%, rgba(233,44,129,0.10) 100%);
  border-color: rgba(255,90,67,0.45);
  box-shadow: 0 0 40px rgba(255,90,67,0.12);
}
.mundial-card.featured:hover {
  border-color: var(--orange);
  box-shadow: 0 24px 60px rgba(255,90,67,0.25);
}
.mundial-featured-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.mundial-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mundial-card-img {
  width: calc(100% + 3rem);
  margin: -2rem -1.5rem 1.25rem -1.5rem;
  height: 190px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
}
.mundial-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}
.mundial-card:hover .mundial-card-img img { transform: scale(1.06); }
.mundial-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.6rem;
}
.mundial-card p {
  font-size: 0.82rem;
  color: rgba(249,247,245,0.65);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.mundial-price {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Botón interactivo con colores de marca */
.mundial-cta { text-align: center; margin-top: 1rem; }
.btn-mundial {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 50px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 30px rgba(255,90,67,0.35);
  animation: btnPulse 2.5s ease-in-out infinite;
}
.btn-mundial::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-mundial:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 50px rgba(255,90,67,0.5); }
.btn-mundial:hover::after { opacity: 1; }
.btn-mundial:active { transform: translateY(0) scale(0.98); }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(255,90,67,0.35); }
  50% { box-shadow: 0 8px 50px rgba(233,44,129,0.55); }
}

/* ── GALERÍA ── */
#galeria {
  padding: 120px 40px;
  background: var(--bg-card);
  position: relative; z-index: 1;
}

.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
  margin: 2.5rem 0 2.5rem;
}
.gallery-filter {
  padding: 8px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.gallery-filter:hover { border-color: var(--orange); color: var(--orange); }
.gallery-filter.active {
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  color: #fff; border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.4s;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.5); transform: scale(1.02); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.hidden { opacity: 0; pointer-events: none; transform: scale(0.95); }

.gallery-placeholder {
  background: var(--bg-card2);
  border: 1px solid var(--border);
}
.gallery-ph-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255,90,67,0.06), rgba(143,57,236,0.06));
  text-align: center;
}
.gallery-ph-inner span { font-size: 2.5rem; }
.gallery-ph-inner p { font-size: 0.75rem; color: var(--text-dim); font-weight: 500; }

.gallery-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.link-accent { color: var(--orange); font-weight: 600; }
.link-accent:hover { text-decoration: underline; }

/* ── PRECIOS ── */
#precios {
  padding: 120px 40px;
  position: relative; z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.pricing-card.featured {
  border-color: var(--magenta);
  background: linear-gradient(180deg, rgba(233,44,129,0.06) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 0 1px var(--magenta), 0 20px 60px rgba(233,44,129,0.15);
}
.pricing-featured-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-icon { font-size: 2rem; margin-bottom: 1rem; }
.pricing-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.pricing-tiers { margin-bottom: 1.25rem; }
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 0.85rem;
}
.pricing-row span { color: var(--text-muted); }
.pricing-row strong {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--text);
}
.pricing-includes {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.pricing-includes li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3px 0;
}
.pricing-cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-h);
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  transition: all var(--transition);
}
.pricing-cta:hover { background: rgba(255,90,67,0.1); border-color: var(--orange); color: var(--orange); }
.featured-cta {
  background: linear-gradient(135deg, var(--magenta), var(--violet));
  border-color: transparent;
  color: #fff;
}
.featured-cta:hover { transform: none; opacity: 0.9; }

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ── TESTIMONIOS ── */
#testimonios {
  padding: 120px 40px;
  background: var(--bg-card);
  overflow: hidden;
  position: relative; z-index: 1;
}
.testimonials-slider {
  overflow: hidden;
  margin-top: 3rem;
  border-radius: 20px;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  flex: 0 0 100%;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-stars {
  color: #FFD700;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote::before { content: open-quote; color: var(--orange); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--magenta));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900; font-size: 1.1rem; color: #fff;
}
.testimonial-author strong { font-weight: 700; font-size: 0.95rem; display: block; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

.testimonials-nav {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  margin-top: 2rem;
}
.t-prev, .t-next {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card2);
  border: 1px solid var(--border-h);
  color: var(--text); font-size: 1rem;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.t-prev:hover, .t-next:hover {
  background: var(--orange); border-color: var(--orange);
}
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-h);
  transition: all var(--transition);
  cursor: pointer;
}
.t-dot.active { background: var(--orange); width: 24px; border-radius: 4px; }

/* ── FAQ ── */
#faq {
  padding: 120px 40px;
  position: relative; z-index: 1;
}
#faq .section-inner { max-width: 800px; }

.faq-list { margin-top: 3rem; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--orange); }
.faq-chevron {
  font-size: 1.25rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--orange);
  line-height: 1;
}
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a {
  padding-bottom: 1.25rem;
}
.faq-a[hidden] { display: none; }
.faq-a p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── CONTACTO ── */
#contacto {
  padding: 120px 40px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,90,67,0.04) 0%, var(--bg) 50%, rgba(143,57,236,0.04) 100%);
  z-index: 1;
}
.contacto-bg { position: absolute; inset: 0; pointer-events: none; }
.contacto-orb {
  position: absolute; border-radius: 50%; filter: blur(120px);
}
.contacto-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,90,67,0.1) 0%, transparent 70%);
  top: -100px; right: 0;
}
.contacto-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(143,57,236,0.1) 0%, transparent 70%);
  bottom: -50px; left: 0;
}
.contacto-content { position: relative; z-index: 1; text-align: center; }

.contacto-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 680px;
  margin: 3rem auto 1.5rem;
}
.channel-card {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: left;
}
.channel-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.channel-card div { display: flex; flex-direction: column; }
.channel-card strong { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; }
.channel-card span { font-size: 0.8rem; color: var(--text-muted); }
.channel-whatsapp:hover { border-color: #25D366; }
.channel-whatsapp svg { color: #25D366; }
.channel-instagram:hover { border-color: #E1306C; }
.channel-instagram svg { color: #E1306C; }
.channel-facebook:hover { border-color: #1877F2; }
.channel-facebook svg { color: #1877F2; }
.channel-tiktok:hover { border-color: #fff; }

.contacto-email { margin-top: 0.75rem; }
.contacto-email-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contacto-email-link:hover { color: var(--orange); }

/* ── FOOTER ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-brand { }
.footer-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-weight: 900; font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-logo-icon { font-size: 1.4rem; }
.footer-logo .accent { color: var(--orange); }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 220px;
}
.footer-location { margin-top: 0.5rem; font-size: 0.8rem !important; }
.footer-nav h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--orange); }
.footer-social h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}
.footer-social-links { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); transform: translateY(-2px); }
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.footer-wa-btn:hover { background: #20c05c; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.3); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 40px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* ── WHATSAPP FLOTANTE ── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
  overflow: hidden;
}
.whatsapp-float:hover { background: #20c05c; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(37,211,102,0.5); }
.whatsapp-float-text { white-space: nowrap; }
.whatsapp-pulse {
  position: absolute; inset: 0;
  border-radius: 50px;
  background: #25D366;
  animation: waPulse 2.5s ease infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .mundial-products { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .hero-visual { display: none; }
  .hero-scroll { display: none; }

  /* Frosted glass card en mobile para legibilidad sobre el video */
  .hero-content {
    background: rgba(10,10,15,0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1px solid rgba(255,255,255,0.08);
  }

  .nosotros-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nosotros-visual { order: -1; }
  .nosotros-img-placeholder { aspect-ratio: 16/9; max-height: 300px; }

  .process-track { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }

  .contacto-channels { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; gap: 0;
    padding: 1rem 0;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 40px; font-size: 1rem; display: block; }
  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }
  #nav { padding: 0 24px; }

  section { padding-left: 24px !important; padding-right: 24px !important; }
  #hero { padding: 90px 24px 60px !important; }

  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; }
  .mundial-products { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .stats-inner { gap: 1.5rem; flex-direction: column; }
  .stat-divider { width: 80px; height: 1px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; }

  .testimonial-card { padding: 2rem 1.5rem; }

  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .whatsapp-float-text { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }

  .footer-bottom { flex-direction: column; text-align: center; padding: 20px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.8rem; }
}
