@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Playfair;
  src: url("assets/playfair-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f5f2eb;
  --white: #fffdf8;
  --ink: #181716;
  --black: #11100f;
  --red: #b22331;
  --contact-red: #a31f2d;
  --signal: #e83b45;
  --muted: #514b45;
  --line: #d7d0c6;
  --gutter: clamp(19px, 5vw, 65px);
  --sans: Montserrat, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
section[id] { scroll-margin-top: 22px; }
.wrap { max-width: 1240px; padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; transform: translateY(-160%); padding: 10px 14px; background: var(--white); }
.skip-link:focus { transform: none; }

/* The album masthead, with links for the studio site. */
.mast { background: var(--black); border-bottom: 2px solid var(--red); }
.mast > div { max-width: 1240px; margin: auto; width: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: block; flex: none; }
.logo img { width: clamp(143px, 24vw, 178px); height: auto; }
.mast nav { display: flex; gap: clamp(12px, 4vw, 26px); flex-wrap: wrap; justify-content: flex-end; }
.mast nav a { font-size: .76rem; font-weight: 600; color: #f5efe5; text-decoration: none; }
.mast nav a:hover { text-decoration: underline; }
.mast :focus-visible, .footer :focus-visible, .film :focus-visible, .contact :focus-visible { outline-color: var(--white); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(29px, 5.2vw, 77px);
  padding-block: clamp(55px, 8vw, 112px) clamp(54px, 7.6vw, 104px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .145em;
  font-size: .67rem;
  line-height: 1.45;
  font-weight: 700;
}
.eyebrow span { flex: 0 0 21px; height: 2px; background: var(--red); }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(3.05rem, 5.3vw, 5rem);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.075em;
  max-width: 9ch;
}
.hero h1 em { font: italic 400 1.07em/.95 Playfair, Georgia, serif; white-space: nowrap; letter-spacing: -.085em; }
.hero h1 em span { color: var(--red); }
.hero-lead { color: var(--muted); max-width: 47ch; margin-top: 24px; font-size: clamp(.93rem, 1.26vw, 1.02rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; margin-top: 27px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 17px; border: 1px solid transparent; text-decoration: none; font-size: .82rem; font-weight: 700; line-height: 1.4; transition: background .18s, color .18s; }
.button span { font-family: Arial, sans-serif; font-size: 1.02rem; }
.button-dark { background: var(--black); color: var(--white); }
.button-dark:hover { background: var(--red); }

.film { min-width: 0; background: #141312; border: 1px solid #2a2725; color: var(--white); padding: 10px; }
.film-top, .film figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-inline: 7px; }
.film-top { min-height: 27px; padding-bottom: 8px; font: 600 .63rem/1.2 var(--sans); letter-spacing: .13em; color: #e0d9d0; }
.film-top i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); margin-right: 6px; }
.film-screen { position: relative; background: #101112; outline: 1px solid #393432; }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: clamp(10px, 2vw, 20px); border: 0; background: transparent; cursor: pointer; }
.film-play:focus-visible { outline-offset: -4px; }
.play-disc { display: grid; place-items: center; width: 47px; height: 47px; color: var(--white); background: var(--red); border: 1px solid #f2555d; border-radius: 50%; transition: background .18s; }
.film-play:hover .play-disc { background: #951825; }
.film figcaption { min-height: 41px; padding-top: 8px; font-size: .72rem; line-height: 1.4; }
.film figcaption span { color: #d1c8bf; text-align: right; }

.solutions { background: var(--white); border-block: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 108px); padding-block: clamp(56px, 7vw, 94px); }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.8rem); line-height: 1.03; font-weight: 700; letter-spacing: -.068em; }
.section-intro h2, .process h2, .contact h2 { margin-top: 16px; }
.section-intro > p:last-child, .contact p:last-child { margin-top: 15px; max-width: 43ch; }
.section-intro > p:last-child, .steps p { color: var(--muted); font-size: .94rem; }
.process-heading h2 ~ p { margin-top: 15px; max-width: 72ch; color: var(--muted); font-size: .94rem; }
.solution-list { border-top: 1px solid var(--line); }
.solution-list details { border-bottom: 1px solid var(--line); }
.solution-list summary { list-style: none; display: grid; grid-template-columns: 25px minmax(0, 1fr) 24px; gap: 13px; align-items: center; cursor: pointer; min-height: 69px; padding-block: 12px; }
.solution-list summary::-webkit-details-marker { display: none; }
.index { color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .11em; }
.solution-list h3 { font-size: clamp(1.02rem, 2.05vw, 1.36rem); line-height: 1.24; letter-spacing: -.035em; }
.toggle { width: 23px; height: 23px; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.toggle::before, .toggle::after { position: absolute; content: ""; background: currentColor; inset: 50% auto auto 50%; width: 9px; height: 1px; transform: translate(-50%, -50%); }
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle { color: var(--red); border-color: var(--red); }
details[open] .toggle::after { display: none; }
summary:hover .toggle { border-color: var(--red); }
.solution-body { padding: 0 31px 21px 38px; color: var(--muted); font-size: .9rem; }
.solution-body p + p { margin-top: .7rem; }

.process { padding-block: clamp(59px, 8vw, 105px); }
.process h2 { max-width: 17ch; }
.steps { list-style: none; padding: 0; margin: 35px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { border-top: 1px solid var(--line); padding: 18px 23px 0 0; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 23px; }
.steps h3 { margin: 7px 0 6px; font-size: clamp(1.05rem, 2vw, 1.38rem); letter-spacing: -.035em; }

.contact { background: var(--contact-red); color: var(--white); }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: clamp(47px, 6.4vw, 80px); }
.contact .eyebrow { color: var(--white); }
.contact .eyebrow span { background: currentColor; }
.contact h2 { max-width: 17ch; }
.button-light { background: var(--white); color: var(--ink); flex: none; }
.button-light:hover { background: #e9dfd5; }
footer { background: var(--black); color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 17px; min-height: 76px; font-size: .72rem; font-weight: 600; }
body { background: var(--black); }
main { background: var(--paper); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); }
  .hero-actions { gap: 12px; }
}
@media (max-width: 680px) {
  .hero, .section-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 34px; padding-block: 45px 45px; }
  .hero h1 { font-size: clamp(2.85rem, 10vw, 4.3rem); }
  .hero-lead { margin-top: 19px; }
  .section-grid { gap: 24px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding: 15px 0 18px; }
  .steps li:last-child { padding-bottom: 0; }
}
@media (max-width: 470px) {
  .nav-process { display: none; }
  .mast > div { min-height: 64px; gap: 10px; }
  .mast nav a { font-size: .71rem; }
  .hero-actions { gap: 12px 17px; }
  .footer { flex-wrap: wrap; padding-block: 15px; }
  .footer a:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.advertising {
  background: var(--black);
  color: var(--white);
}
.advertising-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 5vw, 72px);
  padding-block: clamp(53px, 7vw, 91px);
}
.advertising .eyebrow { color: #e0d9d0; }
.advertising .eyebrow span { background: var(--signal); }
.advertising h2 { margin-top: 16px; max-width: 17ch; }
.advertising-copy p { color: #e0d9d0; font-size: .96rem; max-width: 52ch; }
.advertising-media {
  margin-top: 20px;
  max-width: 52ch;
  border-top: 1px solid #59514e;
}
.advertising-media details { border-bottom: 1px solid #59514e; }
.advertising-media summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  color: #eee7de;
  font-size: .82rem;
  font-weight: 650;
}
.advertising-media summary::-webkit-details-marker { display: none; }
.advertising-media summary:hover, .advertising-media details[open] summary { color: var(--white); }
.advertising-media summary:focus-visible { outline-color: var(--white); outline-offset: 2px; }
.advertising-media .toggle { flex: none; border-color: #79706c; }
.advertising-media details[open] .toggle { color: #eee7de; }
.advertising-media p { padding: 0 34px 13px 0; font-size: .82rem; }

.brands-inner { padding-block: clamp(34px, 5vw, 60px); }
.brands h2 {
  font-size: clamp(1.32rem, 2.8vw, 2.15rem);
  letter-spacing: -.045em;
  margin-bottom: clamp(14px, 2vw, 24px);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border-block: 1px solid var(--line);
}
.brand-grid li {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 11px clamp(8px, 2vw, 22px);
  min-height: 65px;
}
.brand-grid img {
  width: auto;
  height: auto;
  max-width: min(100%, 108px);
  max-height: 44px;
}
.brand-grid .brand-matte { mix-blend-mode: multiply; }
.brand-grid .brand-badge { border-radius: 2px; }
.brand-grid .brand-round { border-radius: 50%; }
.brand-cinemex {
  display: block;
  width: min(100%, 108px);
  aspect-ratio: 1460 / 320;
  background: var(--contact-red);
  mask: url("assets/marcas/cinemex.png") center / contain no-repeat;
}
@media (max-width: 680px) {
  .advertising-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid li:last-child:nth-child(3n + 1) { grid-column: 2; }
}

.brand-filters { position: absolute; }
.brand-los40 { filter: url("#brand-los40"); }
.brand-trama { filter: url("#brand-trama"); }
.brand-montes { filter: url("#brand-montes"); }
.brand-ingles { filter: url("#brand-ingles"); }
.brands-more {
  margin-top: 14px;
  color: var(--muted);
  text-align: right;
  font-size: .76rem;
  font-weight: 650;
}
.advertising-inner { padding-bottom: clamp(34px, 4vw, 52px); }
.production { padding-bottom: clamp(43px, 6vw, 77px); }
.production-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
  padding-top: 18px;
  border-top: 1px solid #514744;
}
.production-heading h3 { font-size: clamp(1rem, 1.9vw, 1.25rem); }
.production-controls { display: flex; gap: 7px; }
.production-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #796e67;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: 1.25rem/1 Arial, sans-serif;
}
.production-controls button:hover:not(:disabled) { background: var(--red); }
.production-controls button:disabled { opacity: .35; cursor: default; }
.production :focus-visible { outline-color: var(--white); }
.production-track {
  --slide-gap: clamp(11px, 1.6vw, 19px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--slide-gap)) / 3);
  gap: var(--slide-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #6c625d transparent;
  list-style: none;
  margin: 0;
  padding: 0 0 13px;
}
.production-track li { min-width: 0; scroll-snap-align: start; }
.production-track img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #292525;
}
.production-portrait {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.production-portrait::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -1;
  background: center / cover no-repeat var(--portrait-background);
  filter: blur(22px) brightness(.65);
}
.production-portrait img {
  display: block;
  object-fit: contain;
  background: transparent;
}
.production-track figcaption { margin-top: 10px; font-size: .8rem; line-height: 1.45; }
.production-track figcaption strong, .production-track figcaption span { display: block; }
.production-track figcaption span { color: #cfc3ba; margin-top: 4px; }
@media (max-width: 680px) {
  .production-track { grid-auto-columns: 86%; }
}
