/* ════════════════════════════════════════════════════════════
   BUGCONTENT / ultra-direct edition
   One job: start the WhatsApp conversation.
   ════════════════════════════════════════════════════════════ */

:root {
  --black: #0A0A0A;
  --off: #F2F0E9;
  --red: #FF3B30;
  --graphite: #1A1A1A;
  --gray: #8A8A8A;
  --green: #B6FF00;
  --font: "Inter Tight", "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Menlo", "Consolas", monospace;
  --ease-cine: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 80px;
  --pad-x: clamp(1.2rem, 5vw, 5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.has-cursor, html.has-cursor * { cursor: none; }

body {
  background: var(--black);
  color: var(--off);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }

::selection { background: var(--red); color: var(--black); }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
em { font-style: normal; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gray);
  text-transform: uppercase;
}

.sec-index { margin-bottom: 2.2rem; }
.sec-index::before { content: "["; color: var(--red); margin-right: .5em; }
.sec-index::after { content: "]"; color: var(--red); margin-left: .5em; }

.mega {
  font-size: clamp(2.8rem, 8.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
}
.mega--light { color: var(--off); }
.mega em { color: var(--red); }

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ════════════════ GRAIN ════════════════ */
#grain {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 9997; pointer-events: none; opacity: 0.55;
  mix-blend-mode: overlay;
}

/* ════════════════ CURSOR ════════════════ */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  display: none;
  align-items: center; justify-content: center;
  transition: width .3s var(--ease-cine), height .3s var(--ease-cine),
              background-color .3s var(--ease-cine), opacity .25s ease;
  will-change: transform;
}
html.has-cursor #cursor { display: flex; }
#cursor.grown { width: 80px; height: 80px; }
#cursor.pressing { width: 56px; height: 56px; }
#cursor-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  color: var(--black); font-weight: 700; white-space: nowrap;
  opacity: 0; transform: scale(.6); text-transform: uppercase;
  transition: opacity .25s ease .08s, transform .3s var(--ease-cine) .08s;
}
#cursor.grown #cursor-label { opacity: 1; transform: scale(1); }
#cursor.hidden { opacity: 0; }

/* ════════════════ HEADER ════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 3.5vw, 3rem);
  transition: height .4s var(--ease-cine), background-color .4s ease;
  background: transparent;
}
.site-header.scrolled {
  height: 62px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo { display: flex; align-items: center; gap: .7rem; }
.logo-word { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-word em { color: var(--red); font-weight: 400; }

.bug-mark { width: 84px; color: var(--off); }
.bug-mark--sm { width: 30px; }
.bug-mark--footer { width: 56px; color: var(--gray); }

.site-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
.site-nav a {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em;
  color: var(--gray); position: relative; padding: .4em 0;
  transition: color .3s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-cine);
}
.site-nav a:hover { color: var(--off); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; flex-direction: column; gap: 6px; padding: 10px; }
.nav-toggle i { width: 26px; height: 2px; background: var(--off); display: block; transition: transform .35s var(--ease-cine); }
.nav-toggle.open i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 890;
  background: var(--black);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: 2rem;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-cine);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu nav a {
  font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
}
.mobile-menu .btn-wa { align-self: flex-start; }

/* ════════════════ BUTTONS ════════════════ */
.btn-wa {
  display: inline-flex; align-items: center; gap: .7em;
  background: var(--green); color: var(--black);
  font-weight: 800; font-size: .78rem; letter-spacing: .06em;
  padding: .95em 1.6em; text-transform: uppercase;
  transition: transform .3s var(--ease-cine), box-shadow .3s ease;
  will-change: transform;
}
.btn-wa:hover { box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--green); }
.btn-wa--lg { font-size: .88rem; padding: 1.15em 1.9em; }
.btn-wa--xl {
  font-size: clamp(.95rem, 1.8vw, 1.25rem);
  padding: 1.3em 2.2em;
  box-shadow: 0 14px 44px rgba(182, 255, 0, .18);
}
.btn-wa--xl:hover { box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--green), 0 14px 44px rgba(182, 255, 0, .25); }
.wa-icon { width: 1.35em; height: 1.35em; flex: none; }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 1.05em 1.9em;
  border: 1px solid rgba(242, 240, 233, .28);
  transition: border-color .3s ease, color .3s ease;
  will-change: transform;
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.text-cta {
  display: inline-flex; align-items: center; gap: .8em;
  margin-top: 3.5rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em;
  font-weight: 700; text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .5em;
  transition: color .3s ease;
}
.text-cta i { font-style: normal; transition: transform .3s var(--ease-cine); }
.text-cta:hover i { transform: translateX(6px); }

