/* ============================================================
   LEVEL LOGISTICS — Styles v4.0
   Paleta: Naranja #E8501E · Fucsia #FF0080 · Neón #FF13F0 · Aguamarina #00BCD4
   ============================================================ */

:root {
  --orange:   #E8501E;
  --fucsia:   #FF0080;
  --neon:     #FF13F0;
  --aqua:     #00BCD4;
  --green:    #16a34a;
  --black:    #010101;
  --bg0:      #080c0a;   /* negro base */
  --bg1:      #0a0f0d;   /* negro card */
  --bg2:      #111916;   /* negro suave */
  --bg-blue:  #0d1a2e;   /* azul oscuro industrias */
  --bg-pink:  #1a0520;   /* fucsia oscuro trabaja */
  --cream:    #fdf6f0;   /* crema nosotros / merch */
  --border:   rgba(255,255,255,0.07);
  --radius:   14px;
  --radius-lg:22px;
  --shadow:   0 4px 24px rgba(0,0,0,0.5);
  --shadow-sm:0 2px 12px rgba(0,0,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg0);
  color: #f1f5f2;
  overflow-x: hidden;
  padding-top: 112px; /* header height */
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
svg { stroke-linecap: round; stroke-linejoin: round; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,12,10,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 2rem;
  border-bottom: 1px solid var(--border);
}
.header-logo { height: 40px; width: auto; object-fit: contain; }
.btn-cotizar-header {
  background: var(--orange); color: white;
  font-size: 0.85rem; font-weight: 700;
  padding: 8px 20px; border-radius: 50px;
  transition: all 0.2s;
}
.btn-cotizar-header:hover { background: #c73e10; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,80,30,0.4); }

/* Barra de pestañas */
.tab-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }
.tab-link {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 18px;
  font-size: 0.72rem; font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 3px solid transparent;
  transition: all 0.2s; white-space: nowrap;
}
.tab-link svg { width: 16px; height: 16px; }
.tab-link:hover { color: rgba(255,255,255,0.8); }
.tab-link.active { color: white; border-bottom-color: var(--orange); }

/* ── UTILS ──────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sec { padding: 5rem 0; }
.sec-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--c, var(--orange));
  background: color-mix(in srgb, var(--c, var(--orange)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 30%, transparent);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 1rem;
}
.sec-intro { font-size: 1rem; color: rgba(0,0,0,0.5); margin-top: 0.5rem; margin-bottom: 2.5rem; max-width: 600px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 0.5rem; }
h2 em { font-style: normal; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Botones globales */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--orange); color: white;
  font-size: 0.95rem; font-weight: 700;
  padding: 14px 28px; border-radius: 50px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(232,80,30,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(232,80,30,0.45); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 600;
  padding: 14px 24px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.5); }

/* ── SEPARADORES ─────────────────────────────────────────── */
.wave-sep { line-height: 0; }
.wave-sep svg { width: 100%; height: 60px; display: block; }
.diag-sep {
  height: 60px;
  background: linear-gradient(170deg, var(--from) 50%, var(--to) 50%);
}
.diag-inv {
  background: linear-gradient(170deg, var(--from) 50%, var(--to) 50%);
  transform: scaleX(-1);
}

