/* =========================================================
   Gabriela Bustos — Portfolio
   ========================================================= */

:root {
  --red: #a60000;
  --red-deep: #7d0000;
  --paper: #f6f5f1;
  --paper-2: #ecebe5;
  --ink: #111111;
  --ink-2: #1b1b1b;
  --muted: #6c6a66;
  --blue: #3a6ff0;
  --pink: #f29ac4;
  --line: rgba(17, 17, 17, .14);
  --line-light: rgba(246, 245, 241, .16);

  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --pad: clamp(1.1rem, 3.2vw, 3rem);
  --radius: clamp(1.2rem, 3vw, 3.2rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { -webkit-tap-highlight-color: transparent; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .35vw + .9rem, 1.15rem);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--red); color: var(--paper); }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 300;
  background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: .6rem;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

/* ---------- shared ---------- */
.section { padding: clamp(5rem, 12vw, 10rem) var(--pad); position: relative; }
.section--dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(246, 245, 241, .6); }

.line { display: block; overflow: hidden; padding: .14em 0 .04em; margin: -.14em 0 -.04em; }
.split { display: inline-block; }
.char { display: inline-block; will-change: transform; }

.big-title {
  font-weight: 800;
  font-size: clamp(3.2rem, 11vw, 11rem);
  line-height: .86;
  letter-spacing: -.055em;
  color: var(--red);
  margin-top: 1.2rem;
}
.big-title--light { color: var(--paper); }

.hand { font-family: var(--hand); font-weight: 600; letter-spacing: 0; font-size: 1.35em; line-height: 1; }
.big-title .hand { font-size: .38em; vertical-align: top; display: inline-block; transform: rotate(-6deg) translateY(.2em); }
.hand--red { color: var(--ink); }
.hand--blue { color: var(--blue); }

/* hand-drawn ellipse */
.scribble-wrap { position: relative; display: inline-block; }
.scribble {
  position: absolute; left: -16%; top: -38%; width: 132%; height: 176%;
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round;
  pointer-events: none; overflow: visible;
}
.scribble-wrap--light .scribble { stroke: var(--paper); }

/* buttons */
.btn {
  --h: 3rem;
  display: inline-flex; align-items: center; gap: .6rem;
  height: var(--h); padding: 0 1.3rem;
  border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--ink); color: var(--paper);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .5s var(--ease); }
.btn:hover svg { transform: rotate(45deg); }
.btn--big { --h: clamp(3.6rem, 6vw, 5rem); font-size: clamp(1rem, 1.6vw, 1.4rem); padding: 0 2rem; background: var(--paper); color: var(--ink); }
.btn--big::before { background: var(--ink); }
.btn--big:hover { color: var(--paper); }

/* sticker */
.sticker--star { display: block; width: clamp(4.5rem, 8vw, 7.5rem); }
.sticker--star svg { width: 100%; fill: var(--pink); filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.sticker--rec, .rec {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--ink); color: var(--paper);
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  padding: .45rem .85rem; border-radius: 999px;
}
.sticker--rec i, .rec i { width: .7rem; height: .7rem; border-radius: 50%; background: #ff2a2a; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- preloader ---------- */
.preloader, .curtain { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad); background: var(--ink); color: var(--paper);
}
.no-anim .preloader, .no-anim .curtain { display: none !important; }
.preloader__inner { margin-top: auto; }
.preloader__name {
  font-weight: 800; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(3rem, 10vw, 9rem); text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: 0 .25em;
}
.preloader__name span { display: inline-block; }
.preloader__role { margin-top: 1rem; color: rgba(246,245,241,.55); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.preloader__count {
  position: absolute; right: var(--pad); top: var(--pad);
  font-weight: 800; font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.04em; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.preloader__bar { margin-top: 2rem; height: 2px; background: rgba(246,245,241,.15); }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.js .curtain { display: block; position: fixed; inset: 0; z-index: 199; background: var(--red); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

/* ---------- cursor ---------- */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor, .has-cursor .cursor-dot { opacity: 0; }
  .has-cursor.cursor-on .cursor, .has-cursor.cursor-on .cursor-dot { opacity: 1; }
  .has-cursor .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
    width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem;
    border: 1.5px solid var(--red); border-radius: 50%;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
  }
  .has-cursor .cursor-dot {
    display: block; position: fixed; left: 0; top: 0; z-index: 151; pointer-events: none;
    width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--red);
  }
  .cursor__label { font-size: .75rem; font-weight: 700; color: var(--paper); opacity: 0; transition: opacity .25s; text-transform: uppercase; letter-spacing: .06em; }
  .cursor.is-hover { width: 4.2rem; height: 4.2rem; margin: -2.1rem 0 0 -2.1rem; background: rgba(166,0,0,.12); }
  .cursor.is-label { width: 5.6rem; height: 5.6rem; margin: -2.8rem 0 0 -2.8rem; background: var(--ink); border-color: var(--ink); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-light { border-color: var(--paper); }
  .cursor-dot.is-light { background: var(--paper); }
}

.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }

