/* ALUNA — estilos. Tokens definidos en DESIGN.md */
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../assets/fonts/poppins-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face {
  font-family: "Belia";
  src: url("../assets/fonts/cs-belia.otf") format("opentype");
  font-display: swap;
}

:root {
  --marron: #442F2A;
  --rosa: #EDCCD6;
  --beige: #FDF6EC;
  --negro: #000;
  --blanco: #fff;
  --marron-70: rgba(68, 47, 42, .7);
  --rosa-60: rgba(237, 204, 214, .6);
  --rosa-fuerte: #DEA0B2;

  --f-mono: "Courier Prime", "Courier New", monospace;
  --f-display: "Belia", "Courier Prime", monospace;
  --f-sans: "Poppins", system-ui, sans-serif;

  --t-mega: clamp(3.5rem, 11vw, 11rem);
  --t-title: clamp(2.4rem, 4.6vw, 5rem);
  --t-xl: clamp(1.9rem, 4.2vw, 4.3rem);
  --t-l: clamp(1.6rem, 3vw, 2.6rem);
  --t-m: 1.25rem;
  --t-body: 1.0625rem;
  --t-s: .8125rem;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;
  --gutter: clamp(16px, 4vw, 56px);
  --r-s: 6px;
  --r-pill: 999px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--marron);
  color: var(--marron);
  font-family: var(--f-mono);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
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; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.label {
  font-size: var(--t-s);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  background: var(--marron);
  display: grid; place-items: center;
}
.intro__logo { width: min(34vw, 230px); overflow: visible; }
.intro__logo .iso-line { fill: none; stroke: var(--rosa); stroke-width: 3.5; stroke-linejoin: round; }
.intro__logo .iso-fill { fill: var(--rosa); }
.intro__count {
  position: absolute; left: var(--gutter); bottom: var(--s3);
  color: var(--rosa-60);
}
.intro__skip { position: absolute; right: var(--gutter); bottom: var(--s3); color: var(--rosa-60); }
.intro__skip:hover { color: var(--rosa); }

/* Capas: todo el contenido de la página vive en su propia capa, así ningún elemento
   (placas, tarjetas, sellos) puede quedar por encima de la barra de arriba. */
main, .footer { position: relative; z-index: 0; isolation: isolate; }
.pstack__deck { isolation: isolate; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 60; translate: -50% 0;
  display: flex; align-items: center; gap: var(--s4);
  max-width: calc(100vw - 24px);
  padding: 7px 7px 7px 22px; border-radius: var(--r-pill);
  background: rgba(68, 47, 42, .94); color: var(--rosa);
  border: 1px solid rgba(237, 204, 214, .2);
  box-shadow: 0 10px 30px rgba(30, 20, 18, .22);
  white-space: nowrap;
}
.nav__logo { flex: none; position: relative; display: block; }
.nav__logo .nav__iso { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; opacity: 0; pointer-events: none; color: currentColor; }
.nav__logo svg { width: 96px; height: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: var(--s3); }
.nav__links a:not(.btn) { position: relative; }
.nav__links a:not(.btn)::after,
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link { position: relative; }
.sound { display: inline-flex; align-items: center; gap: 6px; }
.sound__bars { display: inline-flex; gap: 2px; height: 12px; align-items: flex-end; }
.sound__bars i { width: 2px; height: 3px; background: currentColor; display: block; }
.sound.is-on .sound__bars i { animation: bar 1s var(--ease) infinite alternate; }
.sound.is-on .sound__bars i:nth-child(2) { animation-delay: -.3s; }
.sound.is-on .sound__bars i:nth-child(3) { animation-delay: -.6s; }
@keyframes bar { to { height: 12px; } }
/* Botón y lista del menú (solo celular) */
.nav__menu { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(237, 204, 214, .5); color: var(--rosa); position: relative; flex: none; }
.nav__menu i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__menu i:first-child { top: 15px; } .nav__menu i:last-child { top: 22px; }
.nav.is-menu .nav__menu i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-menu .nav__menu i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav-sheet { position: fixed; inset: 0; z-index: 59; background: rgba(30, 20, 18, .35); opacity: 0; transition: opacity .3s; }
.nav-sheet nav {
  position: absolute; top: 76px; left: 12px; right: 12px; padding: var(--s2);
  background: var(--marron); color: var(--rosa); border-radius: 28px; border: 1px solid rgba(237, 204, 214, .2);
  box-shadow: 0 20px 40px rgba(30, 20, 18, .3);
  display: grid; transform: translateY(-12px); transition: transform .35s var(--ease);
}
.nav-sheet a { font-family: var(--f-sans); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; padding: 14px 12px; border-bottom: 1px solid rgba(237, 204, 214, .15); }
.nav-sheet a:last-child { border-bottom: 0; }
.nav-sheet__lang { display: flex; align-items: center; justify-content: space-between; padding: 16px 12px 8px; margin-top: 4px; border-top: 1px solid rgba(237, 204, 214, .15); font-family: var(--f-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rosa-60); }
.nav-sheet a[aria-current="page"] { color: var(--rosa-fuerte); }
.nav-sheet .nav-sheet__talk { margin: 8px 0 4px; border: 0; justify-content: center; text-align: center; font-family: var(--f-mono); font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--rosa); color: var(--marron); border-radius: var(--r-pill); padding: 15px 12px; }
.nav-sheet.is-open { opacity: 1; }
.nav-sheet.is-open nav { transform: none; }
@media (max-width: 760px) {
  .nav__links .hide-m { display: none; }
  .nav__menu { display: block; }
  .nav__links { gap: 10px; }
  .nav__links > .btn { display: none; }
  .nav { padding-right: 7px; }
  .nav__logo svg { width: 72px; }
  .nav { padding-left: 14px; }
  .nav__logo svg { width: 80px; }
  .nav { gap: var(--s2); padding-left: 16px; }
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--rosa); --fg: var(--marron); --fill: var(--marron); --fill-fg: var(--rosa);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--fill);
  font-weight: 700; font-size: var(--t-s); letter-spacing: .04em; text-transform: uppercase;
  transition: color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; z-index: -1;
  left: var(--mx, 50%); top: var(--my, 50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(var(--grow, 40)); }