/* ── HERO ────────────────────────────────────────────────── */
.sec-hero { background: var(--bg0); padding: 4rem 2rem 3rem; }
.hero-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.badge-pill {
  display: inline-block;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  color: var(--c); font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.4rem;
  animation: pillPulse 2.5s infinite;
}
@keyframes pillPulse { 0%,100%{box-shadow:0 0 0 0 color-mix(in srgb, var(--c) 30%, transparent)} 50%{box-shadow:0 0 0 6px transparent} }
.hero-text h1 {
  font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-text h1 em { font-style: normal; color: var(--orange); }
.hero-text p { font-size: 1.05rem; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-kpis { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.kpi { display: flex; flex-direction: column; padding: 0 1.5rem 0 0; }
.kpi strong { font-size: 1.5rem; font-weight: 900; color: white; }
.kpi span { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi-sep { width: 1px; height: 32px; background: var(--border); margin: 0 1.5rem 0 0; }
.hero-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-img-wrap img { width: 100%; height: 440px; object-fit: cover; }
.hero-chip {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: rgba(8,12,10,0.85); border: 1px solid rgba(232,80,30,0.4);
  backdrop-filter: blur(8px);
  color: white; font-size: 0.78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 100px;
}

/* ── NOSOTROS ────────────────────────────────────────────── */
.sec-nosotros { background: var(--cream); }
.sec-nosotros h2 { color: #1a0a06; }
.nosotros-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.nos-quote {
  background: white; border-left: 4px solid var(--orange);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.nos-quote blockquote { font-size: 1.1rem; font-style: italic; color: #1a0a06; line-height: 1.75; margin-bottom: 1rem; }
.nos-quote cite { font-size: 0.78rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; }
.nos-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pilar {
  background: white; border: 1px solid rgba(0,0,0,0.07);
  border-top: 3px solid var(--c); border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.pilar:hover { transform: translateY(-3px); }
.pilar-icon { font-size: 1.4rem; display: block; margin-bottom: 0.4rem; }
.pilar strong { display: block; font-size: 0.88rem; font-weight: 800; color: #1a0a06; margin-bottom: 0.3rem; }
.pilar p { font-size: 0.8rem; color: #5a4a3a; line-height: 1.5; }

/* KPI strip nosotros */
.kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #1a0a06; border-radius: var(--radius-lg); overflow: hidden;
}
.kpi-block {
  padding: 2rem; text-align: center; position: relative;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.kpi-block:last-child { border-right: none; }
.kpi-num, .kpi-unit {
  font-size: 2.4rem; font-weight: 900; color: var(--c, white); line-height: 1;
}
.kpi-unit { font-size: 1.6rem; }
.kpi-lbl { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.4rem; }

/* ── SERVICIOS ───────────────────────────────────────────── */
.sec-servicios { background: var(--bg0); }
.sec-servicios h2 { color: white; }
.tabs-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  border-bottom: 2px solid var(--border); margin-bottom: 2rem;
}
.tb {
  background: transparent; border: none; border-bottom: 3px solid transparent;
  color: rgba(255,255,255,0.4); font-size: 0.88rem; font-weight: 600;
  padding: 0.85rem 1.4rem; cursor: pointer; transition: all 0.2s;
  margin-bottom: -2px; border-radius: 8px 8px 0 0; font-family: inherit;
}
.tb:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); }
.tb.active { color: white; border-bottom-color: var(--fucsia); background: rgba(255,255,255,0.05); }
.tp { display: none; }
.tp.active { display: block; animation: fadeTab 0.35s ease; }
@keyframes fadeTab { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.tp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.tp-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.tp-img img { width: 100%; height: 380px; object-fit: cover; }
.tp-badge {
  position: absolute; bottom: 1rem; left: 1rem;
  color: white; font-size: 0.72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.07em;
}
.tp-body h3 { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.tp-body > p { color: rgba(255,255,255,0.6); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.feat-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.feat-list li::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--c, var(--orange)); flex-shrink:0; }
.btn-serv {
  display: inline-flex; color: white; font-size: 0.9rem; font-weight: 700;
  padding: 13px 26px; border-radius: 50px; transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.btn-serv:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }

/* ── INDUSTRIAS CARRUSEL ─────────────────────────────────── */
.sec-industrias { background: var(--bg-blue); overflow: hidden; }
.sec-industrias h2 { color: white; }
.carousel-track-wrap { overflow: hidden; margin: 0 -2rem; position: relative; }
.carousel-track-wrap::before, .carousel-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.carousel-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-blue), transparent); }
.carousel-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg-blue), transparent); }
.carousel-track {
  display: flex; gap: 1.5rem;
  animation: carScroll 30s linear infinite;
  width: max-content; padding: 0 2rem;
}
.carousel-track:hover { animation-play-state: paused; }
@keyframes carScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ind-card {
  flex-shrink: 0; width: 300px; height: 220px;
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
}
.ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ind-card:hover img { transform: scale(1.07); }
.ind-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem;
  border-bottom: 3px solid var(--ac, var(--aqua));
}
.ind-overlay h4 { font-size: 0.95rem; font-weight: 800; color: white; margin-bottom: 0.3rem; }
.ind-overlay p { font-size: 0.78rem; color: rgba(255,255,255,0.6); line-height: 1.45; }

/* ── KAIZEN ──────────────────────────────────────────────── */
.sec-kaizen { background: var(--bg0); }
.kaizen-strip {
  background: linear-gradient(135deg, #0a0f0d, #1a0a06);
  border-top: 1px solid rgba(232,80,30,0.15); border-bottom: 1px solid rgba(232,80,30,0.15);
  padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: center;
  gap: 2rem; overflow: hidden; position: relative; margin-bottom: 4rem;
}
.kaizen-strip::before {
  content: '改善 改善 改善 改善 改善 改善 改善 改善 改善';
  position: absolute; font-size: 5rem; font-weight: 900;
  color: rgba(232,80,30,0.04); white-space: nowrap; letter-spacing: 3rem;
  animation: kScroll 18s linear infinite;
}
@keyframes kScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.kj { font-size: 2.8rem; font-weight: 900; color: var(--orange); text-shadow: 0 0 30px rgba(232,80,30,0.4); position: relative; }
.kj-sub { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.12em; position: relative; }
.kaizen-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.kaizen-txt p { color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 1.5rem; }
.kaizen-txt strong { color: white; }
.kz-quote {
  background: rgba(232,80,30,0.06); border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem; font-style: italic; font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.7;
}
.kz-quote cite { display: block; font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.8rem; }
.tres-m { display: flex; flex-direction: column; gap: 1rem; }
.m-pill {
  display: flex; align-items: center; gap: 1rem;
  background: var(--bg1); border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  border-radius: var(--radius); padding: 1rem 1.4rem;
  transition: transform 0.2s;
}
.m-pill:hover { transform: translateX(4px); }
.m-pill span { font-size: 1.8rem; font-weight: 900; color: var(--c); opacity: 0.6; min-width: 2.5rem; text-align: center; }
.m-pill strong { font-size: 0.85rem; font-weight: 800; color: var(--c); display: block; }
.m-pill p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }
.tps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.tps-card {
  background: var(--bg1); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.tps-card:hover { border-color: rgba(232,80,30,0.3); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(232,80,30,0.08); }
.tps-kj { font-size: 2rem; font-weight: 900; color: rgba(232,80,30,0.2); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.tps-card h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.5rem; color: white; }
.tps-card p { font-size: 0.83rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ── TRABAJA ─────────────────────────────────────────────── */
.sec-trabaja { background: var(--bg-pink); position: relative; overflow: hidden; }
.trabaja-bg-img { position: absolute; inset: 0; }
.trabaja-bg-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }
.trabaja-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sec-trabaja h2 { color: white; }
.trabaja-q { font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.75; border-left: 4px solid var(--neon); padding-left: 1.4rem; margin: 1.5rem 0; }
.valor-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.valor-chips span {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,19,240,0.08);
  border: 1px solid rgba(255,19,240,0.25);
  color: white; font-size: 0.82rem; font-weight: 700;
  padding: 7px 16px; border-radius: 100px;
  transition: all 0.2s; cursor: default;
}
.valor-chips span:hover {
  background: rgba(255,19,240,0.15);
  border-color: rgba(255,19,240,0.5);
  transform: translateY(-2px);
}
.valor-chips span svg { flex-shrink: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4)); }
.form-card { background: rgba(15,5,25,0.92); border: 1px solid rgba(255,19,240,0.2); border-radius: var(--radius-lg); padding: 2.5rem; backdrop-filter: blur(10px); }
.form-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.3rem; }
.form-card > p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-bottom: 1.5rem; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.fg label { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.07em; }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: white; font-size: 0.9rem; padding: 10px 14px;
  font-family: inherit; width: 100%; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(255,19,240,0.12); }
