/* Estilo de la portada original */
:root {
  --ink: #11120f;
  --ink-soft: #1c1e19;
  --paper: #f4f1e9;
  --paper-strong: #fffdf7;
  --line: rgba(17, 18, 15, 0.14);
  --muted: #696b64;
  --lime: #c9ff3d;
  --cyan: #54e7ff;
  --coral: #ff7657;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(17, 18, 15, 0.13);
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

/* Lectura editorial: todos los párrafos de contenido se justifican. */
main p:not(.eyebrow):not(.hero-tagline) {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image: radial-gradient(rgba(17, 18, 15, 0.16) 0.7px, transparent 0.7px);
  background-size: 9px 9px;
}

a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.11);
  background: rgba(17, 18, 15, 0.93);
  color: white;
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 40px), 1560px);
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-lockup {
  height: 54px;
  display: grid;
  place-items: center;
}

.brand-lockup img {
  grid-area: 1 / 1;
  object-fit: contain;
  filter: invert(1) grayscale(1);
}
.brand-lockup__symbol { display: block; width: 54px; height: 54px; }

.site-nav { min-width: 0; margin: 0; }

.nav-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, max-content);
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(4px, .45vw, 10px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  padding: 9px clamp(5px, .4vw, 8px);
  border-radius: 10px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: clamp(12.5px, .78vw, 14px);
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.nav-list > li { flex: 0 0 auto; }
.nav-group { position: relative; }
.nav-group summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px clamp(5px, .4vw, 8px);
  border-radius: 10px;
  color: rgba(255,255,255,0.78);
  cursor: pointer;
  font-size: clamp(12.5px, .78vw, 14px);
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: "▾"; color: var(--lime); font-size: 11px; }
.nav-group summary:hover, .nav-group summary:focus-visible { color: white; background: rgba(255,255,255,0.08); }
.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 120;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(0,0,0,.32);
  transform: translateX(-50%);
}
.nav-submenu a { display: flex; padding: 12px 14px; }

.nav-list a:hover, .nav-list a:focus-visible {
  color: white;
  background: rgba(255,255,255,0.08);
}

.header-search {
  flex: 0 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
}
.header-search > span:first-child { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; position: relative; }
.header-search > span:first-child::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; border-radius: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.header-search:hover, .header-search:focus-visible { color: var(--lime); background: rgba(255,255,255,.08); }
.nav-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.search-catalog-page { background: #f1eee6; }
.search-catalog-shell { padding-top: 86px; min-height: 100vh; }
.search-catalog-intro { padding: 30px max(24px, 5vw) 18px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.search-catalog-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 70px); letter-spacing: -.055em; line-height: .95; }
.search-catalog-intro p { margin: 0; max-width: 480px; color: #686861; }
.search-catalog-frame { display: block; width: 100%; height: calc(100vh - 230px); min-height: 680px; border: 0; background: #f1eee6; }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: transparent;
  color: white;
  padding: 10px 12px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 0 rgba(0,0,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 11px 0 rgba(0,0,0,0.15); }
.button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.button--dark { background: var(--ink); color: white; }
.button--secondary { background: var(--cyan); color: var(--ink); }
.button--ghost { background: transparent; color: currentColor; border-color: currentColor; box-shadow: none; }
.button--small { min-height: 42px; padding: 10px 16px; font-size: 14px; box-shadow: none; }
.button--header { margin-left: 0; padding-inline: 13px; background: var(--cyan); font-size: 12.5px; }
.button--header:hover { background: #8aeeff; }

.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.shell.hero-grid {
  width: min(calc(100% - 56px), 1500px);
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -280px;
  right: -80px;
  border-radius: 50%;
  background: var(--accent, var(--lime));
  filter: blur(2px);
  opacity: 0.19;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(440px, .82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 4vw, 72px);
  min-height: 700px;
  padding: 54px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--accent-on-light, #526c00);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 32px; height: 3px; background: currentColor; }
.hero .eyebrow,
.section--dark .eyebrow { color: var(--accent, var(--lime)); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Arial Black", Inter, ui-sans-serif, sans-serif;
  line-height: .98;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(50px, 4.8vw, 76px);
}

.hero--service h1 { font-size: clamp(46px, 4.3vw, 68px); }

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.74);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
}

.hero-tagline {
  margin: -8px 0 22px;
  color: var(--accent, var(--lime));
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-pair--footer .button--ghost { color: white; }

.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,0.68);
  font-size: 14px;
  font-weight: 700;
}

.proof-line li::before { content: "✓"; color: var(--accent, var(--lime)); margin-right: 8px; }

.hero-media {
  position: relative;
  min-height: 600px;
}

.media-frame {
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.11), transparent 52%),
    linear-gradient(35deg, #2b2e27, #12130f);
  color: rgba(255,255,255,0.75);
  box-shadow: 0 30px 70px rgba(0,0,0,0.38);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 28%, var(--accent, var(--lime)) 0 5px, transparent 6px),
    linear-gradient(112deg, transparent 0 36%, rgba(255,255,255,.08) 37% 38%, transparent 39% 100%);
}

.media-frame span { position: relative; z-index: 1; font-size: 13px; font-weight: 800; }
.media-frame--main { inset: 0 0 34px 20px; transform: rotate(1.5deg); }
.media-frame--small { width: 40%; height: 38%; left: -8px; top: 28px; bottom: auto; z-index: 2; transform: rotate(-4deg); background: linear-gradient(145deg, var(--accent, var(--cyan)), #24302f); color: var(--ink); }
.media-badge { position: absolute; z-index: 3; right: -6px; top: 4px; width: 102px; height: 102px; display: grid; place-items: center; border-radius: 50%; background: var(--accent, var(--lime)); color: var(--ink); text-align: center; font-weight: 950; line-height: 1.05; transform: rotate(8deg); }

.media-frame--has-media {
  padding: 0;
  background: #111;
}

.media-frame--has-media::before {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,.7));
}

.media-frame__asset {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__label {
  position: absolute !important;
  z-index: 2 !important;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(10,11,9,.76);
  color: white;
  backdrop-filter: blur(7px);
}

.media-frame--main .media-frame__label { bottom: 64px; }

.hero--clean-media .hero-grid { align-items: center; }
.hero-clean-media { min-height: 0; display: flex; align-items: center; padding: 18px; }
.hero-clean-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: clamp(26px, 3vw, 42px);
  background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.36);
  transform: rotate(1.35deg);
  transform-origin: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.hero-clean-media:hover video,