.grain {
  position: fixed; inset: -50%; z-index: 140; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad);
  transition: transform .6s var(--ease), background-color .4s, backdrop-filter .4s, color .4s;
}
.nav.is-scrolled { background: rgba(246, 245, 241, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-dark { color: var(--paper); }
.nav.is-dark.is-scrolled { background: rgba(17,17,17,.35); }
.nav__logo { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.nav__mono {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--red); color: var(--paper); font-weight: 800; letter-spacing: -.04em; font-size: .95rem;
}
.nav__name { font-size: .95rem; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 2rem; margin-right: auto; margin-left: clamp(1.5rem, 4vw, 4rem); font-size: .95rem; font-weight: 500; }
.nav__link { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.nav__link span { display: block; position: relative; transition: transform .45s var(--ease); }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
.nav.is-dark .nav__link span::after { color: var(--pink); }
.nav__link:hover span { transform: translateY(-100%); }
.nav__right { display: flex; align-items: center; gap: 1.2rem; }
.nav__status { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink); background: rgba(246,245,241,.88); padding: .55rem .9rem; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav.is-dark .nav__status { color: var(--paper); background: rgba(246,245,241,.1); }
.nav__status i { width: .5rem; height: .5rem; border-radius: 50%; background: #1fbf5a; box-shadow: 0 0 0 0 rgba(31,191,90,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .55rem rgba(31,191,90,0); } 100% { box-shadow: 0 0 0 0 rgba(31,191,90,0); } }
.nav.is-dark .btn { background: var(--paper); color: var(--ink); }
.nav.is-dark .btn:hover { color: var(--paper); }

.nav__burger { display: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--ink); position: relative; }
.nav__burger span { position: absolute; left: 30%; right: 30%; height: 2px; background: var(--paper); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 42%; }
.nav__burger span:last-child { top: 56%; }
.menu-open .nav__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--red); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6.5rem var(--pad) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .nav { color: var(--paper); background: transparent; backdrop-filter: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-size: clamp(2.6rem, 12vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.02;
  display: flex; align-items: flex-start; gap: .6rem;
  transform: translateY(40%); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu__links small { font-size: .8rem; font-weight: 600; letter-spacing: .1em; margin-top: .9em; opacity: .6; }
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: flex; gap: 1.5rem; font-weight: 600; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  padding: 6.5rem var(--pad) 2rem;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero__roles {
  position: relative; z-index: 3;
  display: flex; gap: clamp(1.5rem, 9vw, 9rem);
  font-size: .85rem; font-weight: 500; text-transform: uppercase; letter-spacing: .02em;
  width: 52%;
}
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 1;
}
.hero__img {
  position: absolute; inset: 0;
  border-radius: 0 0 0 var(--radius);
  border-top-left-radius: var(--radius);
  overflow: hidden;
}
.hero__img img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; }
.hero__star { position: absolute; left: -2.5rem; bottom: 18%; z-index: 4; }

/* El título queda arriba de la cara: "SOCIAL MEDIA" cruza la parte alta de la foto
   y "MANAGER" termina antes de que empiece la imagen. */
.hero {
  --ht-top: clamp(6.5rem, 18vh, 11rem);
  --ht-size: min(10.6vw, 21vh);
}
.hero__title {
  position: absolute; z-index: 2; left: var(--pad); top: var(--ht-top);
  margin: 0;
  font-weight: 800; color: var(--red);
  font-size: var(--ht-size);
  line-height: .84; letter-spacing: -.06em;
  white-space: nowrap;
}
.hero__line1 { padding-left: 0; }
.hero__line2 { padding-left: 0; }

.hero__tag {
  position: absolute; z-index: 3; left: var(--pad); top: calc(var(--ht-top) + var(--ht-size) * 1.75 + 2.5rem);
  font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.8rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase;
  text-align: center;
}
.hero__tag .scribble { stroke-width: 1.6; }

.hero__bottom {
  position: relative; z-index: 3; margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 2rem;
  width: 54%;
}
.hero__name { font-weight: 800; font-size: clamp(1.1rem, 1.7vw, 1.6rem); text-transform: uppercase; letter-spacing: -.02em; }
.hero__intro { font-size: .95rem; color: var(--muted); max-width: 22rem; }
.hero__intro em { color: var(--ink); font-style: normal; font-weight: 600; }
.hero__scroll { position: relative; width: 6.5rem; height: 6.5rem; display: grid; place-items: center; }
.hero__scroll-ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.hero__scroll-ring svg { width: 100%; height: 100%; }
.hero__scroll-ring text { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink); }
.hero__scroll-arrow { font-size: 1.4rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; position: relative; }
.marquee__track { display: inline-flex; align-items: center; gap: 2rem; padding-right: 2rem; will-change: transform; }
.marquee--red { background: var(--red); color: var(--paper); padding: 1.1rem 0; transform: rotate(-1.5deg) scale(1.03); margin: -1rem 0; z-index: 5; }
.marquee--red .marquee__track { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 3.2rem); letter-spacing: -.04em; text-transform: uppercase; }
.marquee i { font-style: normal; opacity: .85; }
.marquee--outline { padding: 2rem 0 3rem; }
.marquee--outline .marquee__track {
  font-weight: 800; font-size: clamp(3.5rem, 10vw, 9rem); letter-spacing: -.05em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.marquee--outline i { color: var(--red); -webkit-text-stroke: 0; font-size: .5em; }

/* ---------- about ---------- */
.about { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.about__title {
  font-weight: 800; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.04em; text-transform: uppercase;
  margin-top: 1.5rem; margin-left: 1.5rem;
}
.about__statement {
  font-weight: 600; font-size: clamp(1.7rem, 4.3vw, 4.4rem);
  line-height: 1.05; letter-spacing: -.04em;
  max-width: 22ch; max-width: 26ch;
}
.about__statement strong { color: var(--red); font-weight: 800; }
.about__statement .word { display: inline-block; }
.about__grid { display: grid; grid-template-columns: minmax(14rem, 26rem) 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }

.polaroid {
  background: #fff; padding: .9rem .9rem 0; border-radius: .4rem;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.08);
  transform: rotate(-4deg);
}
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: .15rem; }
.polaroid figcaption { font-family: var(--hand); font-size: 1.6rem; text-align: center; padding: .6rem 0 .9rem; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 1.5rem; }
.stat__num { display: block; font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); letter-spacing: -.06em; line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: .6rem; color: var(--muted); font-size: .95rem; max-width: 18rem; }
.stats__note { grid-column: 1 / -1; padding-top: 1rem; font-size: .78rem; color: var(--muted); }

