/* ==========================================================================
   Mariana Molina · Portafolio UGC
   ========================================================================== */

:root {
  --cream: #f4eee7;
  --paper: #fbf8f4;
  --sand: #e8ddd2;
  --ink: #2b211c;
  --ink-2: #5a4b42;
  --muted: #8a7a6f;
  --accent: #b46f6c;
  --rose-soft: #f2dad6;
  --line: rgba(43, 33, 28, 0.11);
  --glass: rgba(255, 255, 255, 0.36);
  --glass-strong: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.66);
  --shadow: 0 28px 60px -24px rgba(43, 33, 28, 0.42);
  --shadow-soft: 0 14px 34px -18px rgba(43, 33, 28, 0.3);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* espacio que ocupa la barra del navegador móvil */
  --ui-gap: calc(100vh - 100svh);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
video,
canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
svg .fill {
  fill: currentColor;
  stroke: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

em {
  font-style: italic;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  border: 1px solid var(--glass-border);
}

.curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}
.curtain.is-on {
  opacity: 1;
}

/* ============ Cabecera ============ */

.site-header {
  position: fixed;
  top: 14px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.site-header > * {
  pointer-events: auto;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.brand-pill__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
}
.brand-pill__mark img {
  width: 22px;
  height: auto;
}
.brand-pill__name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.nav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s;
}
.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}
.nav a.is-active {
  background: var(--ink);
  color: var(--cream);
}

.cta-pill {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.cta-pill:hover {
  transform: translateY(-2px);
  background: #3d2f27;
}

.mobile-nav {
  display: none;
}

/* ============ 1 · Hero ============ */

.hero {
  position: relative;
  height: 560vh;
}

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #b9c4a6;
}

.hero__backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  filter: blur(26px) saturate(1.1) brightness(1.05);
  transform: translateZ(0);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(244, 238, 231, 0.5), rgba(244, 238, 231, 0) 20%);
}
.hero__shade--bottom {
  background: linear-gradient(to top, var(--cream) 0%, rgba(244, 238, 231, 0.88) 15%, rgba(244, 238, 231, 0) 44%);
  will-change: opacity;
}

.hero__intro {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(7vh + var(--ui-gap));
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px);
  grid-template-areas:
    'eyebrow eyebrow'
    'title lead';
  align-items: end;
  column-gap: 40px;
  will-change: transform, opacity;
}
.hero__intro .eyebrow {
  grid-area: eyebrow;
}
.hero__title {
  grid-area: title;
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 13.5vw, 232px);
  line-height: 0.84;
  letter-spacing: -0.025em;
}
.hero__title em {
  color: var(--accent);
}
.hero__lead {
  grid-area: lead;
  margin: 0 0 1.2vw;
  font-size: 16px;
  color: var(--ink-2);
}

.hero__cards,
.hero__pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-pill {
  position: absolute;
  left: 0;
  top: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  will-change: transform, opacity;
}
.float-pill::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  height: 46px;
  border-left: 1px dashed rgba(43, 33, 28, 0.35);
}

/* Burbuja de post flotante */
.post {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 200px);
  padding: 0 0 10px;
  border-radius: 20px;
  color: var(--ink);
  text-align: left;
  pointer-events: auto;
  box-shadow: var(--shadow);
  opacity: 0;
  will-change: transform, opacity;
  transition: box-shadow 0.3s;
}
.post:hover {
  box-shadow: 0 34px 70px -24px rgba(43, 33, 28, 0.55);
}
.post__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px 7px;
}
.post__dots {
  display: flex;
  gap: 4px;
}
.post__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.post__x {
  font-size: 13px;
  line-height: 1;
  opacity: 0.55;
}
.post__media {
  position: relative;
  margin: 0 8px;
  aspect-ratio: 9 / 13;
  border-radius: 13px;
  overflow: hidden;
  background: var(--sand);
}
.post__media img,
.post__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__media video {
  opacity: 0;
  transition: opacity 0.4s;
}
.post__media video.is-ready {
  opacity: 1;
}
.post__play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}
.post__play svg {
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}
.post:hover .post__play {
  transform: scale(1.12);
}
.post__meta {
  padding: 10px 12px 0;
}
.post__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.post__brand {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.05;
}
.post__type {
  flex: none;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post__short {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-2);
}

.hero__outro {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: calc(7vh + var(--ui-gap));
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: end;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero__statement {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 100px);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.hero__statement em {
  color: var(--accent);
}
.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}
.stats li {
  padding: 14px 0;
  border-top: 1px solid rgba(43, 33, 28, 0.18);
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1;
}
.stats span {
  font-size: 13px;
  color: var(--ink-2);
}

