/* =========================================================
   BRAVA — productora audiovisual
   Fonts: ITC Avant Garde Gothic (Book / Demi / Condensed Demi) + JetBrains Mono
   ========================================================= */

@font-face{
  font-family: 'AvantGarde';
  src: url('../fonts/AvantGarde-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'AvantGarde';
  src: url('../fonts/AvantGarde-Demi.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'AvantGardeCond';
  src: url('../fonts/AvantGarde-CondensedBook.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:        #050507;
  --bg-2:      #0a0a0d;
  --fg:        #f5f5f5;
  --fg-mute:   #a8a8a8;
  --fg-dim:    #6e6e72;
  --red:       #ED1C24;
  --red-deep:  #c81118;
  --rule:      rgba(255,255,255,.18);
  --card:      #f5f4f1;

  --maxw:      1280px;
  --pad-x:     clamp(20px, 5vw, 64px);
  --font-disp:  "AvantGarde", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display-cond: "AvantGardeCond", "AvantGarde", "Helvetica Neue", Arial, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "Menlo", monospace;
}

*,*::before,*::after{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
html.is-loading, html.is-loading body,
html.no-scroll,  html.no-scroll body{ overflow:hidden }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100% }
body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-disp);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; height:auto; display:block }
a{ color:inherit; text-decoration:none }
button{ font: inherit; color: inherit; background:none; border:0; cursor:pointer }
ul{ list-style:none; margin:0; padding:0 }

/* =================== LOADER =================== */
.loader{
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  display:flex; align-items:center; justify-content:center;
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.is-done{ opacity:0; visibility:hidden; pointer-events:none }
.loader__mark{
  position:relative;
  width: 48px; height: 48px;
}
.loader__bg, .loader__fg{
  position:absolute; inset:0;
  -webkit-mask: url('../img/fav.png') center / contain no-repeat;
          mask: url('../img/fav.png') center / contain no-repeat;
}
.loader__bg{
  background: rgba(255,255,255,.10);
}
.loader__fg{
  background: #ED1C24;
  clip-path: inset(100% 0 0 0);
  animation: brava-fill 1.6s cubic-bezier(.55,.05,.25,1) forwards;
}
@keyframes brava-fill{
  0%   { clip-path: inset(100% 0 0 0); }
  92%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce){
  .loader__fg{ animation-duration: .3s }
}

/* =================== CURSOR =================== */
.cursor{
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 300;
  opacity: 0;
  transition: opacity .25s ease;
}
.cursor.is-ready{ opacity: 1 }
.cursor.is-hidden{ opacity: 0 }

.cursor__dot,
.cursor__ring{
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor__dot{
  width: 8px; height: 8px;
  background: #ED1C24;
}
.cursor__ring{
  width: 36px; height: 36px;
  border: 1.5px solid #fff;
  mix-blend-mode: difference;
  transition: width .22s ease, height .22s ease,
              border-color .22s ease, opacity .22s ease;
}
/* hover-grow on interactives */
.cursor.is-hover .cursor__ring{
  width: 64px; height: 64px;
}
.cursor.is-press .cursor__ring{
  width: 28px; height: 28px;
}

/* on dark sections force-hide cursor on the OS so only ours shows */
@media (hover: hover) and (pointer: fine){
  html.has-cursor,
  html.has-cursor body,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor input,
  html.has-cursor textarea,
  html.has-cursor [role="button"]{
    cursor: none;
  }
}
/* iframes capture pointer; let OS cursor return there */
.hero__video iframe{ cursor: auto }

@media (hover: none), (pointer: coarse){
  .cursor{ display: none }
}

.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 var(--pad-x) }
.display{
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.9;
  font-size: clamp(54px, 12.5vw, 172px);
  margin: 0;
  white-space: pre-line;
}
.display--md{ font-size: clamp(38px, 6.2vw, 86px); letter-spacing: -0.02em }
.display--lg{ font-size: clamp(48px, 9.5vw, 132px); letter-spacing: -0.02em }

/* =================== NAV =================== */
.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(5,5,7,.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav__inner{
  max-width: var(--maxw);
  margin:0 auto;
  padding: 18px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__logo img{ height: 26px; width:auto }
.nav__center{ justify-self: center }
.nav__list{
  display:flex; gap: 4px; align-items:center;
}
.nav__link{
  font-size: 13px;
  font-weight: 400;
  color: var(--fg);
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav__link:hover{ color: var(--fg) }
.nav__link.is-active{
  background: var(--red);
  color: #fff;
  border-radius: 0;
}

.nav__right{
  justify-self: end;
  display:flex; align-items:center; gap: 14px;
}
.nav__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width: 28px; height: 28px; color: var(--fg);
  opacity:.85;
}
.nav__icon:hover{ opacity:1 }
.nav__sep{
  width:1px; height:18px; background: rgba(255,255,255,.2);
  display:inline-block;
}

/* tooltip on icons */
[data-tooltip]{ position: relative }
[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -4px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  white-space: nowrap;
  padding: 5px 9px;
  background: rgba(15,15,18,.96);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after{
  opacity: 1;
  transform: translate(-50%, 0);
}
/* footer tooltips: position above icon to avoid clipping */
.foot [data-tooltip]::after{
  top: auto;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
}
.foot [data-tooltip]:hover::after,
.foot [data-tooltip]:focus-visible::after{
  transform: translate(-50%, 0);
}

/* lang switch (desktop) */
.nav__lang{
  display:inline-flex; align-items:center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.nav__lang a{
  padding: 4px 2px;
  color: var(--fg-mute);
  transition: color .15s;
}
.nav__lang a:hover{ color: var(--fg) }
.nav__lang a.is-active{ color: var(--fg) }
.nav__lang span{ color: rgba(255,255,255,.25) }
.nav__burger{
  width: 28px; height: 28px;
  display: none;
  flex-direction:column; justify-content:center;
  gap:4px; padding: 4px;
}
.nav__sep--mobile{ display:none }
.nav__burger span{
  display:block; height:1.5px; background: #fff; width:100%;
}

/* mobile sheet */
.m-menu{
  display:none;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px var(--pad-x) 24px;
  background: rgba(5,5,7,.98);
}
.m-menu ul{ display:flex; flex-direction:column; gap:8px }
.m-menu a{
  display:block; padding: 10px 0; font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.m-menu__lang{
  margin-top: 16px; display:flex; gap:8px; align-items:center;
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute);
}
.m-menu__lang a.is-active{ color:var(--red) }
.m-menu.is-open{ display:block }

/* =================== HERO =================== */
.hero{ position:relative; }
.hero__media{
  position:relative;
  height: 100vh;
  min-height: 480px;
  overflow:hidden;
  background:#0c0c10;
}
.hero__video{
  position:absolute; inset:0;
  overflow:hidden;
}
.hero__video iframe{
  position:absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  /* cover ratio: stretch so 16:9 video fills any container */
  width: max(100%, calc(100vh * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  min-width: 100%; min-height: 100%;
  pointer-events:none;
  border: 0;
}
.hero__placeholder{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(80,30,180,.55), transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(220,30,40,.45), transparent 60%),
    linear-gradient(180deg, #1a0e22, #0a0814);
  display:flex; align-items:center; justify-content:center;
}
.hero__placeholder-stripes{
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
  pointer-events:none;
}
.hero__placeholder-label{
  font-family: var(--font-mono);
  font-size: 12px; color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  position: relative;
  background: rgba(0,0,0,.4); padding: 6px 10px; border-radius:2px;
}
/* viewfinder corners */
.vf{
  position:absolute; width: 48px; height: 48px; border:1.5px solid #fff;
  opacity:.95;
}
.vf--tl{ top: 36px; left: 36px; border-right:0; border-bottom:0 }
.vf--tr{ top: 36px; right: 36px; border-left:0; border-bottom:0 }
.vf--bl{ bottom: 36px; left: 36px; border-right:0; border-top:0 }
.vf--br{ bottom: 36px; right: 36px; border-left:0; border-top:0 }

.amark{
  position:absolute; top: 28px; right: 28px; width: 28px; height: 28px;
  display:inline-block;
}
.amark svg{ width:100%; height:100% }

.reticle{
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  font-family: var(--font-mono); font-size: 28px; color: #fff; opacity:.85;
  font-weight: 300;
}
.tc{
  position:absolute; left:50%; bottom: 56px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; color: var(--red);
  letter-spacing: .12em;
}

/* =================== INTRO =================== */
.intro{
  position:relative; padding: 96px 0 120px;
  overflow:hidden;
  background-color: var(--bg);
}
.intro__leak{
  position:absolute;
  inset: -8% -2% -8% -2%;
  background-image: url('../img/bkg2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events:none; z-index:0;
  opacity: .85;
}
.intro .wrap{ position:relative; z-index:1 }

.iso-row{
  display:flex; gap: clamp(20px, 4.5vw, 60px);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim);
  letter-spacing: .12em;
  margin-top: 14px; padding-left: 4px;
}

.sub{
  margin: 56px 0 18px;
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(22px, 3.6vw, 47px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: pre-line;
}
.ruler{
  display:block; width: 36px; height: 2px; background: var(--red); border-radius:2px;
  margin: 22px 0 0;
}
.ruler--light{ background:#fff }

.copy{
  margin: 64px 0 0;
  font-family: var(--font-display-cond);
  font-weight: 400;
  font-size: clamp(15px, 1.9vw, 25px);
  line-height: 1.5;
  color: var(--fg-mute);
  max-width: 880px;
  letter-spacing: 0;
  white-space: pre-line;
}

/* =================== DIRECTORES =================== */
.directors{
  background: var(--red);
  color:#fff;
  padding: 96px 0 112px;
  position: relative;
}
.directors__grid{
  display:grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: 0 56px;
}
.directors__head{ position: relative }
.directors__title{
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(40px, 6vw, 86px);
  color: #fff;
  margin: 0;
  white-space: pre-line;
}
.directors__head .ruler{ background:#fff; margin-top: 22px }

.directors__panels{ position: relative; min-height: 64px }
.directors__list{
  display:none; flex-direction:column; gap: 0;
}
.directors__list.is-active{ display:flex }
.directors__list a, .directors__list button{
  display:flex; justify-content:space-between; align-items:center;
  width:100%;
  padding: 18px 4px;
  background:none; border:0;
  border-bottom: 1px solid rgba(255,255,255,.6);
  font-family: var(--font-disp);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: padding .2s;
}
.directors__list a:hover, .directors__list button:hover{ padding-left: 10px }
.directors__list svg{ opacity:.85; flex-shrink: 0; margin-left: 16px }

/* carousel chrome */
.dir-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  opacity: .85;
  transition: opacity .15s, transform .15s ease;
}
.dir-arrow:hover{ opacity: 1 }
.dir-arrow--prev{ left: 14px }
.dir-arrow--next{ right: 14px }
.dir-arrow svg{ width: 100%; height: 100% }

.dir-dots{
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  display:flex; gap: 10px;
}
.dir-dots .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.dir-dots .dot.is-active{ background: #000 }

/* =================== MANIFESTO =================== */
.manifesto{
  background: var(--bg);
  padding: 80px var(--pad-x) 120px;
  text-align: center;
  position: relative;
}
/* badge straddles the seam between Directores (red) and Manifesto (black) */
.manifesto__abadge{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  z-index: 2;
}
.manifesto__abadge img{ width:100%; height:100%; display:block }

.manifesto__wave{
  margin: 36px auto 56px;
  max-width: 380px;
  padding: 0 16px;
}
.manifesto__wave img{
  width: 100%; height: auto; display:block;
  opacity: .85;
}

.manifesto__quote{
  font-family: var(--font-display-cond);
  font-weight: 400;
  font-size: clamp(26px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 auto;
  max-width: 18em;
}

/* =================== PROYECTOS SLIDER =================== */
.projects{
  background: var(--bg);
  padding: 0 0 0;
  position:relative;
}
.projects__chrome{
  display:grid;
  grid-template-columns: 36px 1fr auto 1fr 36px;
  align-items: center;
  gap: 12px;
  padding: 18px var(--pad-x);
}
.proj-arrow{
  width: 36px; height: 36px; display:inline-flex;
  align-items:center; justify-content:center;
  border-radius: 50%;
  color: var(--fg);
  transition: background .15s;
}
.proj-arrow:hover{ background: rgba(255,255,255,.06) }
.proj-arrow--prev{ grid-column: 1 }
.proj-arrow--next{ grid-column: 5; justify-self:end }
.proj-meta{
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-mute);
  letter-spacing: .02em;
}
.proj-meta .proj-title{ color: var(--fg); opacity:.92 }
.proj-dots{
  display:flex; gap: 10px; justify-self:center;
}
.dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border:1px solid rgba(255,255,255,.5);
  padding:0;
}
.dot.is-active{ background:#fff; border-color:#fff }
.proj-year{
  justify-self:end;
}
.proj-year span{
  display:inline-block; background: var(--red); color:#fff;
  font-family: var(--font-display-cond); font-size: 15px; font-weight: 600;
  letter-spacing: .02em;
  padding: 6px 14px;
}

.projects__stage{
  position: relative;
  width: 100%;
}
.slide{
  display:none;
}
.slide.is-active{ display:block }
.slide__media{
  position:relative;
  width: 100%;
  aspect-ratio: 16/7.5;
  overflow: hidden;
  background: #050505;
}
.slide__poster{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.85) brightness(.92) contrast(1.05);
}
.placeholder{
  position:relative;
  width:100%;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, #1a1a1a, #050505);
  overflow:hidden;
}
.placeholder--16x9{ aspect-ratio: 16/7.5 }
.placeholder--alt{ background: linear-gradient(180deg, #20121b, #06030a) }
.placeholder--alt2{ background: linear-gradient(180deg, #0a1c1a, #02080a) }
.placeholder--alt3{ background: linear-gradient(180deg, #1a1408, #0a0703) }
.placeholder--alt4{ background: linear-gradient(180deg, #14101c, #050409) }
.placeholder__stripes{
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 16px);
}
.placeholder__label{
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  position:relative; background: rgba(0,0,0,.45); padding:6px 10px; border-radius:2px;
}
.play{
  position:absolute; left:50%; top:50%; transform: translate(-50%,-50%);
  width: 78px; height: 78px;
  opacity:.95;
  transition: transform .2s;
}
.play:hover{ transform: translate(-50%,-50%) scale(1.06) }
.play svg{ width:100%; height:100% }

/* =================== CLOSING (shared bg for QUOTE + CTA) =================== */
.closing{
  position: relative;
  background-color: var(--bg);
  overflow: hidden;
}
.closing__bg{
  position: absolute;
  inset: -4% -2% -4% -2%;
  background-image: url('../img/bkg3.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}
.closing > section{ position: relative; z-index: 1 }

/* =================== QUOTE =================== */
.quote{
  position:relative;
  padding: 132px 0 132px;
  overflow:hidden;
}
.quote__leak{ display:none } /* legacy */
.quote__grid{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}
.quote .ruler{ grid-column: 1; margin-top: 56px }
.bigquote{
  width: clamp(80px, 12vw, 160px);
  display:inline-block;
  align-self: start;
  margin-top: 10px;
}
.bigquote svg{ width:100%; height:auto }

/* =================== CTA =================== */
.cta{
  position:relative;
  padding: 24px 0 120px;
  overflow:hidden;
}
.cta__leak{ display:none } /* legacy */
.cta .wrap{ position:relative; z-index:1; max-width: 880px }
.cta__card{
  position:relative;
  display:flex; flex-direction:column; align-items:center; gap: 8px;
  background: var(--card);
  color:#0a0a0a;
  padding: 36px 32px 32px;
  border-radius: 6px;
  text-align:center;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.cta__pill{
  position:absolute; top: -22px; left:50%; transform:translateX(-50%);
  width: 44px; height: 44px; border-radius:50%;
  background: var(--red);
  color:#fff;
  display:inline-flex; align-items:center; justify-content:center;
}
.cta__line{
  font-family: var(--font-disp);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 400;
  color: #0a0a0a;
}
.cta__mail{
  font-family: var(--font-disp);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* =================== FOOTER =================== */
.foot{
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px var(--pad-x) 22px;
}
.foot__inner{
  max-width: var(--maxw); margin:0 auto;
  display:grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items:center;
}
.foot__logo img{ height: 22px; width:auto }
.foot__nav ul{
  display:flex; gap: 4px; align-items:center; justify-content:center;
}
.foot__nav a{
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  color: var(--fg);
}
.foot__nav a.is-active{
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
}
.foot__right{
  display:flex; align-items:center; gap: 12px; justify-self:end; color:var(--fg);
}
.foot__sub{
  max-width: var(--maxw); margin: 10px auto 0;
  display:flex; justify-content:center; align-items:center; gap: 20px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-dim);
  letter-spacing: .04em;
}
.foot__lang a{ color: var(--fg-mute) }
.foot__lang a.is-active{ color: var(--fg) }

/* ============================================================
   AGENCY PAGE  (agency.html)
   ============================================================ */
.ag-hero{
  position: relative;
  background: var(--bg);
  overflow: hidden;
  padding: 96px 0 80px;
}
.ag-hero__bg{
  position: absolute;
  inset: -10% -2% -10% -2%;
  background: url('../img/bkg2.png') center / cover no-repeat;
  opacity: .8;
  pointer-events: none;
  z-index: 0;
}
.ag-hero .wrap{ position: relative; z-index: 1 }
.ag-hero__kicker{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--fg-mute);
  margin: 0 0 24px;
  text-transform: lowercase;
}
.ag-hero__title{
  margin: 0;
  font-family: var(--font-disp);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.92;
  font-size: clamp(54px, 11vw, 152px);
  white-space: pre-line;
  color: #fff;
}
.ag-hero__stats{
  display: flex;
  gap: clamp(40px, 7vw, 96px);
  margin: 80px 0 0;
  flex-wrap: wrap;
}
.stat{
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.stat__num{
  font-family: var(--font-disp);
  font-weight: 600;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--red);
}
.stat__label{
  font-family: 'Roboto', sans-serif;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.2;
  color: var(--fg);
  max-width: 12em;
}

/* =================== SERVICES =================== */
.services{
  background: var(--bg);
  padding: 96px 0 112px;
}
.services__grid{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}
.services__intro{
  font-family: var(--font-display-cond);
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--fg-mute);
  margin: 28px 0 0;
  max-width: 28em;
}
.services__head .ruler{ margin-top: 22px }

.services__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.services__list li{
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.services__list li:first-child{ border-top: 1px solid rgba(255,255,255,.12) }
.services__list .num{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--red);
}
.services__list .name{
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.15;
}

/* =================== LOGOS CAROUSEL =================== */
.logos{
  background: var(--bg);
  padding: 24px 0 96px;
  overflow: hidden;
}
.logos__kicker{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--fg-dim);
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 32px;
}
.logos__track-wrap{
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent);
}
.logos__track{
  display: flex;
  gap: 24px;
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}
.logos__track-wrap:hover .logos__track{ animation-play-state: paused }
.logo-card{
  flex: 0 0 200px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 4px;
  background: rgba(255,255,255,.02);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
@keyframes logos-scroll{
  from { transform: translateX(0) }
  to   { transform: translateX(calc(-50% - 12px)) }
}

/* =================== AGENCY responsive =================== */
@media (max-width: 920px){
  .ag-hero{ padding: 56px 0 64px }
  .ag-hero__stats{ gap: 32px; margin-top: 48px }
  .stat{ flex-direction: column; align-items: flex-start; gap: 8px }
  .services{ padding: 64px 0 80px }
  .services__grid{ grid-template-columns: 1fr; gap: 40px }
  .services__list li{ grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 4px }
  .logo-card{ flex-basis: 150px; height: 76px }
}

/* =================== REEL (lightbox) =================== */
.reel{
  position: fixed; inset: 0; z-index: 250;
  background: rgba(0,0,0,.94);
  display:flex; align-items:center; justify-content:center;
  padding: 6vh 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}
.reel.is-open{ opacity: 1; visibility: visible }
.reel__frame{
  position: relative;
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  background: #000;
  box-shadow: 0 60px 120px rgba(0,0,0,.6);
}
.reel__player, .reel__player iframe{
  position:absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.reel__close{
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  transition: opacity .15s, transform .2s;
  opacity: .85;
}
.reel__close:hover{ opacity: 1; transform: rotate(90deg) }
.reel__hint{
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: rgba(255,255,255,.5); text-transform: uppercase;
}
@media (max-width: 560px){
  .reel{ padding: 0 }
  .reel__close{ top: 14px; right: 14px }
  .reel__hint{ display:none }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 920px){
  .nav__inner{ grid-template-columns: auto 1fr auto; gap: 12px }
  .nav__center{ display:none }
  .nav__lang{ display:none }
  .nav__burger{ display:inline-flex }
  .nav__sep--mobile{ display:inline-block }
  .vf{ width: 36px; height: 36px }
  .vf--tl, .vf--tr{ top: 18px }
  .vf--bl, .vf--br{ bottom: 18px }
  .vf--tl, .vf--bl{ left: 18px }
  .vf--tr, .vf--br{ right: 18px }
  .amark{ top: 14px; right: 14px; width: 24px; height: 24px }
  .tc{ bottom: 28px; font-size: 10px }

  .directors__grid{ grid-template-columns: 1fr; gap: 32px; padding: 0 36px }
  .quote__grid{ grid-template-columns: 1fr; gap: 0 }
  .bigquote{ position:absolute; right: 0; top: 0; opacity:.55 }

  .foot__inner{ grid-template-columns: 1fr; gap: 16px; justify-items:center }
  .foot__nav ul{ flex-wrap: wrap; justify-content:center }
  .foot__right{ justify-self:center }

  .iso-row{ gap: 14px; font-size: 10px }
  .projects__chrome{ grid-template-columns: 32px 1fr auto 32px; gap: 8px; padding: 14px 16px }
  .proj-meta .proj-title{ font-size: 11px }
  .proj-year{ grid-column: auto }
  .proj-arrow--next{ grid-column: 4 }

  .intro{ padding: 64px 0 80px }
  .sub{ margin: 32px 0 14px }
  .copy{ margin-top: 40px }
  .ruler{ margin: 16px 0 0 }
  .directors{ padding: 64px 0 }
  .manifesto{ padding: 56px var(--pad-x) 80px }
  .quote{ padding: 88px 0 88px }
  .cta{ padding: 12px 0 80px }
}
@media (max-width: 560px){
  .proj-meta{ display:none }
  .projects__chrome{ grid-template-columns: 32px 1fr auto 32px }
}

/* =================== CONCURSO (una columna: texto + form) =================== */
.contest{ background: var(--bg); padding: 140px 0 120px }
.contest__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
}
.contest__kicker{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--red); text-transform: uppercase; margin: 0 0 20px;
}
.contest__title{
  font-family: var(--font-disp); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; margin: 0 0 32px;
}
.contest__text{ position: static }
.contest__text p{
  font-family: var(--font-display-cond); font-weight: 400;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6;
  color: var(--fg-mute); margin: 0 0 20px;
}
.contest__text p strong{ color: var(--fg); font-weight: 600 }
.contest__block{ margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule) }
.contest__block h3{
  font-family: var(--font-disp); font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; margin: 0 0 14px; color: var(--fg);
}
.contest__block ul{ margin: 0; padding: 0; list-style: none }
.contest__block li{
  font-family: var(--font-mono); font-size: 13px; color: var(--fg-mute);
  line-height: 1.7; padding-left: 18px; position: relative;
}
.contest__block li::before{ content:"\2014"; position:absolute; left:0; color: var(--red) }
.contest__block code{
  font-family: var(--font-mono); font-size: 12.5px; color: var(--fg);
  background: rgba(255,255,255,.06); padding: 2px 6px; border-radius: 3px;
}

.contest__form{
  background: var(--bg-2); border: 1px solid var(--rule); border-radius: 4px;
  padding: clamp(28px, 3.5vw, 44px);
}
.f-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px }
.f-field{ display:flex; flex-direction:column; gap: 8px; margin-bottom: 20px }
.f-field label{
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--fg-mute);
}
.f-field .hint{
  font-family: var(--font-display-cond); font-size: 12.5px; color: var(--fg-dim);
  text-transform: none; letter-spacing: 0; margin-top: -2px;
}
.f-field input[type="text"],
.f-field input[type="email"],
.f-field input[type="tel"],
.f-field input[type="date"],
.f-field input[type="url"],
.f-field textarea{
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--rule);
  border-radius: 3px; padding: 12px 14px; color: var(--fg);
  font-family: var(--font-disp); font-size: 15px; font-weight: 400;
  transition: border-color .15s, background .15s;
}
.f-field input::placeholder, .f-field textarea::placeholder{ color: var(--fg-dim) }
.f-field input:focus, .f-field textarea:focus{
  outline: none; border-color: var(--red); background: rgba(255,255,255,.05);
}
.f-field textarea{ resize: vertical; min-height: 96px; line-height: 1.5 }
.f-file{
  border: 1px dashed var(--rule); border-radius: 3px; padding: 20px;
  text-align: center; background: rgba(255,255,255,.02);
}
.f-file input[type="file"]{
  width: 100%; font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-mute);
}
.f-check{
  display:flex; align-items:flex-start; gap: 10px; margin-bottom: 16px;
}
.f-check input[type="checkbox"]{
  margin-top: 3px; width: 16px; height: 16px; accent-color: var(--red); flex-shrink:0;
}
.f-check label{
  font-family: var(--font-display-cond); font-size: 15.5px; line-height: 1.5;
  color: var(--fg-mute);
}
.f-submit{
  width: 100%; margin-top: 8px; background: var(--red); color: #fff; border: 0;
  border-radius: 3px; padding: 16px 24px; font-family: var(--font-disp);
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em; cursor: pointer;
  transition: background .15s;
}
.f-submit:disabled{ opacity: .7; cursor: wait }
.f-note{
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim);
  text-align: center; margin-top: 14px;
}
.f-success{
  background: rgba(237,28,36,.1); border: 1px solid var(--red); border-radius: 4px;
  padding: 16px 20px; margin-bottom: 24px; font-family: var(--font-display-cond);
  font-size: 14px; color: var(--fg);
}
@media (max-width: 920px){
  .contest{ padding: 100px 0 80px }
}

.bases{ max-width: 900px; margin: 40px auto 0; padding-top: 60px; border-top: 1px solid var(--rule) }
.bases__title{ font-family: var(--font-disp); font-weight: 600; font-size: 28px; letter-spacing: -0.01em; color: var(--fg); margin: 0 0 6px }
.bases__sub{ font-family: var(--font-mono); font-size: 13px; color: var(--fg-mute); margin: 0 0 32px }
.bases__accordion{ border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule) }
.bases__accordion summary{ cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-family: var(--font-disp); font-weight: 600; font-size: 15px; color: var(--fg); position: relative }
.bases__accordion summary::-webkit-details-marker{ display: none }
.bases__accordion summary::after{ content:"+"; position: absolute; right: 0; top: 16px; color: var(--red); font-size: 20px; font-family: var(--font-mono) }
.bases__accordion[open] summary::after{ content:"\2212" }
.bases__all{ padding: 4px 28px 32px 0 }
.bases__clause{ font-family: var(--font-disp); font-weight: 600; font-size: 15px; color: var(--fg); margin: 28px 0 12px }
.bases__all > .bases__clause:first-child{ margin-top: 8px }
.bases__all p{ font-family: var(--font-mono); font-size: 13px; color: var(--fg-mute); line-height: 1.7; margin: 0 0 14px }
.bases__all ul{ margin: 0 0 14px; padding: 0; list-style: none }
.bases__all li{ font-family: var(--font-mono); font-size: 13px; color: var(--fg-mute); line-height: 1.7; padding-left: 18px; position: relative; margin-bottom: 4px }
.bases__all li::before{ content:"\2014"; position: absolute; left: 0; color: var(--red) }