.btn:hover { color: var(--fill-fg); }
.btn__roll { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; }
.btn__roll span { display: block; transition: transform .45s var(--ease); }
.btn:hover .btn__roll span { transform: translateY(-100%); }
.btn--dark { --bg: var(--marron); --fg: var(--rosa); --fill: var(--rosa); --fill-fg: var(--marron); }

/* ---------- Hero / espiral ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  background: var(--negro); color: var(--rosa);
  overflow: hidden;
}
.helix-stage {
  position: absolute; inset: 0;
  perspective: 1500px; perspective-origin: 50% 50%;
}
.helix {
  position: absolute; left: 50%; top: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.helix__card {
  position: absolute; left: 0; top: 0;
  width: var(--cw, 190px); aspect-ratio: 3 / 4;
  margin: calc(var(--cw, 190px) * -.666) 0 0 calc(var(--cw, 190px) * -.5);
  border-radius: var(--r-s); overflow: hidden;
  background: #111;
  will-change: transform, filter;
}
.helix__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 42%);
}
.hero__msg {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none; text-align: center; padding: 0 var(--gutter);
}
.hero__line {
  grid-area: 1 / 1; width: 100%; max-width: 18ch; margin: 0; justify-self: center;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem); line-height: 1;
  letter-spacing: -.01em;
  opacity: 0;
}
.hero__line em { font-style: italic; font-weight: 400; text-transform: lowercase; }
.hero__line .ch { display: inline-block; }
.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--s3);
  display: flex; justify-content: space-between; align-items: end;
  color: var(--rosa-60);
}
.hero__down {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--rosa-60); display: grid; place-items: center; color: var(--rosa);
  animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Acerca de ---------- */
.about {
  position: relative;
  background: var(--beige);
  padding: var(--s16) var(--gutter);
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.about__title { margin: 0 0 var(--s6); }
.about__text {
  position: relative;
  margin: 0 auto; max-width: 24ch;
  font-size: var(--t-xl); line-height: 1.02; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.02em;
}
.about { overflow: hidden; }
html { overflow-x: clip; }

.about__text .w.accent { position: relative; }
.sticker {
  position: absolute; z-index: 2;
  padding: 8px 18px; border-radius: var(--r-pill);
  background: var(--rosa); color: var(--marron);
  border: 2px solid var(--marron);
  font-size: clamp(.8rem, 1.2vw, 1.05rem); font-weight: 700; letter-spacing: 0; text-transform: none;
  white-space: nowrap; line-height: 1.2;
  transform: rotate(var(--rot, -4deg)) scale(0);
}
.about__more {
  margin: var(--s8) auto 0; max-width: 54ch;
  font-size: var(--t-m); line-height: 1.5; color: var(--marron-70);
}
.about__more strong { color: var(--marron); }
.about__loop {
  position: absolute; right: -6vw; bottom: -8vw; width: 30vw; max-width: 380px; color: var(--rosa);
  pointer-events: none;
}

/* Banda de valores */
.band {
  background: var(--marron); color: var(--rosa);
  border-block: 2px solid var(--marron);
  overflow: hidden; white-space: nowrap;
  padding: var(--s2) 0;
}
.band__track { display: inline-flex; gap: var(--s6); animation: marquee 70s linear infinite; }
.band__track span { font-size: var(--t-l); font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: var(--s6); }
.band__track svg { width: 1.1em; height: 1.1em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.services {
  position: relative; background: var(--rosa); color: var(--marron);
  overflow: hidden;
}
.services__pin { position: relative; height: 100svh; min-height: 640px; }
.services__head {
  position: absolute; top: calc(var(--s12) + var(--s2)); left: var(--gutter); right: var(--gutter);
  display: grid; grid-template-columns: 1fr; justify-items: center; gap: var(--s1);
}
.services__title { margin: 0; }
.services__sub { margin: 0; }
@media (min-width: 861px) { .services__sub { white-space: nowrap; } }
/* Tarjetas colgadas de la línea */
.svc__view { position: absolute; left: 0; right: 0; bottom: 0; top: clamp(260px, 37svh, 350px); }
.svc__track {
  --cw: clamp(220px, min(20vw, 36svh), 320px);
  position: relative; height: 100%; width: max-content;
  padding: 0 var(--gutter);
}
.svc__line { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.svc__line path { fill: none; stroke: var(--marron); stroke-width: 4; stroke-linecap: round; }
.svc__cards {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: flex; align-items: flex-start; gap: clamp(28px, 3.2vw, 56px);
}
.svc { flex: none; width: var(--cw); margin-top: calc(var(--cw) * var(--dy) / 290); }
.svc__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 5 / 6; padding: clamp(16px, 1.6vw, 24px);
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--marron); border-radius: 16px;
  transform: rotate(var(--rot));
  box-shadow: 0 18px 40px -22px rgba(68,47,42,.55);
}
.svc__num { position: absolute; top: clamp(14px, 1.4vw, 20px); left: clamp(16px, 1.6vw, 24px); font-family: var(--f-mono); font-size: .9rem; }
.svc__name {
  margin: 0 0 .45em; font-family: var(--f-sans); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.25rem, 1.9vw, 1.9rem); line-height: .95; letter-spacing: -.02em;
}
.svc__desc { margin: 0; font-family: var(--f-sans); font-size: clamp(.78rem, .85vw, .9rem); line-height: 1.4; }
@media (max-width: 860px) {
  .services__pin { height: auto; min-height: 0; padding: var(--s12) 0 var(--s8); }
  .services__head { position: static; padding: 0 var(--gutter); }
  .svc__view {
    position: relative; top: auto; margin-top: var(--s8);
    overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 30px 0 24px;
  }
  .svc__view::-webkit-scrollbar { display: none; }
  .svc__track { --cw: min(72vw, 290px); height: auto; padding: 0 calc((100vw - var(--cw)) / 2); }
  .svc { scroll-snap-align: center; scroll-snap-stop: always; margin-top: 0; }
  .services__pin { padding: var(--s8) 0 var(--s4); }
  .svc__view { margin-top: var(--s4); padding: 26px 0 56px; overflow-y: hidden; } /* abajo deja lugar para la sombra de las tarjetas */
  .svc__view { overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
  /* puntitos y "Deslizá" debajo del carrusel */
  .svc__nav { display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); margin-top: var(--s1); }
  .svc__dots { display: flex; gap: 7px; }
  .svc__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--marron); opacity: .25; transition: opacity .3s, transform .3s; }
  .svc__dots i.is-on { opacity: 1; transform: scale(1.25); }
}
@media (min-width: 861px) { .svc__nav { display: none; } }

