/* ===========================================================
   BORIS KOZLOV — sitio web
   Negro sobre blanco. Tipografía máquina de escribir.
   Titulares/menú: Kozlov (fuente del diseñador)
   Cuerpo: Courier Prime (con cursivas reales)
   =========================================================== */

@font-face {
  font-family: "Kozlov";
  src: url("../fonts/Kozlov.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Bender (Jovanny Lemonad) — titulares, según diseño de Kofla */
@font-face {
  font-family: "Bender";
  src: url("../fonts/Bender.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bender";
  src: url("../fonts/Bender-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bender";
  src: url("../fonts/Bender-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper:   #FFFFFF;
  --ink:     #231f20;
  --muted:   #666666;
  --line:    #dce0dc;
  --blue:    #b3ced8;
  --yellow:  #ead959;
  --grey:    #dce0dc;
  --maxw:    820px;
  /* tipografía de titulares (diseño Kofla). Cambiar aquí si se sustituye Bender. */
  --font-titulo: "Bender", "Arial Narrow", sans-serif;
  --font-mono: "Courier Prime", "Courier New", monospace;
  --font-manuscrita: "Kozlov", "Caveat", cursive;
}

/* bloqueado a modo claro: la estética es negro sobre blanco */
:root { color-scheme: light; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier Prime", "Courier New", monospace;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, .kozlov, nav a, .menu a {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1.1; margin: 0 0 .4em; }
h2 { font-size: clamp(1.2rem, 2.8vw, 1.6rem); line-height: 1.15; margin: 2em 0 .6em; }
h3 { font-size: clamp(1rem, 2.2vw, 1.2rem); margin: 1.6em 0 .4em; }

p  { margin: 0 0 1.1em; }
em, i { font-style: italic; }
a  { color: var(--ink); }

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
}

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }

/* ===========================================================
   CABECERA — réplica del diseñador (vídeo de fondo + mancha)
   Mientras no esté el vídeo final, se usa un marcador.
   =========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero video,
.hero .hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* velo claro sobre el vídeo: la mancha es negra sobre blanco,
   así que lavamos el vídeo hacia el blanco para que el menú se lea. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255,255,255,.5);
  pointer-events: none;
}

/* ---- mancha con botones ---- */
.hero-menu-wrap {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  aspect-ratio: 942 / 623;
  margin: 0 auto;
}
.hero-menu-img {
  position: relative;
  z-index: 2;              /* la grilla (texto + manchas) va ENCIMA */
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;    /* deja pasar el hover a los .hot de debajo */
}
.hero-menu-wrap .hot {
  position: absolute;
  z-index: 1;              /* detrás de la imagen: el amarillo asoma por el PNG transparente */
  display: block;
  border-radius: 4px;
  transition: background .12s;
}
.hero-menu-wrap .hot:hover,
.hero-menu-wrap .hot:focus-visible {
  background: #ead959;     /* amarillo mostaza sólido (guía) */
  outline: none;
}
/* Investigación y obra ocupa dos líneas (INVESTIGACIÓN / Y OBRA):
   el amarillo sigue el flujo del texto en forma escalonada */
.hero-menu-wrap .hot.hot-invest {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 51% 100%, 51% 50%, 0 50%);
}

/* marcador del vídeo — se sustituye por <video> cuando llegue.
   Fondo oscuro cinematográfico con leve textura para que la
   cabecera se lea como acabada aun sin el vídeo final. */
.hero-placeholder {
  background:
    radial-gradient(120% 120% at 50% 0%, #1a1a1a 0%, #000 70%);
}
.hero-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
  pointer-events: none;
}

.hero-tagline {
  font-family: "Courier Prime", monospace;
  color: rgba(255,255,255,.85);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  margin: -.6rem 0 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}

/* la "mancha con botones": contenedor del menú sobre el vídeo */
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  mix-blend-mode: normal;
  padding: 2rem;
}

.hero-overlay .marca {
  font-family: "Courier Prime", monospace;
  font-size: clamp(2.4rem, 9vw, 5.5rem);
  line-height: .95;
  color: #fff;
  margin: 0 0 1.4rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.6);
}

.hero-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  justify-content: center;
  font-family: "Courier Prime", monospace;
  font-size: clamp(.95rem, 2.2vw, 1.25rem);
  letter-spacing: .05em;
}
.hero-menu a {
  color: #fff;
  text-decoration: none;
  padding: .3rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}
