/* ==========================================================================
   The Associates — hoja de estilos base
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --bg: #171717;
  --bg-elevated: #262626;
  --bg-elevated-2: #333333;
  --text: #f2f2f2;
  --text-muted: #bfbfbf;
  --accent: #bf522a;
  --accent-dark: #8c4126;
  --accent-soft: rgba(191, 82, 42, 0.16);
  --border: rgba(191, 191, 191, 0.14);
  --border-strong: rgba(191, 191, 191, 0.28);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Jost', 'Segoe UI', sans-serif;

  --container: 1240px;
  --nav-height: 84px;
  --nav-pad-x: clamp(1.25rem, 4vw, 2.5rem);
}

#about-preview {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.textured-section {
  background-color: var(--bg);
  background-image: url('../assets/bacgrounds/gallery-03-texture.webp');
  background-repeat: repeat;
  background-size: 700px auto;
  background-blend-mode: multiply;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

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

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

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0 0 0.5em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

p { margin: 0 0 1em; color: var(--text-muted); }

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

section { padding: clamp(4rem, 9vw, 7rem) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.rule {
  width: 64px;
  height: 2px;
  background: var(--accent);
  margin: 0.4em 0 1.6em;
  border: none;
}
.section-head.center .rule { margin-left: auto; margin-right: auto; }

.brands-marquee {
  --client-h: 52px;
  --marquee-gap: clamp(3rem, 7vw, 6rem);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(4rem, 7vw, 6rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.brands-rows { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.5rem); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  /* el hueco final iguala el gap para que el bucle cierre exacto en -50% */
  padding-right: var(--marquee-gap);
  width: max-content;
  animation: marquee-scroll 50s linear infinite;
}
/* la segunda cinta es ~14% más corta: menos duración mantiene la misma velocidad */
.marquee-track.reverse { animation-direction: reverse; animation-duration: 43s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client-logo {
  display: block;
  flex-shrink: 0;
  height: calc(var(--client-h) * var(--k, 1));
  background: no-repeat center / contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.client-logo:hover { filter: none; opacity: 1; }
/* aspect-ratio = viewBox de cada SVG; --k ajusta la altura según esa proporción
   para que logos anchos y compactos pesen parecido */
.client-coca-cola { --k: 0.939; aspect-ratio: 2.925; background-image: url("../assets/logos/our_clients/Coca Cola.svg"); }
.client-telcel { --k: 0.815; aspect-ratio: 4.167; background-image: url("../assets/logos/our_clients/Telcel.svg"); }
.client-bacardi { --k: 1.172; aspect-ratio: 1.682; background-image: url("../assets/logos/our_clients/Bacardi.svg"); }
.client-liverpool { --k: 0.882; aspect-ratio: 3.420; background-image: url("../assets/logos/our_clients/Liverpool-es-parte-de-mi-vida.svg"); }
.client-cfe { --k: 1.082; aspect-ratio: 2.053; background-image: url("../assets/logos/our_clients/CFE.svg"); }
.client-sat { --k: 1.350; aspect-ratio: 1.080; background-image: url("../assets/logos/our_clients/SAT.svg"); }
.client-blim { --k: 1.016; aspect-ratio: 2.404; background-image: url("../assets/logos/our_clients/Blim.svg"); }
.client-fiesta-americana { --k: 0.973; aspect-ratio: 2.677; background-image: url("../assets/logos/our_clients/Fiesta Americana.svg"); }
.client-rotoplas { --k: 0.963; aspect-ratio: 2.750; background-image: url("../assets/logos/our_clients/Rotoplas.svg"); }
.client-ibero { --k: 1.013; aspect-ratio: 2.422; background-image: url("../assets/logos/our_clients/IBERO.svg"); }
.client-del-valle { --k: 1.091; aspect-ratio: 2.010; background-image: url("../assets/logos/our_clients/Del Valle.svg"); }
.client-suburbano { --k: 1.350; aspect-ratio: 0.823; background-image: url("../assets/logos/our_clients/Suburbano.svg"); }
.client-inegi { --k: 1.002; aspect-ratio: 2.485; background-image: url("../assets/logos/our_clients/INEGI.svg"); }
.client-farmacias-benavides { --k: 0.796; aspect-ratio: 4.429; background-image: url("../assets/logos/our_clients/Farmacias Benavides.svg"); }
.client-super-copa { --k: 1.168; aspect-ratio: 1.695; background-image: url("../assets/logos/our_clients/Super Copa.svg"); }
.client-exp-hotel { --k: 1.015; aspect-ratio: 2.407; background-image: url("../assets/logos/our_clients/Exp Hotel.svg"); }
.client-tequila-don-ramon { --k: 0.954; aspect-ratio: 2.816; background-image: url("../assets/logos/our_clients/Tequila-don-ramon.svg"); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .brands-marquee { --client-h: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.5em;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }

.btn.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--text); }

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,11,0.92), rgba(10,10,11,0));
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.92);
  box-shadow: 0 1px 0 var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 0.6em; }