.hero__hud {
  position: absolute;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}
.hero__hud .skip-btn {
  position: absolute;
  top: 84px;
  right: var(--gutter);
  pointer-events: auto;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: calc(2.5vh + var(--ui-gap));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transform: translateX(-50%);
}
.scroll-hint__line {
  position: relative;
  width: 1px;
  height: 64px;
  background: rgba(43, 33, 28, 0.2);
  overflow: hidden;
}
.scroll-hint__line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  background: var(--ink);
  animation: hint 1.8s var(--ease) infinite;
}
@keyframes hint {
  from {
    transform: translateY(260%);
  }
  to {
    transform: translateY(-110%);
  }
}

.skip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.4s, background 0.3s;
}
.skip-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}
.skip-btn svg {
  font-size: 16px;
}
.skip-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero__progress {
  position: absolute;
  right: calc(var(--gutter) / 2 - 1px);
  top: 50%;
  width: 2px;
  height: 120px;
  margin-top: 60px;
  border-radius: 2px;
  background: rgba(43, 33, 28, 0.15);
  overflow: hidden;
}
.hero__progress span {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: top;
  transform: scaleY(0);
}

/* ============ 2 · Portafolio ============ */

.portfolio {
  position: relative;
  z-index: 2;
  background: var(--cream);
  padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(96px, 10vw, 140px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.015em;
}
.section-title em {
  color: var(--accent);
}
.section-lead {
  max-width: 520px;
  margin: 18px auto 0;
  color: var(--ink-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
}
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(43, 33, 28, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.filter small {
  margin-left: 6px;
  font-size: 11px;
  opacity: 0.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.vcard {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: var(--sand);
  color: #fff;
  text-align: left;
  isolation: isolate;
  box-shadow: var(--shadow-soft);
  animation: card-in 0.6s var(--ease) both;
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.vcard[hidden] {
  display: none;
}
.vcard img,
.vcard video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.vcard video {
  opacity: 0;
}
.vcard video.is-ready {
  opacity: 1;
}
.vcard:hover img,
.vcard:hover video {
  transform: scale(1.04);
}
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(30, 22, 18, 0.82) 0%, rgba(30, 22, 18, 0.35) 30%, rgba(30, 22, 18, 0) 55%);
}
.vcard__top {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}
.chip--dark {
  background: var(--ink);
  color: var(--cream);
}
.vcard__play {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}
.vcard__play svg {
  fill: currentColor;
  stroke: none;
  margin-left: 2px;
}
.vcard:hover .vcard__play {
  transform: scale(1.12);
}
.vcard__meta {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
}
.vcard__brand {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
}
.vcard__title {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

/* ============ 3 · Marcas + equipo ============ */

.brands {
  position: relative;
  z-index: 2;
  height: 360vh;
  background: var(--cream);
}

.brands__lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
}
.brands__lines i {
  border-right: 1px solid var(--line);
}
.brands__lines i:nth-child(3) {
  border-color: transparent;
}

.brands__sticky-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.brands__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gear {
  min-width: 0;
  width: calc(100% / 3);
  padding: 0 1.5vw;
  text-align: center;
  pointer-events: auto;
}
.gear .eyebrow {
  margin-bottom: 8px;
}
.gear__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 0.95;
}
.gear__title em {
  color: var(--accent);
}
.gear__stage {
  position: relative;
  width: 100%;
  height: min(46vh, 34vw);
  margin: 1vh 0 0;
}
.gear__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}
.gear__glow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 6%;
  bottom: 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 218, 214, 0.95), rgba(242, 218, 214, 0));
}
.gear__shadow {
  position: absolute;
  left: 50%;
  bottom: 7%;
  width: 62%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 33, 28, 0.3), rgba(43, 33, 28, 0));
  transform: translateX(-50%);
}
.gear__info {
  min-height: 132px;
  transition: opacity 0.35s;
}
.gear__info.is-swapping {
  opacity: 0;
}
.gear__count {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gear__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1;
}
.gear__text {
  max-width: 360px;
  margin: 8px auto 0;
  font-size: 14px;
  color: var(--ink-2);
}
.gear__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.gear__dot {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(43, 33, 28, 0.18);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s;
}
.gear__dot[aria-current='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.skip-btn--brands {
  position: absolute;
  right: var(--gutter);
  bottom: calc(24px + var(--ui-gap));
  pointer-events: auto;
}