.sec-content .text-cta { color: var(--black); }
.sec-content .text-cta:hover { color: var(--red); }

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--pad-x) 4rem;
  overflow: hidden;
}
.hero-set { position: absolute; inset: clamp(1rem, 3vw, 2.6rem); pointer-events: none; opacity: .5; }
.vf-corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--gray); }
.vf-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf-rec {
  position: absolute; top: 52px; right: 14px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em;
  color: var(--red); display: flex; align-items: center; gap: .55em;
}
.vf-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-inner { position: relative; z-index: 2; max-width: 1500px; width: 100%; margin: 0 auto; }
.hero-kicker { margin-bottom: 2rem; }
.hero-verbs {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 800; letter-spacing: .01em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 1.4rem;
}
.hero-verbs em { color: var(--red); }

.hero-headline {
  font-size: clamp(3rem, 9.2vw, 8.4rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: .9;
  text-transform: uppercase;
  margin-left: -0.04em;
}
.hero-headline em { color: var(--red); }
.hh-line { display: block; overflow: hidden; }
.hh-mask {
  display: inline-block; transform: translateY(110%);
  transition: transform .9s var(--ease-cine);
}
.hero-headline.on .hh-line:nth-child(1) .hh-mask { transition-delay: 0s; }
.hero-headline.on .hh-line:nth-child(2) .hh-mask { transition-delay: .09s; }
.hero-headline.on .hh-line:nth-child(3) .hh-mask { transition-delay: .18s; }
.hero-headline.on .hh-mask { transform: translateY(0); }

.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 2.5rem;
  margin-top: 3rem;
}
.hero-copy { max-width: 600px; color: var(--gray); }
.hero-copy p + p { margin-top: .9em; }
.hero-copy strong { color: var(--off); font-weight: 700; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-phone { width: 100%; margin-top: .4rem; }
.hero-phone a { color: var(--off); border-bottom: 1px solid #333; transition: color .3s ease, border-color .3s ease; }
.hero-phone a:hover { color: var(--green); border-color: var(--green); }

/* ════════════════ 02 · DIAGNOSIS ════════════════ */
.sec-content {
  background: var(--off); color: var(--black);
  padding: 16vh var(--pad-x) 14vh;
}
.content-answer { margin-top: 3.4rem; }
.content-copy { max-width: 600px; margin-top: 3.4rem; color: #4a4842; }
.content-copy p + p { margin-top: .7em; }
.content-copy__punch { margin-top: 1.6em !important; color: var(--black); }
.content-copy__punch strong { font-weight: 900; letter-spacing: .01em; }

/* ════════════════ 03 · CAPABILITIES ════════════════ */
.sec-caps {
  background: var(--black);
  padding: 16vh 0 14vh;
}
.sec-caps .sec-index, .caps-title, .caps-hint { padding: 0 var(--pad-x); }
.caps-title {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase;
}
.caps-hint { margin: 1.2rem 0 3.5rem; color: #5a5a5a; }
.caps-hint::before { content: "● "; color: var(--green); }

.caps-list { list-style: none; }
.cap { border-top: 1px solid #1c1c1c; }
.cap:last-child { border-bottom: 1px solid #1c1c1c; }
.cap a {
  display: flex; align-items: baseline; gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 1.35rem var(--pad-x);
  transition: background-color .3s ease, transform .3s var(--ease-cine);
}
.cap-idx { color: #3a3a3a; flex: none; transition: color .3s ease; }
.cap-word {
  font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  text-transform: uppercase; color: var(--off);
  flex: none;
  transition: color .3s ease;
}
.cap-desc {
  font-size: .82rem; color: var(--gray);
  max-width: 420px;
}
.cap-go {
  margin-left: auto; color: #3a3a3a;
  font-size: 1.4rem; font-weight: 400;
  transition: color .3s ease, transform .3s var(--ease-cine);
}
.cap a:hover { background: var(--graphite); transform: translateX(.5rem); }
.cap a:hover .cap-word { color: var(--green); }
.cap a:hover .cap-idx { color: var(--red); }
.cap a:hover .cap-go { color: var(--green); transform: translateX(6px); }

/* ════════════════ 04 · JOURNEY ════════════════ */
.sec-journey {
  background: var(--black);
  padding: 16vh var(--pad-x) 14vh;
  border-top: 1px solid #161616;
}
.journey-title {
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 900; letter-spacing: -0.03em; line-height: .92; text-transform: uppercase;
}
.journey-sub { margin-top: 1rem; }

.journey-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: #1c1c1c;
  border: 1px solid #1c1c1c;
  margin-top: 4rem;
}
.journey-grid li {
  background: var(--black);
  padding: 1.8rem 1.6rem;
}
.journey-grid b { display: block; color: var(--red); margin-bottom: 1.2rem; font-weight: 500; }
.journey-grid h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 900; letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.journey-grid p { color: var(--gray); font-size: .88rem; }
.journey-customer { outline: 1px solid rgba(182, 255, 0, .5); outline-offset: -1px; }
.journey-customer b { color: var(--green); }
.journey-customer h3 { color: var(--green); }

/* ════════════════ 06 · CREED ════════════════ */
.sec-creed {
  background: var(--off); color: var(--black);
  padding: 10vh var(--pad-x);
}
.sec-creed p {
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; text-transform: uppercase;
  max-width: 1100px;
}
.sec-creed em { color: var(--red); }

/* ════════════════ 07 · FINAL CTA ════════════════ */
.sec-cta {
  background: var(--black);
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 2.4rem;
  padding: 18vh 1.2rem;
}
.cta-headline {
  display: flex; flex-direction: column; gap: 1.2rem;
  font-size: clamp(2.6rem, 7.4vw, 6.8rem);
  font-weight: 900; letter-spacing: -0.035em; line-height: .92; text-transform: uppercase;
}
.cta-b em { color: var(--red); }
.cta-sub { color: var(--gray); }
.cta-alt { margin-top: .6rem; }
.cta-alt a { color: var(--off); border-bottom: 1px solid #333; transition: color .3s ease, border-color .3s ease; }
.cta-alt a:hover { color: var(--green); border-color: var(--green); }

/* ════════════════ FLOATING WHATSAPP ════════════════ */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 940;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(182, 255, 0, .5);
  opacity: 0; transform: translateY(20px) scale(.8);
  pointer-events: none;
  transition: opacity .4s var(--ease-cine), transform .4s var(--ease-cine);
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float .wa-icon { width: 30px; height: 30px; }
@keyframes waPulse {
  0% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(182, 255, 0, .45); }
  70% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 16px rgba(182, 255, 0, 0); }
  100% { box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 0 rgba(182, 255, 0, 0); }
}

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  background: var(--black);
  border-top: 1px solid #1c1c1c;
  padding: 5rem var(--pad-x) 2.4rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; align-items: start;
  padding-bottom: 4rem;
}
.footer-logo { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin-top: 1.2rem; }
.footer-logo em { color: var(--red); font-weight: 400; }
.footer-tag { margin-top: 1rem; color: var(--gray); font-size: .85rem; line-height: 1.7; text-transform: uppercase; letter-spacing: .04em; }

.footer-nav { display: flex; flex-direction: column; gap: .9rem; }
.footer-nav a {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; color: var(--gray);
  transition: color .3s ease, transform .3s var(--ease-cine);
}
.footer-nav a:hover { color: var(--off); transform: translateX(6px); }

.footer-sys { display: flex; flex-direction: column; gap: .9rem; }
.footer-sys p { display: flex; align-items: center; gap: .7em; }
.footer-sys a { transition: color .3s ease; }
.footer-sys a:hover { color: var(--green); }

.pulse-green {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  display: inline-block; flex: none; animation: blink 1.6s steps(2) infinite;
}

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid #1c1c1c;
  font-size: .6rem; color: #4a4a4a;
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cap-desc { display: none; }
}

@media (max-width: 900px) {
  .site-nav, .site-header .btn-wa { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-bottom: 6rem; }
  .hero-headline { font-size: clamp(2.8rem, 12.5vw, 4.2rem); }
  .mega { font-size: clamp(2.4rem, 11vw, 4.2rem); }
  .hero-foot { flex-direction: column; align-items: stretch; }
  .hero-copy { max-width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn-wa, .hero-ctas .btn-ghost { justify-content: center; text-align: center; }

  .btn-wa, .btn-ghost { min-height: 56px; }

  .cap a { padding-top: 1.2rem; padding-bottom: 1.2rem; }
  .cap-word { font-size: clamp(1.3rem, 6.4vw, 2rem); white-space: normal; }

  .footer-top { grid-template-columns: 1fr; gap: 2.6rem; }
}

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal], .hh-mask { opacity: 1 !important; transform: none !important; }
  #grain, #cursor { display: none !important; }
  .wa-float { opacity: 1; transform: none; pointer-events: auto; animation: none; }
}