.brand img { height: 22px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-list > li { position: relative; }
.nav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.5em 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-list a:hover,
.nav-list a.active { color: var(--accent); border-color: var(--accent); }

.has-submenu > .submenu {
  position: absolute;
  top: 100%; right: 0;
  min-width: 300px;
  padding: 0.6rem 0;
  margin-top: 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.has-submenu:hover > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 0.6em 1.2em;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.submenu-divider {
  height: 1px;
  margin: 0.5rem 1.2em;
  background: var(--border);
}
.submenu li a.view-all {
  color: var(--accent);
  font-weight: 600;
  white-space: normal;
}
.submenu li a.view-all:hover { color: var(--text); }
.chevron {
  display: none;
  font-size: 0.65rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop { display: none; }
.nav-panel { display: contents; }
.nav-panel-head, .nav-panel-foot { display: none; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,9,0.55) 0%, rgba(8,8,9,0.55) 40%, rgba(8,8,9,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-logo {
  display: block;
  height: clamp(72px, 7vw, 95px);
  width: auto;
  margin-bottom: 3rem;
}
.hero-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text);
  line-height: 1.4;
}
.hero-quote cite {
  display: block;
  margin-top: 1em;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-height);
}
.page-hero--desc {
  min-height: 35rem;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
}
.page-hero--img-top .hero-media img { object-position: top; }
.page-hero--img-bottom .hero-media img { object-position: bottom; }
.page-hero .hero-media img { filter: saturate(0.9); }
.page-hero .container { position: relative; z-index: 1; padding-bottom: 1.5rem; }
.page-hero .eyebrow,
.page-hero h1 { text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.page-hero .hero-desc {
  max-width: 640px;
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--border-strong);
}
.page-hero .hero-desc p {
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.page-hero .hero-desc p:last-child { margin-bottom: 0; }
.hero-desc .lead-strong { font-weight: 600; }

/* -------------------------------------------------------------------------
   About / clients
   ------------------------------------------------------------------------- */
.lede {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--text);
  font-weight: 300;
}

.clients-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.2rem 0;
}
.clients-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 2.2em;
  justify-content: center;
}
.clients-strip li {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.celeb-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-muted);
  font-style: italic;
}

/* -------------------------------------------------------------------------
   Grids / Cards
   ------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.6rem;
}
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.about-media {
  flex: 6 1 0%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 4 1 0%;
}

.media-card { display: block; cursor: pointer; }
.media-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.media-card .thumb img,
.media-card .thumb video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.media-card:hover .thumb img,
.media-card:hover .thumb video { transform: scale(1.06); }
.media-card .thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  pointer-events: none;
}
.media-card .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}
.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.play-badge span {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(242,242,242,0.6);
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,11,0.35);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.media-card:hover .play-badge span {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.play-badge svg { width: 13px; height: 13px; fill: var(--text); }
.media-card:hover .play-badge svg { fill: var(--bg); }

.card-body {
  position: relative;
  z-index: 2;
  padding: 1.1rem 1.3rem;
}
.media-card .card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.4rem;
}
.card-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4em;
}
.card-title { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.02em; }
.card-desc { font-size: 1rem; margin: 0.5em 0 0; color: var(--text-muted); }

.media-card.stacked .thumb::after { display: none; }
.media-card.stacked .card-body {
  position: static;
  padding: 1.2rem 1.3rem 1.5rem;
}

/* -------------------------------------------------------------------------
   Project detail pages (themed background + video/info layout)
   Note: this section is not a .page-hero — these pages don't have a
   title/eyebrow hero banner yet. The video/image here is just a
   background treatment behind the video+info content.
   ------------------------------------------------------------------------- */