/* phone + reel frames */
.phone {
  width: clamp(14rem, 22vw, 19rem); aspect-ratio: 9 / 19.5;
  background: #0b0b0b; border-radius: 2.6rem; padding: .7rem;
  box-shadow: 0 0 0 1.5px #2a2a2a, 0 40px 80px -30px rgba(0,0,0,.7);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 1.15rem; left: 50%; transform: translateX(-50%); width: 28%; height: 1.2rem; border-radius: 1rem; background: #0b0b0b; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 2rem; overflow: hidden; background: #000; }
.phone__screen img, .phone__screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--sm { width: clamp(12rem, 17vw, 15rem); }

.reel {
  position: relative; aspect-ratio: 9 / 16; width: clamp(15rem, 24vw, 21rem);
  border-radius: 1.4rem; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.reel img, .reel video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel:hover img { transform: scale(1.06); }
.sound {
  position: absolute; right: .9rem; bottom: .9rem; z-index: 3;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(17,17,17,.62); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,.5);
  transition: transform .35s var(--ease), background-color .3s;
}
.sound:hover { transform: scale(1.1); }
.sound svg { grid-area: 1 / 1; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; }
.sound__on { display: none; }
.sound[aria-pressed="true"] { background: var(--red); }
.sound[aria-pressed="true"] .sound__on { display: block; }
.sound[aria-pressed="true"] .sound__off { display: none; }
.sound::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7); animation: soundPing 2.2s var(--ease) infinite;
}
.sound[aria-pressed="true"]::before { animation: none; opacity: 0; }
@keyframes soundPing { 0% { transform: scale(.85); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.reel .rec { position: absolute; top: 1rem; left: 1rem; font-size: .75rem; }
.reel__time { position: absolute; top: 1.15rem; right: 1rem; font-size: .75rem; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.reel::after { content: ""; position: absolute; inset: .6rem; border: 1.5px solid rgba(255,255,255,.55); border-radius: 1rem; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) top left / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) top right / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) bottom left / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) bottom right / 1.6rem 1.6rem no-repeat;
          mask: linear-gradient(#000 0 0) top left / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) top right / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) bottom left / 1.6rem 1.6rem no-repeat, linear-gradient(#000 0 0) bottom right / 1.6rem 1.6rem no-repeat; }
.reel--sm { width: clamp(12rem, 17vw, 15rem); }

/* ---------- clientes ---------- */
.clients__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.clients__lead { margin-top: 2rem; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); }
.clients__lead .hand { display: block; margin-top: .6rem; color: var(--red); font-size: 1.75rem; }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); perspective: 1200px; }
.client {
  position: relative; border-radius: 1.4rem; overflow: hidden; background: #fff;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; text-align: left; cursor: pointer;
  transform-style: preserve-3d; will-change: transform;
}
.client__logo { display: block; aspect-ratio: 4 / 3; position: relative; background: #fff; overflow: hidden; }
.client__logo img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; transition: transform .8s var(--ease); }
.client:hover .client__logo img { transform: scale(1.08); }
.client__logo--dark { background: #000; }
.client__logo--dark img { inset: 4%; width: 92%; height: 92%; }
.client__logo--photo img, .client__logo--pink img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.client__logo--pink { background: #f29ac4; }
.client__logo--ig img { inset: 6%; width: 88%; height: 88%; }
.client__logo--wide img { inset: 8%; width: 84%; height: 84%; }
.client__logo--avatar { background: linear-gradient(160deg, #fff 40%, #f1efe9); }
.client__logo--avatar img { inset: 14% 0 auto; left: 50%; width: auto; height: 54%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red), 0 14px 30px -12px rgba(0,0,0,.4); }
.client:hover .client__logo--avatar img { transform: translateX(-50%) scale(1.06); }
.client__handle { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.client__plus {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--paper); box-shadow: 0 6px 16px -6px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), background-color .3s;
}
.client__plus::before, .client__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 40%; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%); transition: background-color .3s;
}
.client__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.client:hover .client__plus { transform: rotate(90deg) scale(1.1); background: var(--red); }
.client:hover .client__plus::before, .client:hover .client__plus::after { background: var(--paper); }
.client__info {
  flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--paper);
  position: relative; z-index: 1; overflow: hidden; isolation: isolate;
}
.client__info::before { content: ""; position: absolute; inset: 0; background: var(--red); z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease); }
.client:hover .client__info::before { transform: none; }
.client:hover .client__info { color: var(--paper); }
.client__name { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; }
.client__svc { display: block; font-size: .8rem; color: var(--muted); text-align: right; transition: color .3s; }
.client:hover .client__svc { color: rgba(246,245,241,.8); }
.client--wide { grid-column: span 2; }
.client--wide .client__logo { aspect-ratio: auto; flex: 1; min-height: 10rem; }