.brands__wall {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.bcol {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 24vh 0;
  will-change: transform;
}
.bcol:nth-child(1) {
  grid-column: 1;
}
.bcol:nth-child(2) {
  grid-column: 2;
}
.bcol:nth-child(3) {
  grid-column: 5;
}
.bcol:nth-child(4) {
  grid-column: 6;
}
.bcell {
  position: relative;
  display: grid;
  place-items: center;
  height: 30vh;
  padding: 0 16%;
}
.bcell__logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.bcell img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}
.bcell img.is-round {
  max-height: 104px;
}
.bcell .bcell__color {
  position: absolute;
  opacity: 0;
  transform: scale(0.94);
}
.bcell:hover .bcell__mono {
  opacity: 0;
}
.bcell:hover .bcell__color {
  opacity: 1;
  transform: none;
}
.bcell__name {
  position: absolute;
  bottom: 22%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.35s;
}
.bcell:hover .bcell__name {
  opacity: 1;
}
.bcell--title {
  place-items: start;
  align-content: center;
  padding: 0 14%;
}
.bcell--title strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 0.95;
}
.bcell--title strong em {
  color: var(--accent);
}
.bcell--title span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ============ 4 · Contacto ============ */

.contact {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(96px, 12vw, 160px) max(var(--gutter), calc((100vw - 1240px) / 2));
  background: var(--cream);
}
.contact__media {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
}
/* sombra de suelo bajo los pies (la foto no lleva fondo) */
.contact__media::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.5%;
  width: 62%;
  height: 5%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 33, 28, 0.26), rgba(43, 33, 28, 0));
  transform: translateX(-50%);
}
.contact__photo {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: min(78vh, 820px);
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(43, 33, 28, 0.16));
  will-change: transform, opacity;
}
.contact__tag {
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: 30%;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.contact__lead {
  max-width: 540px;
  margin: 22px 0 26px;
  font-size: 17px;
  color: var(--ink-2);
}
.services {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.services li {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn svg {
  font-size: 19px;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--ink);
  color: var(--cream);
}
.btn--dark:hover {
  background: #3d2f27;
}
.btn--light {
  border: 1px solid var(--ink);
}
.btn--light:hover {
  background: var(--ink);
  color: var(--cream);
}
.contact__note {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--cream);
  font-size: 13px;
  color: var(--muted);
}
.site-footer p {
  margin: 0;
}
.site-footer__logo {
  width: 132px;
  height: auto;
}
.link-btn {
  font-weight: 700;
  color: var(--ink);
}

/* ============ Reproductor ============ */

.player {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.player[hidden] {
  display: none;
}
.player__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 21, 17, 0.84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fade-in 0.3s ease both;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
.player__panel {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(260px, 340px);
  gap: 32px;
  align-items: center;
  max-width: 100%;
  animation: pop-in 0.45s var(--ease) both;
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}
.player__media {
  height: min(86vh, 900px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7);
}
.player__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player__info {
  color: var(--cream);
}
.player__tags {
  display: flex;
  gap: 6px;
}
.player__tags .chip--dark {
  background: var(--cream);
  color: var(--ink);
}
.player__tags .chip:not(.chip--dark) {
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
}
.player__brand {
  margin: 22px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 231, 0.7);
}
.player__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 0.98;
}
.player__context {
  margin: 16px 0 28px;
  font-size: 15px;
  color: rgba(244, 238, 231, 0.82);
}
.player__nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.player__count {
  font-size: 13px;
  font-weight: 700;
  color: rgba(244, 238, 231, 0.7);
}
.round-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244, 238, 231, 0.3);
  color: var(--cream);
  font-size: 18px;
  transition: background 0.25s, color 0.25s;
}
.round-btn:hover {
  background: var(--cream);
  color: var(--ink);
}
.player__close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(28, 21, 17, 0.6);
}

/* ============ Responsive ============ */

@media (max-width: 1080px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav a {
    padding: 9px 12px;
  }
}