.fg select option { background: #1a0520; }
.file-zone {
  border: 2px dashed rgba(255,19,240,0.3); border-radius: 10px; padding: 1.4rem;
  text-align: center; cursor: pointer; color: rgba(255,255,255,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  transition: all 0.2s; font-size: 0.85rem;
}
.file-zone u { color: var(--neon); }
.file-zone:hover, .file-zone.over { border-color: var(--neon); background: rgba(255,19,240,0.05); color: var(--neon); }
.btn-submit-form {
  width: 100%; background: linear-gradient(135deg, var(--neon), var(--fucsia));
  color: white; border: none; border-radius: 50px; font-size: 0.95rem;
  font-weight: 700; padding: 13px; cursor: pointer; transition: all 0.2s; font-family: inherit; margin-top: 0.5rem;
}
.btn-submit-form:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,19,240,0.3); }
.form-ok { text-align: center; color: #22c55e; font-weight: 600; padding: 0.8rem; background: rgba(34,197,94,0.1); border-radius: 10px; margin-top: 0.5rem; }

/* ── MERCH ───────────────────────────────────────────────── */
.sec-merch { background: var(--cream); }
.sec-merch h2 { color: #1a0010; }
.sec-merch .sec-intro { color: #5a3045; }
.merch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.mc { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(0,0,0,0.07); box-shadow: var(--shadow-sm); transition: all 0.3s; }
.mc:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(255,0,128,0.12); border-color: rgba(255,0,128,0.2); }
.mc-img { position: relative; height: 220px; overflow: hidden; }
.mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.mc:hover .mc-img img { transform: scale(1.06); }
/* Overlay de marca LEVEL en mockups */
.mc-img::after {
  content: 'LEVEL';
  position: absolute; top: 50%;  left: 50%; transform: translate(-50%, -50%);
  font-size: 1.4rem; font-weight: 900; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase; pointer-events: none;
  z-index: 2;
}
.mc-tag {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--fucsia); color: white;
  font-size: 0.68rem; font-weight: 800;
  padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; z-index: 3;
}
.mc-body { padding: 1.4rem; }
.mc-body h4 { font-size: 0.98rem; font-weight: 800; color: #1a0010; margin-bottom: 0.3rem; }
.mc-body p { font-size: 0.82rem; color: #5a3045; line-height: 1.55; margin-bottom: 0.8rem; }
.mc-dots { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.mc-dots i { width: 16px; height: 16px; border-radius: 50%; font-style: normal; }
.mc-btn {
  display: inline-block; background: #1a0010; color: white;
  font-size: 0.82rem; font-weight: 700; padding: 9px 18px; border-radius: 50px; transition: all 0.2s;
}
.mc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(255,0,128,0.25); background: var(--fucsia); }
.merch-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; padding-top: 1rem; }
.merch-cta p { font-size: 1rem; font-weight: 600; color: #5a3045; }

/* ── CONTACTO ────────────────────────────────────────────── */
.sec-contacto { background: #080c0a; border-top: 1px solid var(--border); }
.contacto-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contacto-left h2 { color: white; }
.contacto-left > p { color: rgba(255,255,255,0.5); font-size: 1rem; line-height: 1.75; margin: 1.2rem 0 2rem; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366; color: white; font-size: 0.95rem; font-weight: 700;
  padding: 14px 28px; border-radius: 50px; transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,0.45); }
.cinfo { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.5rem; background: var(--bg1); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.8rem; transition: border-color 0.2s; }
.cinfo:hover { border-color: rgba(232,80,30,0.3); }
.ci-icon { font-size: 1.4rem; }
.cinfo strong { display: block; font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.cinfo span { font-size: 0.92rem; color: white; font-weight: 500; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--black); border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 28px; opacity: 0.7; }
.footer-brand span { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ── WA FLOTANTE ─────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; 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 0.2s;
  animation: waBounce 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
@keyframes waBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .nosotros-grid { grid-template-columns: 1fr; }
  .tp-layout { grid-template-columns: 1fr; }
  .tp-img img { height: 250px; }
  .tps-row { grid-template-columns: 1fr 1fr; }
  .kaizen-duo { grid-template-columns: 1fr; gap: 2rem; }
  .trabaja-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .contacto-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .merch-grid { grid-template-columns: 1fr 1fr; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { padding-top: 100px; }
  .header-top { padding: 8px 1rem; }
  .tab-link { padding: 7px 12px; font-size: 0.65rem; }
  .nos-pillars { grid-template-columns: 1fr; }
  .tabs-bar { overflow-x: auto; flex-wrap: nowrap; }
  .tb { font-size: 0.78rem; padding: 0.7rem 0.9rem; }
  .tps-row { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .fg2 { grid-template-columns: 1fr; }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .sec { padding: 3.5rem 0; }
  .hero-kpis { gap: 0.5rem; }
  .kpi { padding-right: 1rem; }
  .kpi-sep { margin-right: 1rem; }
}

/* ── PILARES CON IMAGEN ──────────────────────────────────── */
.pilar-img {
  height: 110px; border-radius: 10px; overflow: hidden; margin-bottom: 0.8rem;
}
.pilar-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.pilar:hover .pilar-img img { transform: scale(1.06); }

/* ── CARRUSEL DE SERVICIOS ───────────────────────────────── */
.serv-dots {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  border-bottom: 2px solid var(--border); margin-bottom: 2rem;
}
.sdot {
  background: transparent; border: none; border-bottom: 3px solid transparent;
  color: rgba(255,255,255,0.4); font-size: 0.88rem; font-weight: 600;
  padding: 0.85rem 1.4rem; cursor: pointer; transition: all 0.2s;
  margin-bottom: -2px; border-radius: 8px 8px 0 0; font-family: inherit;
}
.sdot:hover { color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.04); }
.sdot.active { color: white; border-bottom-color: var(--fucsia); background: rgba(255,255,255,0.05); }

.serv-carousel-wrap {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
}
.serv-carousel {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
}
.serv-slide {
  min-width: 100%; padding: 0.5rem 0;
}
.serv-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 1.8rem; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); font-style: normal; line-height: 1;
}
.serv-prev { left: 0.5rem; }
.serv-next { right: 0.5rem; }
.serv-arrow:hover { background: var(--fucsia); border-color: var(--fucsia); }

/* ── LOGO OVERLAY EN MERCH — efecto impresión real ──────── */
.mc-logo-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  /* Sin overlay oscuro — el blend mode maneja todo */
}
/* Logo naranja sobre fotos claras → multiply simula serigrafía sobre tela */
.mc-logo-overlay.blend-multiply .mc-logo-img {
  mix-blend-mode: multiply;
  opacity: 0.88;
  filter: contrast(1.1) saturate(1.2);
}
/* Logo blanco sobre fotos oscuras → screen simula bordado/grabado */
.mc-logo-overlay.blend-screen .mc-logo-img {
  mix-blend-mode: screen;
  opacity: 0.75;
  filter: brightness(1.3) contrast(1.1);
}
.mc-logo-img {
  width: 52%; max-width: 190px;
  object-fit: contain;
  transition: opacity 0.3s, transform 0.3s;
}
.mc:hover .mc-logo-img { opacity: 1 !important; transform: scale(1.04); }
.mc-img::after { display: none; }

/* Dots con ícono + texto */
.sdot {
  display: flex; align-items: center; gap: 0.5rem;
}
.sdot svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .serv-dots { flex-wrap: nowrap; overflow-x: auto; }
  .pilar-img { height: 80px; }
}