/* ---------- panel de detalle de cada marca ---------- */
.detail { position: fixed; inset: 0; z-index: 180; visibility: hidden; pointer-events: none; }
.detail.is-open { visibility: visible; pointer-events: auto; }
html.detail-open { overflow: hidden; }
.detail__overlay { position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; }
.detail__panel {
  position: absolute; top: .75rem; right: .75rem; bottom: .75rem;
  width: min(46rem, calc(100vw - 1.5rem));
  display: flex; flex-direction: column;
  background: var(--paper); border-radius: 1.6rem;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
  transform: translateX(110%);
  outline: none;
}
.no-anim .detail.is-open .detail__overlay { opacity: 1; }
.no-anim .detail.is-open .detail__panel { transform: none; }
.detail__top {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.4rem; background: rgba(246,245,241,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.detail__grab { display: none; }
.detail__count { font-weight: 600; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.detail__count b { color: var(--red); font-weight: 800; }
.detail__nav { display: flex; gap: .5rem; }
.detail__arrow, .detail__close {
  width: 2.7rem; height: 2.7rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--ink); transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.detail__arrow:hover { background: var(--ink); color: var(--paper); }
.detail__close { background: var(--ink); color: var(--paper); margin-left: .4rem; }
.detail__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }
.detail__arrow svg, .detail__close svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.detail__content { flex: 1; padding: 2rem 1.8rem 1rem; }
.detail__head { display: flex; gap: 1.3rem; align-items: center; margin-bottom: 1.8rem; }
.detail__logo { position: relative; flex: none; width: 5.6rem; height: 5.6rem; border-radius: 1.3rem; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.detail__logo img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.detail__logo--dark { background: #000; }
.detail__logo--dark img { inset: 3%; width: 94%; height: 94%; }
.detail__logo--pink { background: var(--pink); }
.detail__logo--photo img, .detail__logo--pink img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail__sector { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.detail__name { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; color: var(--red); margin: .35rem 0 .45rem; }
.detail__role { font-weight: 600; }
.detail__body { display: flex; flex-direction: column; gap: 1.6rem; }
.detail__desc { font-size: 1.12rem; line-height: 1.55; }
.detail .tags li { border-color: var(--line); background: #fff; }
.detail__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail__metrics div { padding: 1.1rem 0; }
.detail__metrics strong { display: block; font-size: clamp(2.1rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--red); }
.detail__metrics span { font-size: .82rem; color: var(--muted); }
.detail__media { display: flex; flex-wrap: wrap; gap: 1.4rem 1.2rem; align-items: flex-start; padding-top: .4rem; }
.detail__media figure { display: flex; flex-direction: column; gap: .5rem; }
.detail__media figcaption { font-family: var(--hand); font-size: 1.35rem; line-height: 1; color: var(--muted); }
.detail__wide { width: 100%; }
.detail__media .phone--sm, .detail__media .reel--sm { width: 13rem; }
.detail__wide .post { width: min(100%, 24rem); }
.detail__foot { position: sticky; bottom: 0; z-index: 3; padding: 1.4rem 1.8rem 1.4rem; background: linear-gradient(rgba(246,245,241,0), var(--paper) 40%); }

/* marco de navegador y post */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1px solid var(--line-light); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; }
.browser { border-radius: 1rem; overflow: hidden; background: #0e0e10; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 30px 70px -28px rgba(0,0,0,.55); }
.browser__bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #1d1d20; }
.browser__bar i { flex: none; width: .62rem; height: .62rem; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { flex: 1; margin-left: .6rem; min-width: 0; font-size: .72rem; color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); border-radius: 999px; padding: .25rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { display: block; width: 100%; height: auto; }
.browser--light { background: #fff; border-color: var(--line); }
.browser--light .browser__bar { background: #ececec; }
.browser--light .browser__bar span { color: #555; background: rgba(0,0,0,.06); }
.post { position: relative; aspect-ratio: 4 / 5; width: clamp(18rem, 27vw, 25rem); border-radius: 1rem; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.post img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover img { transform: scale(1.05); }
.post__tag { position: absolute; top: 1rem; left: 1rem; background: var(--paper); color: var(--ink); font-weight: 800; font-size: .75rem; letter-spacing: .02em; padding: .45rem .8rem; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }

/* ---------- trabajos ---------- */
.work { background: var(--red); color: var(--paper); position: relative; overflow: hidden; }
.work__pin { height: 100vh; height: 100svh; display: flex; align-items: center; }
.work__track { display: flex; align-items: center; gap: clamp(3rem, 6vw, 7rem); padding: 0 var(--pad); will-change: transform; }
.panel { flex: none; position: relative; }
.panel--intro { width: auto; padding-right: 4vw; }
.work__title { white-space: nowrap; font-weight: 800; font-size: clamp(5rem, 15vw, 15rem); line-height: .8; letter-spacing: -.07em; margin-top: 1rem; }
.work__lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 24rem; margin-top: 1.6rem; color: rgba(246,245,241,.85); }
.work__lead .hand { display: block; font-size: 2rem; margin-top: .4rem; color: var(--paper); }
.panel--intro .sticker--rec { position: absolute; right: 8%; top: 18%; transform: rotate(8deg); font-size: 1.1rem; }

.panel--case { display: flex; align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.case__info { width: clamp(16rem, 22vw, 22rem); }
.case__kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,245,241,.65); }
.case__info h3 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: .8rem 0 1rem; }
.case__info p { color: rgba(246,245,241,.85); }
.case__kpis { margin-top: 1.4rem; display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.case__kpis li { padding: .7rem 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.case__kpis b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; margin-right: .3rem; }

.panel--reel { display: flex; flex-direction: column; gap: 1rem; }
.panel--browser .browser { width: clamp(24rem, 36vw, 34rem); }
/* Rodriguez: logos y mockup */
.logo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; width: clamp(24rem, 36vw, 34rem); }
.logo-trio span { position: relative; aspect-ratio: 1; background: #fff; border-radius: .9rem; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0,0,0,.55); transition: transform .6s var(--ease); }
.logo-trio span:nth-child(1) { transform: rotate(-4deg); }
.logo-trio span:nth-child(2) { transform: translateY(-.8rem); }
.logo-trio span:nth-child(3) { transform: rotate(4deg); }
.logo-trio span:hover { transform: translateY(-.4rem) scale(1.06); }
.logo-trio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.detail .logo-trio { width: 100%; padding: .6rem .4rem 0; }
.detail .logo-trio span { border: 1px solid var(--line); box-shadow: 0 16px 30px -20px rgba(0,0,0,.4); }
.panel--mock { display: flex; flex-direction: column; gap: 1rem; }
.mock { position: relative; width: clamp(24rem, 34vw, 32rem); aspect-ratio: 1 / .92; margin-bottom: 2.4rem; }
.mock__post { position: absolute; left: 0; top: 0; width: 64%; border-radius: .9rem; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.mock__phone { position: absolute; right: -4%; bottom: -6%; width: 52%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transition: transform 1s var(--ease); }
.panel--mock:hover .mock__phone { transform: translateY(-.6rem) rotate(-2deg); }
.panel--mock .reel__cap { width: clamp(24rem, 34vw, 32rem); }
.post--plain { width: 15rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,.45); }
.detail__mockup { width: 15rem; height: auto; filter: drop-shadow(0 20px 26px rgba(0,0,0,.3)); }
.panel--post { display: flex; flex-direction: column; gap: 1rem; transform: translateY(-3vh); }
.panel--post .reel__cap { width: clamp(18rem, 27vw, 25rem); }
.panel--reel:nth-of-type(even) { transform: translateY(6vh); }
.panel--reel:nth-of-type(odd) { transform: translateY(-5vh); }
.reel__cap { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.reel__cap span { font-weight: 700; }
.reel__cap b { font-weight: 500; color: rgba(246,245,241,.7); }

.panel--outro { width: min(36rem, 80vw); display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
.work__bar { display: none; }
.panel--outro p { font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }

/* ---------- servicios ---------- */
.services__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.services__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.service {
  border-radius: 1.6rem; padding: clamp(1.6rem, 2.6vw, 2.4rem); background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.2rem; min-height: 24rem;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.service:hover { background: var(--ink); color: var(--paper); transform: translateY(-.4rem); }
.service__num { font-weight: 800; color: var(--red); font-size: .95rem; }
.service h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }
.arrow-draw { width: 9rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service ul { margin-top: auto; display: flex; flex-direction: column; }
.service li { padding: .8rem 0; border-top: 1px solid var(--line); font-weight: 600; display: flex; gap: .7rem; transition: border-color .5s; }
.service:hover li { border-color: var(--line-light); }
.service li::before { content: "●"; color: var(--red); font-size: .6rem; margin-top: .45rem; }

.tools { margin-top: clamp(3rem, 6vw, 5rem); }
.tools__label { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.marquee--tools .marquee__track { gap: .8rem; padding-right: .8rem; }
.tool { border: 1.5px solid var(--ink); border-radius: 999px; padding: .7rem 1.4rem; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: -.02em; }
.tool:nth-child(3n+1) { background: var(--ink); color: var(--paper); }
.tool:nth-child(3n+2) { background: var(--red); color: var(--paper); border-color: var(--red); }

.edu { margin-top: clamp(5rem, 10vw, 8rem); display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; perspective: 1400px; }
.edu h3 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 1rem 0; }
.edu p { color: var(--muted); }
.edu__cert { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); transform-style: preserve-3d; }
.edu__shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); transform: translateX(-100%); pointer-events: none; }

/* ---------- planes ---------- */
.plans {
  border-radius: var(--radius) var(--radius) 0 0;
  padding-bottom: calc(var(--radius) + clamp(5rem, 10vw, 8rem));
  margin-bottom: calc(var(--radius) * -1);
}
.plans + .contact { position: relative; z-index: 1; }
.builder__dock { display: none; }
.plans__head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.plans__head .eyebrow { grid-column: 1 / -1; }
.plans__head .big-title { margin-top: 0; }
.hand--pink { color: var(--pink); }
.plans__lead { color: rgba(246,245,241,.72); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 26rem; justify-self: end; }

.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); align-items: stretch; perspective: 1400px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.6vw, 2.4rem); border-radius: 1.8rem;
  background: #1a1a1a; border: 1px solid var(--line-light);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.plan:hover { transform: translateY(-.6rem); border-color: rgba(246,245,241,.4); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.plan.is-animating { transition: none; }
.plan--featured { background: var(--red); border-color: var(--red); box-shadow: 0 50px 100px -40px rgba(166,0,0,.65); }
.plan--featured:hover { border-color: var(--pink); }
.plan__badge { position: absolute; top: -2.2rem; right: -1.2rem; width: 5.2rem; animation: spin 18s linear infinite; }
.plan__badge svg { width: 100%; fill: var(--pink); filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.plan__ribbon {
  position: absolute; top: -1rem; left: clamp(1.6rem, 2.6vw, 2.4rem);
  background: var(--paper); color: var(--red); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem .95rem; border-radius: 999px; transform: rotate(-3deg);
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.45);
}
.plan__head { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .4rem 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line-light); }
.plan--featured .plan__head, .plan--featured .plan__hero, .plan--featured .plan__list li { border-color: rgba(246,245,241,.28); }
.plan__tier { grid-column: 2; grid-row: 1; font-weight: 700; font-size: .85rem; color: rgba(246,245,241,.45); font-variant-numeric: tabular-nums; }
.plan__name { grid-column: 1; grid-row: 1; font-size: clamp(2.4rem, 4.2vw, 3.8rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; }
.plan__pitch { grid-column: 1 / -1; color: rgba(246,245,241,.7); font-size: .98rem; }
.plan--featured .plan__pitch, .plan--featured .plan__tier { color: rgba(246,245,241,.85); }
.plan__hero { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-light); }
.plan__hero strong { font-size: clamp(4.2rem, 7vw, 6rem); font-weight: 800; letter-spacing: -.07em; line-height: .8; color: var(--red); }
.plan--featured .plan__hero strong { color: var(--paper); }
.plan__hero span { font-weight: 700; line-height: 1.2; }
.plan__hero em { font-style: normal; font-weight: 500; color: rgba(246,245,241,.65); }
.plan--featured .plan__hero em { color: rgba(246,245,241,.85); }
.plan__list { flex: 1; padding: .6rem 0 1.6rem; }
.plan__list li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px solid var(--line-light); font-weight: 500; }
.plan__list li::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--red); transform: translateY(-.1rem); }
.plan--featured .plan__list li::before { background: var(--paper); }
.plan__list b { font-weight: 800; }
.plan__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1rem 1.3rem; border-radius: 999px;
  border: 1.5px solid rgba(246,245,241,.5); font-weight: 700;
  position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s;
}
.plan__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease); }
.plan__cta:hover { color: var(--ink); border-color: var(--paper); }
.plan__cta:hover::before { transform: none; }
.plan__cta svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .5s var(--ease); }
.plan__cta:hover svg { transform: translateX(.3rem); }
.plan--featured .plan__cta { background: var(--paper); color: var(--red); border-color: var(--paper); }
.plan--featured .plan__cta::before { background: var(--ink); }
.plan--featured .plan__cta:hover { color: var(--paper); border-color: var(--ink); }

