/* ============================================================
   Brigada Animalista Quilicura
   HTML, CSS y JS puros. Sin dependencias.
   ============================================================ */

@font-face {
  font-family: "Anton";
  src: url("/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ink: #170d1d;
  --ink-2: #26112f;
  --pink: #f7a6d0;
  --pink-2: #ffc9e3;
  --hot: #ff4fa3;
  --magenta: #d81b7a;
  --purple: #7a35a8;
  --teal: #35c9b4;
  --yellow: #ffd166;
  --cream: #fff4f8;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --px: 0;
  --py: 0;
  --gut: clamp(18px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--body);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

/* ---------- Capas fijas ---------- */
.scroll-bar {
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 50;
  background: rgba(23, 13, 29, .12); pointer-events: none;
}
.scroll-bar span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--hot), var(--yellow));
  transform-origin: 0 50%; transform: scaleX(0);
}
.walk {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.walk use, .walk .p { fill: var(--hot); }
.walk .p { opacity: 0; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1.4); }
.walk .p.on { opacity: .32; }
.trail {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 60; pointer-events: none;
}

/* ============================================================
   PORTADA
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; min-height: 100svh;
  display: flex;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 85% 10%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(165deg, var(--pink-2) 0%, var(--pink) 45%, #ff8fc6 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-in {
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) var(--gut) 78px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 22px;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; opacity: .75; will-change: transform; }
.b1 { width: 52vmax; height: 52vmax; left: -18vmax; top: -16vmax; background: #fff; opacity: .5;
  transform: translate(calc(var(--px) * 30px), calc(var(--py) * 24px)); animation: drift 14s ease-in-out infinite alternate; }
.b2 { width: 44vmax; height: 44vmax; right: -16vmax; bottom: -14vmax; background: var(--magenta); opacity: .42;
  transform: translate(calc(var(--px) * -40px), calc(var(--py) * -30px)); animation: drift 17s ease-in-out infinite alternate-reverse; }
.b3 { width: 26vmax; height: 26vmax; left: 38%; top: 46%; background: var(--teal); opacity: .28;
  transform: translate(calc(var(--px) * 55px), calc(var(--py) * 40px)); animation: drift 20s ease-in-out infinite alternate; }
@keyframes drift { to { margin: 4vmax 0 0 3vmax; } }

.floaters { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fp {
  position: absolute; bottom: -60px; left: var(--x);
  width: var(--s); height: var(--s); color: var(--ink); opacity: 0;
  animation: rise var(--t) linear var(--d) infinite;
}
.fp svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes rise {
  0% { transform: translateY(0) rotate(var(--r0)); opacity: 0; }
  12% { opacity: .13; }
  85% { opacity: .13; }
  100% { transform: translateY(-115vh) rotate(var(--r1)); opacity: 0; }
}

@keyframes pop { from { opacity: 0; transform: translateY(-14px) scale(.9); } }

.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center;
}
.hero-art { order: -1; display: grid; place-items: center; }
.badge-tilt {
  width: clamp(138px, 38vw, 210px);
  transform: perspective(900px) rotateY(calc(var(--px) * 16deg)) rotateX(calc(var(--py) * -16deg));
  transition: transform .15s linear;
  animation: pop 1s cubic-bezier(.2, .9, .3, 1.3) .25s both;
}
.badge { width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(23, 13, 29, .35)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
.badge .spin, .badge .dash { transform-box: view-box; transform-origin: 50% 50%; }
.badge .spin { animation: spin 26s linear infinite; }
.badge .dash { animation: spin 60s linear infinite reverse; }
.badge .heart { transform-box: fill-box; transform-origin: 50% 50%; animation: beat 1.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: translate(0, -4px) scale(1); } 15% { transform: translate(0, -4px) scale(1.2); } 30% { transform: translate(0, -4px) scale(1); } 45% { transform: translate(0, -4px) scale(1.14); } }

.eyebrow {
  font-weight: 800; font-size: clamp(.8rem, 2.6vw, 1rem); letter-spacing: .22em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 8px;
  animation: pop .7s cubic-bezier(.2, .9, .3, 1.2) .35s both;
}
.title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.3rem, 10.8vw, 6rem); line-height: .98; letter-spacing: .005em;
  color: var(--ink);
}
.title .line { display: block; padding: .14em .04em .02em; margin: -.1em 0 -.02em; overflow: hidden; }
.title .accent { color: var(--magenta); position: relative; font-size: 1.32em; }
.title .accent .ch { text-shadow: 3px 3px 0 var(--ink); }
.word { display: inline-block; white-space: nowrap; }
.ch {
  display: inline-block; will-change: transform;
  animation: chIn .8s cubic-bezier(.2, .9, .25, 1) both;
  animation-delay: calc(var(--i) * 38ms + .4s);
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.sp { display: inline-block; width: .26em; }
@keyframes chIn { from { translate: 0 115%; rotate: 9deg; opacity: 0; } to { translate: 0 0; rotate: 0deg; opacity: 1; } }
@media (hover: hover) { .ch:hover { transform: translateY(-9%) rotate(-5deg) scale(1.08); } }

.lead {
  max-width: 34rem; margin: 18px 0 26px;
  font-size: clamp(1.02rem, 3.7vw, 1.25rem); font-weight: 600; line-height: 1.5;
  animation: pop .8s cubic-bezier(.2, .9, .3, 1.15) 1.05s both;
}

/* ---------- Navegación ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: pop .7s cubic-bezier(.2, .9, .3, 1.3) .1s both; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; line-height: 1.08; }
.brand-ic { width: 42px; height: 42px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: .92rem; padding: 10px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:not(.nav-ig) { display: none; }
.nav-links a:not(.nav-ig):hover { background: rgba(23, 13, 29, .1); }
.nav-ig { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--pink-2) !important; }
.nav-ig svg { width: 20px; height: 20px; }
.nav-ig:hover { background: var(--magenta); color: #fff !important; }
@media (min-width: 700px) { .nav-links a:not(.nav-ig) { display: inline-block; } }

/* ---------- Botón Instagram ---------- */
.cta {
  --mx: 0px; --my: 0px; --gx: 50%; --gy: 50%;
  position: relative; display: inline-block; text-decoration: none; color: #fff;
  border-radius: 999px; isolation: isolate;
  transform: translate(var(--mx), var(--my));
  transition: transform .2s ease-out;
  animation: pop .8s cubic-bezier(.2, .9, .3, 1.4) 1.25s both;
  -webkit-tap-highlight-color: transparent;
}
.cta-ring { position: absolute; inset: 0; border-radius: inherit; z-index: -1; border: 3px solid var(--magenta); animation: ripple 2.4s ease-out infinite; }
.cta-ring::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 3px solid var(--hot); animation: ripple 2.4s ease-out .8s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.22, 1.5); opacity: 0; } }
.cta-body {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 20px; min-height: 68px; border-radius: inherit;
  background:
    radial-gradient(circle 180px at var(--gx) var(--gy), rgba(255, 255, 255, .28), transparent 70%),
    linear-gradient(110deg, #ff7a3d 0%, #ff2d87 38%, #c21f9c 70%, #7a35a8 100%);
  background-size: 100% 100%, 160% 100%;
  box-shadow: 0 10px 0 var(--ink), 0 22px 36px rgba(122, 53, 168, .45);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cta-body::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); animation: sweep 3.6s ease-in-out 2s infinite;
}
@keyframes sweep { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.cta:hover .cta-body { box-shadow: 0 6px 0 var(--ink), 0 26px 44px rgba(122, 53, 168, .55); transform: translateY(4px); }
.cta:active .cta-body { box-shadow: 0 2px 0 var(--ink), 0 10px 20px rgba(122, 53, 168, .5); transform: translateY(8px); }
.cta-ic { width: 38px; height: 38px; flex: none; }
.cta-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.cta-main { font-family: var(--display); font-size: clamp(1.35rem, 5.4vw, 1.75rem); letter-spacing: .03em; text-transform: uppercase; }
.cta-sub { font-weight: 700; font-size: .84rem; opacity: .92; }
.cta-arrow { width: 26px; height: 26px; margin-left: auto; flex: none; transition: transform .25s ease; }
.cta:hover .cta-arrow { transform: translateX(6px); }
.cta-sm .cta-body { min-height: 62px; }
.down {
  align-self: center; display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); opacity: .8; animation: pop .8s ease 1.6s both;
}
.down svg { width: 22px; height: 22px; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ---------- Escritorio ---------- */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr .65fr; gap: 40px; }
  .title { font-size: clamp(3rem, 5.4vw, 5.2rem); }
  .hero-art { order: 0; }
  .badge-tilt { width: clamp(240px, 26vw, 360px); }
  .hero-in { padding-bottom: 96px; }
  .down { align-self: flex-start; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .badge-tilt { width: 112px; }
  .hero-grid { gap: 14px; }
  .lead { margin: 12px 0 18px; }
}