.project-section {
  position: relative;
  min-height: 1000px;
  padding: calc(var(--nav-height) + 3rem) 0 4rem;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.project-section .project-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.project-section .project-bg img,
.project-section .project-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-section .project-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8,8,9,0.93) 0%, rgba(8,8,9,0.88) 50%, rgba(8,8,9,0.95) 100%);
}
.project-section .container { position: relative; z-index: 1; }
.project-section .container.no-logo { margin-top: 100px; }
.project-layout {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.project-media { flex: 1 1 50%; min-width: 320px; }
.project-media video,
.project-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 0;
}
.project-info {
  flex: 1 1 34%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-logo {
  display: block;
  width: clamp(160px, 14vw, 220px);
  height: auto;
  margin-bottom: 1.4rem;
}
.project-info .btn { align-self: flex-start; }
.project-info .project-cta { align-self: flex-start; }
.project-title-mark {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
/* Copia de logo/título mostrada solo en móvil, antes del video (ver media query) */
.project-logo.logo-mobile,
.project-title-mark.logo-mobile { display: none; }

.project-specs-list {
  margin: 0 0 1.6rem;
  align-self: stretch;
  display: grid;
  grid-template-columns: auto 1fr;
  border-left: 2px solid var(--accent);
}
.project-specs-list .spec-row { display: contents; }
.project-specs-list .spec-row dt,
.project-specs-list .spec-row dd {
  margin: 0;
  padding: 0.38rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.project-specs-list .spec-row dt {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-specs-list .spec-row dd {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.project-specs-list .spec-row:last-child dt,
.project-specs-list .spec-row:last-child dd {
  border-bottom: none;
}

.source-badge {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35em 0.7em;
  background: rgba(10,10,11,0.65);
  border: 1px solid var(--border-strong);
}

.load-more { text-align: center; margin-top: 2.6rem; }

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.subnav a {
  padding: 0.55em 1.2em;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.subnav a:hover, .subnav a.active { color: var(--accent); border-color: var(--accent); }

.portfolio-panel { display: none; scroll-margin-top: calc(var(--nav-height) + 24px); }
.portfolio-panel.active { display: block; }

/* -------------------------------------------------------------------------
   Gallery (masonry-ish)
   ------------------------------------------------------------------------- */
.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}
.gallery-grid figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery-grid img {
  width: 100%;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}
.gallery-grid figure:hover img { transform: scale(1.05); }

/* Videos mezclados con las fotos: misma tarjeta que Portfolio, más compacta */
.gallery-video .media-card { position: relative; }
.gallery-video img { cursor: pointer; }
.gallery-video .thumb::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.9) 100%); }
.gallery-video .card-body { padding: 0.9rem 1.1rem; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.gallery-video .card-tag { font-size: 0.65rem; margin-bottom: 0.25em; }
.gallery-video .card-title { font-size: 1.15rem; }

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.contact-offices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.office-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.office-bg { position: absolute; inset: 0; z-index: 0; }
.office-bg video,
.office-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-bg img { filter: grayscale(1); transition: filter 0.4s ease, transform 0.4s ease; }
.office-card:hover .office-bg img { filter: grayscale(0); transform: scale(1.06); }
.office-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,23,23,0) 30%, rgba(23,23,23,0.92) 100%);
}
.office-content { position: relative; z-index: 1; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.office-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 0.3em; }
.office-city {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 0.6rem;
  color: var(--text);
}
.contact-offices address { font-style: normal; font-size: 0.9rem; line-height: 1.55; color: var(--text-muted); max-width: 280px; }