.plans__note { display: flex; gap: .7rem; max-width: 48rem; margin: 2.2rem 0 0; color: rgba(246,245,241,.7); font-size: .98rem; }
.plans__star { color: var(--pink); }
.plans__note b { color: var(--paper); }

/* armador */
.builder {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start;
  margin-top: clamp(5rem, 10vw, 8rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-light);
  scroll-margin-top: 5rem;
}
.builder__intro { grid-column: 1; }
.builder__title { font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; text-transform: uppercase; margin: 1rem 0 1.2rem; }
.builder__title .hand { text-transform: none; font-size: .62em; display: inline-block; transform: rotate(-5deg); }
.builder__intro p { color: rgba(246,245,241,.72); max-width: 32rem; }
.builder__form { grid-column: 1; display: flex; flex-direction: column; gap: 2.4rem; }
.builder__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.builder__group legend { padding: 0; margin-bottom: .9rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,245,241,.55); }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-light); }
.qty:first-of-type { border-top: 1px solid var(--line-light); }
.qty__name { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; }
.qty__name small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: rgba(246,245,241,.5); }
.qty__ctrl { display: flex; align-items: center; gap: .3rem; flex: none; }
.qty__btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(246,245,241,.35); font-size: 1.3rem; font-weight: 500; line-height: 1;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.qty__btn:hover:not(:disabled) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.qty__btn:active:not(:disabled) { transform: scale(.9); }
.qty__btn:disabled { opacity: .3; cursor: default; }
.qty__val { min-width: 2.6rem; text-align: center; font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.qty.is-on .qty__val { color: var(--pink); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(246,245,241,.3);
  font-weight: 600; font-size: .95rem; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease);
}
.chip span::before { content: "+"; font-weight: 700; opacity: .6; transition: transform .4s var(--ease); }
.chip:hover span { border-color: var(--paper); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: var(--paper); }
.chip input:checked + span::before { content: "✓"; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.builder__group--text { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span { font-size: .9rem; font-weight: 600; color: rgba(246,245,241,.8); }
.field small { font-weight: 400; color: rgba(246,245,241,.5); }
.field input, .field textarea {
  font: inherit; font-size: 1.05rem; color: var(--paper); background: rgba(246,245,241,.05);
  border: 1.5px solid rgba(246,245,241,.18); border-radius: 1rem; padding: .85rem 1rem; resize: vertical;
  transition: border-color .3s, background-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(246,245,241,.35); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: rgba(246,245,241,.08); }

.ticket {
  grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 6rem;
  background: var(--paper); color: var(--ink); border-radius: 1.4rem 1.4rem .4rem .4rem;
  padding: 1.6rem 1.6rem 1.8rem; transform: rotate(1.2deg);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9);
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: radial-gradient(circle at 8px -2px, transparent 8px, var(--paper) 8.5px) 0 0 / 16px 12px repeat-x;
}
.ticket__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; border-bottom: 1.5px dashed rgba(17,17,17,.25); }
.ticket__label { font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; text-transform: uppercase; }
.ticket__base { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: var(--paper); padding: .35rem .7rem; border-radius: 999px; }
.ticket__lines { padding: .6rem 0; }
.ticket__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-weight: 600; font-size: .98rem; border-bottom: 1px solid var(--line); }
.ticket__lines li:last-child { border-bottom: 0; }
.ticket__lines li > span { display: block; }
.ticket__lines li > span::first-letter { text-transform: uppercase; }
.ticket__lines li b { font-weight: 800; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket__lines .is-sub { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 0; padding: .9rem 0 .2rem; }
.ticket__empty { color: var(--muted); padding: 1rem 0; font-size: .95rem; }
.ticket.has-items .ticket__empty { display: none; }
.ticket__tear { border-top: 1.5px dashed rgba(17,17,17,.25); margin: .4rem 0 1rem; }
.ticket__hand { font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--red); margin-bottom: 1.2rem; }
.ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.btn--red { background: var(--red); }
.btn--red::before { background: var(--ink); }
.ticket__send { width: 100%; justify-content: center; --h: 3.4rem; }
.ticket.is-empty .ticket__send { opacity: .45; pointer-events: none; }
.ticket__copy, .ticket__reset { font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; color: var(--muted); transition: color .3s; }
.ticket__copy:hover, .ticket__reset:hover { color: var(--red); }