/* ---------- Proyectos ---------- */
.work {
  background: var(--marron); color: var(--rosa);
  padding: var(--s16) var(--gutter) var(--s12);
}
.work__head { display: flex; flex-direction: column; align-items: center; gap: var(--s1); margin-bottom: var(--s8); }
.work__title { margin: 0; }

/* Grilla de proyectos (portada + nombre) */
.work__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s3); }
.work--page { padding-top: calc(var(--s16) + var(--s2)); min-height: 100svh; }

/* ---------- Proyectos destacados ---------- */
.feat { background: var(--marron); color: var(--rosa); padding: var(--s12) 0; overflow: hidden; }
.feat__head { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: 0 var(--gutter); margin-bottom: var(--s6); }
.feat__rows { display: grid; gap: var(--s2); }
.feat__row { display: flex; gap: var(--s2); width: max-content; will-change: transform; }
.fcard {
  --h: clamp(220px, 27vw, 420px);
  position: relative; display: block; flex: none; height: var(--h); width: calc(var(--h) * var(--ar));
  border-radius: 16px; overflow: hidden; background: var(--marron); isolation: isolate;
}
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s var(--ease); }
.fcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 27, 24, .75), rgba(40, 27, 24, 0) 45%); transition: opacity .5s var(--ease); }
.fcard:hover img { transform: scale(1.05); opacity: .3; }
.fcard__info { position: absolute; z-index: 1; left: 18px; bottom: 16px; right: 70px; display: grid; gap: 8px; justify-items: start; }
.fcard__name { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1rem, 1.3vw, 1.3rem); line-height: 1.15; color: var(--beige); }
.fcard__dash, .fcard__bajada { font-weight: 300; }
.fcard__tag {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill); background: rgba(40, 27, 24, .55); color: var(--beige);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.fcard__arrow {
  position: absolute; z-index: 1; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rosa); color: var(--marron); display: grid; place-items: center;
  transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease);
}
.fcard:hover .fcard__tag { opacity: 1; transform: none; }
.fcard:hover .fcard__arrow { transform: scale(1) rotate(0); }
@media (hover: none) { .fcard__tag { opacity: 1; transform: none; } .fcard__arrow { transform: scale(1); } }
@media (max-width: 760px) { .fcard { --h: 230px; } }

.pcard { display: grid; gap: var(--s2); }
.pcard__img { display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 5; background: var(--marron); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.pcard:hover .pcard__img img { opacity: .32; }
.pcard__info { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: var(--s2); align-items: center; }
.pcard__name { font-family: var(--f-sans); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.4rem); line-height: 1; text-transform: uppercase; letter-spacing: -.03em; }
.pcard__tag { grid-row: 2; color: var(--rosa-60); font-size: var(--t-s); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.pcard__arrow { grid-row: 1 / 3; grid-column: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--rosa); color: var(--marron); display: grid; place-items: center; transition: transform .45s var(--ease); }
.pcard:hover .pcard__arrow { transform: rotate(45deg); }
@media (hover: hover) { .pcard, .pcard * { cursor: none !important; } }
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; gap: var(--s6); } }
.pcursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  min-width: 96px; height: 96px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--rosa); color: var(--marron); border: 2px solid var(--marron);
  display: grid; place-items: center;
  font-family: var(--f-sans); font-weight: 700; font-size: .95rem; text-transform: uppercase; white-space: nowrap;
}
.pcursor.has-logo { min-width: 0; padding: 0; border-radius: 0; background: none !important; border: 0; }
.pcursor.has-logo img { filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.pcursor img { width: 100%; height: 100%; object-fit: contain; }
.work__count { color: var(--rosa-60); margin: 0; }
.work__list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--rosa-60); }
.work__item a {
  display: grid; grid-template-columns: 56px 1fr auto 40px; align-items: center; gap: var(--s3);
  padding: clamp(18px, 2.4vw, 30px) 0;
  border-bottom: 1.5px solid var(--rosa-60);
  transition: padding .45s var(--ease), color .3s;
}
.work__num { color: var(--rosa-60); font-size: var(--t-s); }
.work__name { font-size: var(--t-l); font-weight: 700; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.work__tag { color: var(--rosa-60); font-size: var(--t-s); text-transform: uppercase; letter-spacing: .04em; text-align: right; }
.work__arrow { justify-self: end; transition: transform .45s var(--ease); }
.work__thumb { display: none; }
@media (hover: hover) {
  .work__list:hover .work__item a { color: var(--rosa-60); }
  .work__list .work__item a:hover { color: var(--rosa); padding-left: var(--s3); }
  .work__item a:hover .work__arrow { transform: rotate(-45deg); }
}
.work__float {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 24vw, 360px); aspect-ratio: 4 / 5;
  border-radius: var(--r-s); overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
}
.work__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.work__float img.on { opacity: 1; }
@media (max-width: 760px) {
  .work__item a { grid-template-columns: 1fr auto; gap: var(--s2); }
  .work__num, .work__arrow { display: none; }
  .work__thumb { display: block; grid-column: 1 / -1; border-radius: var(--r-s); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
  .work__tag { text-align: right; }
}

/* ---------- Contacto ---------- */
.contact {
  position: relative; background: var(--rosa); color: var(--marron);
  padding: var(--s6) var(--gutter) var(--s12);
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
.contact__kicker { margin: 0 0 var(--s3); font-family: var(--f-sans); font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: 0; text-transform: none; }
.contact__big {
  display: inline-block; font-family: var(--f-sans); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 1;
  padding: .22em .7em .26em; border-radius: var(--r-pill);
  background: var(--marron); color: var(--rosa);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
  will-change: transform;
}
.contact__big::before {
  content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--beige);
  transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease);
}
.contact__big:hover::before { transform: translate(-50%, -50%) scale(var(--grow, 300)); }
.contact__big:hover { color: var(--marron); }
.contact__note { margin: var(--s4) auto 0; max-width: 34ch; font-family: var(--f-sans); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.45; }
.contact__pattern { position: absolute; inset: 0; pointer-events: none; opacity: .5; }