/* ============================================================
   CINTAS
   ============================================================ */
.tapes { position: relative; z-index: 3; margin-top: -58px; padding-bottom: 22px; overflow-x: clip; pointer-events: none; }
.tape { width: 112%; margin-left: -6%; overflow: hidden; }
.t1 { background: var(--ink); color: var(--pink); transform: rotate(-2.4deg); padding: 14px 0; box-shadow: 0 10px 30px rgba(23, 13, 29, .35); }
.t2 { background: var(--hot); color: var(--ink); transform: rotate(1.8deg); padding: 12px 0; margin-top: -14px; }
.skew { transform: skewX(var(--sk, 0deg)); transition: transform .12s linear; }
.track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 36s; }
@keyframes slide { to { transform: translateX(-50%); } }
.grp { display: flex; align-items: center; flex: none; }
.grp span { font-family: var(--display); font-size: clamp(1.5rem, 5vw, 2.3rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 0 .55em; }
.grp i { display: block; width: clamp(20px, 4vw, 30px); height: clamp(20px, 4vw, 30px); flex: none; }
.grp i svg { width: 100%; height: 100%; fill: currentColor; }

/* ============================================================
   LO QUE VIENE
   ============================================================ */
.next {
  position: relative; z-index: 2;
  background:
    radial-gradient(700px 420px at 15% 8%, rgba(216, 27, 122, .35), transparent 65%),
    radial-gradient(640px 460px at 95% 55%, rgba(122, 53, 168, .4), transparent 65%),
    var(--ink);
  margin-top: -34px; padding: 92px 0 70px; overflow: hidden;
}
.next-in { max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.next-head { max-width: 40rem; }

/* ---------- Nuestro trabajo + misión ---------- */
.work { margin-bottom: 84px; }
.sticker.alt { background: var(--teal); box-shadow: 4px 4px 0 var(--hot); transform: rotate(2deg); }
.work-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 26px; }
.work-card {
  position: relative; overflow: hidden;
  padding: 22px 22px 24px; border-radius: 26px;
  background: rgba(255, 255, 255, .06); border: 2px solid rgba(247, 166, 208, .35);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), border-color .3s, background .3s;
}
.work-card:hover { transform: translateY(-5px); border-color: var(--pink); background: rgba(255, 255, 255, .1); }
.w-ico { width: 56px; height: 56px; fill: none; stroke: var(--pink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.work-card:hover .w-ico { transform: rotate(-8deg) scale(1.1); }
.work-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em; color: var(--pink-2); margin-bottom: 8px; }
.work-card p { font-weight: 600; opacity: .88; line-height: 1.45; }

.mission {
  position: relative; overflow: hidden; margin: 26px 0 0;
  padding: 28px 24px 30px; border-radius: 30px;
  background: var(--pink); color: var(--ink); border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
}
.mission-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: var(--pink-2);
  font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}