@media (max-width: 860px) {
  .nav,
  .brand-pill__name {
    display: none;
  }
  .brand-pill {
    padding-right: 5px;
  }

  .mobile-nav {
    position: fixed;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    gap: 2px;
    padding: 5px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow-soft);
    transform: translateX(-50%);
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 68px;
    padding: 8px 6px 6px;
    border-radius: 17px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-2);
  }
  .mobile-nav svg {
    font-size: 20px;
  }
  .mobile-nav a.is-active {
    background: var(--ink);
    color: var(--cream);
  }

  .hero__shade--bottom {
    background: linear-gradient(to top, var(--cream) 0%, rgba(244, 238, 231, 0.92) 30%, rgba(244, 238, 231, 0) 66%);
  }
  .post .post__short {
    display: none;
  }
  .post .post__brand {
    font-size: 18px;
  }
  .post__meta {
    padding: 8px 10px 0;
  }
  .hero__intro {
    grid-template-columns: 1fr;
    grid-template-areas: 'eyebrow' 'title' 'lead';
    bottom: calc(108px + env(safe-area-inset-bottom) + var(--ui-gap));
  }
  .hero__lead {
    margin: 14px 0 0;
    max-width: 360px;
    font-size: 15px;
  }
  .hero__title {
    font-size: clamp(64px, 21vw, 140px);
  }
  .hero__outro {
    grid-template-columns: 1fr;
    gap: 18px;
    bottom: calc(100px + env(safe-area-inset-bottom) + var(--ui-gap));
  }
  .stats strong {
    font-size: 30px;
  }
  .stats li {
    padding: 10px 0;
  }
  .hero__hud .skip-btn {
    top: 16px;
    right: var(--gutter);
    padding: 10px 14px;
    font-size: 12px;
  }
  .scroll-hint {
    display: none;
  }
  .hero__progress {
    display: none;
  }
  .cta-pill {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .vcard {
    border-radius: 16px;
  }
  .vcard__meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .vcard__title {
    font-size: 12px;
  }
  .vcard__top {
    left: 8px;
    right: 8px;
    top: 8px;
  }
  .vcard .chip {
    font-size: 9px;
    padding: 4px 7px;
  }
  .vcard__play {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin: 0 calc(var(--gutter) * -1) 28px;
    padding: 0 var(--gutter) 4px;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar {
    display: none;
  }
  .filter {
    flex: none;
  }

  .brands {
    height: 380vh;
  }
  .brands__lines {
    grid-template-columns: repeat(4, 1fr);
  }
  .brands__lines i:nth-child(n + 4) {
    display: none;
  }
  .brands__lines i:nth-child(3) {
    border-color: var(--line);
  }
  .brands__lines i:nth-child(2) {
    border-color: transparent;
  }
  .brands__wall {
    grid-template-columns: repeat(4, 1fr);
  }
  .bcol:nth-child(1) {
    grid-column: 1;
  }
  .bcol:nth-child(2) {
    grid-column: 4;
  }
  .bcell {
    height: 18vh;
    padding: 0 12%;
  }
  .bcell img {
    max-height: 40px;
  }
  .bcell img.is-round {
    max-height: 58px;
  }
  .bcell--title strong {
    font-size: 22px;
  }
  .bcell--title span {
    font-size: 11px;
  }
  .gear {
    width: 50%;
    padding: 0;
  }
  .gear__title {
    font-size: 28px;
  }
  .gear__stage {
    height: 34vh;
  }
  .gear__name {
    font-size: 30px;
  }
  .gear__text {
    font-size: 13px;
  }
  .gear__dots {
    flex-wrap: wrap;
    gap: 5px;
  }
  .gear__dot {
    padding: 5px 8px;
    font-size: 10px;
  }
  .skip-btn--brands {
    bottom: calc(96px + env(safe-area-inset-bottom) + var(--ui-gap));
  }

  .contact {
    grid-template-columns: 1fr;
  }
  .contact__photo {
    height: min(72vh, 620px);
  }
  .site-footer {
    flex-direction: column;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .player {
    padding: 12px;
    align-items: start;
    overflow-y: auto;
  }
  .player__panel {
    grid-template-columns: 1fr;
    gap: 18px;
    width: 100%;
    padding-top: 8px;
  }
  .player__media {
    height: auto;
    width: min(100%, calc(64vh * 9 / 16));
    margin: 0 auto;
  }
  .player__close {
    top: 8px;
    right: 8px;
  }
  .player__brand {
    margin-top: 14px;
  }
  .player__context {
    margin-bottom: 18px;
  }
}

@media (max-width: 420px) {
  .mobile-nav a {
    min-width: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint__line::after {
    animation: none;
  }
  .vcard {
    animation: none;
  }
}

/* ============ Ajustes de componentes generados por JS ============ */

.post__media,
.post__meta,
.post__brand,
.post__short {
  display: block;
}

.hero__canvas,
.hero__backdrop {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero.is-ready .hero__canvas,
.hero.is-ready .hero__backdrop {
  opacity: 1;
}

.bcell img.is-tall {
  max-height: 96px;
}
.no-webgl .gear__stage {
  display: none;
}

@media (max-width: 860px) {
  .bcell img.is-tall {
    max-height: 54px;
  }
}