/* Panel "hablemos" */
.talk {
  position: fixed; inset: 0; z-index: 90;
  background: var(--marron); color: var(--rosa);
  clip-path: circle(0 at var(--cx, 50%) var(--cy, 50%));
  visibility: hidden;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: var(--s3) var(--gutter);
}
.talk.is-open { visibility: visible; }
.talk__top { display: flex; justify-content: space-between; align-items: center; }
.talk__close { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rosa); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.talk__close:hover { transform: rotate(90deg); background: var(--rosa); color: var(--marron); }
.talk__body { align-self: center; max-width: 1100px; }
.talk__q { margin: 0 0 var(--s6); font-size: var(--t-xl); line-height: 1.02; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.talk__links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.talk__links a { font-size: var(--t-l); font-weight: 700; display: inline-flex; gap: var(--s2); align-items: center; }
.talk__links a span { color: var(--rosa-60); font-size: var(--t-s); text-transform: uppercase; letter-spacing: .04em; min-width: 11ch; }
.talk__iso { position: absolute; right: -4vw; bottom: -6vw; width: 34vw; max-width: 420px; color: var(--rosa); opacity: .12; pointer-events: none; }
/* Formulario + contacto al costado */
.talk { overflow-y: auto; overscroll-behavior: contain; }
.talk__body { width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s8); align-items: start; position: relative; z-index: 1; padding: var(--s4) 0; }
.talk__side { font-family: var(--f-sans); }
.talk__side .talk__q { margin-top: -.12em; font-family: var(--f-sans); font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: var(--s4); }
.talk__side .talk__links { gap: var(--s3); }
.talk__side .talk__links a { font-family: var(--f-sans); font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 600; letter-spacing: -.01em; }
.talk__side .talk__links a span { font-family: var(--f-sans); font-size: .75rem; font-weight: 500; letter-spacing: .12em; }
.tform { display: grid; gap: 14px; font-family: var(--f-sans); }
.tform input, .tform select, .tform textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--rosa);
  background: rgba(237, 204, 214, .04); border: 1.5px solid var(--rosa-60); border-radius: var(--r-pill);
  padding: 17px 24px; outline: none; transition: border-color .25s, background .25s;
}
.tform textarea { border-radius: 28px; resize: vertical; min-height: 150px; line-height: 1.5; }
.tform ::placeholder { color: var(--rosa-60); opacity: 1; }
.tform input:focus, .tform select:focus, .tform textarea:focus { border-color: var(--rosa); background: rgba(237, 204, 214, .08); }
.tform .is-bad { border-color: var(--rosa-fuerte); }
.tform__sel { position: relative; }
.tform__sel::after { content: ""; position: absolute; right: 26px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tform select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 56px; }
.tform select option { color: var(--marron); background: var(--beige); }
.tform__foot { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-top: 4px; }
.tform__btn {
  font-family: var(--f-mono); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--beige); color: var(--marron); border-radius: var(--r-pill); padding: 18px 40px;
  transition: background .3s, transform .3s var(--ease);
}
.tform__btn:hover { background: var(--rosa); transform: translateY(-2px); }
.tform__note { margin: 0; font-size: .85rem; color: var(--rosa-60); }
.talk { overflow-x: hidden; }
@media (max-width: 860px) {
  .talk__body { grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-self: start; }
  .talk__iso { display: none; }
  .talk__side .talk__links a { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 1.2rem; overflow-wrap: anywhere; }
  .talk__side .talk__links a span { min-width: 0; }
}

