/* ÉTER 01 · concepto de web de Renuvo (copia adaptada de muestras_tiktok/eter_zapatillas).
   Sin JS o con "reducir movimiento": cada escena se ve completa y quieta.
   .mov: hay movimiento (lo pone el <head>). .mov-ok: GSAP ya ha arrancado (lo pone web.js). */
@font-face { font-family: "Archivo"; src: url("/fuentes/archivo-latin.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fuentes/instrument-serif-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
:root {
  --crema: #f3ede4;
  --tinta: #141210;
  --naranja: #d4561e;
  --ancha: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--crema); color: var(--tinta); font-family: var(--ancha); font-variation-settings: "wdth" 100; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* cursor (solo ordenador, con movimiento) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .mov-ok body { cursor: none; }
  .mov-ok .cursor { display: block; position: fixed; z-index: 100; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: #fff; mix-blend-mode: difference; pointer-events: none; transition: width .3s, height .3s, margin .3s; }
  .mov-ok .cursor.grande { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}

/* intro (solo con movimiento) */
.intro { display: none; }
.mov .intro { position: fixed; inset: 0; z-index: 90; background: var(--tinta); color: var(--crema); display: grid; place-items: center; pointer-events: none; }
.intro__marca { display: flex; overflow: hidden; font-weight: 900; font-variation-settings: "wdth" 125; font-size: 14vw; letter-spacing: -.02em; line-height: .9; }
.intro__marca span { display: block; transform: translateY(110%); animation: sube .8s cubic-bezier(.16, 1, .3, 1) forwards; }
.intro__marca span:nth-child(2) { animation-delay: .07s; }
.intro__marca span:nth-child(3) { animation-delay: .14s; }
.intro__marca span:nth-child(4) { animation-delay: .21s; }
@keyframes sube { to { transform: translateY(0); } }
.intro__cuenta { position: absolute; right: 4vw; bottom: 3vw; font-size: 14px; letter-spacing: .2em; font-variant-numeric: tabular-nums; opacity: .6; }

/* nav: barra de cristal (en el original era blanca con mezcla "difference") */
.nav { position: fixed; z-index: 50; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px 10px 10px 22px; border-radius: 999px; background: rgba(243, 237, 228, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(20, 18, 16, .4); }
.nav__logo { font-weight: 900; font-variation-settings: "wdth" 125; font-size: 22px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 38px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.nav__boton { font-size: 14px; font-weight: 600; border: 1px solid currentColor; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }
.nav__boton span { margin-left: 6px; }

/* 1 · hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #e9dccb; }
.hero__cielo { position: absolute; inset: -4%; }
.hero__cielo img { width: 100%; height: 100%; object-fit: cover; }
.hero__palabra { position: absolute; left: 0; right: 0; top: 13vh; display: flex; justify-content: center; color: #fff; font-weight: 900;
  font-variation-settings: "wdth" 125; font-size: 27vw; line-height: .8; letter-spacing: -.03em; mix-blend-mode: soft-light; opacity: .95; }
.hero__palabra span { display: inline-block; }
.hero__zapa { position: absolute; left: 50%; top: 52%; width: 58vw; margin-left: -29vw; transform: translateY(-50%); filter: drop-shadow(0 50px 50px rgba(40,20,0,.35)); }
.hero__zapa img { transform: rotate(-9deg); }
.hero__niebla { position: absolute; left: -10%; right: -10%; bottom: -12vh; height: 42vh; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,250,242,.95) 0%, rgba(255,248,238,.55) 45%, transparent 72%); filter: blur(12px); }
.hero__lema { position: absolute; left: 4vw; bottom: 5vh; font-size: 30px; font-weight: 700; color: var(--tinta); }
.hero__lema em { font-size: 34px; }
.hero__dato { position: absolute; right: 4vw; bottom: 5.6vh; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--tinta); }
.hero__baja { position: absolute; left: 50%; bottom: 4vh; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__baja i { width: 1px; height: 40px; background: var(--tinta); transform-origin: top; animation: baja 1.8s ease-in-out infinite; }
@keyframes baja { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 2 · manifiesto */
.manifiesto { min-height: 100vh; display: grid; place-items: center; padding: 18vh 10vw; }
.manifiesto__texto { font-size: 4.6vw; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; max-width: 1200px; }
.manifiesto__texto .p { display: inline-block; margin-right: .22em; }
.manifiesto__texto em { color: var(--naranja); }

/* 3 · anatomía */
.anatomia { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--crema); }
.anatomia__fondo { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, #2a221c 0%, #0d0b0a 65%); }
.anatomia__escena { position: absolute; inset: 0; perspective: 1400px; }
.anatomia__zapa { position: absolute; left: 50%; top: 50%; width: 54vw; margin-left: -27vw; transform: translateY(-50%); transform-style: preserve-3d; filter: drop-shadow(0 60px 60px rgba(0,0,0,.6)); }
.mov-ok .anatomia__zapa { transform: none; }
.anatomia__lineas { position: absolute; inset: 0; width: 100%; height: 100%; }
.anatomia__lineas path { fill: none; stroke: rgba(243,237,228,.55); stroke-width: 1.2; }
.dato { position: absolute; width: 230px; font-size: 14px; line-height: 1.4; color: rgba(243,237,228,.75); }
.dato b { display: block; font-size: 44px; font-weight: 800; font-variation-settings: "wdth" 115; color: var(--crema); letter-spacing: -.02em; line-height: 1.1; }
.d1 { left: 14.5%; top: 14%; } .d2 { left: 87%; top: 73%; transform: translateX(-100%); } .d3 { left: 17%; top: 82%; } .d4 { left: 86%; top: 9.5%; transform: translateX(-100%); }
.anatomia__titulo { position: absolute; left: 0; right: 0; top: 7vh; text-align: center; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; color: rgba(243,237,228,.85); }

/* 4 · tejido */
.tejido { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--crema); }
.tejido__ventana { position: absolute; inset: 0; }
.tejido__ventana img { width: 100%; height: 100%; object-fit: cover; }
.tejido__titulo { position: absolute; left: 0; right: 0; bottom: 9vh; text-align: center; font-size: 6vw; font-weight: 800; font-variation-settings: "wdth" 110; letter-spacing: -.03em; color: #fff; text-shadow: 0 10px 50px rgba(0,0,0,.45); }

/* 5 · mundos: sin movimiento, los paneles van uno debajo de otro; con movimiento, recorrido horizontal */
.mundos { background: var(--tinta); overflow: hidden; overflow: clip; }
.panel { position: relative; height: 80vh; overflow: hidden; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__nombre { position: absolute; left: 4vw; bottom: 6vh; font-size: 11vw; font-weight: 900; font-variation-settings: "wdth" 125; color: #fff; letter-spacing: -.03em; line-height: .8; text-shadow: 0 20px 80px rgba(0,0,0,.45); }
.panel--texto { height: auto; display: flex; flex-direction: column; justify-content: center; padding: 16vh 8vw; color: var(--crema); }
.panel--texto h2 { font-size: 7vw; line-height: .95; font-weight: 800; letter-spacing: -.03em; }
.panel--texto p { margin-top: 30px; font-size: 18px; color: rgba(243,237,228,.7); }
.mov-ok .mundos { height: 100vh; height: 100svh; }
.mov-ok .mundos__pista { display: flex; height: 100%; width: max-content; }
.mov-ok .panel { width: 100vw; height: 100%; flex-shrink: 0; }
.mov-ok .panel img { inset: 0 -12%; width: 124%; }
.mov-ok .panel--texto { width: 70vw; padding: 0 8vw; }

/* 6 · colores: sin movimiento, las tres zapatillas se ven en fila */
.colores { position: relative; overflow: hidden; background: #efe3d3; padding: 14vh 4vw 10vh; }
.colores__nombres { display: none; }
.colores__zapas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.colores__zapas img { filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.colores__pie { display: flex; justify-content: space-between; margin-top: 6vh; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; }
.colores__n { visibility: hidden; }
.mov-ok .colores { height: 100vh; height: 100svh; padding: 0; }
.mov-ok .colores__nombres { display: grid; position: absolute; inset: 0; place-items: center; }
.colores__nombres span { grid-area: 1 / 1; opacity: 0; }
.colores__nombres span::before { font-family: var(--serif); font-style: italic; font-size: 24vw; line-height: 1; }
.colores__nombres span:nth-child(1)::before { content: "Amanecer"; color: #e8823f; }
.colores__nombres span:nth-child(2)::before { content: "Noche"; color: #5b84ff; }
.colores__nombres span:nth-child(3)::before { content: "Lavanda"; color: #a78bdb; }
.colores__nombres span { font-size: 0; }
.mov-ok .colores__zapas { display: block; position: absolute; inset: 0; }
.mov-ok .colores__zapas img { position: absolute; left: 50%; top: 52%; width: 56vw; opacity: 0; filter: drop-shadow(0 50px 50px rgba(0,0,0,.3)); }
.mov-ok .colores__pie { position: absolute; left: 4vw; right: 4vw; bottom: 5vh; margin: 0; }
.mov-ok .colores__n { visibility: visible; }

/* 7 · cierre */
.cierre { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0 1rem 12vh; color: #fff; text-align: center; }
.cierre__cielo { position: absolute; inset: 0; }
.cierre__cielo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(1.1); }
.cierre__zapa { position: absolute; left: 50%; top: 36%; width: 40vw; margin-left: -20vw; transform: translateY(-50%) rotate(-10deg); filter: drop-shadow(0 50px 50px rgba(0,0,0,.4)); }
.cierre__titulo { position: relative; font-size: 7.5vw; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.cierre__boton { position: relative; margin-top: 34px; background: #fff; color: var(--tinta); font-weight: 700; font-size: 17px; padding: 20px 34px; border-radius: 999px; }
.cierre__nota { position: relative; margin-top: 28px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.cierre__nota a { text-decoration: underline; }

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  .nav { padding-left: 18px; }
  .nav__links { display: none; }
  .nav__logo { font-size: 20px; }
  .hero__palabra { top: 15vh; }
  .hero__zapa { width: 96vw; margin-left: -48vw; top: 48%; }
  .hero__lema { left: 1.2rem; right: 1.2rem; bottom: 11vh; font-size: 26px; line-height: 1.15; }
  .hero__lema em { font-size: 28px; display: block; }
  .hero__dato { left: 1.2rem; right: auto; bottom: 6vh; font-size: 11px; }
  .hero__baja { display: none; }
  .manifiesto { padding: 14vh 1.4rem; }
  .manifiesto__texto { font-size: 8.2vw; }
  .anatomia__titulo { top: 96px; font-size: 26px; }
  .anatomia__zapa { width: 94vw; margin-left: -47vw; top: 47%; }
  .anatomia__lineas { display: none; }
  .anatomia__datos { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 6vh; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .dato, .d1, .d2, .d3, .d4 { position: static; width: auto; transform: none; font-size: 13px; }
  .dato b { font-size: 34px; }
  .tejido__titulo { font-size: 11vw; line-height: 1; padding: 0 1rem; }
  .panel--texto h2 { font-size: 15vw; }
  .mov-ok .panel--texto { width: 100vw; padding: 0 1.4rem; }
  .panel__nombre { font-size: 20vw; bottom: 8vh; }
  .colores__zapas { grid-template-columns: 1fr; }
  .mov-ok .colores__zapas img { width: 94vw; }
  .colores__nombres span::before { font-size: 30vw; }
  .colores__pie { font-size: 11px; }
  .cierre__zapa { width: 86vw; margin-left: -43vw; top: 34%; }
  .cierre__titulo { font-size: 15vw; }
  .cierre__nota { font-size: 11px; line-height: 1.6; }
}
