:root {
  --accent: #E1F911;
  --bg: #000;
  --fg: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
html { overflow-x: clip; }
body {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--accent); color: #000; }
p { text-wrap: pretty; }
h2, h3 { font-family: 'Bebas Neue', sans-serif; }
button { font-family: inherit; }

.g-unit { font-family: 'IBM Plex Mono', monospace; font-size: .46em; letter-spacing: 0; margin-left: .04em; }
.accent { color: var(--accent) !important; }
.eyebrow { font-size: 11px; letter-spacing: .2em; color: #555; margin-bottom: 10px; }
.p-body { margin: 0; font-size: 15px; line-height: 1.7; color: #cfcfcf; }
.p-body-sm { margin: 0; font-size: 15px; line-height: 1.7; color: #c8c8c8; }

.section-meta {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px;
  font-size: 11px; letter-spacing: .2em; color: #555;
}
.section-heading { max-width: 760px; margin: 28px 0 70px; }
.section-heading-narrow { max-width: 820px; margin: 28px 0 60px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 7vw, 110px); line-height: .86; letter-spacing: -.01em; }
.section-footer { display: flex; justify-content: space-between; margin-top: 22px; font-size: 11px; letter-spacing: .16em; color: #555; }

@keyframes k-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .15; } }

/* Custom cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none;
  mix-blend-mode: difference; transform: translate3d(-100px, -100px, 0); will-change: transform;
}
.cursor-dot { width: 14px; height: 14px; margin: -7px 0 0 -7px; background: var(--accent); border-radius: 50%; }
.cursor-label { position: absolute; top: 12px; left: 14px; font-size: 11px; letter-spacing: .14em; color: var(--accent); white-space: nowrap; opacity: 0; }
@media (max-width: 860px) { .cursor { display: none; } }

/* Intro */
.intro {
  position: fixed; inset: 0; z-index: 150; background: #000; overflow: hidden; will-change: transform;
}
.intro-grid {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px, transparent 1px, transparent 4px);
}
.intro-topbar {
  position: absolute; top: 22px; left: 24px; right: 24px; display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .18em; color: #555;
}
.intro-word { position: absolute; opacity: 0; transform: translate3d(0, 40px, 0) scale(.86); will-change: transform, opacity; }
.intro-word-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(30px, 5vw, 64px); line-height: .9; letter-spacing: .01em; }
.intro-word-g { font-size: 12px; letter-spacing: .16em; color: var(--accent); }