/* ---------- Pie de página ---------- */
.footer {
  background: var(--marron); color: var(--rosa); overflow: hidden;
  padding: var(--s12) var(--gutter) 0; font-family: var(--f-sans);
}
.footer__grid, .footer__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .7fr); gap: var(--s6); }
.footer__head { margin: 0 0 var(--s3); max-width: 11ch; font-weight: 600; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.footer__k { margin: 0 0 var(--s2); font-size: .85rem; opacity: .6; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__col a { font-weight: 500; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 6px; }
.footer__row { margin-top: var(--s8); align-items: end; }
.footer__row p { margin: 0; font-size: 1rem; line-height: 1.4; }
.footer__mail { font-weight: 500; font-size: 1.05rem; }
.footer__copy { margin: var(--s4) 0 var(--s1); font-size: .75rem; opacity: .6; }
.footer__big { line-height: 0; overflow: hidden; }
.footer__big svg { display: block; width: 100%; height: auto; color: var(--beige); }
.footer__big svg g path { transform-box: fill-box; }
.footer__play { position: absolute; right: var(--gutter); bottom: var(--s2); margin: 0; font-size: .7rem; opacity: .45; pointer-events: none; }
@media (hover: none) { .footer__play { display: none; } }
@media (max-width: 760px) {
  .footer__grid, .footer__row { grid-template-columns: 1fr 1fr; }
  .footer__intro, .footer__row > div, .footer__row > p:nth-child(2) { grid-column: 1 / -1; }
}

/* ---------- Página de proyecto ---------- */
#project { display: flow-root; background: var(--beige); color: var(--marron); font-family: var(--f-sans); }
/* Portada con el nombre encima */
.pj-hero { position: relative; height: 100svh; min-height: 560px; padding: 10px; background: var(--beige); }
.pj-hero__media { position: absolute; inset: 10px; border-radius: 24px; overflow: hidden; background: var(--marron); }
.pj-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pj-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40, 27, 24, .78), rgba(40, 27, 24, .1) 55%, rgba(40, 27, 24, .25)); }
.pj-hero__over { position: absolute; left: calc(10px + var(--gutter)); right: calc(10px + var(--gutter)); bottom: calc(10px + var(--s6)); color: var(--beige); }
.pj-hero__lead { margin: 0 0 var(--s2); font-weight: 500; font-size: clamp(.95rem, 1.3vw, 1.2rem); letter-spacing: .02em; opacity: .9; }
.pj-title { margin: 0; font-weight: 700; font-size: clamp(3rem, min(11vw, calc(110vw / var(--len, 6))), 12rem); line-height: .88; letter-spacing: -.055em; }
.pj-title .ch { display: inline-block; }
/* el padding deja lugar a las curvas y tildes (S, O, Í) que pasan la caja; el margen negativo lo compensa */
.pj-word { display: inline-block; white-space: nowrap; overflow: hidden; padding: .24em .08em .14em; margin: -.24em -.08em -.14em; vertical-align: top; }
/* Ficha + texto */
.pj-info { display: grid; grid-template-columns: minmax(200px, .55fr) minmax(0, 1.45fr); gap: var(--s8); padding: var(--s12) var(--gutter); }
.pj-meta { position: sticky; top: 110px; align-self: start; }
.pj-back {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: var(--r-pill); border: 1.5px solid currentColor;
  font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s;
}
.pj-back:hover { background: var(--marron); color: var(--beige); }
.pj-meta dl { margin: var(--s6) 0 0; display: grid; gap: var(--s3); }
.pj-meta dt { font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin-bottom: 4px; }
.pj-meta dd { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.pj-text p { margin: 0 0 1.1em; max-width: 60ch; font-weight: 300; font-size: 1.1rem; line-height: 1.65; }
.pj-text p.pj-text__first { max-width: 38ch; font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.8rem); line-height: 1.25; letter-spacing: -.03em; margin-bottom: var(--s4); }
.pj-text strong { font-weight: 600; }
/* Galería */
.pj-gal { padding: 0 10px; display: grid; gap: 10px; }
.pj-gal + .pj-gal { margin-top: 10px; }
.pj-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; }
.pj-row figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: var(--ar); background: rgba(68, 47, 42, .06); }
.pj-row img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-row--video figure { aspect-ratio: auto; background: var(--marron); }
.pj-row--video video { display: block; width: 100%; height: auto; }
/* Próximo proyecto */
.pj-next {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; margin: var(--s12) 10px var(--s12);
  height: min(70svh, 640px); border-radius: 24px; overflow: hidden; color: var(--beige); padding: var(--s6) var(--gutter);
  isolation: isolate;
}
.pj-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: filter .6s var(--ease); }
.pj-next::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(40, 27, 24, .8), rgba(40, 27, 24, .15)); }
.pj-next__k { font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.pj-next__name { margin-top: var(--s1); font-weight: 700; font-size: clamp(3rem, 9vw, 9rem); line-height: .9; letter-spacing: -.05em; transition: transform .6s var(--ease); }
.pj-next:hover .pj-next__name { transform: translateX(var(--s3)); }
.pj-next:hover img { filter: brightness(1.1); }
@media (max-width: 860px) {
  .pj-info { grid-template-columns: 1fr; gap: var(--s6); }
  .pj-meta { position: static; }
  .pj-row { grid-template-columns: 1fr; }
  .pj-row figure { aspect-ratio: auto; }
  .pj-row img { height: auto; }
  .pj-title { font-size: clamp(2.6rem, min(18vw, calc(140vw / var(--len, 6))), 7rem); }
}

/* Revelados genéricos */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .about__text .w, .service, .hero__line:first-child { opacity: 1 !important; transform: none !important; }
  .sticker { transform: rotate(var(--rot, -4deg)) scale(1) !important; }
}

@media (hover: none) { .pcursor { display: none; } }