/* ---------- contacto ---------- */
.contact { background: var(--red); color: var(--paper); padding: clamp(5rem, 10vw, 8rem) var(--pad) 1.5rem; border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden; }
.contact__title { font-weight: 800; font-size: clamp(5rem, 22vw, 24rem); line-height: .8; letter-spacing: -.07em; margin-top: 1rem; text-align: center; }
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(2rem, 5vw, 4rem); }
.contact__lead { font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 2.2rem); text-transform: uppercase; letter-spacing: -.03em; line-height: 1.05; max-width: 22rem; margin: 0 0 3rem 1.5rem; }
.contact__mail { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: .4rem; }
.contact__mail-label { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.contact__mail-addr {
  font-weight: 800; font-size: clamp(1.3rem, 3.1vw, 3.2rem); letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(currentColor 0 0) left bottom / 0 3px no-repeat; padding-bottom: .2rem;
  transition: background-size .6s var(--ease);
  overflow-wrap: anywhere;
}
.contact__mail:hover .contact__mail-addr { background-size: 100% 3px; }
.contact__links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.5rem; }
.contact__links a {
  display: inline-flex; flex-direction: column; padding: .9rem 1.4rem; border-radius: 1.2rem;
  border: 1.5px solid rgba(246,245,241,.4); transition: background-color .4s, color .4s, border-color .4s;
}
.contact__links a:hover { background: var(--paper); color: var(--red); border-color: var(--paper); }
.contact__links span { font-weight: 800; font-size: 1.1rem; }
.contact__links em { font-style: normal; font-size: .85rem; opacity: .75; }
.contact__polaroid { max-width: 22rem; justify-self: center; transform: rotate(5deg); }

.footer { margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.5rem; border-top: 1px solid rgba(246,245,241,.25); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .9rem; }
.footer__clock time { font-variant-numeric: tabular-nums; }