.mission blockquote {
  position: relative; z-index: 1; margin-top: 16px; max-width: 46rem;
  font-family: var(--display); font-size: clamp(1.7rem, 6.6vw, 3rem); line-height: 1.12; letter-spacing: .01em; text-transform: uppercase;
}
.mission-paw { position: absolute; right: -14px; bottom: -22px; width: 130px; height: 130px; fill: var(--ink); opacity: .1; transform: rotate(-18deg); }

/* ---------- Nuestros objetivos ---------- */
.goals { margin-top: 64px; }
.goals-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--pink); font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1.05; }
.goals-sub { margin-top: 8px; font-weight: 600; opacity: .85; }
.goals-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.goal {
  --c: var(--hot);
  position: relative; overflow: hidden; padding: 22px 22px 26px 26px; border-radius: 24px;
  background: rgba(255, 255, 255, .06); border: 2px solid rgba(247, 166, 208, .25);
  transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), background .3s;
}
.goal::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c); }
.goal:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.g2 { --c: var(--teal); }
.g3 { --c: var(--yellow); }
.g4 { --c: #c9a2ff; }
.g5 { --c: var(--pink); }
.g6 { --c: var(--teal); }
.goals-close { margin-top: 32px; text-align: center; max-width: 36rem; margin-inline: auto; font-weight: 800; font-size: clamp(1.1rem, 4.2vw, 1.35rem); line-height: 1.4; color: var(--pink-2); }
.g-num { display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--c); margin-bottom: 6px; }
.goal h4 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; color: var(--pink-2); margin-bottom: 8px; }
.goal p { font-weight: 600; opacity: .9; line-height: 1.5; }
@media (min-width: 700px) {
  .goals-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .goal { padding: 26px 26px 30px 30px; }
}

@media (min-width: 700px) {
  .work-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .mission { padding: 38px 40px 42px; }
  .mission-paw { width: 220px; height: 220px; right: 18px; bottom: -40px; }
}
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); }
  .work-card { padding-bottom: 28px; }
}
.sticker {
  display: inline-block; padding: 7px 16px; border-radius: 8px; transform: rotate(-3deg);
  background: var(--yellow); color: var(--ink);
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--hot);
}
.h2 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--pink);
  font-size: clamp(2.8rem, 12vw, 6rem); line-height: 1; margin: 18px 0 12px;
}
.sub { font-size: 1.1rem; font-weight: 600; opacity: .85; max-width: 30rem; }