/* ---------- Página Acerca de Aluna ---------- */
.a-hero {
  position: relative; overflow: hidden;
  background: var(--marron); color: var(--rosa);
  min-height: 100svh; padding: calc(var(--s16) + var(--s4)) var(--gutter) var(--s12);
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.a-kicker { position: relative; z-index: 1; margin: 0 0 var(--s3); color: var(--rosa-60); }
/* Fondo: proyectos en 3 filas que pasan, apagados */
.a-rows {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; padding: 14px 0;
  opacity: .3; filter: saturate(.7);
}
.a-rows::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 40% at 50% 50%, rgba(68, 47, 42, .75), rgba(68, 47, 42, 0)); }
.a-row { overflow: hidden; min-height: 0; }
.a-row__track { display: flex; gap: 14px; height: 100%; width: max-content; animation: a-row 90s linear infinite; }
.a-row--rev .a-row__track { animation-direction: reverse; animation-duration: 110s; }
.a-row:nth-child(3) .a-row__track { animation-duration: 100s; }
.a-row__track img { height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; flex: none; }
@keyframes a-row { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .a-row__track { animation: none; } }
.a-title {
  /* igual que las frases de la espiral del inicio */
  position: relative; z-index: 1; margin: 0; max-width: 18ch;
  font-size: clamp(1.6rem, 4.2vw, 3.6rem); line-height: 1; font-weight: 700;
  text-transform: uppercase; letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .6);
}
.a-title em { font-style: italic; font-weight: 400; text-transform: lowercase; }
.a-title .aw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.a-title .aw > span { display: inline-block; }
.a-title .wm { overflow: visible; }
.a-title .ch { display: inline-block; transform-origin: 0 100%; }
.a-intro { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: var(--marron); pointer-events: none; }
.a-intro > svg { grid-area: 1 / 1; color: var(--rosa); }
.a-intro__iso { width: clamp(110px, 14vw, 170px); height: auto; transform-origin: 50% 50%; }
.a-iso { position: absolute; z-index: 1; right: var(--s3); bottom: var(--s3); height: clamp(40px, 4vw, 64px); width: auto; aspect-ratio: 270 / 271; color: var(--rosa); pointer-events: none; }
.a-body {
  background: var(--beige); padding: var(--s16) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s8);
}
.a-body { font-family: var(--f-sans); }
.a-lead { margin: 0; font-family: var(--f-sans); font-size: var(--t-l); line-height: 1.1; font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.a-text p { margin: 0 0 1.2em; max-width: 60ch; font-size: var(--t-m); line-height: 1.6; font-weight: 400; }
.a-text strong { font-weight: 600; }
.a-values { background: var(--beige); padding: var(--s8) var(--gutter) var(--s16); }
.a-values .sec-head { justify-items: start; margin-bottom: var(--s4); }
.a-values .sec-title { text-align: left; font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
.a-values__list { list-style: none; margin: 0; padding: 0; }
.a-values__list li {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; border-bottom: 2px solid var(--marron);
  font-family: var(--f-sans); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em;
  font-size: clamp(2.2rem, 6vw, 5.5rem); line-height: 1;
}
.a-num {
  flex: none; width: 1.1em; height: 1.1em; font-size: .4em; border-radius: 50%;
  background: var(--rosa); border: 2px solid var(--marron);
  display: grid; place-items: center; font-family: var(--f-mono); letter-spacing: 0;
}
@media (max-width: 860px) { .a-body { grid-template-columns: 1fr; gap: var(--s4); } }
/* Detrás de Aluna: foto + info */
.a-me {
  background: var(--beige); padding: 0 var(--gutter) var(--s16);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s8); align-items: center;
}
.a-me__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--rosa); display: grid; place-items: center; }
.a-me__ph { width: 34%; height: auto; color: var(--marron); opacity: .9; }
.a-me__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.a-me { font-family: var(--f-sans); }
.a-me__info > .a-me__kicker { margin: 0 0 var(--s2); font-family: var(--f-sans); font-size: .68rem; line-height: 1.4; font-weight: 600; letter-spacing: .16em; }
.a-me .sec-title { text-align: left; font-size: clamp(2rem, 4vw, 3.6rem); margin: 0 0 var(--s4); }
.a-me__info > p { margin: 0 0 1.1em; max-width: 56ch; font-size: var(--t-m); line-height: 1.6; font-weight: 400; }
.a-me__info strong { font-weight: 600; }
@media (max-width: 860px) {
  .a-me { grid-template-columns: 1fr; gap: var(--s6); }
  .a-me__photo { max-width: 440px; }
}


/* ---------- Títulos que suben ---------- */
.rv-title { padding-bottom: .06em; margin-bottom: -.06em; }
.rv-title > span { display: inline-block; }
/* Palabras que suben desde una máscara */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; }
.is-in .wm { overflow: visible; }
/* Letras de los títulos que cambian de grosor */
.wch { font-weight: var(--w, 700); }

/* Selector de idioma (al lado de "Aluna") */
.nav__links .lang { margin: 0 var(--s1); }
.lang {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 3px; border-radius: var(--r-pill); border: 1.5px solid var(--rosa);
  background: var(--marron); color: var(--rosa);
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; cursor: pointer;
  transition: border-color .4s var(--ease);
}

.lang__opt { position: relative; z-index: 1; padding: 5px 10px; line-height: 1; transition: color .4s var(--ease); }
.lang__knob {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: var(--r-pill); background: var(--rosa);
  transition: transform .45s var(--ease);
}
.lang[data-lang="es"] .lang__knob { transform: translateX(100%); }
.lang[data-lang="en"] .lang__opt[lang="en"], .lang[data-lang="es"] .lang__opt[lang="es"] { color: var(--marron); }
body { transition: opacity .4s var(--ease); }
body.is-switching { opacity: 0; }
.rv-wrap { display: inline-block; overflow: hidden; padding: 8px 12px 14px; margin: -8px -12px -14px; border-radius: var(--r-pill); }

/* ---------- Encabezado de secciones nuevas ---------- */
.sec-head { display: grid; justify-items: center; gap: var(--s1); margin-bottom: var(--s6); }
.sec-title { margin: 0; }
/* Títulos de sección: Poppins, solo la inicial en mayúscula, centrados */
.services__title, .work__title, .sec-title {
  font-family: var(--f-sans); font-weight: 600; text-transform: none;
  font-size: var(--t-title); line-height: 1.05; letter-spacing: -.045em; text-align: center;
}
.services__sub, .sec-sub, .work__count {
  font-family: var(--f-sans); font-weight: 400; font-size: clamp(.95rem, 1.1vw, 1.1rem);
  line-height: 1.45; letter-spacing: 0; text-transform: none; text-align: center; opacity: .8;
}
.sec-sub { margin: 0; max-width: 60ch; }
@media (min-width: 861px) { .sec-sub { max-width: none; white-space: nowrap; } }