.hero-menu a:hover { border-color: #fff; }

/* nota: aquí irá la "mancha" PNG del diseñador como fondo del menú */
.hero-note {
  position: absolute;
  bottom: 1.4rem;
  left: 0; right: 0;
  z-index: 2;
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ===========================================================
   BARRA DE NAVEGACIÓN (páginas internas)
   =========================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: .9rem 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar .brand {
  font-family: "Courier Prime", monospace;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
}
.topbar nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-family: "Courier Prime", monospace;
  font-size: .95rem;
}
.topbar nav a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.topbar nav a:hover,
.topbar nav a.active { border-color: var(--ink); }

/* ===========================================================
   CONTENIDO
   =========================================================== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.2rem 1.2rem 5rem;
}

.eyebrow {
  font-family: "Courier Prime", monospace;
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .8rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ---------- rótulos manuscritos de sección ---------- */
.rotulo {
  font-family: var(--font-titulo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  line-height: .98;
  margin: 0 0 1.4rem;
}

/* ---------- ÍNDICE de obra (titular + texto + imagen) ---------- */
.obra-item { padding: 3.4rem 0; border-top: 1px solid var(--ink); }
.indice .obra-item:first-child { border-top: none; padding-top: 1.2rem; }
.obra-item:last-child { border-bottom: none; }
.obra-titular {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.0625rem;      /* mismo tamaño que el párrafo */
  line-height: 1.6;
  margin: 0 0 1.4rem;
  max-width: 46ch;
}
.obra-titular.caps { text-transform: uppercase; }
.obra-row {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 2rem;
  align-items: stretch;
}
.obra-text p { margin: 0; }
.obra-img-slot { margin: 0; min-height: 240px; height: 100%; }
@media (max-width: 640px) {
  .obra-row { grid-template-columns: 1fr; }
  .obra-img-slot { min-height: 200px; }
}
.btn-fango {
  display: inline-block;
  margin-top: 1.8rem;
  font-family: "Courier Prime", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: .6rem 1.1rem;
  transition: background .15s, color .15s;
}
.btn-fango:hover { background: var(--yellow); color: var(--ink); }
/* botón bajo el texto (ítems con párrafo corto): separación fija como PIGS */
.obra-item--btnintext .btn-fango { margin-top: 5rem; }

/* miniatura de imagen en tarjetas de consultoría */
.proj-thumb { margin: 0 0 1rem; min-height: 130px; }

/* ---------- ÍNDICE de la home (3 líneas) ---------- */
.indice { }
.indice .linea {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 2.2rem 0;
  transition: background .15s, padding-left .15s;
}
.indice .linea:hover {
  background: var(--ink);
  color: var(--paper);
  padding-left: 1rem;
}
.indice .linea .t {
  font-family: "Courier Prime", monospace;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.indice .linea .q {
  display: block;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: .7rem;
}
.indice .linea .d,
.indice .linea .p {
  display: block;
  font-size: 1rem;
  max-width: 70ch;
}
.indice .linea .enter {
  display: inline-block;
  margin-top: .7rem;
  font-family: "Courier Prime", monospace;
  font-size: .85rem;
  letter-spacing: .15em;
  border: 1px solid currentColor;
  padding: .3rem .8rem;
}

/* ---------- Botones de acción (YouTube, trailer, etc.) ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.6rem 0 2.2rem;
}
.btn {
  font-family: "Courier Prime", monospace;
  font-size: .9rem;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid var(--ink);
  padding: .55rem 1rem;
  display: inline-block;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn.solid { background: transparent; color: var(--ink); }
.btn.solid:hover { background: var(--yellow); color: var(--ink); }

/* ---------- Ranuras de imagen (para fotos por tandas) ---------- */
.slot {
  border: 1.5px dashed #bbb;
  background: #fafafa;
  color: #999;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  margin: 1.6rem 0;
  font-size: .85rem;
  line-height: 1.5;
}
.slot code { color: #c0392b; font-size: .8rem; }

figure { margin: 1.8rem 0; }
figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
figcaption {
  font-family: var(--font-manuscrita);
  font-size: 1.18rem;
  color: var(--muted);
  margin-top: .5rem;
  font-style: normal;
}

/* ---------- Tarjetas (libros, accesorios, consultoría) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.4rem 0 2rem;
}
.card {
  border: 1px solid var(--line);
  padding: 1.2rem;
}
.card h3 { margin: 0 0 .3rem; }
.card .by { color: var(--muted); font-size: .85rem; margin-bottom: .6rem; }

/* consultoría: tarjeta clicable que abre pop-up */
.proj {
  border: 1px solid var(--ink);
  padding: 1.4rem;
  cursor: pointer;
  background: var(--paper);
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  transition: background .15s, color .15s;
}
.proj:hover { background: var(--ink); color: var(--paper); }
.proj h3 { margin: 0 0 .4rem; }
.proj .teaser { font-size: .95rem; }

/* ---------- Pop-up / modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.2rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--paper);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  border: 2px solid var(--ink);
  padding: 2rem;
  position: relative;
}
.modal .close {
  position: absolute;
  top: .6rem; right: .9rem;
  background: none;
  border: none;
  font-family: "Courier Prime", monospace;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  color: var(--ink);
}
.modal img { width: 100%; height: auto; margin: 1rem 0; border: 1px solid var(--line); }

/* ---------- artículo / prosa larga ---------- */
.article { max-width: 68ch; }
.article p { margin: 0 0 1.5em; }
.article .dialogo {
  font-style: italic;
  border-left: 2px solid var(--ink);
  padding-left: 1rem;
  color: #333;
}

/* ---------- manifiesto desplegable ---------- */
.manifiesto { margin: 1.2rem 0 0; }
.manifiesto > summary {
  font-family: "Courier Prime", monospace;
  font-size: .9rem;
  letter-spacing: .06em;
  border: 1.5px solid var(--ink);
  padding: .55rem 1rem;
  display: inline-block;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.manifiesto > summary::-webkit-details-marker { display: none; }
.manifiesto > summary::after { content: " +"; }
.manifiesto[open] > summary::after { content: " –"; }
.manifiesto[open] > summary { background: var(--ink); color: var(--paper); }
.manifiesto .article { margin-top: 1.6rem; }

/* ---------- secciones de la home corrida ---------- */
html { scroll-behavior: smooth; }
.seccion { border-top: 1px solid var(--line); padding-top: 3rem; }
#investigacion, .seccion { scroll-margin-top: 72px; }
.seccion-h {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  margin: .2rem 0 1.2rem;
}

/* ---------- clientes ---------- */
.clientes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .4rem;
  margin: 1.2rem 0 1rem;
}
.clientes span {
  font-family: "Courier Prime", monospace;
  font-size: .95rem;
  border: 1px solid var(--ink);
  padding: .3rem .7rem;
  white-space: nowrap;
}

/* ---------- kicker (metadato de proyecto) ---------- */
.kicker {
  font-family: "Courier Prime", monospace;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin: 0 0 .4rem;
}
.proj .kicker { color: inherit; opacity: .75; }

.nota-margen {
  font-style: italic;
  color: var(--muted);
  margin-top: 2.4rem;
  transform: rotate(-0.4deg);
}

/* ---------- divisores y pie ---------- */
hr.rule { border: none; border-top: 1px solid var(--ink); margin: 3.6rem 0; }

.closing {
  border: 1.5px solid var(--ink);
  padding: 1.6rem;
  margin-top: 2.6rem;
  text-align: center;
}

.sitefoot {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 2rem 1.2rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
}

/* ---------- responsive ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar-inner { padding: .7rem 1rem; }
  .wrap { padding: 2.4rem 1rem 4rem; }
}

/* ===========================================================
   DISEÑO CALCADO (de Consultoría en adelante)
   Caveat + DM Mono + base sans-serif, contenedor 1180, color
   =========================================================== */
.calco { font-family: "Courier Prime", monospace; color: #111; }
.calco .cont { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
#consultoria, #proyectos, #contacto { scroll-margin-top: 72px; }

.tacho { display: inline-block; height: .78em; background: #0a0a0a; vertical-align: -.05em; border-radius: 1px; }
.caveat-h { font-family: var(--font-titulo); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; font-size: clamp(42px, 6.2vw, 68px); margin: 0; line-height: 1; }
.subrayado { display: block; width: min(420px, 100%); height: 12px; margin: 6px 0 56px; }

.clientela { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: baseline; border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; padding: 30px 0; margin: 0 0 64px; font-size: 12px; letter-spacing: .06em; color: #6d6d6d; }
.clientela .big { font-size: 18px; color: #111; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 52px 56px; align-items: start; }
.dest { display: block; text-align: left; background: transparent; border: none; padding: 0; cursor: pointer; font-family: inherit; color: inherit; }
.dest:hover { opacity: .82; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pills span { background: #111; color: #fff; border-radius: 999px; padding: 5px 13px; font-size: 10px; letter-spacing: .12em; }
.dest h3 { margin: 0 0 6px; font-weight: 400; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; }
.dest .hook { margin: 0 0 14px; font-size: 13px; line-height: 1.7; color: #3a3a3a; }
.ph43 { position: relative; width: 100%; max-width: 46ch; aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, #e9e9e9 0 9px, #f2f2f2 9px 18px); display: grid; place-items: center; margin-bottom: 16px; }
.ph43 .rr { font-size: 9px; letter-spacing: .12em; color: #9b9b9b; }
.ph43 .arrow { position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; border-radius: 999px; background: #111; color: #fff; display: grid; place-items: center; font-size: 15px; }
.dest .body { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.8; color: #2a2a2a; }

.nota-calco { margin: 88px 0 0; padding-left: 6px; border-left: 1px solid #cfcfcf; max-width: 380px; transform: rotate(-.8deg); }
.nota-calco p { margin: 0; padding-left: 16px; font-size: 12px; line-height: 1.8; color: #6d6d6d; }

.tag-proyectos { display: inline-block; background: #f3ece0; box-shadow: 1px 2px 0 rgba(0,0,0,.05); padding: 10px 34px; transform: rotate(-1deg); font-family: "Kozlov", "Caveat", cursive; font-weight: 700; font-size: 34px; }
.dev-list { display: grid; gap: 0; max-width: 780px; }
.dev { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px; align-items: center; border-top: 1px solid #bcc9c3; padding: 22px 0; }
/* versión clicable (botón) */
.dev { width: 100%; text-align: left; background: transparent; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; color: inherit; cursor: pointer; position: relative; transition: background .15s, padding .15s; text-decoration: none; }
.dev:hover, .dev:focus-visible { background: rgba(255,255,255,.45); outline: none; padding-left: 14px; padding-right: 14px; }
.dev .dev-head h3 { transition: color .15s; }
.dev .dev-arrow { position: absolute; top: 22px; right: 2px; font-size: 16px; color: #5b6e67; opacity: .5; transition: opacity .15s, transform .15s; }
.dev:hover .dev-arrow, .dev:focus-visible .dev-arrow { opacity: 1; transform: translate(3px,-3px); }
.dev-ph { position: relative; aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, #cfd8d3 0 8px, #d7dfda 8px 16px); display: grid; place-items: center; }
.dev-ph span { font-size: 8px; letter-spacing: .1em; color: #7e8a85; }
.dev-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 4px; }
.dev-head h3 { margin: 0; font-weight: 400; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.35; }
.dev-kicker { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #7e8a85; }
.dev-body { margin: 0; font-size: 13px; line-height: 1.65; color: #3a3a3a; }
.dev-b2 { color: #6d7f78; }

.contacto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 64px; align-items: start; }
.contacto-links { display: grid; gap: 22px; justify-items: start; font-family: "Courier Prime", monospace; font-weight: 400; font-size: 20px; }
.contacto-links a { text-decoration: none; color: #111; }
.contacto-form { display: grid; gap: 18px; max-width: 460px; }
.contacto-form select, .contacto-form input, .contacto-form textarea { font-family: "Courier Prime", monospace; font-size: 13px; color: #111; background: transparent; }
.contacto-form select { width: 100%; border: 1px solid #dcdcdc; border-radius: 0; padding: 12px; appearance: none; }
.contacto-form input, .contacto-form textarea { border: none; border-bottom: 1px solid #dcdcdc; padding: 10px 0; outline: none; resize: none; }
.contacto-form button { justify-self: start; background: transparent; border: 2.5px solid var(--ink); color: var(--ink); padding: 13px 28px; font-family: "Courier Prime", monospace; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.contacto-form button:hover { background: var(--yellow); color: var(--ink); }
.form-feedback { margin: 0; min-height: 20px; font-size: 12px; line-height: 1.7; color: #6d6d6d; }

.footer-calco { background: var(--grey); padding: 56px 0 40px; }
.footer-calco .cont { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; align-items: start; }
.foot-col { font-size: 12px; line-height: 2.5; letter-spacing: .06em; }
.foot-name { font-family: var(--font-titulo); font-weight: 700; font-size: 16px; letter-spacing: .04em; margin: 0 0 20px; text-transform: uppercase; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a, .foot-social a { text-decoration: none; color: #111; }
.foot-loc { margin: 26px 0 0; text-transform: uppercase; }
.foot-rights { margin: 4px 0 0; font-size: 10px; color: #5c6a70; }
.foot-social { display: grid; gap: 14px; justify-items: start; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 56px; }
@media (max-width: 640px){ .foot-social { margin-top: 0; } }

/* modales calcados */
.cmodal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(17,17,17,.55); display: none; place-items: center; padding: 24px; }
.cmodal-backdrop.open { display: grid; }
.cmodal { position: relative; width: min(760px, 100%); max-height: 88vh; overflow-y: auto; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.28); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); font-family: "Courier Prime", monospace; }
.cmodal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 999px; border: none; background: rgba(255,255,255,.9); cursor: pointer; font-size: 18px; line-height: 1; }
.cmodal-img { aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, #e6e6e6 0 10px, #efefef 10px 20px); display: grid; place-items: center; min-height: 220px; }
.cmodal-img span { font-size: 10px; letter-spacing: .14em; color: #969696; }
.cmodal-body { padding: 40px 34px 36px; }
.cmodal-k { margin: 0 0 6px; font-size: 11px; letter-spacing: .14em; color: #8d8d8d; }
.cmodal-body h3 { margin: 0 0 18px; font-family: "Courier Prime", monospace; font-weight: 400; font-size: 20px; text-transform: uppercase; line-height: 1.2; }
.cmodal-body p { margin: 0; font-size: 14px; line-height: 1.85; color: #3a3a3a; }
.cmodal-note { margin-top: 10px !important; color: #8d8d8d !important; font-size: 12px !important; }

@media (max-width: 640px) {
  .dev { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; }
}

/* ===========================================================
   PÁGINAS DE OBRA — cabecera parallax e imágenes reales
   =========================================================== */
.obra-hero {
  position: relative;
  min-height: 72vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;      /* parallax */
  display: flex;
  align-items: flex-end;
}
.obra-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,.12) 55%, rgba(0,0,0,.25));
}
.obra-hero-overlay {
  position: relative; z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.4rem 1.2rem 2.8rem;
  color: #fff;
}
.obra-eyebrow {
  font-family: "Courier Prime", monospace;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  margin: 0 0 .8rem;
  color: rgba(255,255,255,.85);
}
.obra-hero-overlay h1 {
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
@media (max-width: 640px){ .obra-hero{ background-attachment: scroll; min-height: 56vh; } }

/* intro + cartel */
.pigs-intro {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 2.2rem;
  align-items: start;
  margin-top: 2.4rem;
}
.pigs-cartel { margin: 0; }
/* alinea el top del cartel con el titular h2 del artículo */
.pigs-intro .article > h2:first-child { margin-top: 0; }
.pigs-cartel img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
@media (max-width: 640px){ .pigs-intro{ grid-template-columns: 1fr; } .pigs-cartel{ max-width: 320px; } }

/* laureles pegados */
.laureles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin: 1.6rem 0;
}
.laureles img { width: 100%; height: auto; display: block; }
@media (max-width: 640px){ .laureles{ grid-template-columns: 1fr; gap: 1rem; } }

/* libros */
.libros { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.4rem 0 .5rem; }
.libro { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: start; }
.libro img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.libro h3 { margin: 0 0 .2rem; }
.libro .by { color: var(--muted); font-size: .85rem; margin-bottom: .5rem; }
@media (max-width: 560px){ .libros{ grid-template-columns: 1fr; } }

/* carrusel de accesorios */
.carousel { position: relative; display: flex; align-items: center; gap: .5rem; margin: 1.4rem 0; }
.car-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: thin;
}
.car-track img {
  height: 280px; width: auto; flex: 0 0 auto; scroll-snap-align: start;
  border: 1px solid var(--line); background: #fff;
}
.car-btn {
  flex: 0 0 auto; width: 40px; height: 40px; border: 1.5px solid var(--ink);
  background: var(--paper); color: var(--ink); font-size: 1.4rem; line-height: 1;
  cursor: pointer; border-radius: 50%;
}
.car-btn:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 560px){ .car-track img{ height: 200px; } }

/* app */
.app-row { display: flex; align-items: flex-end; gap: 1.4rem; margin: 1.6rem 0; flex-wrap: wrap; }
.app-row > div { padding-bottom: 2px; }
.app-icon { width: 110px; height: auto; border-radius: 22px; }

/* ===========================================================
   ÍNDICE DE LA HOME — imágenes reales + slider de la Placa
   =========================================================== */
.obra-img { margin: 0; }
.obra-img img, .obra-slider img {
  width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block;
  border: 1px solid var(--line); background: #fff;
}
.obra-slider { position: relative; }
.obra-slider-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.obra-slider-track::-webkit-scrollbar { display: none; }
.obra-slider-track > a { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.obra-slider-track img { flex: 0 0 100%; scroll-snap-align: start; border: 1px solid var(--line); }
.obra-slider .os-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.6); color: #fff; font-size: 1.2rem; line-height: 1;
  cursor: pointer; z-index: 2;
}
.obra-slider .os-prev { left: 8px; }
.obra-slider .os-next { right: 8px; }
.obra-slider .os-dots {
  position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2;
  display: flex; gap: 6px; justify-content: center;
}
.obra-slider .os-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); }
.obra-slider .os-dots span.on { background: #fff; }



/* dos imágenes en fila (entrevistas, merch) */
.dos-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2rem 0; }
.dos-imgs figure { margin: 0; }
.dos-imgs img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.dos-imgs figcaption { font-family: var(--font-manuscrita); font-size: 1.12rem; color: var(--muted); margin-top: .5rem; font-style: normal; }
@media (max-width: 560px){ .dos-imgs { grid-template-columns: 1fr; } }

/* un poco más de aire general en obra */
.obra-item { padding: 4rem 0; }
.pigs-intro { margin-top: 3rem; }

/* ===========================================================
   DISEÑO KOFLA — componentes calcados de las referencias
   =========================================================== */

/* ---- menú compacto (topbar) ---- */
.topbar-inner { align-items: center; gap: .5rem .9rem; font-family: var(--font-mono); }
.topbar .brand { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.topbar .brand::after { content: "/"; color: #c4c4c4; margin-left: 12px; }
.topbar nav.mainnav { gap: 0; font-size: 12px; letter-spacing: .06em; }
.topbar nav.mainnav a { text-transform: uppercase; padding: 2px 13px; border-left: 1px solid #cdcdcd; border-bottom: none; }
.topbar nav.mainnav a:first-child { border-left: none; padding-left: 0; }
.topbar nav.mainnav a:hover, .topbar nav.mainnav a.active { background: var(--yellow); border-bottom: none; }
.langsel { display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .08em; margin-left: auto; }
.langsel a { text-decoration: none; color: var(--ink); }
.langsel a.on { font-weight: 700; }
.langsel a.dim { color: #b3b3b3; }
.langsel span { color: #c4c4c4; }
@media (max-width: 820px){
  .topbar nav.mainnav a { padding: 2px 8px; font-size: 11px; }
  .langsel { margin-left: 0; }
}

/* ---- grilla de la home más pequeña (deja ~1/6 libre a cada lado) ---- */
.hero-menu-wrap { width: min(66.6vw, 900px); }
@media (max-width: 820px){ .hero-menu-wrap { width: 86vw; } }

/* ---- grilla apilada para móvil (menú vertical) ---- */
.hmw-mobile { display: none; }
@media (max-width: 640px){
  .hmw-desktop { display: none; }
  .hmw-mobile { display: block; width: min(81vw, 414px); aspect-ratio: 717 / 1135; }
  /* en táctil no hace falta el relleno amarillo de hover */
  .hmw-mobile .hot:hover, .hmw-mobile .hot:focus-visible { background: transparent; }
}

/* ---- etiqueta sobre cinta (tape) ---- */
.tape-label {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 10px 2px;
  margin: 0;
  font-family: var(--font-titulo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
  font-size: 22px;
  transform: rotate(-0.8deg);
}
.tape-label::before {
  content: "";
  position: absolute; z-index: -1;
  top: -6px; bottom: -6px; left: -34px; right: -34px;
  background: url("../img/tape.png") no-repeat center / 100% 100%;
}
.tape-label.lg { font-size: clamp(30px, 4.6vw, 50px); padding: 14px 2px; }
.tape-label.lg::before { left: -30px; right: -30px; top: -10px; bottom: -10px; }
/* el cartelito de Proyectos, separado del borde */
#proyectos .tape-label { margin-left: 34px; }

/* ---- bandas negras (recurso gráfico del diseñador) ---- */
.banda { display: block; background: #111; height: 22px; border: 0; margin: 20px 0; }
.banda.w-xl { width: 100%; max-width: 720px; }
.banda.w-lg { width: 68%; max-width: 520px; }
.banda.w-md { width: 46%; max-width: 330px; }
.banda.w-sm { width: 24%; max-width: 160px; }
.banda.inline { display: inline-block; width: 86px; height: .82em; vertical-align: middle; margin: 0 14px 0 0; }

/* ---- subrayado de trazo libre (reutilizado) ---- */
.subrayado.wide { width: min(520px, 100%); }

/* ---- sublabel estandarizado (Proyectos destacados) ---- */
.sub-label { font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: #111; margin: 0 0 24px; }

/* ---- Marcas y empresas: lista reglada ---- */
.marcas-panel { background: var(--blue); padding: 26px 30px 32px; margin: 12px 0 64px; }
.marcas-panel .tape-label { margin-bottom: 4px; }
.clientela {
  --rule: 2.5em; --rulec: rgba(35,31,32,.22);
  display: block; border: 0; padding: 0; margin: 14px 0 0;
  font-family: var(--font-mono); font-size: 15px; line-height: var(--rule); color: #2a2a2a;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--rule) - 1px), var(--rulec) calc(var(--rule) - 1px), var(--rulec) var(--rule));
}
.clientela span { white-space: nowrap; }
.clientela .sep { color: #5f6b66; white-space: normal; }
.clientela .big { font-size: 20px; font-weight: 700; color: #111; }

/* ---- proyectos destacados: titulares en negrita + viñeta apaisada 2x1 ---- */
.dest h3 { font-weight: 700; }
.ph43 { aspect-ratio: 3 / 1; max-width: none; margin-top: 16px; }
.ph43 img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* hook con resaltado amarillo e interlineado sencillo */
.dest .hook { display: inline; background: var(--yellow); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 2px 5px; line-height: 1.35; font-size: 13px; color: #111; margin: 0; }

/* ---- Proyectos (en desarrollo): bg gris, texto, resaltado amarillo ---- */
#proyectos { background: var(--grey) !important; }
.proy-intro { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(16px, 2vw, 21px); line-height: 1.5; margin: 30px 0 4px; max-width: 46ch; }
.dev-head h3 { background: var(--yellow); display: inline; padding: 1px 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.dev { border-top-color: #c3ccc6; }
.dev-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- botones Whatsapp / email con círculo a mano ---- */
.contacto-circles { display: flex; flex-wrap: wrap; gap: 26px; margin: 34px 0 0; }
.circle-btn { position: relative; display: inline-block; font-family: var(--font-mono); font-size: 20px; text-decoration: none; color: #111; padding: 14px 30px; }
.circle-btn .ell { position: absolute; inset: -4px -6px; width: calc(100% + 12px); height: calc(100% + 8px); overflow: visible; pointer-events: none; }
.circle-btn .ell path { fill: none; stroke: #111; stroke-width: 2.2; stroke-linecap: round; }
.circle-btn:hover .ell path { stroke: #111; stroke-width: 3; }
/* botones de contacto con gráfico propio (whatsapp/email) */
.circle-btn.img-btn { padding: 0; }
.circle-btn.img-btn img { display: block; height: 66px; width: auto; transition: opacity .15s; }
.circle-btn.img-btn:hover img { opacity: .62; }

/* pop-up de error (PIGS App) */
.err-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; cursor: pointer; }
.err-modal.open { display: flex; }
.err-modal img { max-width: min(520px, 92vw); height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.45); }

/* ---- espaciado equilibrado en páginas de obra (sin líneas divisorias) ---- */
.wrap .lead, .wrap .actions, .wrap .libros, .wrap .carousel { margin: 1.8rem 0; }
.closing { margin-top: 3.2rem; }
.closing p:last-child { margin-bottom: 0; }

/* ---- merch: botón SHOP pegado a cada artículo + pop-up ---- */
.merch-item { position: relative; margin: 0; }
.shop-btn { position: absolute; bottom: 12px; right: 12px; z-index: 3; background: var(--ink); color: #fff; border: none; font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; transition: background .15s, color .15s; }
.shop-btn:hover { background: var(--yellow); color: var(--ink); }
.shop-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px; }
.shop-modal.open { display: flex; }
.shop-box { position: relative; background: #fff; max-width: 440px; width: 100%; padding: 34px 30px 30px; border: 2px solid var(--ink); font-family: var(--font-mono); }
.shop-box h3 { font-family: var(--font-mono); font-weight: 700; text-transform: none; font-size: 18px; line-height: 1.3; margin: 0 0 20px; }
.shop-box label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #777; margin: 0 0 6px; }
.shop-box select, .shop-box input, .shop-box textarea { width: 100%; font-family: var(--font-mono); font-size: 13px; color: #111; padding: 11px; border: 1px solid #ccc; background: #fff; margin-bottom: 16px; box-sizing: border-box; }
.shop-box textarea { resize: vertical; line-height: 1.5; }
.shop-box p.note { font-size: 13px; line-height: 1.6; margin: 2px 0 14px; color: #333; }
.shop-box button.send { background: transparent; border: 2px solid var(--ink); color: var(--ink); font-family: var(--font-mono); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 26px; cursor: pointer; transition: background .15s; }
.shop-box button.send:hover { background: var(--yellow); }
.shop-box .x { position: absolute; top: 8px; right: 14px; background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; color: #111; }
.shop-feedback { font-size: 12px; line-height: 1.6; color: #6d6d6d; min-height: 18px; margin: 10px 0 0; }
/* carrusel con merch-item */
.car-track .merch-item { flex: 0 0 auto; }
.car-track .merch-item img { height: 280px; width: auto; display: block; border: 1px solid var(--line); background: #fff; }
@media (max-width: 560px){ .car-track .merch-item img { height: 200px; } }

/* ---- Contacto: columnas alineadas (caja = párrafo) ---- */
.contacto-lead { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.3; margin: 0 0 4px; max-width: 26ch; }
.contacto-lead .banda { height: .58em; vertical-align: middle; margin-top: 0; margin-bottom: 0; }

/* ---- footer calcado (links con '/'), vale para todas las páginas ---- */
.foot-links { gap: 6px 10px; }
.foot-links a:not(:last-child)::after { content: " /"; color: #8795a0; margin-left: 10px; }
.foot-legal { margin: 10px 0 0; font-size: 11px; letter-spacing: .06em; }
.foot-legal a { text-decoration: none; color: #111; }
.foot-legal a + a::before { content: "·"; margin: 0 8px; color: #8795a0; }

/* ---- regla: titulares de sección de las páginas de obra en mayúsculas ---- */
main.wrap h2 { text-transform: uppercase; margin: 3.2rem 0 1rem; }

/* ---- páginas legales ---- */
.wrap.legal .article { margin-top: 2.4rem; }
.wrap.legal .article h2 { font-size: 1.15rem; margin: 2.4em 0 .6em; }
.legal-updated { color: var(--muted); font-size: .85rem; margin-top: 2.6rem; }

/* ---- botón bajo el cartel (páginas de obra) ---- */
.pigs-cartel .cartel-btn { display: block; width: 100%; text-align: center; margin-top: 12px; }

/* ---- cierre de Yugoslavia: hashtag + más aire sobre la caja ---- */
.closing .hashtag { font-family: var(--font-titulo); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(22px, 3vw, 30px); margin: 0 0 12px; }
.closing.closing-aire { margin-top: 5rem; }

/* ---- nota de cierre de consultoría (centrada, mayúsculas, con rayita) ---- */
.nota-cierre { text-align: center; max-width: 640px; margin: 120px auto 120px; }
.nota-cierre p { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; line-height: 1.7; margin: 0 0 8px; color: #111; }
.nota-cierre .rayita { display: block; width: 190px; height: 12px; margin: 0 auto; }

/* ---- menú compacto: Bender grueso + separadores de trazo ---- */
.topbar .brand { font-family: var(--font-titulo); font-weight: 700; font-size: 13px; letter-spacing: .05em; }
.topbar .brand::after { content: ""; display: inline-block; width: 1.6px; height: 13px; background: #111; transform: rotate(22deg); margin-left: 15px; vertical-align: -1px; }
.topbar nav.mainnav { font-family: var(--font-titulo); font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.topbar nav.mainnav a { position: relative; text-transform: uppercase; padding: 2px 17px; border: 0; }
.topbar nav.mainnav a:first-child { padding-left: 15px; }
.topbar nav.mainnav a:not(:first-child)::before { content: ""; position: absolute; left: -1px; top: 50%; width: 1.6px; height: 14px; background: #111; transform: translateY(-50%) rotate(14deg); }
.langsel { font-family: var(--font-titulo); font-weight: 700; }
.langsel span { color: #111; transform: rotate(8deg); display: inline-block; }

/* ---- bandas: variantes de espaciado sencillo y relleno de línea ---- */
.banda.tight { margin: 7px 0 0; }
.banda.inline-fill { display: inline-block; width: 48%; height: .82em; vertical-align: middle; margin-left: 14px; }

/* ---- botones Whatsapp/email centrados en la columna ---- */
.contacto-circles { justify-content: center; }

/* ---- imágenes de obra clicables ---- */
.obra-img a, .obra-slider a { display: block; }
.obra-img a img, .obra-slider a img { cursor: pointer; }

/* ===========================================================
   CONSULTORÍA · CASOS (capa externa minimalista + páginas internas)
   =========================================================== */
.casos-tesis { font-family: var(--font-titulo); font-weight: 700; text-transform: none; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.2; margin: 6px 0 36px; max-width: 24ch; }
.casos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 46px; }
.caso-card { display: block; text-decoration: none; color: inherit; }
.caso-ph { aspect-ratio: 3/1; background: repeating-linear-gradient(135deg, #ececec 0 10px, #f5f5f5 10px 20px); position: relative; overflow: hidden; transition: filter .2s; }
.caso-ph .rr { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; line-height: 1.7; color: #9a9a9a; }
.caso-card:hover .caso-ph { filter: brightness(.96); }
.caso-card.has-img:hover .caso-ph { filter: none; }
.caso-ph .caso-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.caso-ph .caso-img.over { opacity: 0; transition: opacity .4s ease; }
.caso-card:hover .caso-ph .caso-img.over { opacity: 1; }
.caso-h { font-family: var(--font-titulo); font-weight: 700; text-transform: none; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.12; margin: 16px 0 8px; }
.caso-card:hover .caso-h { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.caso-meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; margin: 0; }
@media (max-width: 760px){ .casos-grid { grid-template-columns: 1fr; gap: 42px; } }

.wrap.caso { max-width: 860px; }
.caso-eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--muted); margin: 0 0 1.1rem; }
.caso-title { font-family: var(--font-titulo); font-weight: 700; text-transform: none; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.03; margin: 0 0 .7rem; }
.caso-sub { font-family: var(--font-mono); font-size: 1rem; line-height: 1.5; color: #444; margin: 0 0 2.2rem; }
.caso-hero { aspect-ratio: 2/1; margin: 0 0 2.8rem; overflow: hidden; }
.caso-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caso-video { margin: 0 0 2.8rem; background: #000; }
.caso-video iframe { display: block; border: 0; }
.proy-estado { margin: 2.6rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.proy-estado .lbl { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.proy-estado p { margin: 0; font-size: 15px; line-height: 1.7; color: #3a3a3a; }
.caso-body { max-width: 66ch; }
.caso-body p { margin: 0 0 1.4em; font-size: 1.0625rem; line-height: 1.75; }
.apuesta { border: 0; margin: 2.8rem 0; padding: 0; font-family: var(--font-titulo); font-weight: 700; text-transform: none; font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.22; max-width: 24ch; }
.apuesta::before { content: ""; display: block; width: 52px; height: 7px; background: var(--yellow); margin-bottom: 1.2rem; }
.caso-stats { display: flex; flex-wrap: wrap; gap: 26px 52px; margin: 2.6rem 0; padding: 1.9rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.caso-stats .num { display: block; font-family: var(--font-titulo); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1; }
.caso-stats .lbl { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; max-width: 18ch; line-height: 1.45; }
.caso-credito { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); margin: 2.2rem 0 0; }
.caso-nav { display: flex; justify-content: space-between; gap: 20px; margin: 3.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: .85rem; letter-spacing: .04em; }
.caso-nav a { text-decoration: none; color: var(--ink); }
.caso-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Yugoslavia: bloque de entrevistas (viñetas pequeñas, derecha) ---- */
.entrevistas-bloque {
  max-width: 430px; margin: 2.6rem 0 2.6rem auto;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  padding: 1.4rem 0;
}
.entrevista { display: grid; grid-template-columns: 112px 1fr; gap: 1.1rem; align-items: center; text-decoration: none; color: inherit; }
a.entrevista { cursor: pointer; transition: opacity .15s; }
a.entrevista:hover { opacity: .7; }
.entrevista + .entrevista { margin-top: 1.1rem; }
.entrevista .ent-thumb { width: 112px; height: auto; display: block; border: 1px solid var(--line); }
.entrevista p { margin: 0; font-size: .9rem; line-height: 1.5; color: #333; }
@media (max-width: 560px){ .entrevistas-bloque { margin-left: 0; max-width: 100%; } }

/* ===========================================================
   MÓVIL — fijar horizontal, aire más justo, Marcas responsivo
   =========================================================== */
html, body { overflow-x: clip; max-width: 100%; }
img, svg, video { max-width: 100%; }

@media (max-width: 640px){
  /* obra: menos aire y viñetas más pequeñas */
  .obra-item { padding: 2.4rem 0; }
  .obra-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .obra-img, .obra-slider { max-width: 260px; }
  .obra-img img, .obra-slider img { max-width: 260px; }
  .rotulo { font-size: clamp(2.1rem, 11vw, 3rem); }
  .wrap { padding: 2.2rem 1rem 3.4rem; }

  /* Marcas y empresas responsivo */
  .marcas-panel { padding: 20px 16px 24px; }
  .clientela { --rule: 2.25em; font-size: 13px; }
  .clientela .big { font-size: 17px; }
  .tape-label { font-size: 18px; }
  .tape-label.lg { font-size: 30px; }

  /* destacados: una columna */
  .dest-grid { gap: 36px 0; }
  .ph43 { aspect-ratio: 2 / 1; }

  /* contacto: círculos y bandas */
  .contacto-grid { gap: 40px; }
  .banda.inline-fill { width: 40%; }
  .contacto-circles { flex-wrap: nowrap; gap: 6px; }
  .circle-btn.img-btn img { height: 54px; }

  /* menú compacto: que quepa */
  .topbar nav.mainnav a { padding: 2px 9px; font-size: 11px; }
  .topbar nav.mainnav a:first-child { padding-left: 9px; }
}
 .form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