/* ── MERCH MOCKUP — logo posicionado por producto ─────────── */
.mc-mockup {
  position: relative; height: 240px; overflow: hidden;
  background: #f8f8f8; /* fondo neutro limpio como swag.cl */
}
.mc-mockup > img:first-child {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.mc:hover .mc-mockup > img:first-child { transform: scale(1.04); }

/* Logo impreso — base */
.mc-print {
  position: absolute; z-index: 3; pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.9;
  transition: opacity 0.3s;
  filter: contrast(1.15) saturate(1.1);
}
.mc:hover .mc-print { opacity: 1; }

/* Posición específica por producto */
.mc-print-tshirt {
  width: 28%; top: 38%; left: 36%;
  transform: rotate(-1deg);
}
.mc-print-hoodie {
  width: 32%; top: 35%; left: 34%;
  transform: rotate(0deg);
}
.mc-print-bag {
  width: 34%; top: 42%; left: 33%;
  transform: rotate(1deg);
}
.mc-print-bottle {
  width: 26%; top: 38%; left: 37%;
  transform: rotate(0deg) skewX(-3deg);
}
.mc-print-cap {
  width: 30%; top: 30%; left: 35%;
  transform: rotate(-2deg) perspective(200px) rotateX(8deg);
}
.mc-print-kit {
  width: 30%; top: 40%; left: 35%;
  transform: rotate(0deg);
}

/* ── KAIZEN — más colorido y legible ──────────────────────── */
/* Franja animada más visible */
.kaizen-strip {
  background: linear-gradient(135deg, #1a0800 0%, #0d1200 50%, #1a0800 100%);
  border-top: 2px solid rgba(232,80,30,0.4);
  border-bottom: 2px solid rgba(232,80,30,0.4);
  padding: 2rem;
}
.kj {
  font-size: 3.5rem;
  animation: kjGlow 2s ease-in-out infinite alternate;
}
@keyframes kjGlow {
  from { text-shadow: 0 0 20px rgba(232,80,30,0.4); }
  to   { text-shadow: 0 0 50px rgba(232,80,30,0.9), 0 0 80px rgba(232,80,30,0.4); }
}

/* Las 3M — kanjis más grandes y visibles */
.m-pill span {
  font-size: 2.4rem;
  opacity: 0.9;
  min-width: 3.5rem;
  text-align: center;
  line-height: 1;
  text-shadow: 0 0 20px currentColor;
}
.m-pill strong { font-size: 1rem; letter-spacing: 0.2em; }

/* TPS cards — más coloridas */
.tps-card:nth-child(1) { border-top: 3px solid var(--orange); }
.tps-card:nth-child(2) { border-top: 3px solid var(--fucsia); }
.tps-card:nth-child(3) { border-top: 3px solid var(--aqua); }
.tps-card:nth-child(4) { border-top: 3px solid var(--neon); }
.tps-card:nth-child(5) { border-top: 3px solid var(--green); }
.tps-card:nth-child(6) { border-top: 3px solid #f59e0b; }

.tps-card:nth-child(1) .tps-kj { color: var(--orange); opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(232,80,30,0.3); }
.tps-card:nth-child(2) .tps-kj { color: var(--fucsia); opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(255,0,128,0.3); }
.tps-card:nth-child(3) .tps-kj { color: var(--aqua);   opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(0,188,212,0.3); }
.tps-card:nth-child(4) .tps-kj { color: var(--neon);   opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(255,19,240,0.3); }
.tps-card:nth-child(5) .tps-kj { color: var(--green);  opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(22,163,74,0.3); }
.tps-card:nth-child(6) .tps-kj { color: #f59e0b;       opacity: 0.7; font-size: 2.5rem; text-shadow: 0 0 20px rgba(245,158,11,0.3); }

.tps-card:nth-child(1) h4 { color: var(--orange); }
.tps-card:nth-child(2) h4 { color: var(--fucsia); }
.tps-card:nth-child(3) h4 { color: var(--aqua); }
.tps-card:nth-child(4) h4 { color: var(--neon); }
.tps-card:nth-child(5) h4 { color: var(--green); }
.tps-card:nth-child(6) h4 { color: #f59e0b; }

/* Franja de kanji scrolling más visible */
.kaizen-strip::before {
  font-size: 6rem; color: rgba(232,80,30,0.07);
  content: '改善　無駄　無理　斑　自働化　現地現物　平準化　ポカヨケ　敬意　改善　';
}

/* ════════════════════════════════════════════════
   MERCH — Escena cinematográfica estilo 3D render
   ════════════════════════════════════════════════ */

/* Limpiar estilos anteriores del mockup */
.mc-mockup, .mc-print { all: unset; }

.mc-scene {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Fondo oscuro tipo warehouse industrial */
.mc-scene-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, #1a1b28 0%, #0a0b12 100%);
}

/* Spotlight cenital */
.mc-scene-spotlight {
  position: absolute; z-index: 1;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Producto — foto del producto sobre el fondo */
.mc-product {
  position: relative; z-index: 2;
  width: 70%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.05);
  transition: transform 0.4s ease;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.mc:hover .mc-product { transform: scale(1.04) translateY(-4px); }

/* Logo con glow — posicionado sobre el producto */
.mc-glow-logo {
  position: absolute; z-index: 4;
  bottom: 14%; left: 50%; transform: translateX(-50%);
  width: 54%;
  filter:
    drop-shadow(0 0 6px var(--glow, #E8501E))
    drop-shadow(0 0 18px color-mix(in srgb, var(--glow, #E8501E) 60%, transparent))
    drop-shadow(0 0 40px color-mix(in srgb, var(--glow, #E8501E) 30%, transparent));
  transition: filter 0.3s, transform 0.3s;
}
.mc:hover .mc-glow-logo {
  filter:
    drop-shadow(0 0 10px var(--glow, #E8501E))
    drop-shadow(0 0 28px color-mix(in srgb, var(--glow, #E8501E) 80%, transparent))
    drop-shadow(0 0 60px color-mix(in srgb, var(--glow, #E8501E) 50%, transparent));
  transform: translateX(-50%) scale(1.06);
}
.mc-glow-logo img {
  width: 100%; display: block;
  mix-blend-mode: screen;
  opacity: 0.92;
}

/* Suelo reflectante */
.mc-scene-floor {
  position: absolute; z-index: 1;
  bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,11,20,0.7) 100%);
  pointer-events: none;
}

/* Viñeta cinematográfica */
.mc-vignette {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Borde de color por escena */
.mc-scene::after {
  content: '';
  position: absolute; inset: 0; z-index: 5;
  border-radius: 14px 14px 0 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--glow, #E8501E) 35%, transparent);
  pointer-events: none;
}