/* Espacio de ejemplo (hasta que subas el contenido) */
.ph { margin: 0; position: relative; display: grid; place-items: center; border-radius: 14px; border: 2px dashed currentColor; opacity: .55; }
.ph svg { width: 26%; color: currentColor; opacity: .5; }
.ph figcaption { position: absolute; left: 14px; bottom: 12px; }
.ph--post { aspect-ratio: 4 / 5; }
.ph--story { aspect-ratio: 9 / 16; }
.ph--video { aspect-ratio: 9 / 16; }

/* ---------- Redes sociales ---------- */
.social { background: var(--beige); color: var(--marron); padding: var(--s16) var(--gutter); overflow-x: clip; }
.social__label { margin: 0 0 var(--s3); }
.social__posts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-bottom: var(--s12); }
@media (max-width: 1180px) and (min-width: 861px) { .social__posts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); } }
/* Pilas de publicaciones por marca */
.pstack { margin: 0; display: grid; justify-items: center; gap: var(--s4); }
.pstack__deck {
  outline-offset: 6px;
  position: relative; display: block; width: min(82%, 290px); aspect-ratio: 4 / 5; /* más chica que la columna: las pilas no se tocan */
  padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pstack__card {
  position: absolute; inset: 0; display: block; padding: 8px; border-radius: 18px;
  background: var(--beige); border: 3px solid var(--brand, var(--marron));
  box-shadow: 0 10px 22px rgba(68, 47, 42, .12);
}
.pstack__card img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; display: block; user-select: none; pointer-events: none; }
.pstack__card.is-car { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.pcar__view { display: block; overflow: hidden; border-radius: 11px; aspect-ratio: 1; touch-action: pan-y; cursor: grab; }
.pcar__view:active { cursor: grabbing; }
.pcar__track { display: flex; height: 100%; }
.pcar__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pcar__foot { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.pcar__dots { display: flex; gap: 6px; }
.pcar__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: .3; transition: opacity .3s, transform .3s; }
.pcar__dots i.on { opacity: 1; transform: scale(1.25); }
.pcar__hint { color: var(--brand); }
.pstack figcaption { display: flex; align-items: baseline; gap: var(--s2); font-family: var(--f-sans); }
.pstack figcaption b { font-weight: 600; font-size: 1.05rem; color: var(--brand); }
.pstack__count { opacity: .6; }
.shuf {
  position: fixed; left: 0; top: 0; z-index: 80; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--marron); color: var(--rosa); pointer-events: none;
  box-shadow: 0 8px 20px rgba(68, 47, 42, .25);
}
.post, .story { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: rgba(68,47,42,.06); }
.post { aspect-ratio: 4 / 5; }
.post img, .story img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post:hover img, .story:hover img { transform: scale(1.04); }
.post figcaption, .story figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--beige); }
/* Historias: una pila por marca, como las publicaciones (la de arriba sube al tocarla) */
.social__stories { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s8); }
.pstack--story .pstack__deck { width: clamp(190px, 17vw, 240px); aspect-ratio: 9 / 16; }
.pstack--story .pstack__card { padding: 6px; border-radius: 16px; }
.pstack--story .pstack__card img { border-radius: 10px; }
.story { aspect-ratio: 9 / 16; }
@media (max-width: 860px) { .social__posts { grid-template-columns: 1fr; gap: var(--s8); } .pstack__deck { width: min(74vw, 300px); } .pstack--story .pstack__deck { width: min(56vw, 230px); } .social__stories { gap: var(--s8); } }