.hero-clean-media:focus-within video { transform: rotate(.35deg) scale(1.006); box-shadow: 0 36px 82px rgba(0,0,0,.44); }

.hero-cover-mosaic { position: relative; min-height: 600px; padding: 16px; }
.hero-cover-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr .92fr;
  grid-template-rows: 1fr 1fr .72fr;
  gap: 12px;
  width: 100%;
  height: 570px;
  transform: rotate(1.15deg);
  transition: transform .35s ease;
}
.hero-cover-mosaic:hover .hero-cover-mosaic__grid,
.hero-cover-mosaic:focus-within .hero-cover-mosaic__grid { transform: rotate(.25deg); }
.hero-cover-mosaic__item {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
}
.hero-cover-mosaic__item--main { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 34px; }
.hero-cover-mosaic__item:nth-child(2) { grid-column: 3; grid-row: 1; }
.hero-cover-mosaic__item:nth-child(3) { grid-column: 3; grid-row: 2; }
.hero-cover-mosaic__item:nth-child(4) { grid-column: 1; grid-row: 3; }
.hero-cover-mosaic__item:nth-child(5) { grid-column: 2 / 4; grid-row: 3; }
.hero-cover-mosaic--four .hero-cover-mosaic__item:nth-child(4) { grid-column: 1 / 4; grid-row: 3; }

.hero-cover-mosaic--screens { min-height: 550px; }
.hero-cover-mosaic--screens .hero-cover-mosaic__grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(170px, .65fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 520px;
  transform: rotate(.55deg);
}
.hero-cover-mosaic--screens .hero-cover-mosaic__item--main {
  grid-column: 1;
  grid-row: 1 / 4;
}
.hero-cover-mosaic--screens .hero-cover-mosaic__item:nth-child(2) { grid-column: 2; grid-row: 1; }
.hero-cover-mosaic--screens .hero-cover-mosaic__item:nth-child(3) { grid-column: 2; grid-row: 2; }
.hero-cover-mosaic--screens .hero-cover-mosaic__item:nth-child(4) { grid-column: 2; grid-row: 3; }
.hero-cover-mosaic--screens .hero-cover-mosaic__play {
  left: 37%;
  top: auto;
  bottom: 30px;
  transform: translateX(-50%);
}
.hero-cover-mosaic__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(12,13,11,.86);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.hero-cover-mosaic__play span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--accent, var(--lime)); color: #111; }
.hero-cover-mosaic__play:hover,
.hero-cover-mosaic__play:focus-visible { background: #fff; color: #111; }

.hero--editorial-index .hero-cover-mosaic__grid {
  overflow: hidden;
  border-radius: 36px;
  background: rgba(255,255,255,.04);
}
.hero--editorial-index .hero-cover-mosaic__item {
  transition: opacity .34s ease, filter .34s ease, transform .34s ease;
}
.hero--editorial-index .hero-cover-mosaic__item:not(.hero-cover-mosaic__item--main):hover {
  position: relative;
  z-index: 2;
  transform: scale(1.018);
}
.hero--editorial-index .hero-cover-mosaic__item.is-changing {
  opacity: .18;
  filter: saturate(.72) brightness(.76);
}
.hero--editorial-index .hero-cover-mosaic__play {
  top: auto;
  bottom: 30px;
  white-space: nowrap;
  transform: translateX(-50%);
}
img,
video {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.projects-index-page .hero-cover-mosaic__item--main { object-position: center 45%; }

@media (max-width: 620px) {
  .hero-cover-mosaic { min-height: 430px; padding: 6px; }
  .hero-cover-mosaic__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr 1fr; height: 410px; gap: 8px; transform: rotate(.5deg); }
  .hero-cover-mosaic__item--main { grid-column: 1 / 3; grid-row: 1; }
  .hero-cover-mosaic__item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .hero-cover-mosaic__item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .hero-cover-mosaic__item:nth-child(n+4) { display: none; }
  .hero-cover-mosaic--screens { min-height: 430px; }
  .hero-cover-mosaic--screens .hero-cover-mosaic__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.25fr .75fr;
    height: 410px;
  }
  .hero-cover-mosaic--screens .hero-cover-mosaic__item--main { grid-column: 1 / 3; grid-row: 1; }
  .hero-cover-mosaic--screens .hero-cover-mosaic__item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .hero-cover-mosaic--screens .hero-cover-mosaic__item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .hero-cover-mosaic--screens .hero-cover-mosaic__play { left: 50%; bottom: 22px; }
  .hero--editorial-index .hero-cover-mosaic__grid { border-radius: 25px; }
  .hero--editorial-index .hero-cover-mosaic__play { bottom: 18px; }
}

