/* 1. Variables */
:root {
  --red: #b51f2e;
  --red-dark: #891722;
  --black: #0b0b0b;
  --charcoal: #171717;
  --white: #ffffff;
  --silver-light: #f2f2f2;
  --silver: #c7c9cc;
  --muted: #858585;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Archivo Black", Impact, sans-serif;
  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  --section-space: clamp(4.25rem, 6vw, 6.5rem);
  --header-height: 122px;
}

/* 2. Reinicio y estilos generales */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: var(--body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--white);
  background: var(--red);
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

section[id],
.trust__clients[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 9999;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--black);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  left: -9999px;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 3. Encabezado y navegación */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  color: var(--white);
  background: rgba(11, 11, 11, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 11, 11, .99);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand,
.logo-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid rgba(199, 201, 204, .8);
}

.brand {
  width: clamp(185px, 14vw, 205px);
  padding: 3px 5px;
  flex: 0 0 auto;
}

.brand img,
.logo-plate img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.55vw, 1.6rem);
  min-width: 0;
}

.desktop-nav a {
  position: relative;
  padding: .5rem 0;
  font-size: clamp(.67rem, .72vw, .78rem);
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: .2rem;
  left: 0;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
}

.header-cta {
  min-height: 48px;
  padding: .72rem .95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--white);
  background: var(--black);
  border-color: var(--white);
  transform: translateY(-2px);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  display: none;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .2s ease;
}

.menu-toggle span:not(.sr-only) + span:not(.sr-only) {
  margin-top: 6px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  padding: calc(var(--header-height) + 2rem) var(--gutter) 2rem;
  color: var(--white);
  background: var(--black);
  overflow-y: auto;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
}

.mobile-menu a {
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.mobile-menu a[aria-current="page"] {
  color: var(--red);
}

.mobile-menu__cta {
  min-height: 50px;
  margin-top: 1.5rem;
  padding: .9rem 1rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  background: var(--red);
  border: 1px solid var(--red) !important;
  font-family: var(--body) !important;
  font-size: .82rem !important;
  font-weight: 800;
  letter-spacing: .06em;
}

/* 4. Botones */
.button,
.text-link[data-open-gallery] {
  min-height: 48px;
  padding: .82rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.1;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button:hover,
.button:focus-visible,
.text-link[data-open-gallery]:hover,
.text-link[data-open-gallery]:focus-visible {
  transform: translateY(-2px);
}

.button:active,
.text-link[data-open-gallery]:active {
  transform: translateY(0);
}

.button:focus-visible,
.text-link[data-open-gallery]:focus-visible,
.header-cta:focus-visible,
.mobile-menu__cta:focus-visible,
.floating-whatsapp:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--red-dark);
}