/* ---------- Videos ---------- */
.videos { background: var(--marron); color: var(--rosa); padding: var(--s16) var(--gutter); overflow-x: clip; }
.videos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.vcard { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #2c1e1a; text-align: left; }
.vcard video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__play { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--rosa); color: var(--marron); display: grid; place-items: center; transition: transform .4s var(--ease); }
.vcard:hover .vcard__play { transform: scale(1.15); }
.vcard__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; display: grid; gap: 2px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: var(--beige); }
@media (max-width: 860px) { .videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }
.vbox { position: fixed; inset: 0; z-index: 96; background: rgba(20,12,10,.92); display: grid; place-items: center; padding: var(--s6) var(--gutter); }
.vbox[hidden] { display: none; }
.vbox video { max-height: 86svh; max-width: 100%; border-radius: 16px; background: #000; }
.vbox__close { position: absolute; top: var(--s3); right: var(--gutter); color: var(--rosa); }

/* ---------- Testimonios ---------- */
.testi { background: var(--rosa); color: var(--marron); padding: var(--s12) 0 var(--s4); overflow: hidden; }
.testi .sec-head { padding: 0 var(--gutter); }
.testi__stack {
  list-style: none; margin: var(--s4) auto 0; padding: 0 var(--gutter);
  display: flex; justify-content: center; max-width: 1400px;
}
.tseal { --d: clamp(240px, calc((100vw - 2 * var(--gutter)) / 3.6), 390px); width: var(--d); flex: none; position: relative; }
.tseal + .tseal { margin-left: calc(var(--d) * -.1); }
.tseal__in { margin: 0; position: relative; aspect-ratio: 1; will-change: transform; }
.tseal__shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tseal__shape path { fill: var(--bg); stroke: var(--marron); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.tseal__body {
  position: absolute; inset: 21% 18% 19%; display: flex; flex-direction: column; justify-content: center; gap: .55em;
  color: var(--fg); transform: rotate(var(--tilt)); text-align: left; font-family: var(--f-sans);
}
.tseal__q { font-family: var(--f-display); font-size: clamp(3rem, 4.2vw, 4.4rem); line-height: .5; height: .42em; margin-left: -.04em; }
.tseal blockquote { margin: 0; font-weight: 300; font-size: clamp(.86rem, 1.05vw, 1.02rem); line-height: 1.35; }
.tseal blockquote.is-long { font-size: clamp(.66rem, .74vw, .78rem); line-height: 1.3; }
.tseal figcaption { display: grid; gap: 0; margin-top: .2em; }
.tseal__by { font-weight: 500; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.tseal figcaption b { font-weight: 700; font-size: clamp(1.05rem, 1.45vw, 1.4rem); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.tseal__body:has(.is-long) .tseal__q { font-size: clamp(2.4rem, 3.2vw, 3.4rem); }

@media (max-width: 860px) {
  /* celular: 2 placas arriba y 2 abajo, apenas encimadas */
  .testi__stack { flex-wrap: wrap; justify-content: center; padding: 0 8px; }
  .tseal { --d: 50vw; }
  .tseal + .tseal { margin-left: 0; margin-top: 0; }
  .tseal:nth-child(even) { margin-left: -7vw; translate: 0 4vw; }
  .tseal:nth-child(n+3) { margin-top: -5vw; }
  .tseal:nth-child(odd) { translate: none; }
  .tseal__body { inset: 21% 17% 19%; gap: .3em; }
  .tseal__q { font-size: 1.6rem; }
  .tseal blockquote { font-size: .68rem; line-height: 1.28; }
  .tseal blockquote.is-long { font-size: .46rem; line-height: 1.25; }
  .tseal__body:has(.is-long) .tseal__q { font-size: 1.2rem; }
  .tseal__by { font-size: .44rem; }
  .tseal figcaption b { font-size: .72rem; }
}

/* Carrusel de redes */
.post--car { display: grid; grid-template-rows: auto 1fr auto; background: var(--blanco); color: var(--marron); border: 1px solid rgba(68,47,42,.12); }
.post--car figcaption { display: none; }
.car__top { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: .78rem; }
.car__av { width: 24px; height: 24px; border-radius: 50%; background: var(--marron); color: var(--rosa); display: grid; place-items: center; }
.car__av svg { width: 13px; }
.car__icon { margin-left: auto; }
.car__view { overflow: hidden; position: relative; touch-action: pan-y; }
.car__track { display: flex; height: 100%; transition: transform .7s var(--ease); }
.car__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.post--car:hover .car__track img { transform: none; }
.car__dots { display: flex; justify-content: center; gap: 6px; padding: 9px 0; }
.car__dots button { width: 7px; height: 7px; border-radius: 50%; background: rgba(68,47,42,.25); transition: background .3s, transform .3s; }
.car__dots button.on { background: var(--marron); transform: scale(1.25); }
.social__stories[hidden], .social__label[hidden] { display: none; }

/* ---------- Celular: textos más chicos y menos espacio vacío entre secciones ---------- */
@media (max-width: 760px) {
  /* Acerca de (inicio): igual que en la compu (mismos renglones y stickers en el mismo lugar), todo en chico.
     El tamaño hace que entren 24 letras por renglón, como en la compu. */
  .about { min-height: 0; padding: var(--s6) var(--gutter) var(--s4); }
  .about__title { margin-bottom: var(--s2); }
  .about__text { font-size: calc((100vw - 2 * var(--gutter)) / 15); line-height: 1.02; max-width: 24ch; padding: 1.35em 0 1.2em; }
  .sticker--1 { top: -105% !important; }   /* "Pensamiento creativo" entero arriba de ALUNA */
  .sticker--3 { top: 205% !important; }    /* "Diseño más humano" debajo de CONVIERTE */
  .sticker { font-size: 7.5px; padding: .45em 1.1em; border-width: 1.5px; }
  .sticker--2 { right: -8% !important; } /* en la compu sale más a la derecha; acá se acomoda para no salirse de la pantalla */
  /* la banda marrón con las marcas no se muestra en el celular */
  .band { display: none; }
  /* Secciones: menos aire arriba y abajo */
  .feat { padding: var(--s6) 0; }
  .feat__head { margin-bottom: var(--s4); }
  /* nombres de los destacados en una sola línea: tarjetas un poco más grandes y la flecha arriba */
  .fcard { --h: 300px; }
  .fcard__info { right: 16px; }
  .fcard__name { white-space: nowrap; font-size: .86rem; }
  .fcard__arrow { top: 14px; bottom: auto; right: 14px; width: 36px; height: 36px; }
  .work { padding: var(--s8) var(--gutter) var(--s6); }
  .work--page { padding-top: calc(var(--s12) + var(--s2)); min-height: 0; }
  .social { padding: var(--s8) var(--gutter); }
  .social__posts { margin-bottom: var(--s6); gap: var(--s4); }
  .videos { padding: var(--s8) var(--gutter); }
  .testi { padding: var(--s8) 0 var(--s4); }
  .contact { padding: var(--s4) var(--gutter) var(--s8); }
  .services__pin { padding: var(--s8) 0 var(--s6); }
  /* Aluna */
  .a-body { padding: var(--s8) var(--gutter) var(--s4); }
  .a-text p:last-child { margin-bottom: 0; }
  .a-me { padding-bottom: var(--s6); gap: var(--s4); }
  .a-me__info > p:last-child { margin-bottom: 0; }
  .a-values { padding: 0 var(--gutter) var(--s8); }
  /* Proyecto */
  .pj-info { padding: var(--s8) var(--gutter); }
  .pj-next { margin: var(--s8) 10px; }
}
