/* =========================================================
   ITENKI FILMS — sitio de portafolio
   Estética editorial / cinematográfica
   ========================================================= */

:root{
  --bg: #0b0b0b;
  --bg-soft: #101010;
  --surface: #151514;
  --surface-2: #1b1a18;
  --text: #f4f1ea;
  --muted: #a19b91;
  --muted-2: #6f6a63;
  --line: rgba(244, 241, 234, .12);
  --line-soft: rgba(244, 241, 234, .07);
  --accent: #ea5f0a;
  --accent-2: #ff7a2a;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 2px;
  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
}

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

html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked{ overflow: hidden; }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0; }
figure{ margin: 0; }
::selection{ background: var(--accent); color: #fff; }

:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link{
  position: fixed;
  top: 12px; left: 12px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus{ transform: translateY(0); }

/* Grano de película */
.grain{
  position: fixed;
  inset: -100%;
  z-index: 300;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(6) infinite;
}
@keyframes grain{
  0%,100%{ transform: translate(0,0); }
  20%{ transform: translate(-3%,2%); }
  40%{ transform: translate(2%,-3%); }
  60%{ transform: translate(-2%,-2%); }
  80%{ transform: translate(3%,3%); }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

section[id], main [id]{ scroll-margin-top: 88px; }

/* ---------- Tipografía base ---------- */
.h-display{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
  margin: 0;
}
.h-display--xl{
  font-size: clamp(2.6rem, 6.4vw, 6.2rem);
}
.accent{ color: var(--accent); }
.outline{
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 234, .75);
}

.eyebrow{
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow span{ color: var(--accent); margin-inline: 6px; }

.label{
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.label span{
  color: var(--accent);
  font-size: .7rem;
}
.label--right{ color: var(--muted-2); }

/* ---------- Botones ---------- */
.btn{
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  overflow: hidden;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
  will-change: transform;
}
.btn svg{
  width: 13px; height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .35s var(--ease);
}
.btn:hover svg{ transform: translate(3px, -3px); }
.btn--sm{ padding: 12px 20px; font-size: .68rem; }
.btn--wide{ width: 100%; }

.btn--solid{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn--solid:hover{
  background: var(--accent-2);
  border-color: var(--accent-2);
}

.btn--ghost:hover{
  border-color: rgba(244, 241, 234, .5);
  background: rgba(244, 241, 234, .04);
}

/* ---------- Preloader ---------- */
.preloader{
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner{
  width: min(320px, 70vw);
  text-align: center;
}
.preloader__mark{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -.02em;
  text-transform: lowercase;
}
.preloader__mark span{
  color: var(--accent);
  margin-left: 4px;
  font-weight: 600;
}
.preloader__bar{
  height: 2px;
  background: var(--line);
  margin: 26px 0 14px;
  overflow: hidden;
}
.preloader__bar span{
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: translateX(-100%);
  animation: loadbar 1.6s var(--ease) forwards;
}
@keyframes loadbar{ to{ transform: translateX(0); } }
.preloader__meta{
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Header ---------- */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 22px;
  transition: padding .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled{
  padding-block: 12px;
  background: rgba(11, 11, 11, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-soft);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.03em;
  text-transform: lowercase;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  flex-shrink: 0;
}
.brand__mark{ color: var(--text); }
.brand__sub{
  color: var(--accent);
  font-weight: 500;
  font-size: .85em;
}
.nav{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a{
  position: relative;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav a::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover{ color: var(--text); }
.nav a:hover::after{ transform: scaleX(1); transform-origin: left; }

.header__actions{
  display: flex;
  align-items: center;
  gap: 18px;
}
.burger{
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .3s;
}
.burger span{
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .4s var(--ease), opacity .3s;
}
.burger:hover{ border-color: var(--accent); }
.burger.is-open span:nth-child(1){ transform: translateY(4.25px) rotate(45deg); }
.burger.is-open span:nth-child(2){ transform: translateY(-4.25px) rotate(-45deg); }

/* ---------- Menú móvil ---------- */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg-soft);
  padding: 120px var(--pad) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .7s var(--ease), visibility .7s;
  overflow-y: auto;
}
.mobile-menu.is-open{
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu__nav{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__nav a{
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -.03em;
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line-soft);
  padding-block: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.mobile-menu__nav a::before{
  content: attr(data-index);
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
}
.mobile-menu__nav a:hover{ color: var(--accent); }
.mobile-menu.is-open .mobile-menu__nav a{
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open .mobile-menu__nav a:nth-child(1){ transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2){ transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3){ transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4){ transition-delay: .3s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5){ transition-delay: .35s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6){ transition-delay: .4s; }
.mobile-menu__foot{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 30px;
  font-size: .8rem;
  color: var(--muted);
}
.mobile-menu__foot a:hover{ color: var(--accent); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  isolation: isolate;
}
.hero__media{
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom{
  from{ transform: scale(1.12); }
  to{ transform: scale(1); }
}
.hero__veil{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,11,11,.72) 0%, rgba(11,11,11,.25) 35%, rgba(11,11,11,.55) 72%, var(--bg) 100%),
    linear-gradient(to right, rgba(11,11,11,.75), rgba(11,11,11,.1) 60%, rgba(11,11,11,.4));
}
.hero__inner{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 2.8vh, 40px);
  padding-top: clamp(100px, 15vh, 140px);
  padding-bottom: clamp(24px, 4.5vh, 46px);
  width: 100%;
}
.hero__top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.hero__status{
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.dot{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(234, 95, 10, .6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(234, 95, 10, .55); }
  70%{ box-shadow: 0 0 0 8px rgba(234, 95, 10, 0); }
  100%{ box-shadow: 0 0 0 0 rgba(234, 95, 10, 0); }
}

.hero__title{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, min(8vw, 10.5vh), 7.2rem);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
  margin: 0;
  max-width: 15ch;
}
.hero__title .line{
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.hero__title .line > span{
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span{ animation-delay: .15s; }
.hero__title .line:nth-child(2) > span{ animation-delay: .27s; }
.hero__title .line:nth-child(3) > span{ animation-delay: .39s; }
.hero__title .line:nth-child(4) > span{ animation-delay: .51s; }
@keyframes lineUp{ to{ transform: translateY(0); } }

.hero__bottom{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hero__text{
  max-width: 430px;
  font-size: .92rem;
  line-height: 1.7;
  color: #d6d1c8;
}
.hero__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__scroll{
  position: absolute;
  right: var(--pad);
  bottom: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: .6rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll i{
  width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine{
  0%{ transform: scaleY(0); opacity: 0; }
  30%{ opacity: 1; }
  100%{ transform: scaleY(1); opacity: 0; }
}

/* ---------- Marquesina ---------- */
.marquee{
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 20px;
  background: var(--bg);
}
.marquee--brands{
  border-top: 0;
  padding-block: 34px;
  background: var(--bg-soft);
}
.marquee__track{
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
@keyframes marquee{
  to{ transform: translateX(-50%); }
}
.marquee__group{
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee__group em{ font-style: normal; color: var(--text); }
.marquee__group b{
  color: var(--accent);
  font-weight: 400;
  font-size: .8em;
}
.marquee__group--brands{
  gap: 56px;
  color: rgba(244, 241, 234, .3);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.8rem);
}
.marquee__group--brands i{
  font-style: normal;
  color: var(--accent);
  font-size: .55em;
}

/* ---------- Secciones ---------- */
.section{
  padding-block: clamp(72px, 10vw, 130px);
  position: relative;
}
.section--work{ background: var(--bg); }
.section--services{ background: var(--bg-soft); }
.section--process{ background: var(--bg); }
.section--contact{ background: var(--bg-soft); }

.section__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: clamp(36px, 6vw, 68px);
}

/* ---------- Intro ---------- */
.section--intro{
  padding-top: clamp(80px, 11vw, 150px);
}
.intro__grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.intro__copy .h-display{ margin-bottom: 38px; }
.intro__text{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  max-width: 640px;
}
.intro__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stat{ font-family: var(--font-display); }
.stat__num{
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.stat__suf{
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}
.stat p{
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 8px;
  line-height: 1.5;
}

.intro__gallery{
  position: relative;
  min-height: 620px;
}
.intro__img{
  position: absolute;
  overflow: hidden;
  background: var(--surface);
}
.intro__img img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.intro__img:hover img{ transform: scale(1.04); }
.intro__img figcaption{
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  mix-blend-mode: difference;
}
.intro__img--a{
  top: 0; left: 0;
  width: 62%;
  aspect-ratio: 3 / 4.3;
  z-index: 1;
}
.intro__img--b{
  bottom: 0; right: 0;
  width: 54%;
  aspect-ratio: 4 / 3.4;
  border-top: 10px solid var(--bg);
  border-left: 10px solid var(--bg);
  z-index: 2;
}
.intro__stamp{
  position: absolute;
  z-index: 3;
  top: 16%;
  right: 0;
  width: 112px; height: 112px;
  border: 1px solid rgba(244, 241, 234, .25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--muted);
  background: rgba(11,11,11,.55);
  backdrop-filter: blur(4px);
}

/* ---------- Portafolio ---------- */
.work__head{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}
.work__lead{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  max-width: 380px;
  justify-self: end;
}
.filters{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.filter{
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.filter:hover{ color: var(--text); border-color: rgba(244,241,234,.35); }
.filter.is-active{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.work__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: clamp(16px, 2vw, 28px);
}
.work-card{
  min-width: 0;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.work-card.is-hidden{
  display: none;
}
.work-card--wide{ grid-column: span 2; }

.work-card__btn{
  display: block;
  width: 100%;
  text-align: left;
}
.work-card__media{
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.work-card--wide .work-card__media{ aspect-ratio: 16 / 10; }
.work-card__media::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,.55), rgba(8,8,8,0) 45%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.work-card__media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .5s var(--ease);
}
.work-card__btn:hover .work-card__media img{
  transform: scale(1.05);
  filter: brightness(.8);
}
.work-card__btn:hover .work-card__media::after{ opacity: 1; }

.work-card__tag{
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(10,10,10,.55);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.work-card__view{
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-card__view i{
  font-style: normal;
  color: var(--accent);
}
.work-card__btn:hover .work-card__view{
  opacity: 1;
  transform: translateY(0);
}
.work-card__play{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 66px; height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(10,10,10,.35);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: background-color .4s, transform .4s var(--ease);
}
.work-card__play svg{
  width: 20px; height: 20px;
  fill: var(--text);
  transform: translateX(1px);
}
.work-card__btn:hover .work-card__play{
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}
.work-card__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 2px 0;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}
.work-card__title{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.work-card__year{
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.work__more{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.work__more p{
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Servicios ---------- */
.services__head{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}
.services__lead{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  max-width: 380px;
  justify-self: end;
}
.services{
  border-top: 1px solid var(--line);
}
.service{
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  gap: 24px;
  align-items: start;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  transition: background-color .45s var(--ease), padding .45s var(--ease);
  position: relative;
}
.service::before{
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(234,95,10,.06), transparent 55%);
  opacity: 0;
  transition: opacity .45s;
  pointer-events: none;
}
.service:hover{ padding-inline: 18px; }
.service:hover::before{ opacity: 1; }
.service__index{
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 8px;
  letter-spacing: .1em;
}
.service__body h3{
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 10px;
  transition: color .4s, transform .4s var(--ease);
}
.service:hover .service__body h3{ color: var(--accent-2); }
.service__body p{
  color: var(--muted);
  font-size: .9rem;
  max-width: 560px;
  line-height: 1.7;
}
.service__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.service__tags li{
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.service__icon{
  justify-self: end;
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .4s, border-color .4s, transform .4s var(--ease);
}
.service__icon svg{
  width: 21px; height: 21px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.3;
  stroke-linejoin: round;
  transition: stroke .4s;
}
.service:hover .service__icon{
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-8deg);
}
.service:hover .service__icon svg{ stroke: #fff; }

/* ---------- Quote band ---------- */
.quote-band{
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.quote-band > img{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(.7);
}
.quote-band__veil{
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8,8,8,.68);
}
.quote-band__inner{
  text-align: center;
  padding-block: 90px;
}
.quote-band blockquote{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  text-transform: uppercase;
  max-width: 900px;
  margin-inline: auto;
}
.quote-band blockquote em{
  font-style: normal;
  color: var(--accent);
}
.quote-band__by{
  margin-top: 22px;
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Proceso ---------- */
.process__head{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.process__lead{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  max-width: 380px;
  justify-self: end;
}
.process{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step{
  padding: 26px 26px 30px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:not(:first-child){ padding-left: 26px; }
.step:last-child{ border-right: 0; padding-right: 0; }
.step__num{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,241,234,.28);
  margin-bottom: 26px;
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.step:hover .step__num{
  -webkit-text-stroke-color: var(--accent);
  color: rgba(234, 95, 10, .12);
}
.step h3{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 10px;
}
.step p{
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.7;
}
.step__line{
  display: block;
  width: 34px; height: 2px;
  background: var(--accent);
  margin-top: 24px;
  transition: width .5s var(--ease);
}
.step:hover .step__line{ width: 100%; }

/* ---------- Contacto ---------- */
.contact__top{
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.contact__lead{
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.75;
  max-width: 340px;
  justify-self: end;
  padding-bottom: 8px;
}
.contact__grid{
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-line{
  display: grid;
  grid-template-columns: 94px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), color .4s;
}
.contact-line:first-child{ border-top: 1px solid var(--line); }
.contact-line__label{
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-line__value{
  font-family: var(--font-display);
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -.01em;
}
.contact-line i{
  font-style: normal;
  color: var(--accent);
  font-size: .9rem;
  transition: transform .4s var(--ease);
}
.contact-line:hover{ padding-left: 8px; color: var(--accent-2); }
.contact-line:hover i{ transform: translate(3px, -3px); }
.contact-line--static:hover{ padding-left: 0; color: var(--text); }
.contact-line--static i{ color: var(--muted-2); }
.contact__note{
  margin-top: 26px;
  color: var(--muted-2);
  font-size: .78rem;
  line-height: 1.7;
  max-width: 340px;
}

.form{
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: clamp(22px, 3vw, 38px);
}
.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.field > span{
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select{
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 2px 10px;
  font-size: .92rem;
  color: var(--text);
  border-radius: 0;
  transition: border-color .3s;
  appearance: none;
  -webkit-appearance: none;
}
.field select{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a19b91' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 22px;
  cursor: pointer;
}
.field select option{ background: var(--surface); color: var(--text); }
.field textarea{ resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder{ color: var(--muted-2); }
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline: none;
  border-color: var(--accent);
}
.field.field--invalid input,
.field.field--invalid textarea{ border-color: #d9534f; }

.form__foot{
  margin-top: 8px;
}
.form__hint{
  margin-top: 12px;
  font-size: .68rem;
  color: var(--muted-2);
  text-align: center;
}
.form__status{
  margin-top: 14px;
  font-size: .78rem;
  color: var(--accent-2);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.footer{
  background: #070707;
  border-top: 1px solid var(--line-soft);
  padding-top: 56px;
  overflow: hidden;
}
.footer__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__brand{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: lowercase;
}
.footer__nav{
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__nav a,
.footer__social a{
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.footer__nav a:hover,
.footer__social a:hover{ color: var(--accent); }
.footer__social{
  display: flex;
  gap: 20px;
}
.footer__giant{
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.2rem, 13.5vw, 13rem);
  line-height: .8;
  letter-spacing: -.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 241, 234, .14);
  padding-block: 30px 20px;
  user-select: none;
  white-space: nowrap;
}
.footer__bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-block: 22px 26px;
  font-size: .68rem;
  color: var(--muted-2);
  letter-spacing: .04em;
}
.to-top{ color: var(--muted); transition: color .3s; }
.to-top:hover{ color: var(--accent); }

/* ---------- Lightbox ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(7, 7, 7, .97);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lightbox.is-open{
  opacity: 1;
  visibility: visible;
}
.lightbox__figure{
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__figure img{
  max-height: 76vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: scale(.96);
  transition: transform .5s var(--ease);
}
.lightbox.is-open .lightbox__figure img{ transform: scale(1); }
.lightbox figcaption{
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lightbox figcaption span:last-child{
  font-family: var(--font-body);
  font-size: .66rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.lightbox__close{
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  transition: background-color .3s, border-color .3s, transform .3s;
}
.lightbox__close:hover{
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}
.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background-color .3s, border-color .3s;
  z-index: 2;
}
.lightbox__nav:hover{ background: var(--accent); border-color: var(--accent); }
.lightbox__nav--prev{ left: clamp(12px, 3vw, 40px); }
.lightbox__nav--next{ right: clamp(12px, 3vw, 40px); }
.lightbox__count{
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--muted-2);
}

/* ---------- Toast ---------- */
.toast{
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 320;
  transform: translate(-50%, 140px);
  opacity: 0;
  background: var(--text);
  color: #111;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: .78rem;
  letter-spacing: .02em;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.is-open{ transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal ---------- */
html.js [data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px){
  .nav{ gap: 24px; }
  .hero__scroll{ display: none; }
  .intro__gallery{ min-height: 540px; }
  .step{ padding-right: 20px; }
  .step:not(:first-child){ padding-left: 20px; }
}

@media (max-width: 960px){
  .nav{ display: none; }
  .burger{ display: flex; }
  .header__actions .btn--sm{ display: none; }

  .hero__title{ max-width: 100%; }
  .intro__grid{ grid-template-columns: 1fr; }
  .intro__gallery{
    min-height: 0;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 12px;
    align-items: end;
  }
  .intro__img{ position: relative; width: 100%; inset: auto; }
  .intro__img--a{ aspect-ratio: 3/4; }
  .intro__img--b{ aspect-ratio: 3/4; border: 0; }
  .intro__stamp{ display: none; }

  .work__head,
  .services__head,
  .process__head,
  .contact__top{
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }
  .work__lead,
  .services__lead,
  .process__lead,
  .contact__lead{
    justify-self: start;
  }
  .contact__grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr 1fr; }
  .step:nth-child(2){ border-right: 0; }
  .step:nth-child(-n+2){ border-bottom: 1px solid var(--line); }
  .step:nth-child(3){ padding-left: 0; }
}

@media (max-width: 780px){
  .header{ padding-block: 16px; }
  .hero__inner{ padding-top: 120px; }
  .hero__top{ flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__title{ font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .hero__bottom{ flex-direction: column; align-items: flex-start; gap: 26px; }
  .hero__cta{ width: 100%; }
  .hero__cta .btn{ flex: 1; min-width: 150px; }

  .intro__text{ grid-template-columns: 1fr; }
  .intro__stats{ gap: 14px; }

  .work__grid{ grid-template-columns: 1fr 1fr; }
  .work-card--wide{ grid-column: span 2; }
  .work-card--wide .work-card__media{ aspect-ratio: 16/11; }

  .service{
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .service__icon{ display: none; }
  .service:hover{ padding-inline: 0; }

  .quote-band{ min-height: 440px; }

  .form__row{ grid-template-columns: 1fr; gap: 0; }

  .footer__top{ flex-direction: column; align-items: flex-start; }
  .footer__giant{ text-align: left; }

  .section__head .label--right{ display: none; }
}

@media (max-width: 520px){
  .hero__title{ font-size: clamp(2.4rem, 12.6vw, 3.4rem); }
  .hero__status{ font-size: .6rem; }
  .hero__text{ font-size: .85rem; }
  .work__grid{ grid-template-columns: 1fr; }
  .work-card--wide{ grid-column: span 1; }
  .work-card__media,
  .work-card--wide .work-card__media{ aspect-ratio: 4/5; }
  .process{ grid-template-columns: 1fr; }
  .step{ border-right: 0; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .step:nth-child(3){ padding-left: 0; }
  .contact-line{ grid-template-columns: 78px 1fr auto; gap: 10px; }
  .contact-line__value{ font-size: .9rem; }
  .marquee__group{ gap: 24px; padding-right: 24px; }
  .footer__bottom{ flex-direction: column; align-items: flex-start; }
  .lightbox__nav{ top: auto; bottom: 74px; transform: none; width: 44px; height: 44px; }
  .lightbox__nav--prev{ left: 20px; }
  .lightbox__nav--next{ right: 20px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal]{ opacity: 1; transform: none; }
  .hero__title .line > span{ transform: none; }
  .hero__media img{ transform: none; }
  .marquee__track{ animation: none; }
}
