/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; cursor: none; background: #f5f4ec; }
@media (hover: none) { body { cursor: auto; } }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #e9e8df; }
::-webkit-scrollbar-thumb { background: #cdccc0; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #15161a; }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, #d6e022, #aebb0c);
}

/* ===== Background fx ===== */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #f5f4ec; }
.bg-fx::after {
  content: ""; position: absolute; inset: -50%;
  background-image: radial-gradient(rgba(21,22,26,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, #000 35%, transparent 100%);
  opacity: .7;
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .4; will-change: transform; }
.glow-1 { width: 520px; height: 520px; background: #e7ed95; top: -160px; left: -120px; opacity: .55; }
.glow-2 { width: 460px; height: 460px; background: #cdccc0; bottom: -180px; right: -120px; opacity: .3; }

/* ===== Custom cursor ===== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  mix-blend-mode: difference; /* visible sobre fondo claro y oscuro */
}
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid rgba(255,255,255,.7);
  transition: width .25s, height .25s, background .25s, border-color .25s;
}
.cursor-ring.is-hover { width: 56px; height: 56px; background: rgba(255,255,255,.25); border-color: transparent; }

/* ===== Header (píldora flotante, 800px, centrada) ===== */
.nav-glass {
  background: rgba(245,244,236,.65);
  border: 1px solid rgba(21,22,26,.09);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled .nav-glass {
  background: rgba(245,244,236,.92);
  border-color: rgba(21,22,26,.12);
  box-shadow: 0 10px 30px -16px rgba(21,22,26,.3);
}

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark {
  display: grid; place-items: center; height: 30px;
}
.brand__mark img { height: 100%; width: auto; display: block; }
.brand__name { font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; color: #15161a; }

.navlink { position: relative; transition: color .25s; }
.navlink::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: #15161a; transition: width .3s; }
.navlink:hover { color: #15161a; }
.navlink:hover::after { width: 100%; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 9999px; font-weight: 700;
  color: #15161a; background: #d6e022;
  box-shadow: 0 12px 28px -12px rgba(214,224,34,.9);
  transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s;
}
.btn-primary:hover { transform: translateY(-2px); background: #15161a; color: #d6e022; box-shadow: 0 18px 38px -12px rgba(21,22,26,.5); }

.btn-ghost {
  display: inline-flex; align-items: center; padding: .85rem 1.4rem;
  border-radius: 9999px; font-weight: 600; color: rgba(21,22,26,.85);
  border: 1px solid rgba(21,22,26,.18); background: transparent;
  transition: background .25s, border-color .25s, transform .25s;
}
.btn-ghost:hover { background: rgba(21,22,26,.07); border-color: rgba(21,22,26,.5); transform: translateY(-2px); }

/* ===== Typography ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #15161a; margin-bottom: .9rem;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }

/* ===== HERO (centrado, máx 800px) ===== */
.hero-wrap { max-width: 800px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(21,22,26,.5);
}
.hero-eyebrow__rule { width: 28px; height: 1px; background: rgba(21,22,26,.25); }
.hero-title { font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: 1.06; letter-spacing: -.035em; max-width: 800px; }
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; }
.accent { position: relative; color: #15161a; font-style: italic; white-space: nowrap; }
.hand-underline {
  position: absolute; left: -2%; bottom: -.3em; width: 104%; height: .42em;
  color: #d6e022; overflow: visible;
}
.hand-underline path { vector-effect: non-scaling-stroke; }

.hero-visual { position: relative; max-width: 720px; width: 100%; }

/* ===== Window mockup ===== */
.window {
  border-radius: 16px; background: #fff; overflow: hidden;
  border: 1px solid rgba(21,22,26,.1);
  box-shadow: 0 40px 80px -40px rgba(21,22,26,.45), 0 8px 24px -16px rgba(21,22,26,.3);
}
.window--float { will-change: transform; }
.window__bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: #f1f0e8; border-bottom: 1px solid rgba(21,22,26,.08);
}
.wdot { width: 11px; height: 11px; border-radius: 50%; background: #d6d4c6; }
.wdot:nth-child(1) { background: #e7a6a0; }
.wdot:nth-child(2) { background: #ecd29a; }
.wdot:nth-child(3) { background: #a6d3b4; }
.window__url {
  margin-left: 12px; font-size: .74rem; color: rgba(21,22,26,.5);
  background: #fff; border: 1px solid rgba(21,22,26,.08);
  padding: .25rem .9rem; border-radius: 9999px;
}
.window__body { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 18px; min-height: 230px; }

.mock-side { display: flex; flex-direction: column; gap: 10px; }
.mock-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #15161a, #3a3a33); margin-bottom: 6px; }
.mock-nav { height: 8px; border-radius: 4px; background: rgba(21,22,26,.1); }
.mock-nav.short { width: 60%; }
.mock-main { display: flex; flex-direction: column; gap: 14px; }
.mock-hero { background: linear-gradient(135deg, rgba(21,22,26,.12), rgba(21,22,26,.06)); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.mock-h1 { height: 16px; width: 70%; border-radius: 5px; background: rgba(21,22,26,.22); }
.mock-h2 { height: 10px; width: 50%; border-radius: 5px; background: rgba(21,22,26,.12); }
.mock-btn { height: 24px; width: 110px; border-radius: 9999px; background: #15161a; margin-top: 4px; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mock-card { height: 56px; border-radius: 10px; background: rgba(21,22,26,.06); border: 1px solid rgba(21,22,26,.06); }

/* Chips flotantes */
.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600; color: #15161a;
  background: #fff; border: 1px solid rgba(21,22,26,.1); border-radius: 9999px;
  padding: .5rem .9rem; box-shadow: 0 16px 30px -18px rgba(21,22,26,.4);
}
.chip-float--1 { top: 6%; right: -4%; }
.chip-float--2 { bottom: 8%; left: -5%; color: #15161a; font-family: ui-monospace, monospace; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3a33; box-shadow: 0 0 0 4px rgba(21,22,26,.2); }
@media (max-width: 560px) { .chip-float { display: none; } }

/* ===== Scroll cue ===== */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(21,22,26,.25); border-radius: 14px;
  display: grid; justify-items: center; padding-top: 7px;
}
.scroll-cue span { width: 3px; height: 7px; border-radius: 3px; background: #15161a; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: .2; } }

/* ===== Marquee ===== */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 2rem; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 1.5rem; font-weight: 700; color: rgba(21,22,26,.4); white-space: nowrap; letter-spacing: -.01em; }
.marquee__track span[aria-hidden] { color: rgba(21,22,26,.5); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Servicios ===== */
.svc { background: #f5f4ec; padding: 2.2rem 2rem; transition: background .3s; display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items: start; }
.svc:hover { background: #fbfbf6; }
.svc__idx { font-size: .85rem; font-weight: 700; color: rgba(21,22,26,.6); letter-spacing: .1em; padding-top: .4rem; }
.svc__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .35rem; }
.svc__text { color: rgba(21,22,26,.58); line-height: 1.6; max-width: 52ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.svc__tags span { font-size: .78rem; font-weight: 600; color: #15161a; background: rgba(214,224,34,.28); border: 1px solid rgba(214,224,34,.7); padding: .25rem .7rem; border-radius: 9999px; }
.svc__icon { color: #15161a; display: inline-flex; }
.svc__icon svg { width: 40px; height: 40px; }
@media (max-width: 767px) {
  .svc { grid-template-columns: 1fr; gap: .5rem; }
  .svc__icon { display: none; }
}

/* ===== Trabajos (projects) ===== */
.project {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem;
  background: #fbfbf6; border: 1px solid rgba(21,22,26,.1); border-radius: 1.75rem;
  padding: 1.75rem; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.project > * { position: relative; z-index: 1; }
.project:hover { transform: translateY(-5px); border-color: rgba(21,22,26,.4); box-shadow: 0 28px 56px -30px rgba(21,22,26,.4); }
.spotlight::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(214,224,34,.3), transparent 45%);
}
.spotlight:hover::after { opacity: 1; }

.project--feature { background: #15161a; border-color: transparent; color: #f5f4ec; padding: 2.5rem; }
.project--feature::before { content: ""; position: absolute; inset: 0; opacity: .55; background: radial-gradient(700px circle at 85% 10%, rgba(21,22,26,.4), transparent 55%); }

.project__title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-top: .5rem; }
.project__text { color: rgba(21,22,26,.6); line-height: 1.6; margin-top: .5rem; }
.project--feature .project__text { color: rgba(245,244,236,.8); }
.project__link { display: inline-block; margin-top: 1rem; font-weight: 700; color: #15161a; }
.project--feature .project__link { color: #d6e022; }
.bento-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #15161a; font-weight: 700; }
.project--feature .bento-tag { color: #d6e022; }

.project__media .window--sm { transform: rotate(-1.5deg); transition: transform .4s; }
.project--feature:hover .window--sm { transform: rotate(0deg); }
.window--sm .window__body { min-height: 150px; display: block; padding: 16px; }
.window__body--umme { background: #fff; }
.umme-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.umme-head span { height: 10px; border-radius: 5px; background: rgba(21,22,26,.12); flex: 1; }
.umme-head .umme-cta { flex: 0 0 64px; height: 22px; border-radius: 9999px; background: #15161a; }
.umme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.umme-vid { height: 58px; border-radius: 10px; background: linear-gradient(135deg, rgba(21,22,26,.16), rgba(21,22,26,.06)); border: 1px solid rgba(21,22,26,.06); }

/* Phone mock (OlivaTour) */
.project__phone {
  position: relative; align-self: center; width: 132px; height: 188px; border-radius: 24px;
  background: linear-gradient(160deg, #3a3a33, #15161a); padding: 8px;
  box-shadow: 0 24px 44px -22px rgba(21,22,26,.6); overflow: hidden; margin: .5rem 0;
}
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 46px; height: 7px; border-radius: 9999px; background: rgba(0,0,0,.25); z-index: 2; }
.phone-map { position: absolute; inset: 8px; border-radius: 18px; background:
  repeating-linear-gradient(0deg, rgba(255,255,255,.16) 0 1px, transparent 1px 22px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 22px),
  rgba(255,255,255,.08); }
.phone-pin { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: #fff; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.phone-pin--1 { top: 40px; left: 36px; }
.phone-pin--2 { top: 86px; left: 80px; }
.phone-pin--3 { top: 130px; left: 50px; background: #ffe08a; }

/* Icon art (ConViVir, NeuroEquus) */
.project--wide { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
.project__icon-art { width: 88px; height: 88px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 20px; color: #15161a; background: linear-gradient(135deg, rgba(21,22,26,.14), rgba(21,22,26,.08)); border: 1px solid rgba(21,22,26,.16); }
.project__icon-art svg { width: 40px; height: 40px; }
.project__icon-art--lg { width: 104px; height: 104px; }
.project__icon-art--lg svg { width: 48px; height: 48px; }

/* ===== Proceso ===== */
.process { position: relative; }
.process__line { display: none; }

/* --- Móvil: tarjetas apiladas tipo deck --- */
.process__steps { display: flex; flex-direction: column; gap: 1.5rem; max-width: 680px; margin: 0 auto; }
.step {
  position: sticky;
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.35rem; align-items: start;
  width: 100%; max-width: 100%; box-sizing: border-box;
  background: #fbfbf6; border: 1px solid rgba(21,22,26,.1); border-radius: 1.5rem;
  padding: 2.1rem 2rem; overflow: hidden; min-height: 168px;
  box-shadow: 0 20px 44px -28px rgba(21,22,26,.5);
  transition: border-color .35s, box-shadow .35s;
}
.step > * { position: relative; z-index: 1; min-width: 0; }
.step__title, .step__text { overflow-wrap: anywhere; }
.step:nth-child(1) { top: 100px; }
.step:nth-child(2) { top: 120px; }
.step:nth-child(3) { top: 140px; }
.step:nth-child(4) { top: 160px; }
.step:hover { border-color: rgba(21,22,26,.3); }
.step__icon {
  grid-row: 1 / span 2; align-self: start;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px;
  color: #15161a; background: rgba(214,224,34,.22); border: 1px solid rgba(214,224,34,.65);
}
.step__icon svg { width: 27px; height: 27px; }
.step__num {
  position: absolute; top: 1.5rem; right: 1.6rem; z-index: 2;
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9999px;
  font-size: .8rem; font-weight: 800; color: #15161a; background: #f5f4ec; border: 2px solid #15161a;
}
.step__title { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; margin: .15rem 0 .5rem; padding-right: 2.6rem; }
.step__text { color: rgba(21,22,26,.6); line-height: 1.6; max-width: 58ch; }
@media (max-width: 480px) {
  .step { padding: 1.7rem 1.5rem; column-gap: 1.1rem; }
  .step__icon { width: 48px; height: 48px; }
  .step__title { font-size: 1.2rem; }
}

/* --- Escritorio: fila de 4 con línea/timeline --- */
@media (min-width: 768px) {
  .process__line { display: block; position: absolute; top: 26px; left: 11%; right: 11%; height: 2px; background: rgba(21,22,26,.14); z-index: 0; }
  .process__progress { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: linear-gradient(90deg, #d6e022, #aebb0c); }
  .process__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; max-width: none; margin: 0; }
  .step {
    position: static; display: block; text-align: center;
    background: transparent; border: none; border-radius: 0; box-shadow: none;
    padding: 0; min-height: 0; overflow: visible;
  }
  .step:hover { border-color: transparent; }
  .step::after { display: none; }
  .step__num { position: static; margin: 0 auto 1.5rem; }
  .step__icon { margin: 0 auto 1.1rem; }
  .step__title { padding-right: 0; font-size: 1.25rem; }
  .step__text { max-width: 32ch; margin: 0 auto; font-size: .95rem; }
}

/* ===== Lista de características (páginas de proyecto) ===== */
.feature-list { list-style: none; display: grid; gap: .75rem; margin: 1rem 0 0; padding: 0; }
.feature-list li { position: relative; padding-left: 1.7rem; line-height: 1.6; }
.feature-list li::before { content: "→"; position: absolute; left: 0; top: 0; color: #15161a; font-weight: 800; }
.feature-list b { color: #15161a; font-weight: 700; }

/* ===== Banda oscura (ritmo / valores) ===== */
.band-dark { position: relative; overflow: hidden; background: #15161a; color: #f5f4ec; }
.band-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px circle at 82% 8%, rgba(214,224,34,.18), transparent 55%); }
.band-dark > * { position: relative; z-index: 1; }
.band-dark__eyebrow { color: #d6e022; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.band-dark__title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; margin: .7rem 0 1.2rem; }
.band-dark__item { text-align: left; }
@media (min-width: 768px) {
  .band-dark__item { padding-left: 2.25rem; border-left: 1px solid rgba(245,244,236,.14); }
  .band-dark__item:first-child { padding-left: 0; border-left: none; }
}
.band-dark__item h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .6rem; }
.band-dark__item h3 b { color: #d6e022; font-weight: 800; }
.band-dark__item p { color: rgba(245,244,236,.7); line-height: 1.6; }

/* ===== Stats ===== */
.stat { display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem; background: #fbfbf6; }
.stat-num { font-size: 2.4rem; font-weight: 900; line-height: 1; color: #15161a; }
.stat-label { font-size: .82rem; color: rgba(21,22,26,.5); }

/* ===== Panel + Form ===== */
.panel { border-radius: 1.5rem; background: #fbfbf6; border: 1px solid rgba(21,22,26,.1); box-shadow: 0 24px 60px -36px rgba(21,22,26,.3); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field__label { font-size: .85rem; font-weight: 600; color: rgba(21,22,26,.7); }
.field__input { width: 100%; padding: .8rem 1rem; border-radius: .85rem; font: inherit; color: #15161a; background: #f5f4ec; border: 1px solid rgba(21,22,26,.14); transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical; }
.field__input::placeholder { color: rgba(21,22,26,.38); }
.field__input:focus { outline: none; background: #fff; border-color: #b9c70a; box-shadow: 0 0 0 4px rgba(214,224,34,.35); }

/* ===== Equipo / Patán ===== */
.patan-stage { position: relative; display: flex; justify-content: center; padding: 18px; }
.patan-blob {
  position: absolute; z-index: 0; top: -6px; right: 6%; width: 62%; max-width: 320px; aspect-ratio: 1;
  border-radius: 50%; background: #d6e022;
}
.patan-frame {
  position: relative; z-index: 1; width: 100%; max-width: 380px; aspect-ratio: 4 / 5;
  border-radius: 26px; overflow: hidden; transform: rotate(-2deg);
  border: 5px solid #f5f4ec; box-shadow: 0 30px 60px -28px rgba(21,22,26,.45);
  animation: patanBob 5s ease-in-out infinite;
}
.patan-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes patanBob { 0%,100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
.patan-badge {
  position: absolute; z-index: 2; bottom: 6%; left: 4%;
  background: #15161a; color: #d6e022; font-weight: 700; font-size: .8rem;
  padding: .55rem 1rem; border-radius: 9999px; transform: rotate(-4deg);
  box-shadow: 0 14px 28px -14px rgba(21,22,26,.6);
}
.patan-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.patan-tags li {
  font-size: .85rem; font-weight: 600; color: #15161a;
  background: rgba(214,224,34,.28); border: 1px solid rgba(214,224,34,.7);
  padding: .4rem .9rem; border-radius: 9999px;
}

/* ===== Valores (página Sobre nosotros) ===== */
.value {
  position: relative; background: #fbfbf6; border: 1px solid rgba(21,22,26,.1);
  border-radius: 1.5rem; padding: 2rem; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
}
.value > * { position: relative; z-index: 1; }
.value:hover { transform: translateY(-5px); border-color: rgba(21,22,26,.3); box-shadow: 0 28px 56px -30px rgba(21,22,26,.4); }
.value__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px;
  color: #15161a; background: rgba(214,224,34,.22); border: 1px solid rgba(214,224,34,.65); margin-bottom: 1.2rem;
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .5rem; }
.value p { color: rgba(21,22,26,.6); line-height: 1.6; }

/* Cifras / mini-stats sobre nosotros */
.about-stat { display: flex; flex-direction: column; gap: .25rem; }
.about-stat dt { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; color: #15161a; }
.about-stat dd { font-size: .9rem; color: rgba(21,22,26,.55); margin: 0; }

/* ===== Galería de Patán (scroll horizontal con tarjetas) ===== */
.patan-gallery {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem .25rem 1.5rem; margin: 0 -.25rem;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #cdccc0 transparent;
}
.patan-gallery::-webkit-scrollbar { height: 8px; }
.patan-gallery::-webkit-scrollbar-thumb { background: #cdccc0; border-radius: 8px; }
.patan-card {
  position: relative; flex: 0 0 auto; width: min(78vw, 330px); aspect-ratio: 4 / 5;
  border-radius: 24px; overflow: hidden; scroll-snap-align: center; background: #fff;
  border: 5px solid #f5f4ec; box-shadow: 0 30px 60px -30px rgba(21,22,26,.45);
}
.patan-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.patan-card:hover img { transform: scale(1.05); }
.patan-card__cap {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  background: #15161a; color: #d6e022; font-weight: 700; font-size: .8rem;
  padding: .45rem .9rem; border-radius: 9999px; box-shadow: 0 14px 28px -14px rgba(21,22,26,.6);
}
.patan-hint { font-size: .82rem; color: rgba(21,22,26,.45); display: inline-flex; align-items: center; gap: .4rem; }

/* ===== Éxito del formulario (foto de Patán) ===== */
.form-success {
  display: none; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  padding: .5rem 0;
}
.form-success.is-visible { display: flex; }
.form-success img {
  width: 160px; height: 160px; object-fit: cover; border-radius: 9999px;
  border: 5px solid #f5f4ec; box-shadow: 0 24px 50px -24px rgba(21,22,26,.5);
  animation: patanPop .6s cubic-bezier(.2,.9,.3,1.4) both;
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.form-success p { color: rgba(21,22,26,.6); max-width: 38ch; }
@keyframes patanPop { 0% { transform: scale(.6) rotate(-8deg); opacity: 0; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .form-success img { animation: none; } }

/* ===== Reveal base (solo se ocultan si hay JS) ===== */
.js .reveal, .js .reveal-head { opacity: 0; transform: translateY(26px); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .scroll-cue span, .scroll-progress, .patan-img { animation: none !important; }
  .js .reveal, .js .reveal-head { opacity: 1; transform: none; }
}