/* ---------- Carrusel ---------- */
.carousel { margin: 34px 0 0 calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.rail {
  --cw: min(78vw, 300px);
  display: flex; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 26px calc(50% - var(--cw) / 2) 34px;
  scrollbar-width: none; cursor: grab; perspective: 1100px;
}
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.rail:focus-visible { outline-offset: -6px; }

.card {
  flex: none; width: var(--cw); scroll-snap-align: center;
  transform: rotateY(var(--r, 0deg)) scale(var(--s, 1)); opacity: var(--o, 1);
  transition: opacity .2s linear; will-change: transform;
  user-select: none; -webkit-user-select: none;
}
.card-in {
  position: relative; overflow: hidden; height: 100%; min-height: 360px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 22px 24px; border-radius: 30px; color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .18s ease-out;
}
.card-in::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(circle 220px at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .55), transparent 65%);
}
.card-in:hover::after { opacity: 1; }
.c-pink .card-in { background: var(--pink); }
.c-teal .card-in { background: var(--teal); }
.c-yellow .card-in { background: var(--yellow); }
.c-purple .card-in { background: #c9a2ff; }
.c-hot .card-in { background: var(--hot); }
.c-cream .card-in { background: var(--cream); }
.num { font-family: var(--display); font-size: 1.1rem; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink); }
.ico { width: 96px; height: 96px; margin: 14px 0 6px; color: var(--ink); fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .ico { transform: rotate(-8deg) scale(1.12); }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 2.15rem; line-height: 1; letter-spacing: .02em; }
.card p { font-weight: 700; font-size: 1.02rem; line-height: 1.35; }
.card { display: block; text-decoration: none; color: inherit; -webkit-user-drag: none; }
.card .num { align-self: flex-start; }
.more {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; background: var(--ink); color: var(--pink-2);
  font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  transition: gap .2s ease, background .2s ease;
}
.more svg { width: 16px; height: 16px; }
.card:hover .more { gap: 13px; background: var(--magenta); color: #fff; }

.ctrl { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 var(--gut); }
.arrow {
  width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--pink); background: transparent; color: var(--pink);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, transform .2s;
  -webkit-tap-highlight-color: transparent;
}
.arrow svg { width: 24px; height: 24px; }
.arrow:hover { background: var(--pink); color: var(--ink); transform: scale(1.08); }
.arrow:active { transform: scale(.94); }
.dots-nav { display: flex; gap: 8px; align-items: center; }
.dots-nav button { width: 12px; height: 12px; border-radius: 99px; border: 0; padding: 0; background: rgba(247, 166, 208, .35); cursor: pointer; transition: width .3s cubic-bezier(.3, 1.4, .5, 1), background .3s; }
.dots-nav button[aria-selected="true"] { width: 34px; background: var(--hot); }
.dots-nav button { position: relative; }
.dots-nav button::before { content: ""; position: absolute; inset: -14px -4px; }

/* ---------- Bloque Instagram ---------- */
.follow { margin-top: 84px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.follow-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--pink); font-size: clamp(2.2rem, 9vw, 4.2rem); line-height: 1.08; }
.follow-lead { margin: 14px 0 28px; font-size: 1.1rem; font-weight: 600; opacity: .88; max-width: 28rem; }
.follow .cta { animation: none; }

/* ============================================================
   PIE
   ============================================================ */
.foot {
  position: relative; z-index: 2; background: #0f0814; color: var(--cream);
  padding: 38px var(--gut) max(34px, env(safe-area-inset-bottom));
  border-top: 3px solid var(--hot);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
}
.foot-brand { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.5rem; color: var(--pink); }
.foot-tag { font-weight: 700; opacity: .8; font-size: .92rem; letter-spacing: .06em; }
.foot-ig {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--pink-2);
  border: 2px solid rgba(247, 166, 208, .4); transition: background .2s, color .2s, transform .2s;
}
.foot-ig svg { width: 20px; height: 20px; }
.foot-ig:hover { background: var(--pink); color: var(--ink); transform: translateY(-2px); }

/* ---------- Revelado al scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .9, .3, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Efectos ligados al scroll (donde el navegador lo permite) */
@supports (animation-timeline: scroll()) {
  .hero-art { animation: heroOut linear both; animation-timeline: scroll(root block); animation-range: 0 90vh; }
  @keyframes heroOut { to { transform: translateY(80px) scale(.82) rotate(8deg); opacity: .25; } }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .title .accent .ch { background-position: 0 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .track { flex-wrap: wrap; width: auto; justify-content: center; animation: none; }
  .grp.dup, .floaters { display: none; }
  .cta-ring, .cta-body::before { display: none; }
  .walk .p { opacity: .22; }
  .badge-tilt, .hero-art { transform: none !important; }
}