.contact-offices-section,
.contact-people-strip {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.contact-people-strip {
  background: rgba(191, 82, 42, 0.1);
  border-top: 1px solid rgba(191, 82, 42, 0.35);
  margin-bottom: 3rem;
}
.contact-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.office-content .role { display: block; color: var(--accent); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6em; }
.office-content a.email { color: var(--text); font-size: 0.9rem; border-bottom: 1px solid var(--border-strong); }
.office-content a.email:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 720px) {
  .contact-offices,
  .contact-people { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
   Our Team
   ------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 3rem;
}
.team-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 1.2rem;
  row-gap: 0.7rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.team-photo {
  grid-column: 1;
  grid-row: 1;
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: var(--bg-elevated-2);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.team-card:hover .team-photo img { filter: grayscale(0); }
.photo-benny { object-position: 75% 50%; }
.photo-odilon { object-position: 26% 50%; }
.photo-candelario { object-position: 50% 0%; }
.photo-amelia { object-position: 21% 50%; }
.photo-david { object-position: 0% 50%; }
.photo-rodrigo { object-position: 50% 0%; }
.photo-emiliano { object-position: 50% 0%; }
.photo-fernando { object-position: 62% 20%; }
.photo-felix { object-position: 28% 40%; }
.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.team-info { grid-column: 2; grid-row: 1; min-width: 0; }
.team-info h3 { margin-bottom: 0.2em; font-size: 1.25rem; display: flex; align-items: center; gap: 0.5em; }
.imdb-link { display: inline-flex; align-items: center; opacity: 0.75; transition: opacity 0.2s; }
.imdb-link:hover { opacity: 1; }
.imdb-link img { height: 1em; width: auto; display: block; }
.team-info .role {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8em;
}
.team-info p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 0.9em;
}
.bio-reel { margin-top: 1rem; }
.reel-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9em;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-strong);
  background-color: #000;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  padding: 0;
}
.reel-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.reel-btn .play-badge {
  position: relative;
  z-index: 1;
}
.reel-btn .play-badge span { width: 38px; height: 38px; }
.reel-btn .play-badge svg { width: 12px; height: 12px; }
.reel-btn .reel-label {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.reel-btn:hover .play-badge span {
  background: var(--accent);
  border-color: var(--accent);
}
.reel-btn:hover .play-badge svg { fill: var(--bg); }

@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card,
  .contact-person { grid-template-columns: 96px 1fr; }
  .team-photo { width: 96px; height: 96px; }
}

/* -------------------------------------------------------------------------
   Placeholder (Our Team pendiente)
   ------------------------------------------------------------------------- */