.section--featured-projects { overflow: hidden; background: #f0ede5; color: var(--ink); }
.production-types-heading { margin-bottom: 42px; }
.production-types-heading > h2 { max-width: 980px; margin: 12px 0 30px; font-size: clamp(44px, 5vw, 74px); line-height: .96; }
.production-types-heading__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.production-types-heading__groups article { padding: 24px 26px; border: 1px solid rgba(24,24,22,.14); border-radius: 22px; background: rgba(255,255,255,.62); }
.production-types-heading__groups h3 { margin: 0 0 14px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; }
.production-types-heading__groups ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.production-types-heading__groups li { padding: 8px 12px; border-radius: 999px; background: #fff; color: #35352f; font-size: 13px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(24,24,22,.1); }
.production-types-heading__type--format { border-color: rgba(19,177,207,.38) !important; background: rgba(86,218,242,.14) !important; }
.production-types-heading__type--format h3 { color: #087f98; }
.production-types-heading__type--format li { background: #d9f8ff; color: #075d70; box-shadow: inset 0 0 0 1px rgba(19,177,207,.22); }
.production-types-heading__type--audience { border-color: rgba(231,91,67,.34) !important; background: rgba(255,111,87,.12) !important; }
.production-types-heading__type--audience h3 { color: #bd412d; }
.production-types-heading__type--audience li { background: #ffe5df; color: #8e3021; box-shadow: inset 0 0 0 1px rgba(231,91,67,.2); }
@media (max-width: 720px) {
  .production-types-heading__groups { grid-template-columns: 1fr; }
  .production-types-heading > h2 { margin-bottom: 22px; }
}
.project-highlight-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 4px 2px;
}
.project-highlight { overflow: hidden; border: 1px solid rgba(24,24,22,.12); border-radius: 24px; background: #fff; }
.project-highlight:first-child { grid-column: span 2; grid-row: span 2; }
.project-highlight:first-child .project-highlight__media { aspect-ratio: 16 / 9; min-height: 430px; }
.project-highlight__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; overflow: hidden; background: #111; cursor: pointer; }
.project-highlight__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-highlight__media:hover img,
.project-highlight__media:focus-visible img { transform: scale(1.035); }
.project-highlight__media span { position: absolute; left: 16px; bottom: 16px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(10,10,9,.82); color: #fff; }
.project-highlight > div { padding: 18px 20px 22px; }
.project-highlight p { margin: 0 0 6px; color: rgba(24,24,22,.6); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.project-highlight h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.55rem); }

.production-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.production-proof-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.055); }
.production-proof-card--main { grid-column: 1 / -1; }
.production-proof-card__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; border: 0; background: #111; cursor: pointer; }
.production-proof-card--main .production-proof-card__media { aspect-ratio: 16 / 7.2; }
.production-proof-card__media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); pointer-events: none; }
.production-proof-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.production-proof-card__media:hover img,
.production-proof-card__media:focus-visible img { transform: scale(1.025); }
.production-proof-card__media span { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 7px 10px; border-radius: 999px; background: rgba(10,10,9,.78); color: #fff; font-size: .78rem; font-weight: 850; }
.production-proof-card__media i { position: absolute; z-index: 2; right: 16px; bottom: 16px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--accent, var(--lime)); color: #111; font-style: normal; }
.production-proof-card > div { padding: 16px 18px 18px; }
.production-proof-card h3 { margin: 0 0 6px; color: #fff; font-size: 1.05rem; }
.production-proof-card p { margin: 0; color: rgba(255,255,255,.64); font-size: .9rem; line-height: 1.45; }

@media (max-width: 900px) {
  .project-highlight-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-highlight:first-child { grid-column: span 2; grid-row: auto; }
  .project-highlight:first-child .project-highlight__media { min-height: 0; }
}

@media (max-width: 620px) {
  .project-highlight-rail { grid-template-columns: 1fr; }
  .project-highlight:first-child { grid-column: auto; }
  .production-proof-grid { grid-template-columns: 1fr; }
  .production-proof-card--main { grid-column: auto; }
  .production-proof-card--main .production-proof-card__media { aspect-ratio: 16 / 10; }
}

.section { padding: clamp(58px, 6vw, 90px) 0; }
.section--tight { padding: 38px 0; }
.section--process-compact { padding-bottom: 24px; }
.section--cta-connected { padding-top: 16px; }
.section--dark { background: var(--ink); color: white; }
.section--white { background: var(--paper-strong); }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .55fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 { margin-bottom: 0; font-size: clamp(38px, 4.6vw, 62px); }
.section-heading p { margin-bottom: 2px; color: var(--muted); font-size: 17px; }
.section--dark .section-heading p { color: rgba(255,255,255,0.65); }

.page-pantallas-led .section-heading {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  max-width: 1040px;
}
.page-pantallas-led .section-heading h2 { max-width: 920px; }
.page-pantallas-led .section-heading > p:not(.eyebrow) { max-width: 820px; }
.page-pantallas-led .screens-format-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
.page-pantallas-led .screens-format-grid .service-card__media {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-pantallas-led .process-section--visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(85,216,244,.20), transparent 28%),
    #fbfaf6;
}
.page-pantallas-led .process-grid--timeline {
  position: relative;
  gap: 24px;
}
.page-pantallas-led .process-grid--timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 9%;
  right: 9%;
  height: 3px;
  background: linear-gradient(90deg, #55d8f4, #bfff2c);
  z-index: 0;
}
.page-pantallas-led .process-grid--timeline .process-card {
  position: relative;
  z-index: 1;
  min-height: 315px;
  padding: 32px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(10,15,16,.10);
}
.page-pantallas-led .process-grid--timeline .process-card:nth-child(2) { transform: translateY(24px); }
.page-pantallas-led .process-grid--timeline .process-card:nth-child(3) { background: #101312; color: #fff; }
.page-pantallas-led .process-grid--timeline .process-card:nth-child(3) p { color: rgba(255,255,255,.68); }
.page-pantallas-led .process-card__number {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 46px;
  border-radius: 50%;
  background: #55d8f4;
  color: #101312;
  font-weight: 900;
  letter-spacing: .06em;
}
.page-pantallas-led .process-card:nth-child(2) .process-card__number { background: #bfff2c; }
.page-pantallas-led .process-card__icon {
  position: absolute;
  top: 40px;
  right: 34px;
  color: rgba(10,15,16,.20);
  font-size: 34px;
  font-weight: 900;
}
.page-pantallas-led .process-card:nth-child(3) .process-card__icon { color: #55d8f4; }

.page-pantallas-led .section--clarity {
  background: linear-gradient(135deg, #55d8f4 0%, #84e6f7 55%, #bfff2c 155%);
}
.page-pantallas-led .clarity-panel {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(46px,6vw,100px);
  align-items: center;
}
.page-pantallas-led .clarity-panel .split-copy h2 {
  max-width: 700px;
  font-size: clamp(48px,5.2vw,76px);
  line-height: .94;
}
.page-pantallas-led .clarity-panel .split-copy p:not(.eyebrow) {
  max-width: 580px;
  color: rgba(10,15,16,.70);
}
.page-pantallas-led .clarity-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-pantallas-led .clarity-list li {
  position: relative;
  min-height: 105px;
  padding: 24px 22px 22px 62px;
  border: 1px solid rgba(10,15,16,.10);
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 14px 35px rgba(10,15,16,.08);
  font-weight: 800;
  line-height: 1.2;
}
.page-pantallas-led .clarity-list li::before {
  content: "✓";
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #101312;
  color: #55d8f4;
  font-size: 15px;
}
.page-pantallas-led .clarity-list li:last-child { grid-column: 1 / 3; }

@media (max-width: 800px) {
  .page-pantallas-led .screens-format-grid { grid-template-columns: 1fr; }
  .page-pantallas-led .process-grid--timeline::before { display: none; }
  .page-pantallas-led .process-grid--timeline .process-card:nth-child(2) { transform: none; }
  .page-pantallas-led .process-grid--timeline .process-card { min-height: auto; }
  .page-pantallas-led .clarity-panel { grid-template-columns: 1fr; }
  .page-pantallas-led .clarity-list { grid-template-columns: 1fr; }
  .page-pantallas-led .clarity-list li:last-child { grid-column: auto; }
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.catalog-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-soft);
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.catalog-card:nth-child(1), .catalog-card:nth-child(6) { grid-column: span 7; }
.catalog-card:nth-child(2), .catalog-card:nth-child(7) { grid-column: span 5; }

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, transparent 18%, rgba(0,0,0,.86) 100%),
    radial-gradient(circle at 72% 18%, var(--card-accent, var(--lime)) 0 6px, transparent 7px),
    linear-gradient(132deg, #3a3d34, #11120f 56%);
  transition: transform .5s ease;
}

.catalog-card::after {
  content: attr(data-media);
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 22px;
  color: rgba(255,255,255,0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.catalog-card--media::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 14%, rgba(0,0,0,.9) 100%),
    var(--card-image) var(--card-position, center) / cover no-repeat;
}

.catalog-card--media::after { content: none; }

.catalog-card:hover::before { transform: scale(1.045); }
.catalog-card small { color: var(--card-accent, var(--lime)); font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.catalog-card h3 { max-width: 620px; margin: 8px 0 12px; font-size: clamp(27px, 2.8vw, 42px); }
.catalog-card p { max-width: 560px; margin: 0; color: rgba(255,255,255,0.72); }
.card-arrow { position: absolute; right: 24px; bottom: 24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--card-accent, var(--lime)); color: var(--ink); font-size: 23px; font-weight: 900; }

.projects-callout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.projects-callout__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 66px);
}

.projects-callout__copy h2 { max-width: 650px; margin-bottom: 18px; font-size: clamp(40px, 5vw, 68px); }
.projects-callout__copy > p:not(.eyebrow) { max-width: 610px; margin-bottom: 28px; color: var(--muted); font-size: 18px; }
.projects-callout__media {
  min-height: 410px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, transparent 25%, rgba(0,0,0,.82)),
    radial-gradient(circle at 72% 22%, var(--coral) 0 7px, transparent 8px),
    linear-gradient(132deg, #55594d, #11120f 62%);
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.projects-callout__media--image {
  position: relative;
  isolation: isolate;
  padding: 0;
  background: #111;
}

.projects-callout__media--image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.72));
  pointer-events: none;
}

.projects-callout__media--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-callout__caption {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,11,9,.78);
  color: white;
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(6px);
}

.service-grid, .benefit-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid--quote { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid--quote .process-card { min-height: 320px; padding: 24px; }
.process-grid--quote .process-card h3 { font-size: clamp(23px, 2vw, 28px); }
.process-grid--quote .icon-chip { margin-bottom: 38px; }
.page-pantallas-led .process-grid--requirements .icon-chip {
  background: #bfff2c;
  color: #101312;
}
.page-interactivos .hero-cover-mosaic__grid { transform: rotate(-.35deg); }
.page-interactivos .hero-cover-mosaic:hover .hero-cover-mosaic__grid,
.page-interactivos .hero-cover-mosaic:focus-within .hero-cover-mosaic__grid { transform: rotate(.2deg); }
.service-card--link { color: inherit; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.service-card--link:hover,
.service-card--link:focus-visible { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0,0,0,.12); }
.service-card__more { display: inline-block; margin-top: 18px; font-weight: 900; color: var(--ink); }

.service-card, .benefit-card, .process-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.56);
}