/* crédito Nativo Estudio Web (estética del estudio: noche estrellada, blanco y azul) */
.credit {
  --nativo-blue: #2f7bd6;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .55rem .9rem;
  padding: .85rem var(--pad);
  background:
    radial-gradient(1px 1px at 12% 40%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 75%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 41% 22%, rgba(140,200,160,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 68%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 72%, rgba(140,200,160,.45) 50%, transparent 51%),
    #05070d;
  color: rgba(255,255,255,.62); font-size: .8rem; letter-spacing: .01em; line-height: 1.2;
  border-top: 1px solid rgba(255,255,255,.08);
}
.credit__text { margin: 0; }
.credit__logo { display: inline-flex; align-items: center; color: #fff; font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; transition: color .3s; }
.credit__arrow { width: .95em; height: .95em; fill: currentColor; margin: .55em -.18em 0 0; position: relative; z-index: 1; }
.credit__sep { width: 1px; height: 1rem; background: rgba(255,255,255,.18); }
.credit__link { color: rgba(255,255,255,.78); transition: color .3s; }
.credit__ig { display: inline-flex; color: rgba(255,255,255,.78); transition: color .3s; }
.credit__ig svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.credit__ig .credit__ig-dot { fill: currentColor; stroke: none; }
.credit__logo:hover, .credit__link:hover, .credit__ig:hover { color: var(--nativo-blue); }

.toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 160; transform: translate(-50%, calc(100% + 3rem));
  background: var(--ink); color: var(--paper); padding: .9rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .6s var(--ease), visibility .6s; pointer-events: none; visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__status, .nav__name { display: none; }
  .nav__links { gap: 1.4rem; margin-left: 2rem; }
  .hero__roles { gap: 2rem; }
  .hero__roles li { white-space: nowrap; }
  .services__list { grid-template-columns: 1fr; }
  .service { min-height: 0; }
}

@media (max-width: 900px) {
  :root { --pad: 1.15rem; --radius: 1.6rem; }
  .section { padding: 4.5rem var(--pad); }

  /* nav */
  .nav { padding: .8rem var(--pad); }
  .nav__links, .nav__right .btn { display: none; }
  .nav__burger { display: block; }
  .nav__name { display: none; }
  .nav__mono { width: 2.5rem; height: 2.5rem; }
  .nav.is-dark .nav__mono { box-shadow: 0 0 0 1.5px rgba(246,245,241,.7); }
  .big-title .hand { font-size: .5em; }
  .client__info { justify-content: flex-start; }
  .client__handle { font-size: .62rem; bottom: 9%; }
  .menu__foot { flex-wrap: wrap; gap: .8rem 1.5rem; }

  /* hero: una pantalla, foto con sticker */
  .hero { min-height: 0; padding: 4.6rem var(--pad) 2.5rem; }
  .hero__roles { width: 100%; justify-content: space-between; gap: .5rem; font-size: .64rem; letter-spacing: .04em; }
  .hero__title { position: relative; left: auto; top: auto; order: 2; margin: 1.2rem 0 -1.45rem; font-size: 14vw; z-index: 3; }
  .hero__line1 { padding-left: 0; }
  .hero__line2 { padding-left: 13vw; }
  .hero__media { position: relative; order: 3; width: 100%; height: 54svh; min-height: 21rem; max-height: 34rem; }
  .hero__img { border-radius: var(--radius); }
  .hero__img img { height: 112%; object-position: 50% 30%; }
  .hero__star { left: auto; top: auto; right: .9rem; bottom: -1.6rem; width: 4.2rem; }
  .hero__tag {
    position: relative; left: auto; top: auto; order: 4; align-self: flex-start; z-index: 4;
    margin: -2.4rem 0 0 1rem; font-size: .95rem;
    background: var(--paper); padding: .7rem 1rem; border-radius: 999px;
    box-shadow: 0 10px 24px -12px rgba(0,0,0,.35);
  }
  .hero__tag .scribble { left: -10%; width: 120%; top: -30%; height: 160%; }
  .hero__bottom { order: 5; width: 100%; grid-template-columns: 1fr; gap: .6rem; margin-top: 1.8rem; }
  .hero__name { font-size: 1.25rem; }
  .hero__intro { font-size: .95rem; max-width: none; }
  .hero__scroll { display: none; }

  .marquee--red { padding: .8rem 0; }

  /* sobre mí */
  .about { gap: 2.5rem; }
  .about__title { margin-left: 1rem; font-size: 1.9rem; }
  .about__statement { font-size: 1.65rem; line-height: 1.12; }
  .about__grid { grid-template-columns: 1fr; }
  .about__polaroid { display: none; }

  /* clientes */
  .clients__head, .services__head { margin-bottom: 2.5rem; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .client { border-radius: 1.1rem; }
  .client--wide { grid-column: span 2; }
  .client--wide .client__logo { min-height: 0; flex: none; aspect-ratio: 2.4 / 1; }
  .client__info { flex-direction: column; gap: .15rem; padding: .8rem .9rem; }
  .client__name { font-size: .92rem; }
  .client__svc { text-align: left; font-size: .75rem; }
  .client__plus { top: .55rem; right: .55rem; width: 1.9rem; height: 1.9rem; }
  .clients__lead { margin-top: 1.4rem; font-size: 1rem; }
  .clients__lead .hand { font-size: 1.55rem; }

  /* panel de detalle como hoja inferior */
  .detail__panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; height: 92svh; border-radius: 1.5rem 1.5rem 0 0; transform: translateY(105%); }
  .detail__grab { display: block; position: absolute; top: .45rem; left: 50%; width: 2.6rem; height: 4px; border-radius: 4px; background: rgba(17,17,17,.2); transform: translateX(-50%); }
  .detail__top { padding: 1.15rem 1rem .75rem; }
  .detail__arrow, .detail__close { width: 2.5rem; height: 2.5rem; }
  .detail__content { padding: 1.4rem var(--pad) .5rem; }
  .detail__head { gap: 1rem; margin-bottom: 1.4rem; }
  .detail__logo { width: 4.3rem; height: 4.3rem; border-radius: 1rem; }
  .detail__name { font-size: 2.15rem; }
  .detail__desc { font-size: 1rem; }
  .detail__body { gap: 1.3rem; }
  .detail__media { gap: 1.2rem .8rem; }
  .detail__media figure:not(.detail__wide) { width: calc(50% - .4rem); }
  .detail__media .phone--sm, .detail__media .reel--sm { width: 100%; }
  .detail__media .phone--sm { padding: .45rem; border-radius: 1.7rem; }
  .detail__media .phone--sm .phone__screen { border-radius: 1.35rem; }
  .detail__media .phone--sm::before { top: .8rem; height: .8rem; }
  .detail__wide .post { width: 100%; }
  .detail__media figcaption { font-size: 1.2rem; }
  .detail__foot { padding: 1rem var(--pad) calc(1rem + env(safe-area-inset-bottom)); }
  .detail__foot .btn { width: 100%; justify-content: center; }
  .marquee--outline { padding: 1.5rem 0 2rem; }

  /* trabajos: carrusel deslizable */
  .work__pin { height: auto; display: block; padding: 4.5rem 0 3.5rem; }
  .work__pin > .panel--intro { width: auto; padding: 0 var(--pad) 2rem; }
  .work__title { font-size: 25vw; }
  .panel--intro .sticker--rec { right: var(--pad); top: 3.2rem; font-size: .9rem; }
  .work__lead { margin-top: 1rem; font-size: 1rem; }
  .work__lead .hand { font-size: 1.7rem; }
  .work__track {
    flex-direction: row; align-items: stretch; gap: .9rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
    padding: .5rem var(--pad) 1.2rem;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .work__track::-webkit-scrollbar { display: none; }
  .work__track > .panel { scroll-snap-align: start; }
  .panel--case {
    flex: 0 0 84vw; flex-direction: column; align-items: stretch; gap: 1.2rem;
    background: rgba(0,0,0,.16); border: 1px solid var(--line-light); border-radius: 1.5rem; padding: 1.4rem 1.2rem 1.3rem;
  }
  .panel--case .case__media { display: flex; justify-content: center; }
  .panel--case .phone { width: 52vw; max-width: 15rem; padding: .5rem; border-radius: 2rem; }
  .panel--case .phone__screen { border-radius: 1.6rem; }
  .panel--case .phone::before { top: .85rem; height: .9rem; }
  .case__info { width: 100%; }
  .case__info h3 { font-size: 1.9rem; margin: .5rem 0 .6rem; }
  .case__info p { font-size: .95rem; }
  .case__kpis { margin-top: 1rem; }
  .case__kpis li { padding: .55rem 0; font-size: .88rem; }
  .panel--browser .browser { width: 100%; }
  .logo-trio { width: 100%; gap: .5rem; }
  .panel--mock { flex: 0 0 84vw; gap: .8rem; }
  .mock, .panel--mock .reel__cap { width: 100%; }
  .detail__media .detail__mockup { width: 100%; }
  .detail__media .post--plain { width: 100%; }
  .mock { margin-bottom: 1.6rem; }
  .panel--post, .panel--post:nth-of-type(n) { flex: 0 0 80vw; transform: none; gap: .8rem; }
  .post, .panel--post .reel__cap { width: 100%; }
  .panel--reel, .panel--reel:nth-of-type(even), .panel--reel:nth-of-type(odd) { flex: 0 0 72vw; transform: none; align-items: stretch; gap: .8rem; }
  .reel { width: 100%; border-radius: 1.3rem; }
  .reel__cap { width: 100%; flex-direction: column; gap: .1rem; font-size: .88rem; }
  .work__bar { display: block; margin: .6rem var(--pad) 0; height: 3px; border-radius: 3px; background: rgba(246,245,241,.22); overflow: hidden; }
  .work__bar span { display: block; height: 100%; width: 100%; background: var(--paper); transform: scaleX(.12); transform-origin: left; transition: transform .2s linear; }
  .work__pin > .panel--outro { width: auto; padding: 3rem var(--pad) 0; gap: 1.4rem; }
  .panel--outro p { font-size: 2.3rem; }

  /* servicios */
  .services__list { gap: .8rem; }
  .service { padding: 1.4rem 1.3rem; gap: .9rem; border-radius: 1.3rem; }
  .service h3 { font-size: 1.45rem; }
  .arrow-draw { width: 6rem; }
  .service li { padding: .65rem 0; font-size: .95rem; }
  .tools { margin-top: 3rem; }
  .tool { padding: .55rem 1.1rem; }

  .edu { grid-template-columns: 1fr; margin-top: 4.5rem; gap: 1.8rem; }
  .edu h3 { font-size: 1.7rem; }
  .edu__cert { border-radius: .7rem; }


  /* planes */
  .plans { padding-bottom: calc(var(--radius) + 4rem); }
  .plans__head { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 3rem; }
  .plans__lead { justify-self: start; font-size: 1rem; }
  .plans .big-title .hand { display: block; margin-top: 0; padding: .35em 0 .25em .1em; transform: rotate(-2deg); font-size: .42em; }
  .plans__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .plan { padding: 1.5rem 1.3rem; border-radius: 1.5rem; }
  .plan:hover { transform: none; }
  .plan--featured { order: -1; margin-top: 1rem; }
  .plan__badge { width: 3.8rem; top: -1.6rem; right: -.4rem; }
  .plan__name { font-size: 2.6rem; }
  .plan__hero strong { font-size: 4.2rem; }
  .plan__list li { padding: .6rem 0; font-size: .98rem; }
  .plans__note { font-size: .92rem; margin-top: 1.8rem; }

  .builder { display: flex; flex-direction: column; gap: 2rem; margin-top: 4.5rem; padding-top: 3rem; }
  .builder__title { font-size: 2.7rem; }
  .builder__form { gap: 2rem; }
  .qty__name { font-size: 1.1rem; }
  .qty__btn { width: 2.75rem; height: 2.75rem; }
  .qty__val { min-width: 2.2rem; font-size: 1.45rem; }
  .chip span { padding: .65rem 1rem; font-size: .9rem; }
  .builder__dock {
    display: flex; position: sticky; bottom: max(.8rem, env(safe-area-inset-bottom)); z-index: 5;
    align-items: center; justify-content: space-between; gap: 1rem;
    padding: .55rem .55rem .55rem 1.1rem; border-radius: 999px;
    background: var(--paper); color: var(--ink); font-size: .92rem; font-weight: 600;
    box-shadow: 0 18px 40px -14px rgba(0,0,0,.8);
  }
  .builder__dock b { color: var(--red); font-weight: 800; font-size: 1.05rem; }
  .builder__dock-btn { background: var(--red); color: var(--paper); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }
  .ticket { position: relative; top: auto; transform: none; padding: 1.4rem 1.3rem 1.6rem; scroll-margin-top: 5rem; }

  /* contacto */
  .contact { padding: 4.5rem var(--pad) 1.5rem; }
  .contact__title { font-size: 20vw; white-space: nowrap; }
  .contact__grid { grid-template-columns: 1fr; gap: 2.8rem; margin-top: 2rem; }
  .contact__lead { margin: 1rem 0 2.8rem 1.4rem; font-size: 1.05rem; line-height: 1.12; max-width: 14.5rem; }
  .contact__lead .scribble { left: -20%; width: 140%; top: -62%; height: 224%; }
  .contact__mail-addr { font-size: 1.45rem; }
  .contact__links { display: grid; grid-template-columns: 1fr; gap: .6rem; margin-top: 2rem; }
  .contact__links a { display: flex; width: 100%; flex-direction: row; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-radius: 1rem; }
  .contact__links a::after { content: "↗"; font-weight: 700; margin-left: .8rem; }
  .contact__links em { margin-left: auto; }
  .contact__polaroid { max-width: 12.5rem; padding: .6rem .6rem 0; }
  .contact__polaroid figcaption { font-size: 1.3rem; padding: .4rem 0 .6rem; }
  .footer { margin-top: 3.5rem; flex-direction: column; gap: .4rem; font-size: .85rem; }
  .credit { padding: 1rem var(--pad) 1.1rem; font-size: .75rem; }
  .credit__text { width: 100%; text-align: center; }

  .toast { bottom: 1.2rem; max-width: calc(100vw - 2rem); text-align: center; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.4rem .9rem 1.4rem 0; }
  .stat:nth-child(even) { padding-left: .9rem; }
  .stat__num { font-size: 2.5rem; }
  .stat__label { font-size: .8rem; margin-top: .4rem; }
}

@media (max-width: 360px) {
  .hero__roles { font-size: .58rem; }
}

/* En pantallas táctiles no dejar estados hover "pegados" */
@media (hover: none) {
  .client:hover .client__info::before { transform: translateY(101%); }
  .client:hover .client__info { color: inherit; }
  .client:hover .client__svc { color: var(--muted); }
  .client:hover .client__plus { transform: none; background: var(--paper); }
  .client:hover .client__plus::before, .client:hover .client__plus::after { background: var(--ink); }
  .post:hover img { transform: none; }
  .client:hover .client__logo img, .reel:hover img { transform: none; }
  .service:hover { background: #fff; color: var(--ink); transform: none; }
  .service:hover li { border-color: var(--line); }
  .contact__links a:hover { background: transparent; color: inherit; border-color: rgba(246,245,241,.4); }
  .plan__cta:hover::before { transform: translateY(101%); }
  .plan__cta:hover { color: inherit; border-color: rgba(246,245,241,.5); }
  .plan--featured .plan__cta:hover { color: var(--red); border-color: var(--paper); }
  .qty__btn:hover:not(:disabled) { background: transparent; color: inherit; border-color: rgba(246,245,241,.35); }
  .chip:hover span { border-color: rgba(246,245,241,.3); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .js .preloader, .js .curtain { display: none; }
}
