﻿/* ===== Cinxeles — tokens (tema claro, como el Carrd) ===== */
:root {
  --orange: #ec7216;
  --orange-2: #ff8a2b;
  --orange-soft: #fff1e6;
  --ink: #1b1b1b;
  --ink-2: #4a4a4a;
  --muted: #7a7a7a;
  --bg: #ffffff;
  --bg-2: #f6f5f3;
  --line: #ececec;
  --radius: 22px;
  --pad: clamp(16px, 5vw, 72px);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Mulish", system-ui, sans-serif;
  --shadow: 0 18px 50px -24px rgba(60, 30, 0, .28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.orange { color: var(--orange); }

h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(36px, 5.4vw, 74px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.15; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--orange); margin: 0 0 16px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(236,114,22,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(236,114,22,0); } }
.body { color: var(--ink-2); margin: 22px 0 26px; max-width: 34em; }

/* ===== botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--head); font-weight: 700; font-size: 15.5px; white-space: nowrap;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -12px rgba(236,114,22,.9); }
.btn--orange:hover { background: var(--orange-2); }
.btn--ghost { border: 2px solid var(--ink); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--xl { padding: 19px 34px; font-size: clamp(17px, 2.1vw, 21px); }

/* ===== nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--pad); background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  transition: box-shadow .3s, padding .3s;
}
.nav.is-solid { box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); padding-block: 11px; }
.nav__logo img { width: 150px; height: auto; }
.nav__links { display: flex; margin-left: auto; font-family: var(--head); }
/* menú HUB */
.hubmenu { position: relative; }
.hubmenu__btn { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-family: var(--head); font-weight: 800; font-size: 14.5px; letter-spacing: .12em; color: var(--ink); transition: background .2s, color .2s; }
.hubmenu__btn:hover, .hubmenu.is-open .hubmenu__btn { background: var(--orange-soft); color: var(--orange); }
.hubmenu__caret { font-size: 11px; transition: transform .25s; }
.hubmenu.is-open .hubmenu__caret { transform: rotate(180deg); }
.hubmenu__panel { position: absolute; right: 0; top: calc(100% + 12px); width: 320px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -20px rgba(60,30,0,.35), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s, transform .2s, visibility .2s; }
.hubmenu.is-open .hubmenu__panel { opacity: 1; visibility: visible; transform: none; }
.hubitem { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); transition: background .2s; }
.hubitem:hover { background: var(--bg-2); }
.hubitem__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; font-size: 12px; }
.hubitem strong { display: block; font-size: 15px; }
.hubitem small { display: block; font-family: var(--body); font-size: 12.5px; color: var(--muted); }
.hubitem--sub { padding-left: 30px; }
.hubitem--sub .hubitem__n { background: var(--orange-soft); color: var(--orange); width: 24px; height: 24px; }
.nav__social { display: flex; gap: 4px; }
.nav__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background .2s, color .2s; }
.nav__social a:hover { background: var(--orange); color: #fff; }
.nav__social svg { width: 19px; height: 19px; }
.nav__burger { display: none; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: .3s; }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.topline { position: fixed; z-index: 49; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ===== personajes ===== */
.char { position: relative; display: block; -webkit-tap-highlight-color: transparent; }
.char img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.char:focus-visible { outline: 3px dashed var(--orange); outline-offset: 8px; border-radius: 20px; }
.char.is-jump { animation: jump .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes jump { 30% { transform: translateY(-26px) rotate(-4deg); } 60% { transform: translateY(0) rotate(2deg) scaleY(.95); } }
.char--truck.is-jump { animation: honk .5s ease-in-out; }
@keyframes honk { 20% { transform: translateX(-6px) rotate(-1.5deg); } 40% { transform: translateX(6px) rotate(1.5deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.float { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

.bubble {
  position: absolute; z-index: 3;
  background: #fff; color: var(--ink); border: 2.5px solid var(--ink);
  font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.25;
  padding: 12px 18px; border-radius: 18px; box-shadow: 4px 4px 0 var(--orange);
  max-width: 230px; text-align: center;
  transform-origin: bottom left; animation: pop .45s cubic-bezier(.3,1.6,.5,1) both;
}
.bubble::after { content: ""; position: absolute; left: 26px; bottom: -12px; width: 18px; height: 18px; background: #fff; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) skew(8deg, 8deg); }
.bubble.is-pop { animation: none; }
.bubble.is-pop { animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; }
.bubble--small { font-size: 14.5px; padding: 10px 15px; opacity: 0; pointer-events: none; }
.bubble--small.is-show { opacity: 1; animation: pop .45s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.4) translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 20px;
  padding: 110px var(--pad) 40px;
  background: radial-gradient(55% 60% at 26% 55%, #f3f1ee, transparent 70%), var(--bg);
}
.hero__char { position: relative; justify-self: center; width: min(420px, 80%); padding-bottom: 34px; }
.hero__char .char--miner { z-index: 2; transform-origin: 40% 95%; }

/* --- juego del mazazo --- */
/* brazo del mazo (capa separada): se flecta hacia atrás y golpea el cincel contra la pared imaginaria */
.miner-arm { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.miner-arm.is-strike { animation: armSwing .34s cubic-bezier(.5,0,.2,1); }
@keyframes armSwing { 0% { transform: rotate(0); } 40% { transform: rotate(-38deg); } 70% { transform: rotate(6deg); } 100% { transform: rotate(0); } }
/* sin capas todavía: pequeño impulso de todo el minero */
.char--miner.is-strike { animation: strike .32s cubic-bezier(.4,0,.2,1); }
@keyframes strike { 0% { transform: rotate(0); } 40% { transform: rotate(-3deg) translateX(-4px); } 65% { transform: rotate(3deg) translateX(6px); } 100% { transform: rotate(0); } }
.spark { position: absolute; z-index: 4; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff7d1, #ffb238 50%, #ec7216);
  animation: spark .55s ease-out forwards; }
.rubble { position: absolute; z-index: 4; width: 9px; height: 7px; border-radius: 2px; background: #6d6257; pointer-events: none; animation: spark .7s cubic-bezier(.2,.6,.4,1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r, 0deg)); opacity: 0; } }
.toc { position: absolute; z-index: 5; font-family: var(--head); font-weight: 900; font-size: 26px; color: var(--orange); pointer-events: none; -webkit-text-stroke: 1.5px #fff;
  animation: toc .6s ease-out forwards; }
@keyframes toc { from { opacity: 1; transform: translateY(0) scale(.6) rotate(-8deg); } to { opacity: 0; transform: translateY(-46px) scale(1.2) rotate(6deg); } }
.game-hint { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--muted); }
.hero__char .char { perspective: 900px; }
.hero__char .char img { height: auto; transition: transform .25s ease-out; filter: drop-shadow(0 30px 30px rgba(70,35,0,.18)); }
.hero__char .bubble { top: 2%; right: -12%; }
.lamp { position: absolute; z-index: 2; left: 70%; top: 16.8%; width: 14%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,250,200,1) 0 20%, rgba(255,220,120,.6) 40%, rgba(255,200,80,0) 72%); }
.lamp.is-on { animation: lamp .9s ease-out; }
@keyframes lamp { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(3.2); } 100% { opacity: 0; transform: scale(5); } }
.hero__copy { text-align: right; justify-self: end; max-width: 620px; }
.kicker--hero { display: block; line-height: 1.7; }
.hero__title { font-size: clamp(56px, 8.6vw, 128px); color: var(--orange); font-weight: 900; margin-bottom: 26px; }
.hero__lead { font-size: clamp(17px, 1.45vw, 19.5px); color: var(--ink-2); margin: 0 0 32px auto; max-width: 30em; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ===== camino con camioneta ===== */
/* recorta solo a los lados: la camioneta nunca se corta por arriba */
.road { position: relative; height: 230px; overflow: hidden; }
.road__line { position: absolute; left: 0; right: 0; bottom: 26px; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 46px, transparent 46px 74px); opacity: .9; }
.road__line::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.road__truck { position: absolute; bottom: 8px; left: 0; width: 280px; will-change: transform; }
.road__truck img { width: 100%; height: auto; animation: bump .5s ease-in-out infinite alternate; }
.road--rev .road__truck img { transform: scaleX(-1); animation-name: bumpRev; }
@keyframes bump { to { transform: translateY(-3px) rotate(-.6deg); } }
@keyframes bumpRev { from { transform: scaleX(-1); } to { transform: scaleX(-1) translateY(-3px) rotate(.6deg); } }
.dust { position: absolute; bottom: 6px; right: -18px; width: 40px; height: 22px; }
.road--rev .dust { right: auto; left: -18px; }
.dust::before, .dust::after { content: ""; position: absolute; border-radius: 50%; background: #e6ddd3; animation: puff 1s ease-out infinite; }
.dust::before { width: 18px; height: 18px; left: 6px; bottom: 0; }
.dust::after { width: 12px; height: 12px; left: 20px; bottom: 6px; animation-delay: .4s; }
@keyframes puff { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: translate(18px, -10px) scale(1.6); } }
.road--rev .dust::before, .road--rev .dust::after { animation-name: puffRev; }
@keyframes puffRev { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: translate(-18px, -10px) scale(1.6); } }
.road.is-still .road__truck img, .road.is-still .dust { animation-play-state: paused; }
.road.is-still .dust { opacity: 0; }

/* ===== clientes ===== */
section.clients { padding: 10px 0 30px; overflow: hidden; }
.clients__title { text-align: center; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.clients__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.clients__track:hover { animation-play-state: paused; }
.clients__row { display: flex; }
.clients__row span { padding: 0 34px; font-family: var(--head); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -.03em; color: #b9b3ab; white-space: nowrap; transition: color .2s; }
.clients__row span::after { content: "✦"; color: var(--orange); font-size: .6em; margin-left: 68px; vertical-align: middle; }
.clients__row span:hover { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== secciones ===== */
section { padding: clamp(70px, 10vw, 140px) var(--pad); }
.section-head { max-width: 860px; margin-bottom: 54px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-lead { color: var(--ink-2); font-size: 19px; margin-top: 22px; }
.center .section-lead { margin-inline: auto; max-width: 38em; }

/* hub */
.hub { padding-top: 40px; }
.arms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.arm {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border-radius: var(--radius); padding: 14px 14px 24px;
  transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .3s, background .3s;
}
.arm:hover { transform: translateY(-10px) rotate(-.6deg); box-shadow: var(--shadow); background: #fff; }
.arm__pic { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 18px; display: grid; place-items: center; }
.arm__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.arm__pic--char img { width: 86%; height: auto; object-fit: contain; }
.arm:hover .arm__pic img { transform: scale(1.07); }
.arm:hover .arm__pic--char img { transform: scale(1.1) rotate(-3deg); }
.arm__pic { position: relative; }
.arm__label { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.95); font-family: var(--head); font-weight: 700; font-size: 12px; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
/* Fábrica: mosaico 2x2 de productos */
.arm__pic--mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; background: #fff; }
.arm__pic--mosaic img { min-height: 0; }
/* Academia: botón de play de la clase */
.arm__play { position: absolute; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 8px rgba(236,114,22,.3); transition: transform .3s; }
.arm__play::after { content: ""; position: absolute; left: 25px; top: 20px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.arm:hover .arm__play { transform: scale(1.12); }
/* Studio: ventana de navegador con el render */
.arm__pic--browser { background: linear-gradient(140deg, #fff3e8, #ffe1c7); padding: 12%; padding-bottom: 20%; }
.mock { width: 100%; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px -14px rgba(120,50,0,.45); overflow: hidden; transition: transform .4s; }
.arm:hover .mock { transform: translateY(-4px) rotate(-1.5deg); }
.mock__bar { display: flex; align-items: center; gap: 4px; padding: 7px 8px; background: #f1efec; }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d9d4cd; }
.mock__bar i:first-child { background: var(--orange); }
.mock__bar span { margin-left: 6px; font-size: 9px; color: var(--muted); font-family: var(--head); }
.mock__body { position: relative; padding: 8px 10px 12px; display: grid; gap: 5px; }
.arm .mock__body img { width: 78%; height: auto; justify-self: center; object-fit: contain; }
.mock__h { height: 8px; width: 70%; border-radius: 4px; background: var(--ink); }
.mock__p { height: 5px; width: 90%; border-radius: 3px; background: #e2ded8; }
.mock__btn { height: 12px; width: 40%; border-radius: 6px; background: var(--orange); }
.arm > *:not(.arm__pic) { padding-inline: 8px; }

/* ===== escenas de las tarjetas del hub (personajes + trabajos reales) ===== */
.scene { overflow: hidden; }
.arm .scene img { height: auto; object-fit: initial; }
.scene__char { position: absolute; z-index: 3; filter: drop-shadow(0 10px 12px rgba(80,35,0,.25)); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.arm:hover .scene .scene__char { transform: translateY(-6px) rotate(-3deg); }
/* Fábrica */
.scene--fab { background: linear-gradient(150deg, #ff9a44, var(--orange) 60%, #d75f08); }
.arm .scene--fab .scene__card { position: absolute; width: 48%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; border: 4px solid #fff; box-shadow: 0 10px 20px -8px rgba(0,0,0,.45); transition: transform .4s; }
.scene--fab .c1 { left: 6%; top: 10%; transform: rotate(-12deg); }
.scene--fab .c2 { left: 26%; top: 4%; transform: rotate(4deg); z-index: 1; }
.scene--fab .c3 { left: 8%; top: 44%; width: 40%; transform: rotate(8deg); z-index: 2; }
.arm:hover .scene--fab .c1 { transform: rotate(-16deg) translateX(-4px); }
.arm:hover .scene--fab .c2 { transform: rotate(8deg) translateY(-4px); }
.arm .scene--fab .scene__char { width: 46%; right: 2%; bottom: -4%; }
/* Supply: pila de planchas bicapa */
.scene--sup { background: linear-gradient(160deg, #fff, #f0ece6); }
.stack { position: absolute; left: 8%; bottom: 20%; width: 56%; height: 50%; }
.stack i { position: absolute; left: 0; right: 0; height: 26%; bottom: calc(var(--n) * 11%); border-radius: 4px;
  background: var(--c); border-bottom: 4px solid var(--e); transform: skewX(-28deg) rotate(-4deg); box-shadow: 0 6px 10px -6px rgba(0,0,0,.5); transition: transform .4s; }
.stack i:nth-child(1) { --n: 0; } .stack i:nth-child(2) { --n: 1; } .stack i:nth-child(3) { --n: 2; }
.stack i:nth-child(4) { --n: 3; } .stack i:nth-child(5) { --n: 4; } .stack i:nth-child(6) { --n: 5; }
.arm:hover .stack i:nth-child(6) { transform: skewX(-28deg) rotate(-8deg) translate(-10px, -10px); }
.stack__size { position: absolute; left: 10%; top: 10%; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--orange); border: 2px dashed var(--orange); padding: 3px 8px; border-radius: 6px; }
.arm .scene--sup .scene__char--truck { width: 40%; right: 5%; bottom: 14%; }
/* Academia: notebook con la clase */
.scene--aca { background: linear-gradient(160deg, #fff6ee, #ffe2c8); }
.laptop { position: absolute; left: 8%; top: 14%; width: 66%; }
.laptop__screen { position: relative; aspect-ratio: 16/10; border: 6px solid #222; border-bottom-width: 9px; border-radius: 10px 10px 4px 4px; overflow: hidden; background: #000; }
.arm .laptop__screen img { width: 100%; height: 100%; object-fit: cover; }
.laptop__screen .arm__play { top: 46%; width: 38px; height: 38px; margin: -19px 0 0 -19px; box-shadow: 0 0 0 5px rgba(236,114,22,.35); }
.laptop__screen .arm__play::after { left: 15px; top: 11px; border-left-width: 12px; border-top-width: 8px; border-bottom-width: 8px; }
.laptop__bar { position: absolute; left: 8px; right: 8px; bottom: 6px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.4); }
.laptop__bar b { display: block; width: 38%; height: 100%; border-radius: 2px; background: var(--orange); }
.laptop__base { height: 9px; margin: 0 -9%; border-radius: 0 0 12px 12px; background: linear-gradient(#cfcac3, #a9a39b); }
.arm .scene--aca .scene__char--aca { width: 36%; right: 3%; bottom: -3%; }
/* Studio */
.rec-chip { position: absolute; z-index: 3; top: 9%; right: 9%; display: flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; background: #1b1b1b; color: #fff; font-family: var(--head); font-weight: 700; font-size: 10px; }
.rec-chip i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* ===== Fábrica: tarjetas por material ===== */
.mats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 70px; }
.mat { text-align: left; background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px -18px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.mat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.mat img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mat__body { padding: 16px 18px 20px; }
.mat__tag { display: inline-block; font-family: var(--head); font-weight: 800; font-size: 11px; letter-spacing: .12em; color: #fff; background: var(--orange); padding: 4px 9px; border-radius: 6px; margin-bottom: 10px; }
.mat h3 { font-size: 19px; margin-bottom: 10px; }
.mat ul { list-style: none; display: grid; gap: 4px; }
.mat li { font-size: 14px; color: var(--ink-2); padding-left: 14px; position: relative; line-height: 1.35; }
.mat li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); }

/* ===== Fábrica: Línea Seguridad (franja naranja con franjas de peligro) ===== */
.safety { position: relative; background: var(--orange); color: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); margin-bottom: 70px; overflow: hidden; }
.safety::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, #1b1b1b 0 16px, #ffd23f 16px 32px); }
.safety__head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; margin-bottom: 30px; }
.kicker--light { color: #fff; opacity: .9; }
.safety__title { font-size: clamp(30px, 4vw, 54px); line-height: 1; letter-spacing: -.04em; }
.safety__lead { margin-top: 14px; max-width: 34em; opacity: .95; }
.safety__miner { width: clamp(110px, 12vw, 170px); margin-bottom: -10px; transform: rotate(6deg); filter: drop-shadow(0 12px 16px rgba(0,0,0,.25)); }
.safes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.safe { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.safe:hover { transform: translateY(-6px); }
.safe__art { display: block; width: 100%; height: auto; aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(170deg, #f7f5f2, #ece8e2); margin-bottom: 14px; padding: 8px; transition: transform .4s; }
.safe:hover .safe__art { transform: scale(1.04) rotate(-1deg); }
.safe__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); font-size: 22px; margin-bottom: 12px; }
.safe--truck img { height: 44px; width: auto; margin-bottom: 12px; }
.safe strong { display: block; font-family: var(--head); font-size: 16px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.safe p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }

/* ===== Supply: tienda con pedido por WhatsApp ===== */
.supply .split { margin-bottom: clamp(50px, 7vw, 90px); }
.ship { list-style: none; display: grid; gap: 6px; margin-bottom: 26px; }
.ship li { padding-left: 26px; position: relative; color: var(--ink-2); }
.ship li::before { content: "🚚"; position: absolute; left: 0; }
.shop { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shop > *, .prod, .prod__sizes > * { min-width: 0; }
/* que las tarjetas se achiquen en pantallas angostas (sin esto empujan el ancho de la página en celular) */
.mat, .safe, .who__card, .q, .arm, .tile, .safety, .works, .mats, .safes { min-width: 0; }
.mat, .safe, .who__card, .q { overflow-wrap: break-word; }
.chip { white-space: nowrap; flex: none; }
.works__bar .chips { flex: 1 1 auto; min-width: 0; max-width: 100%; }
@media (max-width: 860px) { .works__bar .chips { flex-basis: 100%; } }
.prod { background: var(--bg-2); border-radius: 20px; padding: 16px 16px 18px; display: flex; flex-direction: column; }
.prod__art { aspect-ratio: 16/10; border-radius: 14px; background: linear-gradient(160deg, #fff, #efebe5); display: grid; place-items: center; margin-bottom: 14px; }
.prod__sheet { display: block; border-radius: 4px; background: linear-gradient(140deg, rgba(255,255,255,.35), transparent 40%), var(--a);
  box-shadow: 0 5px 0 var(--b), 0 16px 20px -12px rgba(0,0,0,.5); transform: rotate(-4deg) skewX(-6deg); transition: width .3s, background-color .3s; }
.prod h3 { font-size: 18px; margin-bottom: 4px; }
.prod__desc { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.prod__lbl { font-family: var(--head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 0 8px; }
.prod__cname { text-transform: none; letter-spacing: 0; color: var(--ink); margin-left: 4px; }
.prod__sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.psize { padding: 9px 8px; border-radius: 12px; background: #fff; border: 2px solid transparent; font-family: var(--head); font-weight: 600; font-size: 13px; display: grid; gap: 2px; text-align: center; }
.psize b { font-weight: 800; color: var(--orange); font-size: 15px; }
.psize.is-on { border-color: var(--orange); }
.prod__colors { display: flex; flex-wrap: wrap; gap: 8px; }
.pcolor { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); transition: transform .15s; }
.pcolor:hover { transform: scale(1.1); }
.pcolor.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange); }
.prod__buy { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.qty { display: flex; align-items: center; background: #fff; border-radius: 999px; padding: 3px; }
.qty__btn { width: 32px; height: 32px; border-radius: 50%; font-size: 18px; font-weight: 700; }
.qty__btn:hover { background: var(--orange-soft); }
.qty__n { width: 38px; border: 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: 15px; background: none; -moz-appearance: textfield; }
.qty__n::-webkit-inner-spin-button { -webkit-appearance: none; }
.prod__add { flex: 1; padding: 11px 14px; font-size: 14px; }
.cart { position: sticky; top: 90px; background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.cart__title { font-size: 20px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.cart__count { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 13px; padding: 0 7px; background: var(--orange); color: #fff; font-size: 13px; }
.cart__list { list-style: none; display: grid; gap: 10px; margin-bottom: 8px; max-height: 300px; overflow: auto; }
.citem { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.citem__sw { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.citem strong { display: block; font-family: var(--head); font-size: 14px; }
.citem small { color: var(--muted); }
.citem__q { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.citem__q button { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); font-weight: 700; }
.citem > b { font-family: var(--head); }
.cart__empty { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cart__field { display: grid; gap: 5px; font-family: var(--head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 10px; }
.cart__field select, .cart__field input { font: 500 15px var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); padding: 10px 12px; border-radius: 10px; border: 1.5px solid #e2dfda; background: #fff; width: 100%; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-family: var(--head); font-weight: 700; }
.cart__total strong { font-size: 24px; color: var(--orange); }
.cart__note { font-size: 12.5px; color: var(--muted); margin: 4px 0 14px; }
.cart__send { width: 100%; }
.cart__send:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.cart-fab { position: fixed; z-index: 41; right: 20px; bottom: 90px; display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: var(--orange); color: #fff; font-family: var(--head); font-weight: 800; box-shadow: 0 10px 24px -8px rgba(236,114,22,.8); }
.cart-fab[hidden] { display: none; }

/* ===== Supply: planchas a escala ===== */
.sheets { display: grid; gap: 12px; margin-bottom: 30px; }
.sheet-card { padding: 16px 18px; border-radius: 16px; background: var(--bg-2); }
.sheet-card strong { font-family: var(--head); font-size: 17px; letter-spacing: -.02em; display: block; margin-bottom: 10px; }
.sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 26px; }
.size { display: flex; align-items: flex-end; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink-2); }
.size i { display: block; width: calc(var(--w) * .9px); height: calc(var(--h) * .9px); border-radius: 3px; background: var(--c); border-bottom: 4px solid var(--e); box-shadow: 0 6px 12px -8px rgba(0,0,0,.5); }
.arm__num { font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--orange); margin-bottom: 4px; }
.arm h3 { margin-bottom: 8px; }
.arm p { font-size: 15px; color: var(--ink-2); line-height: 1.5; flex: 1; }
.arm__go { margin-top: 14px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--orange); }

/* fábrica */
.fabrica { background: var(--bg-2); border-radius: 40px 40px 0 0; }
.fabrica__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.fabrica__intro .section-head { margin-bottom: 0; }
.spec-list { list-style: none; display: grid; gap: 4px; }
.spec-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid #e2dfda; }
.spec-list li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 13px; }
.spec-list strong { font-family: var(--head); font-size: 18px; display: block; margin-bottom: 2px; letter-spacing: -.02em; }
.spec-list p { color: var(--ink-2); font-size: 15.5px; }

.works__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.works__bar h3 { font-size: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 17px; border-radius: 999px; background: #fff; border: 1.5px solid #e2dfda; font-family: var(--head); font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: .2s; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }

.grid { columns: 4 240px; column-gap: 14px; }
.tile { break-inside: avoid; margin-bottom: 14px; position: relative; border-radius: 16px; overflow: hidden; background: #e9e6e2; cursor: zoom-in; display: block; width: 100%; animation: rise .5s both; }
.tile img { width: 100%; height: auto; transition: transform .6s; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.94); font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--ink); opacity: 0; transform: translateY(8px); transition: .3s; width: fit-content; }
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.works__more { margin-top: 30px; color: var(--ink-2); }
.works__more a { color: var(--orange); font-weight: 700; }

/* proceso (franja naranja como la línea del Carrd) */
.process { position: relative; background: var(--orange); color: #fff; overflow: hidden; padding-block: clamp(70px, 8vw, 110px); }
.process__inner { position: relative; z-index: 1; max-width: 1100px; }
.process__title { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: 44px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 26px 26px 0 0; border-top: 3px solid rgba(255,255,255,.6); position: relative; }
.steps li::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; }
.steps span { font-family: var(--head); font-weight: 800; font-size: 13px; opacity: .85; }
.steps strong { display: block; font-family: var(--head); font-size: 23px; margin: 4px 0 6px; letter-spacing: -.03em; }
.steps p { font-size: 15.5px; opacity: .95; }
.process__miner { position: absolute; right: 2%; bottom: -36%; width: clamp(150px, 17vw, 250px); transform: rotate(-12deg); transition: bottom .7s cubic-bezier(.3,1.5,.5,1); filter: drop-shadow(0 10px 20px rgba(0,0,0,.2)); }
.process.is-in .process__miner { bottom: -8%; }

/* supply */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split__media { position: relative; }
.split__photo { width: 82%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__truck { position: absolute; right: 0; bottom: -12%; width: 44%; }
.split__truck img { filter: drop-shadow(0 18px 18px rgba(0,0,0,.18)); }
.split__media .bubble { right: 30%; bottom: 52%; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tags li { font-family: var(--head); font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; background: var(--orange-soft); color: #b9530a; }

/* academia */
.academia { background: var(--bg-2); }
.aca-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: clamp(60px, 8vw, 110px); }
.aca-hero h2 { font-size: clamp(44px, 6.4vw, 92px); }
.aca-note { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--muted); }
.aca-block { margin-bottom: clamp(50px, 6vw, 80px); }
.aca-title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 24px; }
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.who__card { background: #fff; border-radius: 18px; padding: 22px 20px; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.who__card:hover { transform: translateY(-6px) rotate(-1deg); }
.who__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange-soft); font-size: 24px; margin-bottom: 14px; }
.who__card strong, .q strong { display: block; font-family: var(--head); font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.who__card p, .q p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.qs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.q { position: relative; background: #fff; border-radius: 18px; padding: 24px 24px 24px 84px; border-left: 5px solid var(--orange); }
.q__n { position: absolute; left: 22px; top: 22px; font-family: var(--head); font-weight: 900; font-size: 34px; color: var(--orange); line-height: 1; }
.q strong { font-size: 21px; }
.q a { color: var(--orange); font-weight: 700; }
.aca-final { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: var(--orange); color: #fff; border-radius: 26px; padding: 26px 34px 26px 26px; overflow: hidden; }
.aca-final img { width: 110px; margin: -10px 0 -40px; transform: rotate(-8deg); filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.aca-final h3 { font-size: clamp(24px, 2.6vw, 34px); }
.aca-final p { opacity: .95; margin-top: 4px; }
.btn--white { background: #fff; color: var(--orange); }
.academia__media { position: relative; }
.academia__photo { width: 84%; margin-left: auto; aspect-ratio: 4/4.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.academia__truck { position: absolute; left: 0; bottom: -10%; width: 40%; }
.academia__truck img { filter: drop-shadow(0 18px 18px rgba(0,0,0,.18)); }
.academia__media .bubble { left: 22%; bottom: 38%; }
.checks { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.checks li { padding-left: 32px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.academia__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.badge-soon { font-family: var(--head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; padding: 8px 13px; border-radius: 8px; background: var(--ink); color: #fff; transform: rotate(-3deg); }

/* studio */
.studio { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.studio__stage { position: relative; padding: 0 0 60px; }
.studio__copy h2 { font-size: clamp(34px, 4.4vw, 60px); }
.studio__truck { width: 32% !important; left: -4% !important; }
.sites { display: flex; gap: 6px; margin-bottom: 12px; }
.site { padding: 9px 16px; border-radius: 999px; background: var(--bg-2); font-family: var(--head); font-weight: 700; font-size: 13.5px; color: var(--ink-2); transition: .2s; }
.site.is-on { background: var(--orange); color: #fff; }
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(60,30,0,.45), 0 0 0 1px var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1efec; }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d4cd; }
.browser__bar i:first-child { background: var(--orange); }
.browser__url { margin-left: 10px; flex: 1; max-width: 260px; padding: 4px 12px; border-radius: 999px; background: #fff; font-family: var(--head); font-weight: 600; font-size: 12px; color: var(--muted); }
.browser__view { height: clamp(320px, 38vw, 520px); overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.browser__view img { width: 100%; height: auto; transition: opacity .3s; }
.browser__view img.is-swap { opacity: 0; }
.studio__truck { position: absolute; z-index: 2; left: -6%; bottom: 0; width: 42%; }
.studio__truck img { filter: drop-shadow(0 16px 16px rgba(0,0,0,.2)); }
.studio__badge { position: absolute; left: 18%; top: 0; padding: 5px 11px; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-6deg); }
.studio__stage .bubble { left: 30%; bottom: 30%; }
.turntable { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 6px 20px -10px rgba(0,0,0,.3); }
.tt { padding: 8px 14px; border-radius: 999px; font-family: var(--head); font-weight: 600; font-size: 13px; color: var(--ink-2); transition: .2s; }
.tt.is-on { background: var(--orange); color: #fff; }
.services { display: grid; gap: 12px; margin-bottom: 32px; }
.service { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--bg-2); transition: transform .3s, background .3s; }
.service:hover { transform: translateX(6px); background: var(--orange-soft); }
.service span { grid-row: span 2; font-family: var(--head); font-weight: 800; font-size: 13px; color: var(--orange); padding-top: 3px; }
.service strong { font-family: var(--head); font-size: 17px; letter-spacing: -.02em; }
.service p { font-size: 15px; color: var(--ink-2); }

/* terreno */
.terreno { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-bottom: 40px; }
.terreno__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: clamp(360px, 44vw, 580px); }
.terreno__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.terreno__grid img:first-child { grid-row: span 2; }

/* contacto */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: 30px; }
.contact__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact__logo { width: min(460px, 90%); height: auto; }
.contact h2 { font-size: clamp(48px, 7vw, 100px); color: var(--orange); font-weight: 900; }
.contact__lead { font-size: clamp(19px, 2.1vw, 24px); color: var(--ink-2); font-weight: 600; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 6px; font-weight: 700; }
.contact__links a { border-bottom: 2px solid var(--orange); }
.contact__links a:hover { color: var(--orange); }
.contact__char { position: relative; justify-self: center; width: min(320px, 70%); }
.contact__char .char img { transform: scaleX(-1); filter: drop-shadow(0 26px 24px rgba(70,35,0,.18)); }
.contact__char .bubble { top: -4%; left: -30%; white-space: nowrap; max-width: none; }

/* TikTok: tarjetas de los últimos videos + reproductor en ventana */
.tiktok { display: grid; gap: 34px; }
.tiktok__copy { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 30px; }
.tiktok__copy .kicker, .tiktok__copy h2 { grid-column: 1; }
.tiktok__copy .body { grid-column: 1; margin-bottom: 0; }
.tiktok__copy .btn { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.ttgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ttcard { position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: #1b1b1b; color: #fff; text-align: left; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.ttcard:hover { transform: translateY(-6px); }
.ttcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ttcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0,0,0,.75)); }
.ttcard__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: rgba(236,114,22,.9); box-shadow: 0 0 0 7px rgba(236,114,22,.25); transition: transform .2s; }
.ttcard__play::after { content: ""; position: absolute; left: 20px; top: 15px; border-left: 17px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.ttcard:hover .ttcard__play { transform: scale(1.12); }
.ttcard__cap { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; font-family: var(--head); font-weight: 700; font-size: 13px; line-height: 1.3; }
.ttcard--empty { background: linear-gradient(160deg, #2a2a2a, #111); }
.ttcard--empty .ttcard__cap { color: #ff8a2b; }
.ttmodal { position: fixed; inset: 0; z-index: 110; background: rgba(10,10,10,.88); display: grid; place-items: center; align-content: center; gap: 14px; padding: 20px; }
.ttmodal[hidden] { display: none; }
.ttmodal__box { width: min(340px, 86vw); aspect-ratio: 9/16; max-height: 78vh; border-radius: 16px; overflow: hidden; background: #000; }
.ttmodal__box iframe { width: 100%; height: 100%; border: 0; }
.ttmodal__close { position: absolute; top: 12px; right: 22px; font-size: 44px; line-height: 1; color: #fff; }
.ttmodal__open { color: #ff8a2b; font-family: var(--head); font-weight: 700; }
@media (max-width: 860px) {
  .tiktok__copy { grid-template-columns: 1fr; }
  .tiktok__copy .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .ttgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .ttcard { scroll-snap-align: start; }
}
.tiktok__frame { min-width: 0; min-height: 420px; border-radius: 22px; background: var(--bg-2); padding: 12px; display: grid; place-items: center; }
.tiktok__frame blockquote { margin: 0 !important; width: 100%; }
.tiktok__frame section a { font-family: var(--head); font-weight: 700; color: var(--orange); }
@media (max-width: 860px) { .tiktok { grid-template-columns: 1fr; } .tiktok__frame { padding: 6px; } }
.tt-fallback { display: none; position: relative; width: 100%; min-height: 400px; border-radius: 16px; overflow: hidden; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: radial-gradient(70% 60% at 50% 40%, #2a2a2a, #111); color: #fff; font-family: var(--head); }
.tt-fallback img { width: 60%; max-width: 320px; margin-bottom: 8px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.5)); }
.tt-fallback strong { font-size: 24px; }
.tt-fallback span:last-child { color: #ff8a2b; font-weight: 700; }
.tt-fallback__play { position: absolute; right: 22px; top: 22px; width: 54px; height: 54px; border-radius: 50%; background: rgba(236,114,22,.92); box-shadow: 0 0 0 8px rgba(236,114,22,.25); }
.tt-fallback__play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.tiktok__frame.is-fallback .tiktok-embed { display: none; }
.tiktok__frame.is-fallback .tt-fallback { display: flex; }
.socials {display: flex; flex-wrap: wrap; gap: 10px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--bg-2); font-family: var(--head); font-weight: 700; font-size: 15px; transition: background .2s, color .2s, transform .2s; }
.social svg { width: 22px; height: 22px; }
.social:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }
.footer__social a:hover { text-decoration: underline; }
.footer {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px calc(var(--pad) + 70px) 24px var(--pad); font-size: 13.5px; color: #fff; background: var(--orange); font-family: var(--head); font-weight: 600; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08) rotate(-8deg); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(255,255,255,.97); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; }
.lightbox[hidden] { display: none; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 14px; object-fit: contain; box-shadow: var(--shadow); }
.lightbox figcaption { font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.lightbox__close { position: absolute; top: 12px; right: 22px; font-size: 44px; line-height: 1; color: var(--ink); }
.lightbox__nav { font-size: 56px; color: var(--ink); opacity: .5; height: 100%; }
.lightbox__nav:hover { opacity: 1; color: var(--orange); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .arms { grid-template-columns: repeat(2, 1fr); }
  .fabrica__intro { grid-template-columns: 1fr; gap: 30px; }
  .mats { grid-template-columns: repeat(3, 1fr); }
  .safes { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .cart { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
}
@media (max-width: 860px) {
  .nav__social { display: none; }
  .hubmenu { position: static; }
  .hubmenu__panel { left: 12px; right: 12px; top: calc(100% + 4px); width: auto; transform-origin: top center; }
  .nav__cta { padding: 9px 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; min-height: auto; text-align: center; }
  .hero__char { width: min(250px, 62%); }
  .hero__char .bubble { right: auto; left: 18%; top: -9%; font-size: 14px; padding: 9px 13px; max-width: 70%; }
  .hero__copy { text-align: center; justify-self: center; }
  .hero .dot { display: none; }
  .contact__char { justify-self: end; margin-right: 8%; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .split, .aca-hero, .studio, .terreno, .contact { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .qs { grid-template-columns: 1fr; }
  .aca-final { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 26px; }
  .aca-final img { margin: 0; width: 90px; }
  .academia__media { order: -1; margin-bottom: 30px; }
  .split__media { margin-bottom: 40px; }
  .road { height: 170px; }
  .road__truck { width: 200px; }
  .contact__char { width: 200px; }
  .contact__char .bubble { left: auto; right: 80%; }
  .process__miner { width: 120px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .arms { grid-template-columns: 1fr 1fr; gap: 12px; }
  .arm { padding: 10px 10px 18px; }
  .arm h3 { font-size: 16px; }
  .arm__label, .stack__size, .rec-chip { display: none; }
  .mats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .safes { gap: 8px; }
  .shop__grid { grid-template-columns: 1fr; }
  .safe { padding: 14px; }
  .safe strong { font-size: 14px; }
  .safe p { font-size: 12.5px; }
  .safety__head { grid-template-columns: 1fr; }
  .safety__miner { display: none; }
  .mat h3 { font-size: 16px; }
  .mat li { font-size: 12.5px; }
  .mat__body { padding: 12px 12px 16px; }
  .arm__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .arm__play::after { left: 18px; top: 14px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
  .arm p { font-size: 13px; }
  .steps { grid-template-columns: 1fr; }
  .grid { columns: 2 140px; column-gap: 10px; }
  .tile { margin-bottom: 10px; }
  .tile figcaption { opacity: 1; transform: none; font-size: 11.5px; padding: 5px 9px; left: 6px; bottom: 6px; }
  .btn { padding: 14px 22px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .terreno__grid { height: 420px; }
  .turntable .tt { padding: 7px 10px; font-size: 12px; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   TEMA NORTINO (inspirado en la estructura de Snacklins, con identidad Cinxeles)
   cielo de Atacama · Licancabur · cerros en capas · bloques sólidos · bordes de cerro
   ===================================================================== */
h1, h2 { text-transform: uppercase; letter-spacing: -.02em; font-weight: 900; line-height: .94; }
h2 { font-size: clamp(32px, 4.8vw, 66px); }
.section-head h2::after { content: ""; display: block; width: 150px; height: 16px; margin-top: 18px; background: var(--sq, #ec7216);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 16'%3E%3Cpath d='M3 8c9-8 18-8 27 0s18 8 27 0 18-8 27 0 18 8 27 0 18-8 27 0' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 16'%3E%3Cpath d='M3 8c9-8 18-8 27 0s18 8 27 0 18-8 27 0 18 8 27 0 18-8 27 0' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.section-head.center h2::after { margin-inline: auto; }

/* botones gruesos tipo "sticker" */
.btn { text-transform: uppercase; letter-spacing: .03em; font-weight: 800; border: 3px solid #1b1b1b; box-shadow: 0 5px 0 #1b1b1b; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #1b1b1b; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #1b1b1b; }
.btn--orange { box-shadow: 0 5px 0 #1b1b1b; }
.btn--orange:hover { box-shadow: 0 7px 0 #1b1b1b; }
.btn--white { background: #fff; color: #1b1b1b; }
.btn--ghost { background: #fff; border-color: #1b1b1b; }
.btn--ghost:hover { color: #1b1b1b; background: #fff3e8; border-color: #1b1b1b; }
.cart__send:disabled { box-shadow: none; }

/* nav transparente sobre el cielo */
.nav { background: transparent; backdrop-filter: none; }
.nav.is-solid { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); }
.hubmenu__btn { background: rgba(255,255,255,.75); }

/* --- HERO --- */
.hero { display: block; min-height: auto; padding: 108px 0 0; text-align: center; overflow: hidden; background: none; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #3f9bdc 0%, #86c8ee 42%, #cfeaf8 66%, #fdf0de 88%); }
.sun { position: absolute; right: 11%; top: 15%; width: clamp(70px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fffbe6 0 45%, #ffe9a8 60%, rgba(255,233,168,0) 72%); }
.cloud { position: absolute; height: 34px; border-radius: 40px; background: #fff; opacity: .9; animation: cloud 60s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 54px; height: 54px; left: 18px; top: -26px; }
.cloud::after { width: 38px; height: 38px; left: 62px; top: -16px; }
.c1 { width: 140px; top: 22%; left: -10%; }
.c2 { width: 110px; top: 34%; left: 40%; animation-duration: 85s; animation-delay: -30s; transform: scale(.8); opacity: .75; }
.c3 { width: 160px; top: 12%; left: 70%; animation-duration: 75s; animation-delay: -50s; opacity: .8; }
@keyframes cloud { from { translate: -20vw 0; } to { translate: 120vw 0; } }
.floaters { position: absolute; inset: 0 0 auto; height: 70%; z-index: 1; pointer-events: none; }
.fl { position: absolute; width: clamp(42px, 5.2vw, 82px); filter: drop-shadow(0 10px 10px rgba(20,60,100,.25)); animation: drift 7s ease-in-out infinite; }
.fl1 { left: 9%; top: 26%; }
.fl2 { right: 8%; top: 40%; width: clamp(56px, 6.5vw, 100px); animation-delay: -2s; }
.fl3 { left: 15%; top: 62%; animation-delay: -4s; }
.fl4 { right: 19%; top: 70%; animation-delay: -1s; }
.fl5 { left: 24%; top: 10%; width: clamp(34px, 3.8vw, 58px); animation-delay: -3s; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-18px) rotate(10deg); } }
.hero__copy { position: relative; z-index: 3; max-width: 980px; margin: 0 auto; padding: 0 var(--pad); text-align: center; justify-self: auto; }
.arc { display: block; width: min(560px, 92%); margin: 0 auto -22px; overflow: visible; }
.arc text { font-family: var(--head); font-weight: 800; font-size: 34px; letter-spacing: 3px; fill: #1b1b1b; }
.hero__title { color: #fff; font-size: clamp(46px, 7vw, 100px); margin-bottom: 22px;
  text-shadow: 0 5px 0 rgba(27,27,27,.12), 0 20px 40px rgba(20,70,120,.25); -webkit-text-stroke: 0; }
.hero__lead { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.5;
  color: #1b1b1b; max-width: 760px; margin: 0 auto 30px; }
.hero__actions { justify-content: center; }
.land { position: relative; height: clamp(300px, 36vw, 540px); margin-top: clamp(-150px, -8vw, -20px); }
.land__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__char { position: absolute; z-index: 3; left: 21%; bottom: 17%; width: clamp(140px, 14vw, 220px); padding: 0; justify-self: auto; display: block; }
.hero__char .bubble { top: -14%; right: -78%; left: auto; white-space: nowrap; }
.hero__truck { position: absolute; z-index: 3; right: 13%; bottom: 12%; width: clamp(220px, 27vw, 410px); }
.hero__truck img { filter: drop-shadow(0 18px 14px rgba(90,40,0,.3)); }
.hero__truckbubble { right: 24%; bottom: 52%; }
.hero__char.float, .hero__char { animation: none; }

/* --- franja naranja continua: clientes + hub --- */
section.clients { background: var(--orange); padding: 0 0 24px; margin-top: -2px; }
.clients__title { color: rgba(255,255,255,.85); }
.clients__row span { color: rgba(255,255,255,.55); }
.clients__row span::after { color: #1b1b1b; }
.clients__row span:hover { color: #fff; }
.hub { background: var(--orange); color: #fff; padding-bottom: 40px; --sq: #1b1b1b; }
.hub .kicker { color: #1b1b1b; }
.hub h2, .hub .section-lead { color: #fff; }
.hub h2 .orange { color: #1b1b1b; }
.arm { background: #fff; border: 4px solid #1b1b1b; box-shadow: 8px 8px 0 #1b1b1b; color: var(--ink); }
.arm:hover { background: #fff; transform: translate(-3px, -6px) rotate(-.6deg); box-shadow: 12px 14px 0 #1b1b1b; }
.ridge { line-height: 0; background: var(--bg-2); margin-top: -1px; }
.ridge svg { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.fabrica { border-radius: 0; }

/* tarjetas "sólidas" */
.mat, .prod, .cart, .who__card, .q { border: 3px solid #1b1b1b; box-shadow: 6px 6px 0 #1b1b1b; }
.q { border-left-width: 8px; border-left-color: var(--orange); }
.mat:hover, .who__card:hover { box-shadow: 9px 10px 0 #1b1b1b; }

@media (max-width: 860px) {
  .hero { padding-top: 92px; }
  .arc text { font-size: 30px; }
  .hero__title { font-size: clamp(40px, 11vw, 64px); }
  .hero__lead { font-size: 13.5px; }
  .land { height: 260px; }
  .hero__char { left: 8%; bottom: 16%; width: 112px; }
  .hero__char .bubble { right: auto; left: 60%; top: -18%; font-size: 13px; padding: 8px 11px; }
  .hero__truck { right: 3%; bottom: 12%; width: 200px; }
  .hero__truckbubble { display: none; }
  .fl { width: 40px; }
  .fl2 { display: none; }
  .fl3, .fl4 { display: none; }
  .fl1 { display: none; }
  .fl5 { left: 78%; top: 8%; }
  .sun { right: 6%; top: 10%; }
}

/* v4.1: minero protagonista, cortado a la altura de las canillas por el borde inferior del inicio */
.land { overflow: hidden; }
.hero__char { left: 17%; bottom: 0; width: clamp(200px, 19vw, 290px); transform: translateY(15%); }
.hero__char .char--miner img { filter: drop-shadow(0 10px 18px rgba(90,40,0,.25)); }
.hero__char .bubble { top: 4%; right: -62%; }
.lamp { left: 79%; top: 8.5%; }
@media (max-width: 860px) {
  .hero__char { left: 10%; width: 150px; bottom: 0; }
  .hero__char .bubble { left: 72%; right: auto; top: 6%; }
}
/* v4.2 ajuste: minero más chico, cortado a media pierna, sin tapar botones */
.hero__char { left: 9%; width: clamp(170px, 15vw, 240px); transform: translateY(9%); }
.hero__char .bubble { top: 2%; right: auto; left: 78%; }
.hero__actions { position: relative; z-index: 4; }
@media (max-width: 860px) {
  .land { height: 280px; margin-top: 10px; }
  .hero__char { left: 50%; margin-left: -62px; width: 124px; transform: translateY(10%); }
  .hero__char .bubble { left: 86%; top: 4%; }
}
/* v4.3: minero de cuerpo entero, con los pies apoyados en el cerro */
.hero__char { transform: none; bottom: 4%; }
@media (max-width: 860px) { .hero__char { transform: none; bottom: 5%; } }

/* v4.4: conceptos en vez de párrafo + botones corridos para que el minero no los tape */
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 12px; max-width: 760px; }
.hero__tags li { font-family: var(--head); font-weight: 800; font-size: clamp(13px, 1.15vw, 16px); text-transform: uppercase; letter-spacing: .04em;
  padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.85); color: #1b1b1b; border: 2px solid #1b1b1b; }
.hero__place { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #1b1b1b; opacity: .75; margin-bottom: 26px; }
@media (min-width: 861px) {
  .hero__actions { transform: translateX(-4%); }
  .hero__char { left: max(2%, calc(50% - 560px)); }
  .hero__char .bubble { left: 50%; right: auto; top: -10%; }
}
@media (max-width: 860px) {
  .hero__tags li { font-size: 11.5px; padding: 6px 11px; }
  .hero__place { font-size: 11px; margin-bottom: 20px; }
}


@media (max-width: 860px) { .hero__tags { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .hero__tags li { text-align: center; padding: 6px 8px; font-size: 10.5px; } }

/* v4.5: conceptos como texto simple (mismo estilo que "E-learning · Insumos láser"), sin burbujas */
.hero__tags, .hero__tags li { all: unset; }
.hero__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; max-width: 900px; margin: 0 auto 8px; list-style: none; }
.hero__tags li { font-family: var(--head); font-weight: 800; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .14em; text-transform: uppercase; color: #1b1b1b; }
.hero__tags li + li::before { content: "·"; margin: 0 .7em; }
@media (max-width: 860px) {
  .hero__tags { display: flex; gap: 2px 0; }
  .hero__tags li { font-size: 11px; letter-spacing: .1em; text-align: center; padding: 0; }
}


/* v4.6: 2 conceptos por línea (sin puntos sueltos al comienzo); en celular uno por línea, sin puntos */
.hero__tags { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 6px 0; }
.hero__tags li + li::before { content: none; }
.hero__tags li:nth-child(odd)::after { content: "·"; margin: 0 .7em; }
.hero__tags li:nth-child(odd) { text-align: right; }
.hero__tags li:nth-child(even) { text-align: left; }
@media (max-width: 860px) {
  .hero__tags { grid-template-columns: 1fr; gap: 3px; }
  .hero__tags li, .hero__tags li:nth-child(odd), .hero__tags li:nth-child(even) { text-align: center; }
  .hero__tags li:nth-child(odd)::after { content: none; }
}


/* =====================================================================
   v4.7 LOOK CORPORATIVO: sin sombras negras desplazadas, sin bordes gruesos tipo cómic.
   Sombras suaves y difusas, bordes finos, burbujas como etiquetas limpias.
   ===================================================================== */
:root { --soft: 0 10px 30px -14px rgba(30,30,30,.28); --soft-h: 0 18px 40px -16px rgba(30,30,30,.35); }

/* botones */
.btn, .btn--orange, .btn--white, .btn--ghost { border: 0; box-shadow: var(--soft); text-transform: none; letter-spacing: 0; font-weight: 700; }
.btn:hover, .btn--orange:hover { box-shadow: var(--soft-h); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: var(--soft); }
.btn--orange { box-shadow: 0 10px 26px -12px rgba(236,114,22,.75); }
.btn--ghost { background: #fff; border: 1.5px solid #d9d4cd; box-shadow: none; }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); box-shadow: none; }

/* tarjetas */
.arm, .mat, .prod, .cart, .who__card, .q, .safe, .sheet-card, .service { border: 1px solid var(--line); box-shadow: var(--soft); }
.arm:hover, .mat:hover, .who__card:hover { box-shadow: var(--soft-h); transform: translateY(-6px); }
.q { border-left: 4px solid var(--orange); }
.arm { border: 0; }

/* burbujas de diálogo: etiqueta limpia, sin borde negro ni sombra dura */
.bubble { border: 0; box-shadow: 0 8px 24px -10px rgba(30,30,30,.35); border-radius: 12px; font-weight: 600; font-size: 14px; padding: 9px 14px; }
.bubble::after { border: 0; width: 12px; height: 12px; bottom: -6px; left: 22px; transform: rotate(45deg); box-shadow: none; }

/* el inicio ya no recorta: la burbuja del minero no se corta */
.land { overflow: visible; }
.hero { overflow: hidden; }
.hero__char { z-index: 5; }
.hero__char .bubble { z-index: 6; }


/* =====================================================================
   v5 — LOOK EDITORIAL CORPORATIVO (inspirado en el lenguaje de byxp.co.uk)
   Bloques planos naranjo / blanco, tipografía ancha en mayúsculas, alineado a la izquierda,
   mucho aire, sin sombras, sin esquinas redondeadas, sin burbujas tipo cómic.
   Esta capa va al final y manda sobre las anteriores.
   ===================================================================== */
:root { --wide: "Unbounded", "Outfit", system-ui, sans-serif; --radius: 0px; }
body { background: #fff; }

/* tipografía */
h1, h2 { font-family: var(--wide); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.04; overflow-wrap: break-word; }
h2 { font-size: clamp(28px, 4vw, 58px); }
h3 { font-family: var(--wide); font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; font-size: 16px; line-height: 1.25; overflow-wrap: break-word; }
.section-head h2::after { content: none; display: none; }
.section-head, .section-head.center { text-align: left; margin-left: 0; margin-right: auto; }
.center .section-lead { margin-left: 0; }
.kicker, section p.kicker { font-family: var(--wide); font-weight: 600; font-size: 11px; letter-spacing: .22em; color: var(--orange); }
.section-lead, .body { font-size: 18px; line-height: 1.6; }

/* botones: rectángulos planos */
.btn, .btn--orange, .btn--white, .btn--ghost { border-radius: 0; border: 0; box-shadow: none; font-family: var(--wide); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; padding: 18px 26px; }
.btn:hover, .btn--orange:hover, .btn:active { transform: none; box-shadow: none; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #1b1b1b; }
.btn--white { background: #fff; color: var(--orange); }
.btn--white:hover { background: #1b1b1b; color: #fff; }
.btn--ghost { background: transparent; color: #1b1b1b; border: 1.5px solid #1b1b1b; }
.btn--ghost:hover { background: #1b1b1b; color: #fff; border-color: #1b1b1b; }

/* todo plano: sin sombras ni redondeos */
.arm, .arm__pic, .mat, .prod, .prod__art, .cart, .who__card, .q, .safe, .safe__art, .sheet-card, .service, .tile, .tile figcaption,
.split__photo, .academia__photo, .academia__media, .terreno__grid img, .browser, .studio__stage, .ttcard, .safety, .aca-final, .mock,
.chip, .psize, .qty, .cart__field select, .cart__field input, .hubmenu__panel, .hubitem, .social, .cart-fab, .lightbox img, .site,
.tt-fallback, .badge-soon, .tags li, .ttmodal__box, .laptop__screen { border-radius: 0 !important; box-shadow: none !important; }
.arm, .mat, .prod, .cart, .who__card, .q, .safe, .sheet-card, .service { border: 1px solid #e6e2dc; }
.arm:hover, .mat:hover, .who__card:hover, .safe:hover, .service:hover, .prod:hover { transform: none; }
.split__img, .split__photo, .academia__photo, .browser, .terreno__grid img { box-shadow: none; }

/* burbujas: etiqueta rectangular limpia */
.bubble { border-radius: 0; border: 0; box-shadow: none; background: #1b1b1b; color: #fff; font-family: var(--wide); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px; }
.bubble::after { background: #1b1b1b; border: 0; width: 10px; height: 10px; bottom: -5px; }

/* ---------- NAV ---------- */
.nav { background: transparent; padding-block: 22px; box-shadow: none; }
.nav__logo img { filter: brightness(0) invert(1); transition: filter .3s; }
.hubmenu__btn { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); border-radius: 0; font-family: var(--wide); font-weight: 600; font-size: 12px; letter-spacing: .14em; }
.hubmenu__btn:hover, .hubmenu.is-open .hubmenu__btn { background: #fff; color: var(--orange); }
.nav__social a { color: #fff; border-radius: 0; }
.nav__social a:hover { background: #fff; color: var(--orange); }
.nav .nav__cta { background: #fff; color: var(--orange); padding: 12px 18px; font-size: 11.5px; }
.nav .nav__cta:hover { background: #1b1b1b; color: #fff; }
.nav.is-solid { background: #fff; box-shadow: 0 1px 0 #ece8e2; backdrop-filter: none; padding-block: 14px; }
.nav.is-solid .nav__logo img { filter: none; }
.nav.is-solid .hubmenu__btn { color: #1b1b1b; border-color: #1b1b1b; }
.nav.is-solid .hubmenu__btn:hover, .nav.is-solid .hubmenu.is-open .hubmenu__btn { background: #1b1b1b; color: #fff; }
.nav.is-solid .nav__social a { color: #1b1b1b; }
.nav.is-solid .nav__social a:hover { background: var(--orange); color: #fff; }
.nav.is-solid .nav__cta { background: var(--orange); color: #fff; }
.topline { display: none; }
.hubmenu__panel { border: 1px solid #e6e2dc; padding: 6px; }
.hubitem__n { border-radius: 0; font-family: var(--wide); font-size: 10px; }
.hubitem strong { font-family: var(--wide); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- HERO: bloque naranjo plano, texto grande a la izquierda, colinas blancas que entran a la página ---------- */
.hero { background: var(--orange); padding-top: 150px; text-align: left; }
.sky { display: none; }
.hero__copy { text-align: left; margin: 0; max-width: none; padding: 0 var(--pad); }
.hero__title { color: #fff; text-shadow: none; font-size: clamp(38px, 6.4vw, 104px); max-width: 13.5ch; margin-bottom: 34px; }
.hero__tags { justify-content: start; margin: 0 0 10px; max-width: none; }
.hero__tags li, .hero__tags li:nth-child(odd), .hero__tags li:nth-child(even) { color: #fff; text-align: left; font-family: var(--wide); font-weight: 600; font-size: clamp(11px, .95vw, 13.5px); letter-spacing: .14em; }
.hero__place { color: #fff; opacity: .75; font-family: var(--wide); font-weight: 500; font-size: 11px; letter-spacing: .2em; margin-bottom: 34px; }
.hero__actions { justify-content: flex-start; transform: none !important; }
.hero .btn--orange { background: #fff; color: var(--orange); }
.hero .btn--orange:hover { background: #1b1b1b; color: #fff; }
.hero .btn--white { background: transparent; color: #fff; border: 1.5px solid #fff; }
.hero .btn--white:hover { background: #fff; color: var(--orange); }
.land { height: clamp(240px, 26vw, 420px); margin-top: 0; overflow: visible; }
.land__svg path:nth-of-type(1) { fill: rgba(255,255,255,.18); }
.land__svg path:nth-of-type(2) { fill: rgba(255,255,255,.42); }
.land__svg path:nth-of-type(3) { fill: #fff; }
.hero__char { left: auto !important; right: max(4%, calc(50% - 620px)); bottom: 6%; width: clamp(170px, 15vw, 240px); }
.hero__char .bubble { left: auto; right: 72%; top: -2%; }
.hero__char .bubble::after { left: auto; right: 18px; }

/* ---------- clientes y hub: blanco ---------- */
section.clients { background: #fff; padding: 10px 0 40px; }
.clients__title { color: var(--muted); font-family: var(--wide); font-weight: 600; font-size: 10.5px; letter-spacing: .22em; }
.clients__row span { color: #c5beb5; font-family: var(--wide); font-weight: 700; letter-spacing: -.01em; }
.clients__row span::after { color: var(--orange); }
.clients__row span:hover { color: var(--orange); }
.hub { background: #fff; color: var(--ink); padding-top: 70px; }
.hub .kicker { color: var(--orange); }
.hub h2 { color: #1b1b1b; }
.hub h2 .orange { color: var(--orange); }
.hub .section-lead { color: var(--ink-2); }
.arms { gap: 0; border-top: 1px solid #e6e2dc; border-left: 1px solid #e6e2dc; }
.arm { border: 0; border-right: 1px solid #e6e2dc; border-bottom: 1px solid #e6e2dc; background: #fff; padding: 0 0 26px; }
.arm__pic { margin: 0 0 22px; aspect-ratio: 4/3; }
.arm > *:not(.arm__pic) { padding-inline: 24px; }
.arm__num { font-family: var(--wide); font-size: 11px; letter-spacing: .14em; }
.arm__go { font-family: var(--wide); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.arm:hover { background: #fff7f0; }
.ridge { display: none; }

/* ---------- Fábrica ---------- */
.fabrica { background: #fff; border-top: 1px solid #e6e2dc; }
.mats { gap: 0; border-top: 1px solid #e6e2dc; border-left: 1px solid #e6e2dc; }
.mat { border: 0; border-right: 1px solid #e6e2dc; border-bottom: 1px solid #e6e2dc; }
.mat__tag { border-radius: 0; font-family: var(--wide); font-size: 9.5px; letter-spacing: .16em; }
.mat li::before { border-radius: 0; }
.spec-list li > span { border-radius: 0; }
.works__bar h3 { font-size: 18px; }
.chip { font-family: var(--wide); font-weight: 600; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border: 1.5px solid #1b1b1b; background: #fff; color: #1b1b1b; padding: 10px 14px; }
.chip.is-on { background: #1b1b1b; border-color: #1b1b1b; color: #fff; }
.grid { column-gap: 4px; }
.tile { margin-bottom: 4px; }
/* filtros de la galería: una fila por tipo y otra por material */
.works__count { font-family: var(--wide); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filters { display: grid; gap: 10px; margin: -6px 0 24px; }
.filters .chips { align-items: center; gap: 6px; }
.chips__label { font-family: var(--wide); font-weight: 700; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); min-width: 78px; }
.filters .chip { padding: 8px 12px; }
@media (max-width: 700px) {
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filters .chips::-webkit-scrollbar { display: none; }
  .chips__label { min-width: auto; flex: none; }
}

/* Seguridad: bloque naranjo plano */
.safety { border-radius: 0; }
.safety::before { display: none; }
.safety__title { font-family: var(--wide); text-transform: uppercase; font-weight: 800; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.05; }
.safes { gap: 0; border-top: 1px solid rgba(255,255,255,.35); border-left: 1px solid rgba(255,255,255,.35); }
.safe { border: 0; border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
.safe p { color: rgba(255,255,255,.9); }
.safe__art { background: #fff; }

/* Proceso */
.process__title { font-family: var(--wide); text-transform: uppercase; font-weight: 800; }
.steps strong { font-family: var(--wide); text-transform: uppercase; font-size: 17px; }
.steps li::before { border-radius: 0; }
.process__miner { display: none; }

/* Supply */
.ship li::before { content: "→"; color: var(--orange); font-weight: 800; }
.prod { background: #fff; }
.prod h3 { font-size: 15px; }
.psize b { font-family: var(--wide); }
.psize { border: 1.5px solid #e6e2dc; }
.psize.is-on { border-color: #1b1b1b; }
.cart__count { border-radius: 0; }
.cart__total strong { font-family: var(--wide); }
.split__truck, .academia__truck { display: none; }
.split__media .bubble, .academia__media .bubble { display: none; }
.split__photo { width: 100%; }
.academia__photo { width: 100%; }

/* Academia */
.aca-hero h2 { font-size: clamp(32px, 4.6vw, 70px); }
.who { gap: 0; border-top: 1px solid #e6e2dc; border-left: 1px solid #e6e2dc; }
.who__card { border: 0; border-right: 1px solid #e6e2dc; border-bottom: 1px solid #e6e2dc; background: #fff; }
.who__ico { border-radius: 0; }
.q { background: #fff; border: 1px solid #e6e2dc; border-left: 4px solid var(--orange); }
.q__n { font-family: var(--wide); font-size: 26px; }
.aca-final h3 { font-family: var(--wide); text-transform: uppercase; }
.aca-final img { display: none; }
.aca-final { grid-template-columns: 1fr auto; }

/* Studio */
.service span { font-family: var(--wide); font-size: 10.5px; }
.studio__badge { border-radius: 0; }
.studio__copy h2 { font-size: clamp(26px, 3.4vw, 48px); }

/* TikTok */
.ttcard__play { border-radius: 0; }

/* camino 2 fuera */
#road2 { display: none; }

/* ---------- Contacto: bloque naranjo ---------- */
.contact { background: var(--orange); color: #fff; padding-block: clamp(80px, 9vw, 130px); }
.contact h2 { color: #fff; font-size: clamp(40px, 6vw, 92px); }
.contact__lead { color: #fff; }
.contact__logo { filter: brightness(0) invert(1); }
.contact .btn--orange { background: #fff; color: var(--orange); }
.contact .btn--orange:hover { background: #1b1b1b; color: #fff; }
.contact__links a { border-color: #fff; }
.social { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); font-family: var(--wide); font-weight: 600; font-size: 12px; }
.social:hover { background: #fff; color: var(--orange); transform: none; }
.contact__char .bubble { background: #fff; color: #1b1b1b; }
.contact__char .bubble::after { background: #fff; }

.footer { background: #1b1b1b; font-family: var(--wide); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 110px; }
  .hero__title { font-size: clamp(30px, 9vw, 46px); }
  .hero__tags li, .hero__tags li:nth-child(odd), .hero__tags li:nth-child(even) { text-align: left; font-size: 10.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .land { height: 230px; }
  .hero__char { right: 8%; left: auto !important; margin-left: 0; width: 120px; bottom: 6%; }
  .hero__char .bubble { right: 82%; left: auto; top: 4%; }
  h2 { font-size: clamp(24px, 7.4vw, 36px); }
  h3, .prod h3 { font-size: 13px; }
  .mat h3 { font-size: 11.5px; }
  .arm > *:not(.arm__pic) { padding-inline: 14px; }
  .nav .nav__cta { padding: 10px 12px; font-size: 10px; }
  .hubmenu__btn { font-size: 11px; padding: 8px 12px; }
  .aca-final { grid-template-columns: 1fr; }
  .contact h2 { font-size: clamp(34px, 10vw, 52px); }
}


/* v5.1 ajustes */
.hero__tags { display: grid; grid-template-columns: 1fr; justify-content: start; gap: 6px; }
.hero__tags li::after, .hero__tags li:nth-child(odd)::after, .hero__tags li + li::before { content: none !important; }
.hero__tags li::before { content: "—"; margin-right: .8em; opacity: .7; }
.mat h3 { font-size: 13px; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.safe strong { font-family: var(--wide); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.who__card strong, .q strong, .service strong { font-family: var(--wide); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .01em; }
@media (max-width: 860px) {
  .mat h3 { font-size: 10.5px; }
  .hero__tags { gap: 4px; }
}


/* v5.2 */
.hero__tags li::before, .hero__tags li + li::before { content: "—" !important; margin-right: .8em; opacity: .7; }
@media (max-width: 860px) {
  .safe strong { font-size: 10px; letter-spacing: 0; }
  .land { margin-top: 40px; }
  .hero__char .bubble { right: auto; left: -70%; top: 30%; }
  .hero__char .bubble::after { right: auto; left: auto; right: -5px; bottom: 40%; }
  .contact__char .bubble { left: auto; right: 60%; top: -6%; }
}


/* v5.3 */
.hero__tags li::before, .hero__tags li + li::before { margin: 0 .8em 0 0 !important; }
@media (max-width: 860px) {
  .hero__char .bubble { left: -10%; right: auto; top: -16%; z-index: 7; }
  .hero__char .bubble::after { right: auto; left: 60%; bottom: -5px; }
  .contact__char .bubble { left: 0; right: auto; top: -14%; }
}


@media (max-width: 860px) { .land { margin-top: 76px; } }

/* v5.4: conceptos en una línea corrida, con el mismo estilo que "E-learning · Insumos láser" (sin guiones) */
.hero__tags { display: flex !important; flex-wrap: wrap; justify-content: flex-start; gap: 0; margin: 0 0 8px; }
.hero__tags li, .hero__tags li:nth-child(odd), .hero__tags li:nth-child(even),
.hero__place { font-family: var(--wide); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; opacity: .85; text-align: left; white-space: nowrap; }
.hero__tags li::before, .hero__tags li + li::before { content: none !important; }
.hero__tags li:not(:last-child)::after { content: "·" !important; margin: 0 .9em; }
.hero__tags li:nth-child(odd)::after { content: "·" !important; }
.hero__tags li:last-child::after { content: none !important; }
@media (max-width: 860px) {
  .hero__tags li, .hero__tags li:nth-child(odd), .hero__tags li:nth-child(even), .hero__place { font-size: 10px; letter-spacing: .12em; white-space: normal; }
}


/* v5.5: 3 líneas → (Letreros · Especialistas) / (Estaciones · Premios) / (E-learning · Insumos) */
@media (min-width: 861px) {
  .hero__tags { display: grid !important; grid-template-columns: auto auto; justify-content: start; gap: 10px 0; margin-bottom: 10px; }
  .hero__tags li:nth-child(odd)::after { content: "·" !important; margin: 0 .9em; }
  .hero__tags li:nth-child(even)::after { content: none !important; }
}


/* v5.6: 3 líneas de texto */
.hero__lines { margin-bottom: 34px; } .hero__lines .hero__place { margin: 0 0 10px; white-space: normal; }

/* v6: minero al nivel del texto (paralelo), mirando a la izquierda; colinas de fondo detrás del texto */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 4vw, 70px);
  min-height: min(100svh, 860px); padding: 130px var(--pad) clamp(90px, 9vw, 140px); position: relative; isolation: isolate; }
.hero__copy { grid-column: 1; position: relative; z-index: 2; padding: 0; }
.land { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 58%; margin: 0; overflow: visible; pointer-events: none; }
.land__svg { height: 100%; }
.hero__char, .hero .hero__char { grid-column: 2; position: relative; z-index: 3; left: auto !important; right: auto; bottom: auto; transform: none;
  width: clamp(200px, 21vw, 340px); align-self: center; margin: 0; }
.hero__char .char--miner img { transform: scaleX(-1); filter: drop-shadow(0 14px 22px rgba(80,30,0,.28)); }
.lamp { left: 7%; top: 8.5%; }
.hero__char .bubble { left: auto; right: 78%; top: 2%; }
.hero__char .bubble::after { left: auto; right: 14px; bottom: -5px; }
/* los textos sobre las colinas claras siguen legibles */
.hero__lines .hero__place { opacity: .95; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 104px var(--pad) 70px; row-gap: 28px; }
  .hero__char, .hero .hero__char { grid-column: 1; justify-self: center; width: 150px; }
  .hero__char .bubble { right: 82%; left: auto; top: 6%; }
  .hero__char .bubble::after { right: -5px; bottom: 40%; left: auto; }
  .land { height: 34%; margin: 0; }
}


/* v6.1 */
.land { height: 40%; }
.hero { padding-bottom: clamp(120px, 12vw, 190px); }
@media (max-width: 860px) { .land { height: 26%; } .hero__char .bubble { right: auto; left: 10%; top: -14%; } .hero__char .bubble::after { right: auto; left: 60%; bottom: -5px; } }

@media (max-width: 860px) { .hero { row-gap: 60px; } }

/* v7: escenas del personaje en Fábrica, Seguridad y Supply */
.fabrica { position: relative; }
.scene-fab { position: absolute; right: var(--pad); top: clamp(40px, 6vw, 90px); width: clamp(170px, 17vw, 270px); filter: drop-shadow(0 14px 18px rgba(60,30,0,.18)); pointer-events: none; }
.safety__miner { width: clamp(150px, 15vw, 240px); margin-bottom: -10px; transform: none; }
.split__media { position: relative; }
.split__photo { width: 86%; }
.scene-sup { position: absolute; right: -2%; bottom: -14%; width: 52%; filter: drop-shadow(0 16px 18px rgba(0,0,0,.22)); pointer-events: none; }
@media (max-width: 1080px) { .scene-fab { width: 150px; } }
@media (max-width: 860px) {
  .scene-fab { position: static; display: block; width: 150px; margin: 0 0 10px auto; }
  .safety__miner { display: block !important; width: 140px; margin: 0 0 0 auto; }
  .split__media { margin-bottom: 70px; }
  .scene-sup { width: 60%; bottom: -24%; }
}


/* escena agua en tarjeta */
.safe__art--img { object-fit: contain; padding: 4px; }