.counter-wrap { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; will-change: transform, opacity; }
.counter { font-family: 'Bebas Neue', sans-serif; font-size: clamp(90px, 18vw, 260px); line-height: .82; color: var(--accent); letter-spacing: -.01em; }
.counter-caption { font-size: 11px; letter-spacing: .3em; color: #666; margin-top: 6px; }

.intro-logo {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; will-change: transform, opacity;
}
.intro-logo-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(96px, 22vw, 340px); line-height: .8; letter-spacing: -.02em; }
.intro-tag { opacity: 0; text-align: center; }
.intro-tag-main { font-size: clamp(13px, 1.6vw, 18px); letter-spacing: .34em; color: var(--accent); }
.intro-tag-sub { margin-top: 14px; font-size: 12px; letter-spacing: .14em; color: #777; }

.intro-bar { position: absolute; bottom: 0; left: 0; height: 4px; width: 0%; background: var(--accent); }
.skip-btn {
  position: absolute; bottom: 26px; right: 24px; background: transparent; border: 1px solid #333; color: #888;
  font-size: 11px; letter-spacing: .2em; padding: 10px 16px; cursor: pointer; transition: border-color .2s, color .2s;
}
.skip-btn:hover { border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* HUD / header */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 130; display: flex; justify-content: space-between;
  align-items: flex-start; padding: 18px 24px; font-size: 11px; letter-spacing: .16em; color: #888;
  opacity: 0; pointer-events: none; transition: opacity .6s .3s;
}
.hud-brand { pointer-events: auto; display: flex; align-items: center; text-decoration: none; color: #fff; }
.hud-mark { height: clamp(48px, 6vw, 72px); width: auto; flex: 0 0 auto; display: block; object-fit: contain; }
.hud-right { display: flex; align-items: center; gap: 14px; }
.hud-social {
  pointer-events: auto; width: 44px; height: 44px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: #000; color: #fff; border: 1px solid #2a2a2a; transition: border-color .25s, color .25s;
}
.hud-social:hover { border-color: var(--accent); color: var(--accent); }

.burger {
  pointer-events: auto; position: relative; width: 52px; height: 52px; flex: 0 0 auto; background: #000;
  border: 1px solid #2a2a2a; cursor: pointer; padding: 0; transition: border-color .25s, background .25s;
}
.burger:hover { border-color: var(--accent); }
.burger-bar { position: absolute; left: 14px; width: 24px; height: 2px; background: #fff; transition: transform .4s cubic-bezier(.2,.8,.2,1), width .3s, background .25s; }
.burger-b1 { top: 19px; }
.burger-b2 { top: 26px; width: 14px; background: var(--accent); transition: opacity .25s, width .3s; }
.burger-b3 { top: 33px; }
.burger.is-open { background: var(--accent); border-color: var(--accent); }
.burger.is-open .burger-b1 { transform: translateY(7px) rotate(45deg); background: #000; }
.burger.is-open .burger-b3 { transform: translateY(-7px) rotate(-45deg); background: #000; }
.burger.is-open .burger-b2 { opacity: 0; }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: #000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .6s .3s, transform .2s, background .2s;
  box-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { background: #fff; transform: scale(1.06); }
@media (max-width: 480px) { .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; } }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 125; background: #000; transform: translate3d(0, -100%, 0);
  transition: transform .7s cubic-bezier(.76,0,.24,1); display: flex; flex-direction: column;
  justify-content: flex-start; overflow-y: auto; padding: 92px 24px 32px; will-change: transform;
}
.menu.is-open { transform: translate3d(0, 0, 0); }
.menu-grid {
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0px, rgba(255,255,255,.04) 1px, transparent 1px, transparent 5px);
}
.menu-list { position: relative; display: flex; flex-direction: column; max-width: 1100px; width: 100%; margin: 0 auto; }
.menu-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: min(14px,1.3vh) 0;
  border-top: 1px solid #1c1c1c; color: #fff; text-decoration: none; opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .6s cubic-bezier(.16,1,.3,1), color .2s, padding-left .3s;
}
.menu.is-open .menu-link { opacity: 1; transform: translateY(0); }
.menu-link:hover { color: var(--accent); padding-left: 16px; }
.menu-link-left { display: flex; align-items: baseline; gap: 18px; }
.menu-link-num { font-size: 11px; letter-spacing: .16em; color: #555; }
.menu-link-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px, min(5.6vw,7.2vh), 76px); line-height: .92; color: inherit; }
.menu-link-right { font-size: 11px; letter-spacing: .16em; color: #555; }
.menu-footer {
  position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  max-width: 1100px; width: 100%; margin: min(40px,4vh) auto 0; padding-top: 16px; border-top: 1px solid #1c1c1c;
  font-size: 11px; letter-spacing: .16em; color: #555;
}
.menu-mail { color: var(--accent); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px 24px 80px; border-bottom: 1px solid #1a1a1a;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 12.5vw 100%;
}
.hero-title { position: relative; will-change: transform; font-family: 'Bebas Neue', sans-serif; font-size: clamp(72px,20vw,300px); line-height: .78; letter-spacing: -.02em; }
.hero-cols {
  position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 32px;
  margin-top: 48px; max-width: 1400px;
}
.hero-weight { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.hero-weight-num { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px,6vw,84px); line-height: .85; color: var(--accent); }
.hero-weight-num .slash { color: #fff; }
.hero-weight-caption { font-size: 11px; letter-spacing: .16em; color: #777; }
.hero-footer {
  position: absolute; bottom: 26px; left: 24px; right: 24px; display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .18em; color: #444;
}
.hero-scroll { animation: k-blink 1.6s steps(1,end) infinite; color: var(--accent); }

/* Qué hacemos (mezcla) */
.mezcla { position: relative; min-height: 130vh; padding: 100px 24px; border-bottom: 1px solid #1a1a1a; }
.ing-list { display: flex; flex-direction: column; }
.ing-row {
  position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-top: 1px solid #222; cursor: default; transition: border-color .2s;
}
.ing-row-last { border-bottom: 1px solid #222; }
.ing-row:hover { border-color: var(--accent); }
.ing-left { display: flex; align-items: baseline; gap: 18px; }
.ing-code { font-size: 11px; letter-spacing: .16em; color: #555; }
.ing-name {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px,8vw,120px); line-height: .86;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), color .25s; display: inline-block;
}
.ing-row:hover .ing-name { transform: translateX(22px); color: var(--accent); }
.ing-badge {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(24px,3.4vw,52px); color: var(--accent); opacity: .18;
  transition: opacity .25s, transform .35s; display: inline-block;
}
.ing-row:hover .ing-badge { opacity: 1; transform: translateX(-14px); }

/* Servicios */
.servicios { position: relative; padding: 100px 24px; border-top: 1px solid #1a1a1a; }
.svc-list { display: flex; flex-direction: column; }
.svc-row { border-top: 1px solid #222; }
.svc-row-last { border-bottom: 1px solid #222; }
.svc-head {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 24px 0;
  cursor: pointer; background: none; border: none; color: inherit; text-align: left;
}
.svc-left { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.svc-name { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px,6.4vw,92px); line-height: .88; transition: color .25s; color: #fff; }
.svc-right { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.svc-g { font-family: 'Bebas Neue', sans-serif; font-size: clamp(20px,2.4vw,38px); line-height: 1; }
.svc-plus {
  width: 16px; height: 16px; position: relative; display: inline-block;
  transition: transform .45s cubic-bezier(.2,.8,.2,1); transform: rotate(0deg);
}
.svc-plus::before, .svc-plus::after { content: ""; position: absolute; background: var(--accent); }
.svc-plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.svc-plus::after { top: 0; left: 7px; width: 2px; height: 16px; }
.svc-row[aria-expanded="true"] .svc-plus,
.svc-panel-open + .svc-head .svc-plus { transform: rotate(135deg); }
.svc-panel { overflow: hidden; max-height: 0; transition: max-height .5s cubic-bezier(.2,.8,.2,1); }
.svc-panel-open { max-height: 520px; }
.svc-panel-inner { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 32px; padding: 0 0 34px; }
.svc-tags-wrap { display: flex; flex-direction: column; gap: 16px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { border: 1px solid #2a2a2a; padding: 8px 12px; font-size: 11px; letter-spacing: .14em; color: #999; }
.svc-bar { height: 2px; background: #161616; }
.svc-bar-fill { height: 100%; background: var(--accent); }
.svc-bar-caption { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; color: #555; margin-top: 8px; }

/* Balanza */
.balanza { position: relative; height: 260vh; border-top: 1px solid #1a1a1a; }
@media (max-width: 700px) { .balanza { height: 175vh; } }
.balanza-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.section-meta-abs { position: absolute; top: 22px; left: 24px; right: 24px; }
.scale { position: relative; width: min(1100px,86vw); height: 300px; }
.scale-beam { position: absolute; top: 50%; left: 0; right: 0; height: 6px; background: var(--accent); transform-origin: 50% 50%; will-change: transform; }
.scale-strut { position: absolute; top: 6px; width: 1px; height: 70px; background: #333; }
.scale-strut-l { left: 0; }
.scale-strut-r { right: 0; }
.scale-pan { position: absolute; top: 76px; width: clamp(170px,24vw,280px); }
.scale-pan-l { left: 0; }
.scale-pan-r { right: 0; }
.scale-card { border: 1px solid var(--accent); padding: 20px; text-align: center; background: #000; }
.scale-card-dashed { border: 1px dashed #333; }
.scale-value { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px,5vw,80px); line-height: .85; }
.scale-value-dim { color: #555; }
.scale-label { font-size: 11px; letter-spacing: .2em; color: #888; margin-top: 6px; }
.scale-label-dim { color: #555; }
.scale-post { position: absolute; top: calc(50% + 6px); left: 50%; width: 1px; height: 150px; background: #222; transform: translateX(-50%); }
.scale-base { position: absolute; top: calc(50% + 150px); left: 50%; width: 180px; height: 1px; background: #222; transform: translateX(-50%); }
.scale-copy { margin-top: 60px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.smoke-btn {
  background: var(--accent); border: none; color: #000; font-size: 12px; font-weight: 600; letter-spacing: .2em;
  padding: 14px 22px; cursor: pointer; transition: background .2s;
}
.smoke-btn:hover { background: #fff; }
.smoke-msg { font-size: 11px; letter-spacing: .16em; color: #555; opacity: 0; transition: opacity .3s; }

/* Proceso */
.proceso { position: relative; padding: 100px 24px; border-top: 1px solid #1a1a1a; }
.proc-rail { position: relative; height: 2px; background: #161616; margin-bottom: 44px; }
.proc-rail-fill { height: 100%; width: 0%; background: var(--accent); }
.proc-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 44px 36px; }
.proc-step { display: flex; flex-direction: column; gap: 14px; }
.proc-dot-line { height: 2px; background: #161616; position: relative; }
.proc-dot { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; background: #161616; transition: background .4s; }
.proc-num { font-family: 'Bebas Neue', sans-serif; font-size: clamp(56px,8vw,132px); line-height: .82; }
.proc-step h3 { margin: 0; font-size: clamp(26px,3.2vw,50px); line-height: .9; }
@media (min-width: 940px) { .proc-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
@media (max-width: 459px) { .proc-grid { grid-template-columns: 1fr; } }

/* Contacto / footer */
.contacto {
  position: relative; min-height: 100vh; background: var(--accent); color: #000; padding: 100px 24px 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 60px;
}
.contacto-meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .2em; color: #000; opacity: .6; }
.contacto-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(58px,15vw,240px); line-height: .78; letter-spacing: -.02em; }
.contacto-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; margin-top: 48px; }
.contacto-btn {
  display: inline-block; background: #000; color: var(--accent); font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px,3.4vw,46px); line-height: 1; padding: 18px 30px; transition: background .2s, color .2s;
}
.contacto-btn:hover { background: #fff; color: #000; }
.contacto-copy { font-size: 13px; line-height: 1.7; max-width: 340px; color: #000; }
.contacto-foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 11px; letter-spacing: .18em;
  opacity: .7; border-top: 1px solid rgba(0,0,0,.3); padding-top: 18px;
}
.contacto-ig { color: #000; opacity: 1; transition: opacity .2s; }
.contacto-ig:hover { opacity: .6; color: #000; }