.button--primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button--dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button--outline {
  color: var(--black);
  background: var(--white);
  border-color: var(--black);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.button--secondary {
  min-height: 48px;
  color: var(--white);
  background: transparent;
  border-color: var(--silver);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button--compact {
  min-height: 46px;
  padding: .72rem 1rem;
  font-size: .76rem;
}

.button--wide {
  width: 100%;
}

.button--all-productions {
  min-height: 60px;
  padding: 1rem clamp(1.6rem, 3vw, 2.25rem);
  color: var(--white);
  background: var(--red);
  border: 2px solid var(--red);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.button--all-productions:hover,
.button--all-productions:focus-visible {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.text-link[data-open-gallery] {
  min-height: 44px;
  padding: .8rem 1rem;
  gap: .7rem;
  color: var(--black);
  background: var(--white);
  border-color: var(--silver);
  box-shadow: none;
}

.text-link[data-open-gallery]:hover,
.text-link[data-open-gallery]:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.project--red .text-link[data-open-gallery] {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.project--red .text-link[data-open-gallery]:hover,
.project--red .text-link[data-open-gallery]:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

/* 5. Portada */
.hero {
  min-height: clamp(560px, 92vh, 920px);
  padding-top: var(--header-height);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  align-items: center;
  color: var(--black);
  background: var(--silver-light);
}

.hero__content {
  min-width: 0;
  padding: clamp(3.75rem, 6vw, 6rem) var(--gutter) clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.5rem, 5.5vw, 6.2rem);
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  color: var(--red);
}

.hero__subtitle {
  max-width: 46ch;
  margin: clamp(1rem, 2.5vw, 1.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
}

.hero__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero__stats {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero__stats div {
  min-width: 0;
  padding: 0 clamp(.75rem, 1.4vw, 1.5rem);
}

.hero__stats div:first-child {
  padding-left: 0;
}

.hero__stats div + div {
  border-left: 1px solid rgba(11, 11, 11, .22);
}

.hero__stats dt {
  font-family: var(--display);
  font-size: clamp(2.3rem, 3.4vw, 4rem);
  line-height: .9;
}

.hero__stats dd {
  margin: .55rem 0 0;
  color: #444;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__visual {
  width: min(100%, 760px);
  max-height: 760px;
  margin: clamp(1.5rem, 3vw, 2.75rem) var(--gutter) clamp(1.5rem, 3vw, 2.75rem) 0;
  justify-self: center;
}

.photo-frame {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--charcoal);
}

.photo-frame picture,
.photo-frame img {
  width: 100%;
  height: 100%;
}

.photo-frame img {
  object-fit: cover;
  transition: transform .6s ease;
}

.photo-frame:hover img {
  transform: scale(1.012);
}

.photo-frame--hero {
  min-height: 0;
  aspect-ratio: 1600 / 1197;
  background: var(--white);
}

.photo-frame--hero img {
  object-fit: contain;
  object-position: center;
}

.photo-frame--pioneers {
  aspect-ratio: 3 / 2;
}

.photo-frame--pioneers img {
  object-position: 50% 50%;
}

.photo-frame--casino { aspect-ratio: 3 / 2; }
.photo-frame--mexico { aspect-ratio: 3 / 2; }
.photo-frame--western { aspect-ratio: 3 / 2; }
.photo-frame--teambuilding { aspect-ratio: 3 / 2; }

.photo-frame--casino img {
  object-position: 50% 50%;
}

.photo-frame--oscares {
  aspect-ratio: 2 / 3;
}

.photo-frame--oscares img {
  object-position: 50% 28%;
}

.photo-frame--mexico img {
  object-position: 50% 48%;
}

.photo-frame--family {
  aspect-ratio: 4 / 3;
}

.photo-frame--family img {
  object-position: 52% 45%;
}

.photo-frame--western img {
  object-position: 52% 50%;
}

.photo-frame--teambuilding img {
  object-position: 50% 48%;
}

.photo-frame--experience {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2048 / 775;
  background: var(--black);
}

.photo-frame--experience img {
  object-fit: contain;
  object-position: center;
}

/* 6. Ticker */
.ticker {
  width: 100%;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.ticker__track {
  width: max-content;
  padding: .9rem 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: var(--display);
  font-size: clamp(1rem, 1.65vw, 1.55rem);
  line-height: 1;
  text-transform: uppercase;
  animation: ticker-scroll 42s linear infinite;
}

.ticker i {
  color: var(--red);
  font-style: normal;
  font-size: .55em;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* 7. Secciones generales */
.section {
  padding: var(--section-space) var(--gutter);
}

.section--dark {
  color: var(--white);
  background: var(--black);
}

.section-kicker {
  margin: 0 0 1.15rem;
  color: var(--red);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: var(--red);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.section-title--light {
  color: var(--white);
}

.differentiator {
  max-width: calc(var(--container) + (2 * var(--gutter)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  background: var(--white);
}

.differentiator__copy p {
  max-width: 680px;
  margin-top: 2rem;
  color: #444;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.differentiator__visual {
  width: 100%;
}

/* 8. Producciones */
.productions,
.all-productions,
.trust {
  color: var(--white);
  background: var(--black);
}

.productions__header,
.projects-grid,
.productions-more,
.services__header,
.services-list,
.trust__header,
.trust__visual,
.trust__pillars,
.trust__clients,
.all-productions__header,
.production-cards {
  width: min(var(--container), 100%);
  margin-left: auto;
  margin-right: auto;
}

.productions__header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.productions__count {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .82;
}

.productions__count span {
  font-size: .55em;
}

.projects-grid {
  margin-top: clamp(2.75rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.7rem);
}

.project {
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.project__content {
  padding: 1.1rem 0 1.35rem;
}

.project__number,
.production-card__number {
  display: block;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.project h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: .95;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.project p:not(.project__number) {
  max-width: 600px;
  margin: 1rem 0 1.15rem;
  color: var(--silver);
}

.project--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: end;
}

.project--feature .project__image {
  max-width: 870px;
}

.project--portrait {
  grid-column: 1 / span 5;
  width: min(100%, 430px);
}

.project--text {
  grid-column: 6 / -1;
  display: flex;
  flex-direction: column;
}

.project--text .project__content {
  order: 2;
}

.project--red {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  color: var(--black);
  background: var(--silver);
}

.project--red .project__number {
  color: var(--red);
}

.project--red p:not(.project__number) {
  color: #343434;
}

.project--half {
  grid-column: span 6;
}

.productions-more {
  margin-top: clamp(3rem, 5vw, 5rem);
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
  border-top: 2px solid rgba(255, 255, 255, .32);
}

.productions-more__title {
  max-width: 28ch;
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
}

.productions-more__secondary p {
  max-width: 34ch;
  margin-bottom: 1rem;
  color: var(--silver);
  font-size: 1.03rem;
}

/* 9. Servicios */
.services {
  background: var(--white);
}

.services-list {
  margin-top: clamp(2.25rem, 4vw, 3.75rem);
  border-top: 1px solid var(--black);
}

.service {
  border-bottom: 1px solid #c8c8c8;
  transition: color .2s ease, background .2s ease;
}

.service__trigger {
  width: 100%;
  min-height: 76px;
  padding: 1rem .15rem;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 40px;
  gap: 1rem;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.service__number {
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.service__name {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 3.1rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.service__icon {
  justify-self: end;
  font-size: 1.8rem;
  font-weight: 300;
  transition: transform .2s ease;
}

.service__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.service__panel p {
  min-height: 0;
  overflow: hidden;
  margin: 0 4rem 0 70px;
  color: #444;
  font-size: 1rem;
}

.service.is-open {
  color: var(--black);
  background: var(--silver-light);
  border-left: 4px solid var(--red);
}

.service.is-open .service__panel {
  grid-template-rows: 1fr;
}

.service.is-open .service__panel p {
  padding-bottom: 1.4rem;
}

.service.is-open .service__icon {
  transform: rotate(45deg);
}

/* 10. Experiencia y clientes */
.trust__header {
  display: block;
}

.trust__copy {
  max-width: 1000px;
}

.trust__copy p:last-child {
  max-width: 760px;
  margin-top: 1.35rem;
  color: var(--silver);
  font-size: 1.05rem;
}

.trust__visual {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.experience__pillars {
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3rem);
}

.experience__pillars article {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

.experience__pillars span {
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.experience__pillars h3 {
  margin: 1rem 0 .6rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.7vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.experience__pillars p {
  color: var(--silver);
}

.trust__clients {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  border-top: 3px solid var(--red);
}

.clients-section .trust__clients {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.clients-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
}

.client-logo {
  min-height: 118px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--black);
  background: var(--silver-light);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.client-logo:hover {
  transform: translateY(-2px);
  background: var(--white);
  border-color: var(--red);
}

.client-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 66px;
  object-fit: contain;
  object-position: center;
}

.client-logo--wide img {
  max-width: 88%;
  max-height: 56px;
}

.client-logo--compact img {
  max-width: 96px;
  max-height: 82px;
}

.client-logo--tall img {
  max-width: 105px;
  max-height: 84px;
}

.client-logo--medium img {
  max-width: 145px;
  max-height: 68px;
}

.client-logo--nestle img {
  max-width: 108px;
  max-height: 82px;
}

.client-logo--mazda img {
  max-width: 100px;
  max-height: 82px;
}

.client-logo--caja-popular img {
  max-width: 122px;
  max-height: 90px;
}

.client-logo--bonafont img {
  max-width: 170px;
  max-height: 68px;
}

.client-logo--sapica img {
  max-width: 90%;
  max-height: 62px;
}

.client-logo--dark {
  background: var(--black);
}

.client-logo--dark:hover {
  background: #171717;
}

/* 11. Contacto y formulario */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(3rem, 6vw, 7rem);
  color: var(--black);
  background: var(--silver-light);
}

.contact__intro,
.contact-form {
  min-width: 0;
}

.contact__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.contact__text {
  max-width: 520px;
  margin-top: 1.6rem;
  font-size: 1.08rem;
}

.contact__actions {
  margin-top: 2rem;
  display: grid;
  gap: .75rem;
}

.contact-form {
  align-self: start;
}

.contact-form h3 {
  margin: 0 0 1.8rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-transform: uppercase;
}

.contact-form label {
  margin-bottom: 1rem;
  display: grid;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85rem .78rem;
  color: var(--black);
  background: var(--white);
  border: 1px solid #b6b6b6;
  border-radius: 0;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 31, 46, .13);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

/* 12. Footer */
.site-footer {
  padding: clamp(4rem, 7vw, 7rem) var(--gutter) 1.5rem;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(160px, .6fr) minmax(240px, .8fr);
  gap: clamp(2rem, 5vw, 6rem);
  color: var(--white);
  background: var(--black);
}

.site-footer__brand,
.site-footer nav,
.site-footer__contact {
  display: grid;
  align-content: start;
  gap: .75rem;
}

.logo-plate--footer {
  width: min(360px, 100%);
  padding: 5px 7px;
  margin-bottom: .65rem;
}

.site-footer__brand p {
  max-width: 480px;
  color: var(--silver);
}

.site-footer nav a,
.site-footer__contact a {
  width: fit-content;
  padding-bottom: .15rem;
  border-bottom: 1px solid transparent;
  font-size: .82rem;
  font-weight: 700;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  border-color: var(--red);
}

.site-footer__phone {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem;
  color: var(--silver);
  font-size: .78rem;
  line-height: 1.45;
}

.site-footer__phone-note {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

.site-footer__bottom {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 4vw, 4rem);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-size: .74rem;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 800;
  min-height: 50px;
  padding: .78rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
  transform: translateY(-2px);
}

.floating-whatsapp.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Indicador dinámico de scroll */
.scroll-guide {
  position: fixed;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  z-index: 750;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: calc(100vw - 2rem);
  padding: .65rem 1.1rem;
  color: var(--white);
  background: rgba(11, 11, 11, .82);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: opacity .25s ease, transform .25s ease;
}

.scroll-guide:hover,
.scroll-guide:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.scroll-guide.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
}

.scroll-guide__arrow {
  display: inline-block;
  animation: scrollGuideBounce 1.8s ease-in-out infinite;
}

@keyframes scrollGuideBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@media (max-width: 640px) {
  .scroll-guide {
    font-size: .68rem;
    padding: .6rem .9rem;
    max-width: calc(100vw - 1.5rem);
  }
}

.floating-whatsapp__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .16);
}

/* 13. Galerías */
.gallery {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--white);
  background: var(--black);
  border: 0;
  overflow: auto;
}

.gallery::backdrop {
  background: rgba(0, 0, 0, .88);
}

.gallery__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--red);
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.gallery__close:hover,
.gallery__close:focus-visible {
  background: var(--red-dark);
}

.gallery__content {
  min-height: 100%;
  padding: clamp(2rem, 5vw, 5rem);
}

.gallery__eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.gallery h2 {
  margin: 0;
  max-width: 1100px;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .94;
  text-transform: uppercase;
}

.gallery [data-gallery-description] {
  max-width: 760px;
  margin-top: 1rem;
  color: var(--silver);
}

.gallery__slides {
  margin-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: 1rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--red) #222;
}

.gallery-photo {
  flex: 0 0 min(82vw, 960px);
  min-height: min(58vh, 620px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  background: #090909;
  scroll-snap-align: center;
}

.gallery-photo--portrait {
  flex-basis: min(62vw, 560px);
}

.gallery-photo img,
.gallery-photo--portrait img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
}

.gallery-photo figcaption {
  width: 100%;
  padding: .85rem 1rem;
  color: var(--silver);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
}

.image-placeholder--gallery {
  flex: 0 0 min(82vw, 900px);
  min-height: min(58vh, 600px);
}

.image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--silver);
  background: #202020;
  border: 1px solid rgba(255, 255, 255, .18);
}

.image-placeholder__label {
  padding: 1.25rem;
  text-align: center;
}

.image-placeholder__label span,
.image-placeholder__label strong {
  display: block;
}

/* 14. Página de producciones */
.inner-hero {
  min-height: min(68svh, 700px);
  padding: calc(var(--header-height) + clamp(3.5rem, 6vw, 6rem)) var(--gutter) clamp(3.5rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  color: var(--black);
  background: var(--silver-light);
}

.inner-hero__content {
  max-width: 980px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--red);
}

.inner-hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.2rem);
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.inner-hero__text {
  max-width: 720px;
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 600;
}

.inner-hero__accent {
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: .8;
}

.scroll-guide--inline {
  position: static;
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  transform: none;
  color: var(--black);
  background: transparent;
  border-color: rgba(0, 0, 0, .22);
}

.scroll-guide--inline:hover,
.scroll-guide--inline:focus-visible {
  color: var(--white);
}

.scroll-guide--inline.is-hidden {
  transform: none;
}

.catalog-closing {
  width: min(var(--container), 100%);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.catalog-closing__title {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.catalog-closing__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--red);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: .2rem;
  transition: color .2s ease, transform .2s ease;
}

.catalog-closing__cta:hover,
.catalog-closing__cta:focus-visible {
  color: var(--red-dark);
  transform: translateY(-1px);
}

.production-cards {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: start;
}

.production-card {
  min-width: 0;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.production-card__image {
  aspect-ratio: 3 / 2;
}

.production-card__image img {
  object-position: center;
}

.production-card[data-project="oscares"] .production-card__image img {
  object-position: 50% 22%;
}

.production-card__content {
  padding: 1.2rem 0 1.4rem;
}

.production-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  line-height: .96;
  text-transform: uppercase;
}

.production-card p {
  margin: .85rem 0 1.1rem;
  color: var(--silver);
}

.production-card .text-link[data-open-gallery] {
  color: var(--black);
  background: var(--white);
  border-color: var(--silver);
}

.production-card .text-link[data-open-gallery]:hover,
.production-card .text-link[data-open-gallery]:focus-visible {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}


.production-card__image--pending {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171717;
  border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
}

.production-card__image--pending span {
  padding: 1rem;
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.secondary-productions {
  width: min(var(--container), 100%);
  margin: clamp(4rem, 7vw, 7rem) auto 0;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.secondary-productions__header {
  max-width: 900px;
}

.secondary-productions__header h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.secondary-productions__header p {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: var(--silver);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.secondary-productions__grid {
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.8rem, 1.5vw, 1.25rem);
}

.secondary-production-card {
  min-width: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, .16);
}

.secondary-production-card__image {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #171717;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.secondary-production-card__image span {
  max-width: 18ch;
  padding: .85rem;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(.58rem, .75vw, .72rem);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.secondary-production-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.secondary-production-card__title {
  min-height: 4.25rem;
  margin: 0;
  padding: .9rem 1rem 1rem;
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(.88rem, 1.25vw, 1.15rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.secondary-productions__closing {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  color: var(--silver);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  text-align: center;
}

@media (max-width: 900px) {
  .secondary-productions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .secondary-productions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .secondary-production-card__title {
    min-height: 3.75rem;
    padding: .75rem .7rem .85rem;
    font-size: clamp(.72rem, 3.4vw, .9rem);
  }
}

.productions-contact {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  color: var(--black);
  background: var(--white);
  border-top: 1px solid #ddd;
}

.productions-contact .section-title {
  max-width: 15ch;
}

.productions-contact .button {
  flex: 0 0 auto;
}

/* 15. Página de agradecimiento */
.thanks-page {
  min-height: 100svh;
  padding: clamp(1.25rem, 4vw, 2rem);
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--silver-light);
}

.thanks-wrap {
  width: min(900px, 100%);
  padding-top: 2rem;
  border-top: 4px solid var(--red);
}

.logo-plate--thanks {
  width: min(360px, 100%);
  padding: 5px 7px;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.thanks-wrap h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.thanks-wrap p {
  max-width: 650px;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.thanks-wrap .button {
  margin-top: 1.5rem;
}

/* 16. Media queries */
@media (min-width: 1450px) {
  .clients-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero__title {
    font-size: clamp(3.2rem, 7vw, 5rem);
  }

  .production-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 96px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    width: clamp(150px, 20vw, 175px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
  }

  .hero {
    min-height: clamp(480px, 88vh, 760px);
    display: block;
  }

  .hero__content {
    padding-bottom: 2.5rem;
  }

  .hero__visual {
    width: min(100% - (2 * var(--gutter)), 860px);
    max-height: none;
    margin: 0 auto clamp(2rem, 5vw, 4rem);
  }

  .inner-hero {
    grid-template-columns: 1fr;
  }

  .inner-hero__accent {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .differentiator {
    display: block;
  }

  .differentiator__visual {
    margin-top: 2.5rem;
  }

  .productions__header {
    align-items: end;
  }

  .projects-grid {
    display: block;
  }

  .project,
  .project--portrait,
  .project--feature,
  .project--text,
  .project--red,
  .project--half {
    width: 100%;
    margin-bottom: 2.75rem;
  }

  .project--feature,
  .project--red {
    display: block;
  }

  .project--portrait {
    width: min(100%, 520px);
  }

  .project--text .project__content {
    order: initial;
  }

  .photo-frame--oscares {
    aspect-ratio: 4 / 5;
  }

  .productions-more {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand,
  .site-footer__bottom {
    grid-column: 1 / -1;
  }

  .experience__pillars {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero__title {
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: .92;
  }

  .section-title {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .project h3 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .contact__title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .service__name {
    font-size: clamp(1.45rem, 6.8vw, 2rem);
  }

  .inner-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .inner-hero__title {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .inner-hero__accent {
    margin-top: 1.5rem;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .productions__count {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .gallery h2 {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .photo-frame--hero {
    aspect-ratio: 1600 / 1197;
  }

  .photo-frame--pioneers,
  .photo-frame--casino,
  .photo-frame--mexico,
  .photo-frame--western,
  .photo-frame--teambuilding {
    aspect-ratio: 3 / 2;
  }

  .photo-frame--family {
    aspect-ratio: 4 / 3;
  }

  .button--all-productions,
  .productions-more__secondary .button {
    width: 100%;
  }

  .gallery-photo,
  .gallery-photo--portrait {
    flex-basis: 88vw;
    min-height: min(55vh, 520px);
  }

  .gallery-photo img,
  .gallery-photo--portrait img {
    max-height: 70vh;
  }

  .production-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .productions-contact {
    display: block;
  }

  .productions-contact .button {
    width: 100%;
    margin-top: 2rem;
  }
}

@media (max-width: 620px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__stats {
    gap: 0;
  }

  .hero__stats div {
    padding: .9rem .55rem 0;
    border-top: 1px solid rgba(11, 11, 11, .22);
  }

  .hero__stats div:first-child {
    padding-left: 0;
  }

  .hero__stats div + div {
    padding-left: .7rem;
  }

  .hero__stats dt {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .hero__stats dd {
    font-size: .55rem;
  }

  .productions__header {
    display: block;
  }

  .productions__count {
    margin-top: 1rem;
  }

  .service__trigger {
    grid-template-columns: 42px minmax(0, 1fr) 32px;
    gap: .65rem;
  }

  .service__panel p {
    margin-right: 1rem;
    margin-left: 42px;
  }

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

  .production-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    grid-column: auto;
    flex-direction: column;
  }

  .gallery-photo,
  .gallery-photo--portrait {
    flex-basis: 90vw;
  }
}

@media (max-width: 430px) {
  :root {
    --header-height: 92px;
  }

  .brand {
    width: 150px;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .hero__content {
    padding-inline: 1.25rem;
  }

  .hero__visual {
    width: calc(100% - 2.5rem);
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-logo {
    min-height: 118px;
    padding: .95rem;
  }

  .production-cards {
    grid-template-columns: 1fr;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }
}

/* 17. Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .ticker__track {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Video covers: París and Despecho (V26) */
.video-cover {
  position: relative;
  overflow: hidden;
  background: #080808;
}

.video-cover video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #080808;
}

.video-cover__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(3rem, 5vw, 4.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--black);
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 50%;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.video-cover__play span {
  margin-left: .15em;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1;
}

.video-cover.is-playing .video-cover__play {
  visibility: hidden;
  pointer-events: none;
}

.video-cover__play:focus-visible,
.video-cover video:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.secondary-production-card__image.video-cover,
.production-card__image.video-cover {
  display: block;
}


/* V27: mixed-media galleries, navigation and Gatsby video preview */
.gallery__nav{position:fixed;top:50%;z-index:3;width:3rem;height:3rem;display:grid;place-items:center;color:var(--white);background:rgba(0,0,0,.72);border:1px solid rgba(255,255,255,.28);border-radius:50%;font-size:2rem;line-height:1;transform:translateY(-50%);cursor:pointer}.gallery__nav--prev{left:1rem}.gallery__nav--next{right:1rem}.gallery__nav:hover,.gallery__nav:focus-visible{background:var(--red)}.gallery__nav:disabled{opacity:.28;cursor:default}.gallery__counter{position:fixed;top:1.35rem;left:50%;z-index:3;padding:.45rem .75rem;color:var(--silver);background:rgba(0,0,0,.72);border:1px solid rgba(255,255,255,.16);border-radius:999px;font-size:.78rem;font-weight:700;transform:translateX(-50%)}.gallery-photo--video{align-content:center}.gallery-video__frame{width:100%;min-height:min(52vh,540px);display:grid;place-items:center;background:#050505}.gallery-video__frame video{width:100%;height:auto;max-width:100%;max-height:78vh;display:block;object-fit:contain;object-position:center;background:#050505}.gallery-photo--video figcaption{color:#f0f0f0;background:#111;line-height:1.45}.video-preview{position:relative;overflow:hidden;background:#080808}.video-preview video{width:100%;height:100%;display:block;object-fit:cover;object-position:center;pointer-events:none}.video-preview__trigger{position:absolute;inset:0;width:100%;height:100%;display:grid;place-items:center;color:var(--black);background:transparent;border:0;cursor:pointer}.video-preview__trigger span{width:clamp(3rem,5vw,4.25rem);aspect-ratio:1;display:grid;place-items:center;padding-left:.15em;background:rgba(255,255,255,.94);border:1px solid rgba(0,0,0,.18);border-radius:50%;box-shadow:0 .5rem 1.5rem rgba(0,0,0,.3);font-size:clamp(1rem,2vw,1.4rem)}.video-preview__trigger:hover span,.video-preview__trigger:focus-visible span{background:var(--red);color:var(--white)}.video-preview__trigger:focus-visible{outline:3px solid var(--red);outline-offset:-4px}@media(max-width:640px){.gallery__nav{top:auto;bottom:1rem;transform:none}.gallery__nav--prev{left:1rem}.gallery__nav--next{right:1rem}.gallery__counter{top:auto;bottom:1.45rem}.gallery__content{padding-bottom:5.5rem}.gallery-video__frame{min-height:40vh}}

/* V28: clarification displayed only after Gatsby video activation */
.video-cover__note {
  margin: 0;
  padding: .65rem .85rem 0;
  color: var(--silver);
  font-size: .76rem;
  line-height: 1.4;
}

.video-cover__note[hidden] {
  display: none;
}


/* V29: controles y diagnóstico discreto de video */
.video-cover video {
  position: relative;
  z-index: 1;
}

.video-cover__play {
  z-index: 3;
}

.video-cover.is-playing video,
.video-cover.is-activated video {
  pointer-events: auto;
}

.video-cover__error,
.gallery-video__error {
  margin: 0;
  color: #fff;
  background: rgba(139, 0, 0, .92);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.video-cover__error {
  position: absolute;
  right: .65rem;
  bottom: .65rem;
  left: .65rem;
  z-index: 4;
  padding: .55rem .7rem;
  pointer-events: none;
}

.video-cover__error[hidden],
.gallery-video__error[hidden] {
  display: none;
}

.gallery-video__frame {
  position: relative;
}

.gallery-video__error {
  width: min(100%, 42rem);
  padding: .7rem .9rem;
  text-align: center;
}

/* V31: ampliación suave de tarjetas en dispositivos con cursor */
.production-card,
.secondary-production-card {
  position: relative;
  transform: translateZ(0);
  transform-origin: center;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
  will-change: transform;
}

.production-cards,
.secondary-productions__grid {
  overflow: visible;
}

.secondary-production-card {
  overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
  .production-card:hover,
  .secondary-production-card:hover {
    transform: translateY(-4px) scale(1.035);
    z-index: 5;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .production-card,
  .secondary-production-card {
    transition: none;
  }
}

/* V33: responsive media, lightbox polish, client hover and subtle parallax */
.gallery__slides {
  scroll-behavior: smooth;
  scroll-padding-inline: 1rem;
}

.gallery-photo picture {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
}

/* Neutralize the old universal client hover so touch devices do not retain a hover state. */
.client-logo:hover {
  transform: none;
  background: var(--silver-light);
  border-color: rgba(255, 255, 255, .16);
}
.client-logo--dark:hover {
  background: var(--black);
}
.client-logo img {
  filter: grayscale(100%);
  transition: filter 250ms ease, transform 250ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .client-logo:hover {
    transform: translateY(-2px);
    background: var(--white);
    border-color: var(--red);
  }
  .client-logo--dark:hover {
    background: #171717;
  }
  .client-logo:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}
@media (hover: none), (pointer: coarse) {
  .client-logo img { filter: none; }
}

.parallax-visual {
  --parallax-y: 0px;
  overflow: hidden;
}
.parallax-visual img {
  transform: translate3d(0, var(--parallax-y), 0) scale(1.055);
  transition: transform 160ms ease-out;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .parallax-visual:hover img {
    transform: translate3d(0, var(--parallax-y), 0) scale(1.068);
  }
}
@media (prefers-reduced-motion: reduce) {
  .parallax-visual img,
  .parallax-visual:hover img {
    transform: none !important;
    will-change: auto;
  }
}



.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  border-radius: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