.service-card h3, .benefit-card h3, .process-card h3 { margin-bottom: 14px; font-size: 28px; }
.service-card p, .benefit-card p, .process-card p { color: var(--muted); }
.card-number { display: block; margin-bottom: 54px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.icon-chip { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 16px; background: var(--accent, var(--lime)); color: var(--ink); font-size: 24px; font-weight: 950; }

.service-card--media {
  overflow: hidden;
  min-height: 0;
  padding: 0;
}

.service-card__media {
  width: 100%;
  aspect-ratio: 48 / 31;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-card__body { padding: 26px 28px 30px; }
.service-card--media .card-number { margin-bottom: 28px; }

.featured-projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.featured-project-card {
  color: var(--ink);
  text-decoration: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.featured-project-card:hover,
.featured-project-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
  box-shadow: var(--shadow);
}
.featured-project-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.featured-project-card .service-card__body { padding: 22px; }
.featured-project-card .card-number { margin-bottom: 18px; }
.featured-project-card h3 { margin-bottom: 12px; font-size: clamp(22px, 2vw, 28px); }
.featured-project-card p { font-size: 15px; }
.featured-project-card__link { display: block; margin-top: 20px; color: var(--ink); font-size: 13px; font-weight: 900; }

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

.project-process-case { margin-top: clamp(42px, 6vw, 76px); }
.project-process-case + .project-process-case {
  padding-top: clamp(42px, 6vw, 76px);
  border-top: 1px solid var(--line);
}
.project-process-case__heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.project-process-case__heading .eyebrow { margin-bottom: 8px; }
.project-process-case__heading h3 { font-size: clamp(28px, 3vw, 42px); }
.text-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

@media (max-width: 720px) {
  .project-process-case__heading { align-items: start; flex-direction: column; }
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}

.split h2 { font-size: clamp(40px, 4.6vw, 64px); }
.split-copy > p { color: var(--muted); font-size: 19px; }

@media (min-width: 1221px) {
  .split:has(> .media-gallery:first-child) { grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); }
  .split:has(> .split-copy:first-child) { grid-template-columns: minmax(360px, .65fr) minmax(0, 1.35fr); }
}

.check-list { display: grid; gap: 14px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent, var(--lime)); color: var(--ink); font-size: 13px; }

.media-placeholder {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  border-radius: var(--radius);
  color: white;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0,0,0,.78)),
    radial-gradient(circle at 70% 24%, var(--accent, var(--cyan)) 0 8px, transparent 9px),
    linear-gradient(130deg, #4d5247, #171914 60%);
  box-shadow: var(--shadow);
}

.media-placeholder strong { display: block; margin-bottom: 7px; font-size: 22px; }
.media-placeholder span { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700; }

