/* ================= TOKENS ================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --ink: #f2f2ee;
  --muted: #9a9a95;
  --light: #ecece8;
  --dark-ink: #0d0d0d;
  --line: rgba(255, 255, 255, 0.12);
  --violet: #7b5cff;
  --lime: #c6ff3d;
  --orange: #ff8a3d;
  --pink: #ff3dcb;
  --grad: linear-gradient(100deg, var(--violet), var(--pink) 55%, var(--orange));
  --f-display: "Archivo", "Arial Black", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: #000; }

.dot { color: var(--lime); }

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow.center, .center { text-align: center; }

/* display type */
.big-title, .fill-title, .hero__title, .contact__title, .footer__name, .section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.big-title { font-size: clamp(3rem, 11vw, 10rem); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* ================= LOADER ================= */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  font-family: var(--f-display);
}
.loader__word {
  font-size: clamp(3rem, 14vw, 12rem);
  font-weight: 900; font-variation-settings: "wdth" 125;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
}
.loader__count {
  position: absolute; bottom: var(--pad); right: var(--pad);
  font-size: clamp(2rem, 6vw, 5rem); font-weight: 800; font-variation-settings: "wdth" 110;
}

/* ================= CURSOR ================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255,255,255,.6);
  mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
.cursor__label { font-size: .75rem; font-weight: 700; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; border-color: #fff; }
.cursor.is-label { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--lime); border-color: var(--lime); mix-blend-mode: normal; }
.cursor.is-label .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ================= BUTTONS ================= */
.btn {
  --h: 3.4rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: var(--h); padding: 0 1.8rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  border: none; cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .4s var(--ease);
}
.btn span { position: relative; z-index: 2; display: inline-block; }
.btn--sm { --h: 2.6rem; padding: 0 1.2rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--grad { color: #fff; background: var(--bg); }
.btn--grad::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn--grad::after, .btn--ghost::after, .btn--dark::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: var(--grad); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover span { color: #000; }
.btn--dark { background: var(--dark-ink); color: #fff; }

/* ================= NAV ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem var(--pad);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(10,10,10,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1.3rem; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 2.2rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: var(--pad);
  clip-path: circle(0% at calc(100% - 2.5rem) 2.5rem); transition: clip-path .7s var(--ease);
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); }
.mobile-menu a { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 120; font-size: clamp(2.4rem, 10vw, 4rem); text-transform: uppercase; line-height: 1; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--pad) 3rem;
}
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; left: 50%; top: 55%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(123,92,255,.35), rgba(255,61,203,.12) 40%, transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.hero__grain {
  position: absolute; inset: -50%; opacity: .06; pointer-events: none; z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-5%,3%)} 50%{transform:translate(4%,-4%)} 75%{transform:translate(-3%,-2%)} 100%{transform:translate(2%,5%)} }

.hero__title {
  position: relative; z-index: 1; text-align: center;
  font-size: clamp(2.6rem, 12.5vw, 14rem);
  color: #e9e9e4;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; white-space: nowrap; }
.hero__line:nth-child(2) .ch { color: transparent; -webkit-text-stroke: 2px #e9e9e4; }
.split { display: inline-block; }
.split .ch { display: inline-block; will-change: transform; }

.hero__stage { position: relative; }
.hero__avatar {
  position: absolute; z-index: 2; left: 50%; top: 38%;
  width: clamp(220px, min(30vw, 50vh), 520px); translate: -50% 0;
  pointer-events: none;
}
.hero__avatar img { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); will-change: transform; }

.hero__bottom {
  position: relative; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-top: clamp(2rem, 8vw, 6rem);
}
.hero__bio { max-width: 28ch; font-size: clamp(.95rem, 1.1vw, 1.1rem); color: #cfcfca; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; line-height: 1.45; }
.hero__bio strong { color: var(--lime); }
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero__meta {
  position: relative; z-index: 3; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.hero__meta b { color: var(--ink); font-weight: 700; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: .5rem; box-shadow: 0 0 0 0 rgba(198,255,61,.7); animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(198,255,61,0); } }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 1.2rem; translate: -50% 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: none; }

@media (max-width: 700px) {
  .hero { justify-content: flex-start; padding-top: 7.5rem; }
  .hero__avatar { position: relative; left: auto; top: auto; translate: 0 0; margin: -1.5rem auto 0; width: min(78vw, 360px); }
  .hero__bottom { margin-top: 1rem; flex-direction: column; align-items: flex-start; }
}

/* ================= MARQUEE ================= */
.marquee { overflow: hidden; width: 100%; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.clients { padding: clamp(4rem, 9vw, 8rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client {
  display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 110;
  font-size: clamp(2rem, 5.5vw, 4.6rem); text-transform: uppercase; white-space: nowrap; line-height: 1.15;
  transition: color .3s;
}
.client:hover { color: var(--lime); }
.client .star { width: .55em; height: .55em; flex: none; color: var(--violet); }
.marquee--outline .client { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); }
.marquee--outline .client:hover { -webkit-text-stroke-color: var(--pink); }
.marquee--outline .client .star { color: var(--orange); }

/* ================= ABOUT ================= */
.about { position: relative; padding: clamp(6rem, 14vw, 12rem) var(--pad); text-align: center; overflow: hidden; }
.fill-title {
  position: relative; display: inline-block;
  font-size: clamp(3.2rem, 12vw, 11rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55);
}
.fill-title::after {
  content: attr(data-text); position: absolute; inset: 0;
  color: var(--ink); -webkit-text-stroke: 0;
  clip-path: inset(0 calc(100% - var(--fill, 0%)) 0 0);
}
.about__text { max-width: 30em; margin: 2.5rem auto 2.5rem; font-size: clamp(1.15rem, 2.2vw, 1.75rem); line-height: 1.45; font-weight: 600; }
.words .w { opacity: .14; transition: opacity .2s; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(4rem, 8vw, 7rem); max-width: 1200px; margin-inline: auto; }
.stat { padding: 2rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #161616, #0e0e0e); }
.stat b { display: block; font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .6rem; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* blobs (3D-ish CSS objects) */
.blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; will-change: transform; }
.blob--violet { width: clamp(90px, 12vw, 170px); aspect-ratio: 1; left: 6%; top: 14%; background: radial-gradient(circle at 30% 28%, #fff 0 4%, #b9a8ff 12%, var(--violet) 45%, #2b1580 100%); box-shadow: inset -12px -18px 30px rgba(0,0,0,.35), 0 30px 60px rgba(123,92,255,.35); animation: float 7s ease-in-out infinite; }
.blob--lime { width: clamp(60px, 8vw, 110px); aspect-ratio: 1; right: 9%; top: 18%; border-radius: 30%; background: radial-gradient(circle at 30% 25%, #fff 0 5%, #e8ff9c 14%, var(--lime) 45%, #5f8a00 100%); box-shadow: inset -10px -14px 24px rgba(0,0,0,.3), 0 25px 50px rgba(198,255,61,.25); animation: float 8s ease-in-out infinite reverse; rotate: 18deg; }
.blob--orange { width: clamp(70px, 9vw, 130px); aspect-ratio: 1; left: 10%; bottom: 22%; background: radial-gradient(circle at 32% 28%, #fff 0 4%, #ffc29a 14%, var(--orange) 45%, #a33c00 100%); box-shadow: inset -10px -16px 26px rgba(0,0,0,.3), 0 25px 50px rgba(255,138,61,.3); animation: float 9s ease-in-out infinite; }
.blob--pink.ring { width: clamp(80px, 10vw, 150px); aspect-ratio: 1; right: 8%; bottom: 26%; background: transparent; border: clamp(18px, 2.4vw, 34px) solid var(--pink); box-shadow: inset 0 -10px 20px rgba(0,0,0,.35), 0 25px 60px rgba(255,61,203,.35); animation: float 7.5s ease-in-out infinite reverse; }
.blob.small { width: 90px; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.about > *:not(.blob) { position: relative; z-index: 1; }
@media (max-width: 700px) { .blob { opacity: .55; } }

/* ================= LIGHT SECTIONS ================= */
.light { background: var(--light); color: var(--dark-ink); border-radius: var(--radius) var(--radius) 0 0; position: relative; z-index: 2; }
.light .eyebrow { color: #6c6c66; }

/* ================= SERVICES ================= */
.services { padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.services .big-title { color: var(--dark-ink); }
.service-list { list-style: none; border-top: 1px solid rgba(0,0,0,.15); }
.service {
  position: relative; display: grid; grid-template-columns: clamp(4rem, 12vw, 10rem) 1fr auto; gap: clamp(1rem, 3vw, 3rem); align-items: start;
  padding: clamp(1.8rem, 3.5vw, 3rem) 0; border-bottom: 1px solid rgba(0,0,0,.15);
  isolation: isolate; cursor: pointer;
}
.service::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: var(--dark-ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.service:hover::before, .service.is-open::before { transform: scaleY(1); }
.service:hover, .service.is-open { color: var(--ink); }
.service__num { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: .9; transition: color .4s; }
.service:hover .service__num { color: var(--lime); }
.service h3 { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 115; font-size: clamp(1.4rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; margin-top: .3rem; }
.service p { max-width: 52ch; margin-top: 1rem; color: inherit; opacity: .72; }
.service__body > p, .service__body > .tags { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; margin-top: 0; }
.service:hover .service__body > p, .service.is-open .service__body > p { max-height: 10em; opacity: .75; margin-top: 1rem; }
.service:hover .service__body > .tags, .service.is-open .service__body > .tags { max-height: 6em; opacity: 1; margin-top: 1.2rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .9rem; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }
.service__arrow { font-size: clamp(1.6rem, 3vw, 2.6rem); transition: transform .5s var(--ease), color .3s; }
.service:hover .service__arrow { transform: rotate(45deg); color: var(--lime); }
@media (hover: none) {
  .service__body > p { max-height: none; opacity: .75; margin-top: 1rem; }
  .service__body > .tags { max-height: none; opacity: 1; margin-top: 1.2rem; }
}

/* ================= PROCESS (horizontal) ================= */
.process { background: var(--light); color: var(--dark-ink); position: relative; z-index: 2; }
.process__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process__track { display: flex; gap: 1.5rem; padding: 0 var(--pad); align-items: stretch; will-change: transform; }
.process__intro { flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding-right: 3rem; }
.process .big-title { font-size: clamp(2.8rem, 8vw, 7.5rem); }
.process .outline { -webkit-text-stroke-color: var(--dark-ink); }
.step {
  flex: 0 0 clamp(260px, 28vw, 380px); min-height: clamp(320px, 50vh, 460px);
  border-radius: var(--radius); background: var(--dark-ink); color: var(--ink);
  padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.step::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; top: -15%; right: -15%; border-radius: 50%; background: var(--c); filter: blur(4px); opacity: .9; transition: transform .8s var(--ease); }
.step:hover::before { transform: scale(1.25); }
.step span { position: absolute; top: 1.6rem; left: 2rem; font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: 1rem; }
.step h3 { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 100; font-size: clamp(1.4rem, 2.1vw, 2.1rem); overflow-wrap: anywhere; text-transform: uppercase; line-height: 1; margin-bottom: .8rem; position: relative; }
.step p { color: #bdbdb8; position: relative; }
@media (max-width: 860px) {
  .process__pin { height: auto; padding: 5rem 0; overflow-x: auto; scroll-snap-type: x mandatory; }
  .step { scroll-snap-align: center; }
  .process__intro { flex-basis: 80vw; }
}

/* ================= PROJECTS (stacked cards) ================= */
.projects { position: relative; z-index: 3; background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); padding: clamp(5rem, 10vw, 9rem) var(--pad) clamp(4rem, 8vw, 8rem); }
.stack { max-width: 1250px; margin: 0 auto; display: grid; gap: 4vh; }
.card {
  position: sticky; top: calc(10vh + var(--i) * 2.2rem);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  background: #0d0d0d; padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: 0 -20px 60px rgba(0,0,0,.6), inset 0 0 0 6px #0d0d0d, inset 0 0 0 7px rgba(255,255,255,.07);
  transform-origin: center top; will-change: transform;
}
.card__head { display: flex; align-items: center; gap: 1.2rem; padding: .4rem .6rem 1.2rem; }
.card__num { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1; }
.card__client { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; line-height: 1.3; }
.card__client small { display: block; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: none; font-size: .8rem; }
.card__link { margin-left: auto; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.5); transition: background .3s, color .3s; }
.card__link:hover { background: var(--lime); color: #000; border-color: var(--lime); }
.card__body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.card__visual { border-radius: calc(var(--radius) - 8px); overflow: hidden; aspect-ratio: 16 / 10; position: relative; background: #1a1a1a; }
.card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__visual img { transform: scale(1.04); }
.card__side { display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.card__info { border-radius: calc(var(--radius) - 8px); background: #161616; padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.card__info h3 { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 115; font-size: clamp(1.3rem, 2.2vw, 2rem); text-transform: uppercase; line-height: 1; }
.card__info p { color: #b4b4ae; font-size: .95rem; }
.card__results { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.card__results span { font-size: .75rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; background: rgba(255,255,255,.07); }
.card__thumb { border-radius: calc(var(--radius) - 8px); overflow: hidden; height: clamp(90px, 12vw, 150px); position: relative; }

/* mockup placeholder */
.mock { position: absolute; inset: 0; background: radial-gradient(120% 120% at 0% 0%, var(--a) 0%, transparent 55%), radial-gradient(120% 120% at 100% 100%, var(--b) 0%, transparent 55%), #121212; overflow: hidden; }
.mock::before, .mock::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.mock::before { width: 45%; aspect-ratio: 1; left: 12%; top: 18%; background: radial-gradient(circle at 30% 30%, #fff 0 4%, var(--a) 40%, rgba(0,0,0,.6) 100%); animation: float 6s ease-in-out infinite; }
.mock::after { width: 28%; aspect-ratio: 1; right: 10%; bottom: 12%; background: radial-gradient(circle at 30% 30%, #fff 0 5%, var(--b) 40%, rgba(0,0,0,.6) 100%); animation: float 7s ease-in-out infinite reverse; }
.mock__win { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 62%; aspect-ratio: 16/10; border-radius: 14px; background: rgba(255,255,255,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.18); z-index: 1; padding: 6%; display: grid; grid-template-rows: auto 1fr; gap: 8%; }
.mock__bar { display: flex; gap: 6px; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.mock__lines { display: grid; align-content: start; gap: 9%; }
.mock__lines i { height: 9px; border-radius: 9px; background: rgba(255,255,255,.35); }
.mock__lines i:nth-child(1) { width: 70%; height: 16px; background: rgba(255,255,255,.75); }
.mock__lines i:nth-child(2) { width: 90%; }
.mock__lines i:nth-child(3) { width: 55%; }
.mock__lines i:nth-child(4) { width: 34%; height: 22px; border-radius: 22px; background: var(--a); }
.mock__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; background: rgba(0,0,0,.55); }

@media (max-width: 800px) {
  .card { position: relative; top: auto; }
  .card__body { grid-template-columns: 1fr; }
  .card__thumb { display: none; }
}

/* ================= TESTIMONIALS ================= */
.testimonials { padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.section-title { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: 3rem; text-transform: none; }
.emoji { display: inline-block; animation: float 4s ease-in-out infinite; }
.testi { flex: 0 0 auto; width: min(420px, 80vw); margin-right: 1.2rem; text-align: left; padding: 1.6rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 56px 1fr; gap: 1rem; white-space: normal; }
.testi img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testi p { font-size: .95rem; color: #d6d6d0; }
.testi b { display: block; margin-top: .8rem; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.testi small { color: var(--muted); }

/* ================= CONTACT ================= */
.contact { padding: clamp(5rem, 10vw, 9rem) var(--pad); overflow: hidden; margin-top: calc(var(--radius) * -1); }
.contact .blob { left: auto; right: 4%; top: 8%; }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; max-width: 1300px; margin: 0 auto; }
.contact__title { font-size: clamp(3rem, 8vw, 7.5rem); color: var(--dark-ink); }
.contact__mail { display: inline-block; margin-top: 2rem; font-weight: 800; font-size: clamp(1rem, 2vw, 1.6rem); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .4s var(--ease); word-break: break-all; }
.contact__mail:hover { background-size: 0 2px; background-position: 100% 100%; }
.contact__ig { display: block; margin-top: 1rem; font-weight: 700; color: var(--violet); }
.form { display: grid; gap: 1.4rem; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(0,0,0,.25);
  padding: 1.4rem 0 .6rem; color: var(--dark-ink); outline: none; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") right .2rem center no-repeat; }
.field label { position: absolute; left: 0; top: 1.3rem; color: #6c6c66; pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--violet); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.static { top: 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--violet); }
.field.error input, .field.error textarea { border-color: #e5484d; }
.form__note { min-height: 1.5em; font-size: .9rem; font-weight: 600; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ================= FOOTER ================= */
.footer { background: var(--bg); padding: clamp(4rem, 8vw, 7rem) var(--pad) 2rem; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); position: relative; z-index: 4; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }
.footer__name { font-size: clamp(3rem, 10vw, 8rem); color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.footer__name .dot { -webkit-text-stroke: 0; color: var(--lime); }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 6rem); }
.footer__cols h4 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1rem; color: var(--muted); }
.footer__cols a, .footer__cols span { display: block; margin-bottom: .4rem; font-weight: 600; }
.footer__cols a:hover { color: var(--lime); }
.shapes { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(.4rem, 1vw, 1rem); margin: clamp(3rem, 6vw, 5rem) 0 2rem; }
.shapes svg { width: 100%; height: auto; transition: rotate .7s var(--ease), scale .7s var(--ease); }
.shapes svg:hover { rotate: 90deg; scale: 1.08; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.totop:hover { color: var(--ink); }

/* ================= REVEALS ================= */
.reveal-up { opacity: 0; transform: translateY(40px); }
.no-js .reveal-up, .reduced .reveal-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-up { opacity: 1; transform: none; }
  .words .w { opacity: 1; }
}

/* ================= OVERFLOW GUARDS ================= */
html, body { overflow-x: clip; }
.stack { grid-template-columns: minmax(0, 1fr); }
.card, .card__info, .contact__grid > * { min-width: 0; }
.card__head { flex-wrap: wrap; }
.footer__cols a, .footer__cols span, .contact__mail { overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .service { grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 1rem; }
  .service__num { font-size: 2.2rem; }
  .footer__cols { flex-direction: column; gap: 1.5rem; }
  .card__link { margin-left: 0; }
}

/* ================= PROJECT CARDS v2 (real cases) ================= */
.card__body { grid-template-columns: 1.55fr 1fr; align-items: stretch; }
.card__visual { aspect-ratio: auto; min-height: clamp(300px, 36vw, 500px); }
.card__visual img { position: absolute; inset: 0; object-position: top center; }
.card__side { grid-template-rows: auto minmax(190px, 1fr); }
.card__info { padding: 1.4rem 1.5rem; gap: .7rem; }
.card__info h3 { font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1.02; }
.card__info p { font-size: .9rem; line-height: 1.5; }
.card__results span { background: rgba(198,255,61,.1); color: var(--lime); border: 1px solid rgba(198,255,61,.25); }
.card__thumb { height: auto; min-height: 190px; background: #161616; }
.card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.05); }
a.card__link { display: inline-flex; align-items: center; }

@media (max-width: 800px) {
  .card__thumb { display: block; min-height: 240px; }
  .card__visual { min-height: 220px; }
}

/* ---- Widget: sync (Mercado Libre → web) ---- */
.w-sync { position: absolute; inset: 0; padding: 1rem 1.1rem; display: grid; grid-template-rows: auto auto 1fr; gap: .7rem;
  background: radial-gradient(120% 100% at 100% 0%, rgba(31,59,255,.35), transparent 60%), radial-gradient(100% 100% at 0% 100%, rgba(255,230,0,.14), transparent 60%), #121212; }
.w-sync__row { display: flex; align-items: center; gap: .5rem; }
.w-sync__node { flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; }
.w-sync__node--ml { background: #ffe600; color: #2d3277; }
.w-sync__node--web { background: #1f3bff; color: #fff; }
.w-sync__pipe { position: relative; flex: 1; height: 2px; background: rgba(255,255,255,.15); overflow: hidden; border-radius: 2px; }
.w-sync__pipe i { position: absolute; top: -2px; left: -10%; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: flow 1.6s linear infinite; }
.w-sync__pipe i:nth-child(2) { animation-delay: .53s; }
.w-sync__pipe i:nth-child(3) { animation-delay: 1.06s; }
@keyframes flow { to { left: 105%; } }
.w-sync__count { display: flex; align-items: baseline; gap: .5rem; }
.w-sync__count b { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 120; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1; }
.w-sync__count span { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.w-sync__log { list-style: none; display: grid; align-content: start; gap: .35rem; overflow: hidden; }
.w-sync__log li { display: grid; grid-template-columns: 1.4rem auto 1fr auto; align-items: center; gap: .45rem; font-size: .74rem; padding: .42rem .6rem; border-radius: 10px; background: rgba(255,255,255,.05); animation: slideIn .5s var(--ease); white-space: nowrap; }
.w-sync__log li:first-child { background: rgba(198,255,61,.1); }
.w-sync__log b { font-weight: 700; }
.w-sync__log em { font-style: normal; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.w-sync__log time { font-size: .65rem; color: var(--lime); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---- Widget: WhatsApp chat ---- */
.w-chat { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; background: #0b141a; }
.w-chat__head { display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem; background: #1f2c34; }
.w-chat__head b { display: block; font-size: .85rem; line-height: 1.1; }
.w-chat__head small { font-size: .68rem; color: #25d366; }
.w-chat__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #8bc34a; color: #fff; font-weight: 800; font-size: .85rem; }
.w-chat__body { overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; padding: .7rem .8rem;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 14px 14px; }
.w-chat__msg { max-width: 82%; font-size: .78rem; line-height: 1.35; padding: .45rem .65rem; border-radius: 10px; animation: pop .35s var(--ease); flex: none; }
.w-chat__msg--in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.w-chat__msg--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.w-chat__typing { display: flex; gap: 4px; padding: .6rem .75rem; }
.w-chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); animation: blink 1s infinite; }
.w-chat__typing i:nth-child(2) { animation-delay: .15s; }
.w-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
/* keep stacked cards within one viewport */
@media (min-width: 801px) {
  .card__visual { min-height: clamp(280px, min(30vw, 50vh), 440px); }
  .card__side { grid-template-rows: auto minmax(160px, 1fr); }
  .card__thumb { min-height: 160px; }
  .card__head { padding-bottom: .9rem; }
}
@media (max-width: 800px) {
  .card__body { grid-template-columns: minmax(0, 1fr); }
  .card__side { grid-template-rows: auto 240px; }
  .card__info h3 { font-size: 1.25rem; }
}

/* ================= TESTIMONIALS v2 ================= */
.testimonials { position: relative; z-index: 3; }
.testimonials .section-title { text-transform: uppercase; }
.testi {
  flex: 0 0 auto; width: min(440px, 82vw); margin: 0 1.2rem 0 0; text-align: left; white-space: normal;
  display: flex; flex-direction: column; gap: 1.2rem; padding: 1.8rem;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, #151515, #0e0e0e);
  box-shadow: inset 0 0 0 6px #0e0e0e, inset 0 0 0 7px rgba(255,255,255,.06);
  transition: border-color .4s, transform .5s var(--ease);
}
.testi:hover { border-color: var(--lime); transform: translateY(-6px); }
.testi__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.testi__quote { font-family: var(--f-display); font-weight: 900; font-size: 4rem; line-height: .6; height: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.testi__tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; color: var(--lime); border: 1px solid rgba(198,255,61,.3); background: rgba(198,255,61,.08); }
.testi__text { font-size: 1.02rem; line-height: 1.55; color: #e2e2dc; flex: 1; }
.testi__who { display: flex; align-items: center; gap: .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.testi__who b { display: block; font-size: .95rem; margin: 0; letter-spacing: 0; text-transform: none; }
.testi__who small { color: var(--muted); font-size: .82rem; }
.testi__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; }
.testi__avatar--initials { display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 110; font-size: .9rem; }
.testimonials .marquee__track { align-items: stretch; padding: .5rem 0 1rem; }

/* ================= CONTACT v2 (WhatsApp) ================= */
.contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.contact__title { font-size: clamp(2.6rem, 5.4vw, 6rem); }
.contact__lead { max-width: 34ch; margin-top: 1.5rem; color: #4a4a45; font-size: 1.05rem; }
.wa-btn {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 2rem;
  padding: .9rem 1.4rem .9rem .9rem; border-radius: 999px;
  background: #25d366; color: #062e16; box-shadow: 0 18px 40px -12px rgba(37,211,102,.55);
  transition: transform .4s var(--ease), box-shadow .4s, background .3s;
}
.wa-btn:hover { background: #1ebe5b; box-shadow: 0 24px 50px -12px rgba(37,211,102,.7); }
.wa-btn__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #25d366; }
.wa-btn__icon svg { width: 30px; height: 30px; }
.wa-btn__txt small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.wa-btn__txt b { display: block; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 110; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.1; }
.wa-btn__arrow { font-size: 1.4rem; margin-left: .4rem; transition: transform .4s var(--ease); }
.wa-btn:hover .wa-btn__arrow { transform: rotate(45deg); }
.contact__alt { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.6rem; margin-top: 1.8rem; }
.contact__alt .contact__mail { margin-top: 0; font-size: 1rem; }
.contact__alt .contact__ig { margin-top: 0; }
.form { background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0,0,0,.25); }
.form__title { font-weight: 700; font-size: 1rem; line-height: 1.4; color: var(--dark-ink); }
.form .btn--dark::after { background: #25d366; }

/* floating WhatsApp */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem); z-index: 95;
  display: flex; align-items: center; gap: 0; height: 60px; padding: 0 0 0 0; border-radius: 999px;
  background: #25d366; color: #fff; box-shadow: 0 14px 34px -8px rgba(37,211,102,.6);
  overflow: hidden; transition: gap .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
}
.wa-float svg { width: 60px; height: 60px; padding: 14px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: .9rem; transition: max-width .5s var(--ease); }
.wa-float:hover { padding-right: 1.3rem; }
.wa-float:hover .wa-float__label { max-width: 9rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: waPulse 2.4s infinite; pointer-events: none; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
body.loading .wa-float { opacity: 0; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__title { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .wa-btn { width: 100%; }
}