.placeholder-block {
  border: 1px dashed var(--border-strong);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--text-muted);
}
.placeholder-block strong { color: var(--accent); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  background: var(--bg-elevated);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-brand img { height: 20px; margin: 0; }
.footer-services { margin: 0; font-size: 0.9rem; letter-spacing: 0.03em; color: var(--text-muted); max-width: 360px; }
.footer-locations { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.footer-col-title {
  margin: 0 0 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a { font-size: 0.88rem; color: var(--text); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links a.view-all { color: var(--accent); font-weight: 600; }
.footer-links a.view-all:hover { color: var(--text); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social a:not([href]) { opacity: 0.4; cursor: default; }
.footer-social a:not([href]):hover { border-color: var(--border-strong); color: inherit; }
.footer-social .icon {
  display: block;
  width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.icon-youtube { -webkit-mask-image: url(../assets/logos/Social_Networks/YouTube_Imago.svg); mask-image: url(../assets/logos/Social_Networks/YouTube_Imago.svg); }
.icon-vimeo { -webkit-mask-image: url(../assets/logos/Social_Networks/Vimeo-logo_W.svg); mask-image: url(../assets/logos/Social_Networks/Vimeo-logo_W.svg); }
.icon-x { -webkit-mask-image: url(../assets/logos/Social_Networks/X-logo_W.svg); mask-image: url(../assets/logos/Social_Networks/X-logo_W.svg); }
.icon-facebook { -webkit-mask-image: url(../assets/logos/Social_Networks/f_logo_white.svg); mask-image: url(../assets/logos/Social_Networks/f_logo_white.svg); }
.icon-instagram { -webkit-mask-image: url(../assets/logos/Social_Networks/Instagram_Glyph_White.svg); mask-image: url(../assets/logos/Social_Networks/Instagram_Glyph_White.svg); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .credit { white-space: nowrap; }
.footer-bottom a.credit-link { color: inherit; }
.footer-bottom a.credit-link:hover { color: var(--accent); }

/* -------------------------------------------------------------------------
   Lightbox / Video modal
   ------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6,6,7,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4vw;
}
.modal.open { display: flex; }
.modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
}
.modal-content video,
.modal-content img,
.modal-content iframe {
  width: 100%;
  max-height: 82vh;
  background: #000;
  border: 1px solid var(--border-strong);
}
.modal-content iframe { aspect-ratio: 16/9; height: auto; }
.modal-close {
  position: absolute;
  top: -46px; right: 0;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px; height: 38px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  z-index: 1;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(6,6,7,0.55);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.modal-nav[hidden] { display: none; }
.modal-nav:hover { border-color: var(--accent); color: var(--accent); }
.modal-nav svg { width: 20px; height: 20px; }
.modal-prev { left: -90px; }
.modal-next { right: -90px; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2 220px; }
}

@media (max-width: 860px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: rgba(6, 6, 7, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }

  .nav-panel {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: auto;
    z-index: 1001;
    width: 66%;
    max-width: 300px;
    background: var(--bg-elevated);
    border-left: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    transform: translateX(100%);
    transition: transform 0.32s ease;
  }
  .nav-panel.open { transform: translateX(0); }

  .nav-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    height: var(--nav-height);
    padding: 0 var(--nav-pad-x);
    border-bottom: 1px solid var(--border);
  }
  .nav-panel-brand {
    height: 20px;
    width: auto;
  }
  .nav-panel-close {
    position: relative;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .nav-panel-close span {
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 2px;
    margin: -1px 0 0 -10px;
    background: var(--text-muted);
    transition: background 0.2s ease;
  }
  .nav-panel-close span:nth-child(1) { transform: rotate(45deg); }
  .nav-panel-close span:nth-child(2) { transform: rotate(-45deg); }
  .nav-panel-close:hover span { background: var(--accent); }

  .nav-list {
    flex: 1 1 auto;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--nav-pad-x) 1rem;
  }
  .nav-list > li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-list a {
    display: block;
    padding: 0.75em 0 0.75em 0.8em;
    margin-left: -0.8em;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    border-bottom: none;
    box-shadow: inset 3px 0 0 transparent;
    transition: box-shadow 0.2s ease, color 0.2s ease;
  }
  .nav-list a.active {
    color: var(--accent);
    box-shadow: inset 3px 0 0 var(--accent);
  }
  .has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .chevron { display: inline-block; }
  .has-submenu.submenu-open > a .chevron { transform: rotate(180deg); }
  .has-submenu > .submenu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0.8em;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 0 0 1rem;
    transition: max-height 0.3s ease;
  }
  .has-submenu.submenu-open > .submenu {
    max-height: 280px;
    border-left: 2px solid var(--accent);
  }
  .submenu li a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    padding: 0.6em 0;
    margin-left: 0;
    color: var(--text-muted);
    box-shadow: none;
  }

  .nav-panel-foot {
    display: block;
    flex: 0 0 auto;
    padding: 0.9rem var(--nav-pad-x) 1.1rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.72rem;
  }
  .nav-panel-foot .footer-social { gap: 0.6rem; margin-bottom: 0.7rem; }
  .nav-panel-foot .footer-social a { width: 28px; height: 28px; }
  .nav-panel-foot .footer-social .icon { width: 12px; height: 12px; }

  .nav-toggle { display: flex; }
  .nav-toggle.open { visibility: hidden; pointer-events: none; }
}

.mobile-break { display: none; }

@media (max-width: 720px) {
  .mobile-break { display: inline; }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1 100%; }
  .footer-top { grid-template-columns: 1fr; }

  .about-flex { flex-direction: column; gap: 2rem; }
  .about-media,
  .about-copy { flex: 1 1 auto; width: 100%; }
  .about-copy { align-items: flex-start; }

  .modal-nav { display: none; }

  .project-layout { flex-direction: column; align-items: center; }
  .project-media,
  .project-info { flex: 1 1 auto; width: 100%; min-width: 0; }

  .project-info .project-logo,
  .project-info .project-title-mark { display: none; }
  .project-logo.logo-mobile,
  .project-title-mark.logo-mobile { display: block; }
}