.media-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px 230px; gap: 18px; }
.media-gallery .media-placeholder { min-height: 0; }
.media-gallery .media-placeholder:first-child { grid-column: 1 / -1; grid-row: 1; }

.media-placeholder--image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #111;
}

.media-placeholder--image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(0,0,0,.78));
  pointer-events: none;
}

.media-placeholder--image > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder__caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
}

.media-gallery .media-placeholder:not(:first-child) .media-placeholder__caption { padding: 20px; }
.media-gallery .media-placeholder:not(:first-child) .media-placeholder__caption strong { margin: 0; font-size: 18px; }
.media-gallery .media-placeholder:not(:first-child) .media-placeholder__caption span { display: none; }

.media-gallery--projects-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 280px);
}
.media-gallery--projects-four .media-placeholder:first-child {
  grid-column: auto;
  grid-row: auto;
}
.media-gallery--projects-four .media-placeholder__caption { padding: 20px; }
.media-gallery--projects-four .media-placeholder__caption strong { margin: 0; font-size: 18px; }
.media-gallery--projects-four .media-placeholder__caption span { display: none; }

.media-gallery--projects-five {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 280px) 240px;
}
.media-gallery--projects-five .media-placeholder:first-child {
  grid-column: auto;
  grid-row: auto;
}
.media-gallery--projects-five .media-placeholder:last-child { grid-column: 1 / -1; }
.media-gallery--projects-five .media-placeholder__caption { padding: 20px; }
.media-gallery--projects-five .media-placeholder__caption strong { margin: 0; font-size: 18px; }
.media-gallery--projects-five .media-placeholder__caption span { display: none; }

.media-gallery--projects-six {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 260px);
}
.media-gallery--projects-six .media-placeholder:first-child {
  grid-column: auto;
  grid-row: auto;
}
.media-gallery--projects-six .media-placeholder__caption { padding: 20px; }
.media-gallery--projects-six .media-placeholder__caption strong { margin: 0; font-size: 18px; }
.media-gallery--projects-six .media-placeholder__caption span { display: none; }
.media-project-link { color: white; text-decoration: none; }
.media-project-link > img { transition: transform .35s ease, filter .35s ease; }
.media-project-link:hover > img,
.media-project-link:focus-visible > img { transform: scale(1.025); filter: brightness(1.06); }
.media-project-link:focus-visible { outline: 3px solid var(--accent, var(--lime)); outline-offset: 4px; }

@media (max-width: 720px) {
  .media-gallery--projects-four { grid-template-columns: 1fr; grid-template-rows: repeat(4, 260px); }
  .media-gallery--projects-five { grid-template-columns: 1fr; grid-template-rows: repeat(5, 260px); }
  .media-gallery--projects-five .media-placeholder:last-child { grid-column: auto; }
  .media-gallery--projects-six { grid-template-columns: 1fr; grid-template-rows: repeat(6, 260px); }
}

.quote-block {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 90px);
  border-radius: 36px;
  background: var(--cyan);
  color: var(--ink);
}
.quote-block::after { content: "SN"; position: absolute; right: -20px; bottom: -64px; font-family: "Arial Black", sans-serif; font-size: 220px; line-height: 1; opacity: .09; }
.quote-block blockquote { position: relative; z-index: 1; max-width: 980px; margin: 0; font-family: "Arial Black", sans-serif; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.02; letter-spacing: -.05em; }

.project-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-strip > div { padding: 22px 20px; border-right: 1px solid var(--line); }
.project-strip > div:last-child { border-right: 0; }
.project-strip strong { display: block; font-size: 23px; letter-spacing: -.03em; }
.project-strip span { color: var(--muted); font-size: 13px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: clamp(42px, 6vw, 76px);
  border-radius: 36px;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
}
.cta-panel > div:first-child { display: flex; flex-direction: column; align-items: center; }
.cta-panel .eyebrow { justify-content: center; color: var(--ink); }
.cta-panel h2 { max-width: 920px; margin: 0 auto 16px; font-size: clamp(36px, 4.5vw, 60px); }
.cta-panel p { max-width: 780px; margin: 0 auto; font-size: 18px; }
.cta-panel .contact-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 680px);
  gap: 18px;
  justify-content: center;
}
.cta-panel .contact-pair .button {
  min-height: 64px;
  gap: 13px;
  padding: 13px 24px;
  color: var(--ink);
  font-size: clamp(15px, 1.6vw, 19px);
  letter-spacing: -0.02em;
  box-shadow: 0 8px 0 rgba(0,0,0,.16);
}
.cta-panel .contact-pair .js-whatsapp-primary {
  border-color: var(--ink);
  background: var(--lime);
}
.cta-panel .contact-pair .js-whatsapp-secondary {
  border-color: var(--ink);
  background: var(--cyan);
}
.cta-panel .contact-pair .js-whatsapp-primary:hover { background: #ddff7f; }
.cta-panel .contact-pair .js-whatsapp-secondary:hover { background: #8aeeff; }
.cta-panel .contact-pair .whatsapp-icon { background: var(--ink); }
.whatsapp-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
}
.whatsapp-icon img { width: 23px; height: 23px; display: block; }
.whatsapp-number { white-space: nowrap; }
.hero-actions .whatsapp-icon,
.button--header .whatsapp-icon,
.whatsapp-float .whatsapp-icon { background: var(--ink); }
.hero-actions .button,
.button--header { gap: 11px; }
.button--header .whatsapp-icon { width: 30px; height: 30px; }
.button--header .whatsapp-icon img { width: 18px; height: 18px; }

.faq-list { display: grid; gap: 12px; max-width: 980px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.5); padding: 0 24px; }
.faq-list summary { cursor: pointer; padding: 22px 0; font-weight: 900; }
.faq-list details p { padding: 0 0 22px; color: var(--muted); }

.site-footer { padding: 70px 0 26px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(2, .55fr); gap: 50px; }
.footer-title { max-width: 530px; margin: 24px 0; font-family: "Arial Black", sans-serif; font-size: clamp(31px, 4vw, 52px); line-height: 1; letter-spacing: -.05em; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 8px; color: var(--lime); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-address { margin: 4px 0 6px; color: rgba(255,255,255,.72); font-style: normal; line-height: 1.55; }
.footer-links .footer-domain {
  width: max-content;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--lime);
  color: white;
  text-decoration: none;
}
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 12px; }
.footer-legal { justify-self: start; text-align: left; }
.footer-copyright { justify-self: center; text-align: center; }
.footer-balance { justify-self: end; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #071a0c;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 40px rgba(0,0,0,.26);
}

.color-cyan { --accent: var(--cyan); --accent-on-light: #007487; }
.color-lime { --accent: var(--lime); --accent-on-light: #587200; }
.color-coral { --accent: var(--coral); --accent-on-light: #aa3d25; }

.page-inmersivos #formatos-inmersivos .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1040px) {
  .page-inmersivos #formatos-inmersivos .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-inmersivos #formatos-inmersivos .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1220px) {
  .header-inner { display: flex; }
  .header-inner > .button { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 12px 20px 20px; background: var(--ink); }
  .site-nav.is-open { display: block; }
  .nav-list { display: flex; width: auto; align-items: stretch; flex-direction: column; }
  .nav-list a { padding: 13px 12px; }
  .nav-group summary { width: 100%; justify-content: space-between; padding: 13px 12px; }
  .nav-submenu { position: static; min-width: 0; margin: 2px 0 6px 12px; padding: 2px 0 2px 10px; border: 0; border-left: 2px solid var(--lime); border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { min-height: 520px; }
  .catalog-card, .catalog-card:nth-child(n) { grid-column: span 6; }
  .service-grid, .benefit-grid, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split { grid-template-columns: 1fr; }
  .projects-callout { grid-template-columns: 1fr; }
  .project-strip { grid-template-columns: repeat(2,1fr); }
  .project-strip > div:nth-child(2) { border-right: 0; }
  .project-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand-lockup { height: 54px; }
  .brand-lockup__symbol { display: block; width: 54px; height: 54px; }
  .hero { border-radius: 0 0 26px 26px; }
  .hero-grid { gap: 34px; padding: 56px 0 64px; }
  h1, .hero--service h1 { font-size: clamp(43px, 13vw, 67px); }
  .hero-lede { font-size: 18px; }
  .hero-actions .button { width: 100%; }
  .contact-pair .button { width: 100%; }
  .hero-media { min-height: 360px; }
  .media-frame--main { inset: 0 0 28px 24px; }
  .media-frame--small { left: -4px; top: 18px; width: 52%; }
  .media-badge { width: 82px; height: 82px; right: 0; font-size: 12px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 34px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .section-heading h2, .split h2 { font-size: 38px; }
  .catalog-card, .catalog-card:nth-child(n) { grid-column: 1 / -1; min-height: 310px; }
  .service-grid, .benefit-grid, .process-grid { grid-template-columns: 1fr; }
  .projects-callout__media { min-height: 300px; }
  .service-card, .benefit-card, .process-card { min-height: 220px; }
  .media-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 290px); }
  .media-gallery .media-placeholder:first-child { grid-column: auto; grid-row: auto; }
  .project-strip { grid-template-columns: 1fr; }
  .project-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .project-strip > div:last-child { border-bottom: 0; }
  .cta-panel .button { width: 100%; }
  .cta-panel .contact-pair { grid-template-columns: 1fr; width: min(100%, 390px); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-copyright { justify-self: center; }
  .footer-balance { display: none; }
  .whatsapp-float .whatsapp-number { display: none; }
  .whatsapp-float { width: 58px; height: 58px; justify-content: center; padding: 0; font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Production route: a distinct, interactive transition between sections */
.section--production-route {
  position: relative;
  overflow: hidden;
  background: #c8ff38;
  color: #11110f;
  border-radius: 42px 42px 0 0;
}
.section--production-route::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -170px;
  top: -260px;
  border-radius: 50%;
  background: rgba(255,255,255,.34);
}
.production-route__heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 20px 60px;
  align-items: end;
  margin-bottom: 38px;
}
.production-route__heading .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
.production-route__heading h2 { margin: 0; max-width: 760px; font-size: clamp(42px, 5.4vw, 78px); line-height: .94; }
.production-route__heading > p:last-child { margin: 0; max-width: 520px; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.4; }
.production-route {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: stretch;
}
.production-route__steps { display: grid; gap: 12px; }
.production-route__step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 3px 16px;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid rgba(17,17,15,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.48);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.production-route__step > span { grid-row: 1 / 3; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.production-route__step strong { font-size: clamp(23px, 2.2vw, 34px); line-height: 1; }
.production-route__step small { font-size: 14px; line-height: 1.4; opacity: .72; }
.production-route__step:hover { transform: translateX(5px); }
.production-route__step.is-active { background: #11110f; color: #fff; box-shadow: 0 18px 45px rgba(17,17,15,.2); }
.production-route__step:focus-visible { outline: 4px solid #16cfe5; outline-offset: 3px; }
.production-route__visual {
  position: relative;
  min-height: 510px;
  padding: 0;
  overflow: hidden;
  border: 3px solid #11110f;
  border-radius: 32px;
  background: #11110f;
  color: #fff;
  cursor: pointer;
  transform: rotate(1deg);
  box-shadow: 0 30px 70px rgba(17,17,15,.22);
}
.production-route__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
.production-route__visual img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; transition: opacity .2s ease, transform .45s ease; }
.production-route__visual:hover img { transform: scale(1.025); }
.production-route__visual-label { position: absolute; z-index: 2; left: 28px; bottom: 28px; display: grid; gap: 5px; text-align: left; }
.production-route__visual-label i { font-style: normal; font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.production-route__visual-label strong { max-width: 520px; font-size: clamp(23px, 2.5vw, 38px); line-height: 1; }
.production-route__play { position: absolute; z-index: 2; right: 24px; bottom: 24px; padding: 11px 15px; border-radius: 999px; background: #c8ff38; color: #11110f; font-size: 13px; font-weight: 900; }

@media (max-width: 900px) {
  .production-route__heading { grid-template-columns: 1fr; }
  .production-route__heading .eyebrow { grid-column: auto; }
  .production-route { grid-template-columns: 1fr; }
  .production-route__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .production-route__step { grid-template-columns: 1fr; }
  .production-route__step > span { grid-row: auto; }
  .production-route__visual { min-height: 430px; transform: none; }
  .production-route__visual img { min-height: 430px; }
}
@media (max-width: 650px) {
  .section--production-route { border-radius: 28px 28px 0 0; }
  .production-route__steps { grid-template-columns: 1fr; }
  .production-route__step { grid-template-columns: 38px 1fr; padding: 18px; }
  .production-route__step > span { grid-row: 1 / 3; }
  .production-route__visual,
  .production-route__visual img { min-height: 340px; }
  .production-route__visual-label { left: 20px; bottom: 64px; }
  .production-route__play { left: 20px; right: auto; bottom: 18px; }
}

/* Project cases: poster-first, video on demand */
.project-search {
  display: grid;
  gap: 22px;
  margin: 0 0 34px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #f4f1eb;
}
.project-search__field label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.project-search__input-wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 6px 7px 6px 18px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.project-search__input-wrap > span { font-size: 28px; font-weight: 900; line-height: 1; transform: rotate(-18deg); }
.project-search__input-wrap input { width: 100%; min-width: 0; padding: 12px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: clamp(16px, 2vw, 19px); }
.project-search__input-wrap input::placeholder { color: #77756f; }
.project-search__input-wrap button { visibility: hidden; padding: 10px 15px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
.project-search__input-wrap button.is-visible { visibility: visible; }
.project-search__filters { display: flex; flex-wrap: wrap; gap: 9px; }
.project-search__filters button { padding: 9px 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
.project-search__filters button:hover,
.project-search__filters button:focus-visible,
.project-search__filters button.is-active { background: var(--ink); color: #fff; }
.project-search__summary { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-search__summary strong { font-size: 18px; }
.project-search__summary span { color: var(--muted); font-size: 13px; text-align: right; }
.project-search__share {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.project-search__share[hidden] { display: none; }
.project-search__share:hover,
.project-search__share:focus-visible { background: transparent; color: var(--ink); }
.project-search__share span { color: inherit; font-size: inherit; text-align: left; }
.project-search__empty { margin: 0 0 34px; padding: clamp(32px, 6vw, 70px); border: 1px dashed var(--line); border-radius: 26px; text-align: center; }
.project-search__empty h3 { margin: 8px 0 10px; font-size: clamp(26px, 4vw, 44px); }
.project-search__empty p:not(.eyebrow) { margin: 0 auto 24px; color: var(--muted); }

.project-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* El catálogo conserva tres columnas, pero aprovecha mejor las pantallas amplias. */
.projects-index-page main > .section > .shell {
  width: min(calc(100% - 40px), 1560px);
}

.project-case {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(20, 20, 20, .08);
}

.project-case__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
}

.project-case__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.48));
}

.project-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.project-case__media:hover img,
.project-case__media:focus-visible img { transform: scale(1.025); }

.project-case__media:focus-visible {
  outline: 4px solid var(--cyan);
  outline-offset: 4px;
}

.project-case__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  font-size: 26px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.project-case__duration {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.7);
  font-size: 12px;
  font-weight: 900;
}

.project-case__body { padding: 20px 21px 23px; }
.project-case__meta { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.project-case h3 { margin: 8px 0 9px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.04; }
.project-case p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.project-case__services { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0 0; padding: 0; list-style: none; }
.project-case__services li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 800; }
.project-case__services a { color: inherit; text-decoration: none; }
.project-case__services li:has(a) { transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.project-case__services li:has(a):hover { border-color: currentColor; background: #fff; transform: translateY(-1px); }
.project-case__services a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 999px; }

.project-video-dialog {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #090909;
  color: #fff;
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
}
.project-video-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.project-video-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; }
.project-video-dialog__bar h2 { margin: 0; font-size: clamp(18px, 2.5vw, 26px); }
.project-video-dialog__close { padding: 9px 13px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.project-video-dialog__video { display: block; width: 100%; max-height: 75vh; background: #000; }

/* Service-linked project proof */
.service-project-proof { scroll-margin-top: 96px; }
.service-project-proof:target { background: color-mix(in srgb, var(--accent) 8%, var(--paper)); }
.is-hidden-for-project-link { display: none !important; }
.is-project-deep-link .service-project-proof {
  min-height: calc(100vh - 76px);
  padding-top: clamp(34px, 5vw, 72px);
}
.service-project-proof__full-page {
  display: inline-flex;
  margin-top: 8px;
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-project-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  width: fit-content;
  margin: 18px 0;
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  font-size: .92rem;
}
.hero-project-context a { color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.hero--project-context .hero-media { min-height: 560px; }
.hero--project-context .media-frame--main { inset: 0; transform: none; }
.hero--project-context .media-frame--main::before { display: none; }
.project-video-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0 4px;
}
.project-video-switcher strong { width: 100%; color: var(--accent, var(--lime)); }
.project-video-switcher button,
.project-video-switcher a {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.project-video-switcher button:hover,
.project-video-switcher button:focus-visible,
.project-video-switcher a:hover,
.project-video-switcher a:focus-visible { background: #fff; color: #111; }
.project-share-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(24, 24, 22, .18);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.share-icon { display: inline-flex; width: 17px; height: 17px; }
.share-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-share-button:hover,
.project-share-button:focus-visible { border-color: var(--ink); background: var(--ink); color: #fff; }
.project-case__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.project-case__actions .project-share-button { margin-top: 0; }
.project-detail-link {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}
.project-title-link,
.projects-index-page .project-case__body h3 > a {
  color: inherit;
  text-decoration: none;
}
.project-title-link:hover,
.project-title-link:focus-visible,
.projects-index-page .project-case__body h3 > a:hover,
.projects-index-page .project-case__body h3 > a:focus-visible {
  color: var(--accent, var(--coral));
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-detail-hero .project-case__services a {
  border-color: rgba(255,255,255,.72);
  background: #f4f1ea;
  color: #171814;
  box-shadow: 0 3px 12px rgba(0,0,0,.18);
}
.project-detail-hero .project-case__services a:hover,
.project-detail-hero .project-case__services a:focus-visible {
  border-color: var(--accent, var(--coral));
  background: var(--accent, var(--coral));
  color: #111;
}
.project-services-label {
  margin: 21px 0 9px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.local-preview-version {
  display: inline-flex;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #181816;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}
.service-project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}
.service-project-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.service-project-card__label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.service-project-card h3 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 42px); line-height: 1.02; }
.service-project-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }

/* Editorial project detail */
.project-detail-hero--editorial .hero-media { min-height: 560px; }
.project-detail-hero--editorial .media-frame--main { inset: 0; transform: none; }
.project-detail-hero--editorial .media-frame--main::before { display: none; }
.project-detail-hero--editorial .media-frame__asset { object-fit: cover; }

.section--project-story { background: #f4f1ea; }
.project-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  column-gap: clamp(42px, 6vw, 88px);
  row-gap: 0;
  align-items: start;
}
.project-story-copy { display: contents; }
.project-story-copy .eyebrow { grid-column: 1 / -1; margin-bottom: 14px; }
.project-story-copy h2 { grid-column: 1 / -1; max-width: 1080px; margin: 0 0 clamp(34px, 4vw, 52px); font-size: clamp(40px, 4.6vw, 66px); line-height: 1; }
.project-story-copy p:not(.eyebrow) { max-width: 720px; margin: 0 0 18px; color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.62; }
.project-story-copy p:not(.eyebrow) { grid-column: 1; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 2;
  grid-row: 3 / span 12;
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 18px 55px rgba(20,20,18,.05);
}
.project-facts > div { padding: 21px 16px 22px 0; border-bottom: 1px solid var(--line); }
.project-facts > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.project-facts dt { margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.project-facts dd { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.3; }

.project-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-video-grid:has(> .project-video-card:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-video-card { overflow: hidden; border: 1px solid rgba(17,24,32,.18); border-radius: 22px; background: #111820; box-shadow: 0 14px 32px rgba(17,24,32,.14); }
.project-video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: cover; }
.project-video-card > div { min-height: 116px; padding: 19px 20px 23px; background: #111820; }
.project-video-card span { color: var(--accent, var(--coral)); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.project-video-card h3 { margin: 7px 0 8px; color: #fff; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.05; }
.project-video-card p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5; }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.5vw, 24px);
  width: min(calc(100vw - 48px), 1480px);
  max-width: none;
  margin: 0 0 0 50%;
  transform: translateX(-50%);
}

/* Keep gallery introductions visually connected to the images. */
.section-heading:has(+ .project-gallery) {
  display: block;
  width: min(calc(100vw - 48px), 1480px);
  margin: 0 0 30px 50%;
  transform: translateX(-50%);
}
.section-heading:has(+ .project-gallery) .eyebrow { margin-bottom: 14px; }
.section-heading:has(+ .project-gallery) h2 { max-width: 940px; }

/* Keep video introductions compact and connected to their cards. */
.section-heading:has(+ .project-video-grid) {
  display: block;
  width: 100%;
  margin: 0 0 30px;
  transform: none;
}
.section-heading:has(+ .project-video-grid) .eyebrow { margin-bottom: 14px; }
.section-heading:has(+ .project-video-grid) h2 { max-width: 940px; margin-bottom: 14px; }
.section-heading:has(+ .project-video-grid) > p:not(.eyebrow) { max-width: 820px; margin-bottom: 0; }

/* Four-image galleries read better as a complete 2 × 2 composition. */
.project-gallery:has(> figure:nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100vw - 48px), 1320px);
}
.project-gallery.project-gallery--assigned:has(> figure:nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.project-gallery:has(> figure:nth-child(4):last-child) img { aspect-ratio: 16 / 10; }
.project-gallery figure,
.project-gallery figure.project-gallery__wide { overflow: hidden; margin: 0; border-radius: 18px; background: #ece9e2; }
.project-gallery img,
.project-gallery__wide img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: transform .5s ease; }
.project-gallery figure:hover img { transform: scale(1.018); }
.project-gallery img:focus-visible { outline: 4px solid var(--accent, var(--coral)); outline-offset: -4px; }
.project-gallery figcaption { padding: 13px 16px 15px; color: var(--muted); font-size: 13px; font-weight: 800; }

.project-image-dialog { width: min(94vw, 1440px); max-height: 92vh; padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: #0c0c0c; color: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.42); }
.project-image-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.project-image-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.project-image-dialog__title { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 800; line-height: 1.35; }
.project-image-dialog__close { flex: 0 0 auto; padding: 9px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; }
.project-image-dialog__close:hover,
.project-image-dialog__close:focus-visible { border-color: #fff; background: #fff; color: #111; }
.project-image-dialog__media { display: grid; place-items: center; min-height: min(70vh, 760px); margin: 0; padding: 18px; }
.project-image-dialog__media img { display: block; width: auto; max-width: 100%; max-height: 76vh; object-fit: contain; }

@media (max-width: 1100px) {
  .project-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .project-detail-hero--editorial .hero-media { min-height: 460px; }
  .project-story-grid { grid-template-columns: 1fr; }
  .project-story-copy { display: block; }
  .project-story-copy h2 { margin-bottom: 26px; }
  .project-facts { grid-column: auto; grid-row: auto; margin-top: 14px; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .project-search { padding: 22px 18px; border-radius: 20px; }
  .project-search__input-wrap { border-radius: 18px; }
  .project-search__input-wrap > span { display: none; }
  .project-search__input-wrap { grid-template-columns: 1fr auto; padding-left: 15px; }
  .project-search__filters { flex-wrap: nowrap; margin-inline: -18px; padding-inline: 18px; overflow-x: auto; scrollbar-width: none; }
  .project-search__filters::-webkit-scrollbar { display: none; }
  .project-search__filters button { flex: 0 0 auto; }
  .project-search__summary { align-items: flex-start; flex-direction: column; }
  .project-search__summary span { text-align: left; }
  .project-case-grid { grid-template-columns: 1fr; }
  .project-case__body { padding: 22px 20px 25px; }
  .project-case__play { width: 64px; height: 64px; }
  .service-project-card { grid-template-columns: 1fr; border-radius: 22px; }
  .project-detail-hero--editorial .hero-media { min-height: 330px; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .project-video-grid { grid-template-columns: 1fr; }
  .project-gallery,
  .project-gallery:has(> figure:nth-child(4):last-child) { grid-template-columns: 1fr; width: calc(100vw - 28px); }
  .section-heading:has(+ .project-gallery) { width: calc(100vw - 28px); }
  .section-heading:has(+ .project-video-grid) { margin-bottom: 22px; }
  .project-gallery figure,
  .project-gallery figure.project-gallery__wide { border-radius: 16px; }
  .project-image-dialog { width: 96vw; border-radius: 16px; }
  .project-image-dialog__media { min-height: 0; padding: 10px; }
}

