/* ============================================================
   ECO ECO — Proyecto ECO ECO
   Sitio multipantalla. Display: Tsukimi Rounded · Texto: Inter
============================================================ */

:root {
  --black: #1a1a1a;
  --ink: #1d1d1b;
  --gray: #4a4a4a;
  --gray-light: #6b6b6b;
  --line: #e6e6e6;
  --white: #ffffff;
  --dark-bg: #1a1a1a;
  --footer-bg: #171717;
  --terracotta: #b0503d;
  --overlay-band: linear-gradient(180deg, rgba(10,12,20,.9), rgba(8,10,16,.64));
  --overlay-showcase: linear-gradient(180deg, rgba(10,16,28,.52) 0%, rgba(10,16,28,.4) 38%, rgba(10,16,28,.4) 62%, rgba(10,16,28,.5) 100%);
  --container: 1200px;
  --pad: clamp(22px, 4vw, 56px);
  --header-h: 84px;
  --font-display: "Tsukimi Rounded", system-ui, sans-serif;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  padding: 15px 40px;
  border-radius: 3px;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.btn-dark  { background: #1a1a1a; color: #fff; }
.btn-dark:hover  { background: #333; }
.btn-light { background: #fff; color: #1a1a1a; }
.btn-light:hover { background: #e9e9e9; }

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 40px);
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { color: var(--black); display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 52px; width: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 44px);
  list-style: none;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2b2b2b;
  transition: opacity .2s ease;
}
.main-nav a:hover { opacity: .55; }
.main-nav a.is-active { font-weight: 500; color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.search-btn {
  background: none; border: none; color: var(--black);
  cursor: pointer; padding: 6px; display: inline-flex;
  transition: opacity .2s ease;
}
.search-btn:hover { opacity: .55; }

/* Switch de idioma ES / EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  line-height: 1;
}
.lang-opt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  padding: 5px 9px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.lang-opt.is-active { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px;
  background: var(--black);
  transition: transform .25s ease, opacity .25s ease;
}

/* ============================================================
   TÍTULOS
============================================================ */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.005em;
  line-height: 1.12;
}
.section-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.4;
}

/* ======================   ======================================
   HERO (banda oscura)
============================================================ */
.hero {
  background: var(--dark-bg);
  color: #fff;
  text-align: center;
  padding-top: clamp(30px, 4vw, 56px);
  padding-bottom: 0; /* el video full-bleed toca el borde inferior */
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 60px);
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: clamp(22px, 3vw, 42px);
}

.hero-media {
  /* full-bleed panorámico: de borde a borde de la pantalla */
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: 0;
  background: var(--dark-bg);
}
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   BAND — feature full-bleed con imagen + overlay + texto centrado
============================================================ */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: var(--dark-bg);
}
.band-media { position: absolute; inset: 0; z-index: -2; }
.band-media img,
.band-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.74) saturate(.85);
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay-band);
  z-index: -1;
}

.band-inner { padding-block: clamp(56px, 7.5vw, 116px); }

.band-title { margin-bottom: 16px; }
.band-text {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,.9);
}

/* ============================================================
   SHOWCASE — feature contenido (Geonnitus): imagen con texto encima
============================================================ */
.showcase {
  padding-top: clamp(44px, 5vw, 76px);
  padding-bottom: clamp(44px, 5vw, 76px);
}

.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4680 / 2060; /* foto completa, sin recorte (vista amplia) */
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark-bg);
}
.showcase-media > img,
.showcase-media > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  filter: brightness(.6) contrast(1.08) saturate(.8);
}
.showcase-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(32px, 4.5vw, 60px) clamp(28px, 5vw, 60px);
  text-align: center;
  color: #fff;
  background: var(--overlay-showcase);
}
.showcase-head .section-title { margin-bottom: 10px; }
.showcase-head .section-sub { color: rgba(255,255,255,.92); }

/* ============================================================
   CATÁLOGO (sección clara)
============================================================ */
.catalogo {
  padding-top: clamp(56px, 6vw, 96px);
  padding-bottom: clamp(60px, 6.5vw, 104px);
  text-align: center;
}
.catalogo-head { margin-bottom: clamp(30px, 3.5vw, 48px); }
.catalogo-head .section-title { color: var(--black); margin-bottom: 12px; }
.catalogo-head .section-sub { color: var(--gray); font-weight: 600; }

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.cat-cover {
  position: relative;
  width: 100%;
  /* proporción única para que todas las portadas midan lo mismo,
     sin importar el tamaño original de cada imagen */
  aspect-ratio: 13 / 20;
  overflow: hidden;
  border-radius: 2px;
  background: #e9e6e2;
}
.cat-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.cat-cover:hover img { transform: scale(1.04); }

.cat-plus {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  border-radius: 3px;
  transition: background .2s ease;
}
.cat-plus:hover { background: #333; }

/* ============================================================
   DISPLAY HEADING (títulos de página en fuente display)
============================================================ */
.display-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 60px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
}

/* ============================================================
   LIBROS — catálogo en lista
============================================================ */
.catalog-intro {
  text-align: center;
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(30px, 4vw, 56px);
}
.catalog-lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 24px);
  color: var(--ink);
  margin-top: 20px;
}
.catalog-note {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray-light);
  margin-top: 4px;
}

.book-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 92px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.book-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.book-cover img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 6px 14px 30px rgba(0, 0, 0, .22);
}
.book-info h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 33px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.book-info p {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--gray);
  margin-bottom: 14px;
  max-width: 700px;
}
.book-soon { color: var(--gray-light); }

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}
.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  background: #1a1a1a;
  padding: 13px 26px;
  border-radius: 3px;
  transition: background .2s ease;
}
.book-btn:hover { background: #333; }
.book-btn svg { flex-shrink: 0; }

/* ============================================================
   PROYECTOS — intro + feature destacado
============================================================ */
.projects-intro {
  text-align: center;
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(26px, 3.5vw, 46px);
}

.project-feature {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--dark-bg);
}
.project-feature > img,
.project-feature > video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.6) contrast(1.06) saturate(.82);
}
.pf-inner {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(38px, 9vh, 96px);
  padding: clamp(32px, 5vw, 64px);
  text-align: center;
  color: #fff;
}
.pf-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  margin-bottom: 10px;
}
.pf-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.4;
  color: rgba(255, 255, 255, .94);
}

/* Intro genérico de página (título display sobre blanco) */
.page-intro {
  text-align: center;
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

/* ============================================================
   CONTACTO — banda oscura con formulario + redes
============================================================ */
.contact-band {
  background: var(--dark-bg);
  padding-block: clamp(44px, 5.5vw, 84px);
}
.contact-form-dark {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 24px);
}
.contact-form-dark input,
.contact-form-dark textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: 1px solid #6f6f6f;
  border-radius: 2px;
  padding: 17px 20px;
  outline: none;
  transition: border-color .2s ease;
}
.contact-form-dark input::placeholder,
.contact-form-dark textarea::placeholder { color: #b5b5b5; }
.contact-form-dark input:focus,
.contact-form-dark textarea:focus { border-color: #fff; }
.contact-form-dark textarea { min-height: 210px; resize: vertical; }
.contact-form-dark .btn { align-self: flex-start; margin-top: 6px; }
.form-status {
  font-size: 15px;
  color: #d9d9d9;
  min-height: 1.2em;
}
.form-status.is-ok { color: #9fe0a6; }
.form-status.is-error { color: #ec9a9a; }
.form-status:empty { display: none; }

.socials {
  text-align: center;
  padding-block: clamp(44px, 5.5vw, 82px);
}
.socials h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--ink);
  margin-bottom: clamp(22px, 3vw, 34px);
}
.social-list {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 32px);
}
.social-list a {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.social-list a:hover { background: var(--ink); color: #fff; }

/* ============================================================
   LEGAL — documento largo (política de privacidad)
============================================================ */
.legal {
  padding-top: clamp(34px, 4vw, 60px);
  padding-bottom: clamp(56px, 7vw, 100px);
}
.legal-title { margin-bottom: clamp(26px, 3.4vw, 46px); }
.legal-body { max-width: 900px; margin-inline: auto; }
.legal-body > p:first-child { margin-top: 0; }
.legal-body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--ink);
  line-height: 1.25;
  margin: clamp(26px, 3vw, 40px) 0 12px;
}
.legal-body p {
  font-size: clamp(14px, 1vw, 15.5px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-body .legal-address p { margin-bottom: 2px; }
.legal-body a { text-decoration: underline; color: var(--ink); }
.legal-body a:hover { opacity: .65; }

/* ============================================================
   GEONNITUS — página de proyecto
============================================================ */
.geo-hero {
  display: block;            /* sirve como <section> y como enlace <a> */
  position: relative;
  width: 100%;
  aspect-ratio: 2.6;
  overflow: hidden;
  background: var(--dark-bg);
}
/* Botón chico dentro del geo-hero (proyectos) */
.geo-hero-btn { margin-top: clamp(16px, 2.2vw, 26px); }
.geo-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.62) contrast(1.05) saturate(.85);
}
.geo-hero-inner {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 6vw, 86px) clamp(20px, 4vw, 48px) 0;
  text-align: center;
  color: #fff;
}
.geo-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 2.9vw, 44px);
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 6px;
}
.geo-hero-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 20px);
}

.geo-text { padding-block: clamp(30px, 3.6vw, 52px); }
.geo-text p {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 14px;
}
.geo-text p:last-child { margin-bottom: 0; }

.geo-media {
  background: var(--dark-bg);
  /* sin margen oscuro arriba/abajo: la banda sólo asoma a los costados */
  padding-block: 0;
}
.geo-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
/* Fallback de proporción para navegadores viejos (sin aspect-ratio) */
@supports not (aspect-ratio: 1 / 1) {
  .geo-media-frame { height: 0; padding-top: 56.25%; }
}
.geo-media-frame > video,
.geo-media-frame > img,
.geo-media-frame > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}

/* MoMA */
.geo-moma-wrap { padding-block: clamp(30px, 4vw, 56px); }
.geo-moma {
  background: var(--dark-bg);
  color: #fff;
  text-align: center;
  padding: clamp(30px, 4vw, 56px) clamp(22px, 4vw, 60px);
}
.geo-moma h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.geo-moma-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(14px, 1.35vw, 18px);
  color: rgba(255, 255, 255, .92);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.geo-moma p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  color: #c4c4c4;
  max-width: 820px;
  margin: 0 auto 14px;
}
.geo-moma strong { color: #fff; font-weight: 600; }
.geo-moma .center-cta { margin-top: clamp(20px, 2.6vw, 32px); }

/* Ediciones anteriores — acordeón */
.geo-editions { padding-bottom: clamp(40px, 5vw, 70px); }
.geo-editions-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  text-align: center;
  color: var(--ink);
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.accordion { display: flex; flex-direction: column; gap: 14px; }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--dark-bg);
  color: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: clamp(12px, 1.4vw, 18px) clamp(16px, 2vw, 26px);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.8vw, 24px);
  transition: background .2s ease;
}
.acc-head:hover { background: #2a2a2a; }
.acc-head:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }
.acc-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc-icon::before { width: 14px; height: 1.6px; }
.acc-icon::after {
  width: 1.6px; height: 14px;
  transition: opacity .2s ease, transform .2s ease;
}
.acc-head[aria-expanded="true"] .acc-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}
.acc-panel-inner { padding: clamp(22px, 3vw, 38px) 0 clamp(10px, 1.5vw, 18px); }

/* Encabezado de acordeón con subtítulo (convocatorias) */
.acc-head-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acc-title { font-size: clamp(18px, 1.9vw, 26px); line-height: 1.12; }
.acc-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12.5px, 1.1vw, 15px);
  line-height: 1.3;
  color: rgba(255, 255, 255, .72);
}

/* ============================================================
   CONVOCATORIAS
============================================================ */
.conv-intro { padding-top: clamp(36px, 4.5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.conv-intro .section-title { color: var(--ink); margin-bottom: clamp(16px, 2vw, 26px); }
.conv-lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 25px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 18px;
}
.conv-lead-p {
  font-size: clamp(14px, 1.1vw, 16.5px);
  color: var(--gray);
  line-height: 1.7;
  max-width: 960px;
}
.conv-hero {
  margin-top: clamp(26px, 3.4vw, 44px);
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: var(--dark-bg);
}
.conv-hero img,
.conv-hero video { width: 100%; height: 100%; object-fit: cover; }

.conv-block-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink);
  margin: clamp(22px, 2.6vw, 32px) 0 14px;
}
.conv-text p {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}
.conv-text p:last-child { margin-bottom: 0; }
.conv-text strong { color: var(--ink); font-weight: 600; }

/* Barra negra de sección (PREMIOS, MENCIONES, JURADXS, ...) */
.conv-bar {
  background: var(--dark-bg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(12.5px, 1.15vw, 15px);
  letter-spacing: .05em;
  padding: clamp(9px, 1vw, 13px) clamp(14px, 1.6vw, 22px);
  margin: clamp(22px, 2.6vw, 36px) 0 clamp(14px, 1.6vw, 20px);
  border-radius: 2px;
}
/* Etiqueta pequeña (1er premio, Poesía, ganador...) */
.conv-tag {
  display: inline-block;
  background: var(--dark-bg);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(12px, 1.05vw, 14.5px);
  padding: 5px 12px;
  border-radius: 2px;
  margin: clamp(16px, 2vw, 24px) 0 12px;
}
.conv-tag em { font-weight: 500; font-style: italic; opacity: .92; }

/* Lista de jurados */
.conv-list { list-style: none; margin: 6px 0 0; padding: 0; }
.conv-list li {
  position: relative;
  padding-left: 18px;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--gray);
  line-height: 1.7;
}
.conv-list li::before { content: "·"; position: absolute; left: 5px; }

/* Párrafo de cierre grande */
.conv-closing {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
  margin-top: clamp(22px, 2.6vw, 34px);
}

/* 2025 — un carrusel por premio */
.conv-award { margin-bottom: clamp(26px, 3.2vw, 44px); }

/* Galería fotocrónica: imagen grande + grilla de miniaturas */
.foto-gallery {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  gap: 10px;
  align-items: start;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.foto-lead { aspect-ratio: 1 / 1; }
.foto-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  align-content: start;
}
.foto-thumbs .gallery-item { aspect-ratio: 1 / 1; }
/* La foto se muestra completa (sin recorte) dentro de un marco oscuro:
   el diseño agrega las bandas negras arriba/abajo (letterbox). */
.foto-gallery .gallery-item { background: #141414; }
.foto-gallery .gallery-item img { object-fit: contain; }
.foto-gallery .gallery-item:hover img { transform: none; opacity: 1; }

/* ============================================================
   CARRUSEL (estilo Instagram) — reutilizable
============================================================ */
.carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: clamp(8px, 1.5vw, 18px) auto 0;
}
.carousel--landscape { max-width: 860px; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 4px;
  background: #111;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  aspect-ratio: var(--slide-ar, 1 / 1);
  background: #111;
  padding: 0; margin: 0; border: none;
  cursor: zoom-in;
  display: block;
}
.carousel--portrait .carousel-slide { --slide-ar: 4 / 5; } /* 1080x1350 (formato retrato de Instagram) encaja exacto */
.carousel--landscape .carousel-slide { --slide-ar: 3 / 2; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: var(--slide-fit, cover);
  display: block;
}
.carousel--portrait { --slide-fit: contain; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transition: background .2s ease, opacity .2s ease;
  z-index: 2;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbc8c4;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dot.is-active { background: #1a1a1a; transform: scale(1.2); }
.carousel-caption {
  text-align: center;
  font-size: clamp(12.5px, 1vw, 14px);
  color: var(--gray);
  margin-top: 10px;
  min-height: 1.2em;
}

/* ============================================================
   TARJETA DE DESCARGA (Descargá el libro)
============================================================ */
.download-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.6vw, 52px) clamp(24px, 3.4vw, 56px);
  border-radius: 3px;
  margin: clamp(22px, 2.8vw, 40px) 0;
  color: #fff;
}
.download-card.is-blue { background: #4b9cc4; }
.download-card.is-gray { background: #8a938d; }
.download-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  margin: 0;
}
.download-card-body p {
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .95);
  margin: 0 0 6px;
}
.download-card-body em { font-style: italic; }
.download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 18px);
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download-link:hover { opacity: .85; }

.ed-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.ed-media img { width: 100%; border-radius: 2px; }
/* La imagen principal conserva su alto natural dentro del botón */
.ed-media .gallery-item { background: none; }
.ed-media .gallery-item img { height: auto; }
.ed-text p {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
}
.ed-text p:last-child { margin-bottom: 0; }

.ed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 14px);
  margin-top: clamp(20px, 2.6vw, 34px);
}
.ed-grid .gallery-item { aspect-ratio: 3 / 2; }

/* Tarjeta azul — reservá tu libro */
.book-card {
  background: #5b8db8;
  color: #fff;
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px);
  margin-top: clamp(26px, 3.4vw, 44px);
}
.book-card > h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 23px);
  text-align: center;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}
.book-card-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  align-items: start;
}
.book-card-cover img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 4px 8px 18px rgba(0, 0, 0, .25);
}
.book-card-body { text-align: left; }
.book-card-body h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.3;
  margin-bottom: 10px;
}
.book-card-body p {
  font-size: clamp(12.5px, .95vw, 14.5px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .94);
  margin-bottom: 70px;
}
.book-card-body .book-actions { justify-content: left; margin-top: 0; }
.book-card-body .book-btn { padding: 10px 20px; font-size: 14px; }

/* Logos (Ruido + Eco Eco) */
.geo-logos {
  background: var(--dark-bg);
  padding-block: clamp(34px, 4.5vw, 66px);
  margin-bottom: 50px;
}
.geo-logos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 6vw, 90px);
  flex-wrap: wrap;
}
.geo-logo-ruido { height: clamp(42px, 4.6vw, 66px); width: auto; }
.geo-logo-eco { height: clamp(40px, 4.2vw, 60px); width: auto; filter: invert(1); }

/* ============================================================
   PÁGINAS INTERIORES — hero corto + prosa
============================================================ */
.page-hero {
  background: var(--dark-bg);
  color: #fff;
  text-align: center;
  padding-block: clamp(56px, 8vw, 120px);
}
.page-hero .section-title { color: #fff; margin-bottom: 14px; }
.page-hero .section-sub {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto;
}

.section { padding-block: clamp(48px, 6vw, 88px); }
.section-alt { background: #f6f4f1; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.prose h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 23px);
  margin: 30px 0 12px;
}
.prose p {
  font-size: clamp(15px, 1.2vw, 17.5px);
  color: var(--gray);
  margin-bottom: 18px;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { margin: 0 0 18px 20px; color: var(--gray); }
.prose li { margin-bottom: 8px; }

/* Rejilla genérica de tarjetas (proyectos / ediciones) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e6e2;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 24px; }
.card-body h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}
.card-body p { font-size: 15px; color: var(--gray); }

/* ============================================================
   CONTACTO — formulario
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  max-width: 980px;
  margin-inline: auto;
}
.contact-info h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  margin: 22px 0 6px;
}
.contact-info p { color: var(--gray); }

.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcbc6;
  border-radius: 4px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--black); }
.form-field textarea { min-height: 150px; resize: vertical; }

/* ============================================================
   CONOCENOS — Acerca + galería
============================================================ */
.about {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 84px);
}
.about-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 60px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--black);
  margin-bottom: clamp(34px, 4vw, 56px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 14px);
}
.gallery-item {
  padding: 0;
  border: none;
  margin: 0;
  width: 100%;
  cursor: pointer;
  background: #e9e6e2;
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.gallery .gallery-item { aspect-ratio: 4 / 3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .3s ease;
}
.gallery-item:hover img { transform: scale(1.06); opacity: .9; }
.gallery-item:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; }

.about-text p {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--gray);
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

/* ============================================================
   STAFF
============================================================ */
.staff {
  background: var(--dark-bg);
  color: #fff;
  padding-block: clamp(52px, 6vw, 92px);
}
.staff-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  text-align: center;
  margin-bottom: clamp(34px, 4vw, 56px);
  text-transform: uppercase;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2vw, 30px);
}
.staff-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #2a2a2a;
  margin-bottom: 16px;
}
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  margin-bottom: 4px;
}
.staff-card p {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9c9c9c;
}

/* ============================================================
   LIGHTBOX (galería)
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 7vw, 96px) clamp(52px, 8vw, 120px);
  background: rgba(12, 12, 14, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.lightbox.open { display: flex; animation: lb-fade .25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

body.lb-lock { overflow: hidden; }

.lb-figure {
  margin: 0;
  max-width: 1040px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lb-img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-caption {
  align-self: flex-start;
  color: #e9e9e9;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.5;
  margin-top: 20px;
  max-width: 900px;
}

.lb-close,
.lb-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lb-close:hover,
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close {
  top: clamp(20px, 3vw, 34px);
  right: clamp(20px, 3vw, 40px);
  width: 48px; height: 48px;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: clamp(12px, 2.5vw, 40px); }
.lb-next { right: clamp(12px, 2.5vw, 40px); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: #cfcfcf;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 5vw, 72px);
}
.footer-brand { max-width: 340px; }
.footer-logo { color: #8a8a8a; margin-bottom: 18px; }
.footer-logo svg { display: block; width: 44px; height: 44px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #9c9c9c;
}
.footer-col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 14px;
  color: #a9a9a9;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 13px;
  color: #8a8a8a;
}
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   MODAL — Retirar libro
============================================================ */
.retiro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 12, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.retiro.open { display: flex; animation: lb-fade .25s ease; }

.retiro-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  overflow-y: auto;
  background: #1c1c1e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  padding: clamp(30px, 4vw, 46px) clamp(22px, 3.5vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  text-align: center;
}
.retiro-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #b9b9b9;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.retiro-close:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.retiro-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.retiro-sub { font-size: 15px; line-height: 1.5; color: #b4b4b6; }
.retiro-book {
  font-size: 13.5px;
  color: #9a9a9c;
  font-style: italic;
  margin-top: 8px;
}
.retiro-form { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.retiro-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: #fff;
  background: #121213;
  border: 1px solid #3a3a3d;
  border-radius: 6px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease;
}
.retiro-form input::placeholder { color: #7f7f82; }
.retiro-form input:focus { border-color: #fff; }
.retiro-submit,
.retiro-cta { width: 100%; text-align: center; margin-top: 6px; }
.retiro-status { font-size: 14px; min-height: 1.1em; color: #d9d9d9; margin: 0; }
.retiro-status.is-error { color: #ec9a9a; }

/* Paso 2 · confirmación */
.retiro-check { color: #fff; margin-bottom: 6px; }
.retiro-check svg { display: block; margin: 0 auto; }
.retiro-place {
  background: #16211f;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.retiro-place strong { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.retiro-place span { font-size: 14px; color: #b4b4b6; line-height: 1.4; }
.retiro-cta.btn-dark { border: 1px solid #333; }
.retiro-ig {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}
.retiro-ig:hover { background: rgba(255, 255, 255, .08); }

/* Página de reserva independiente (/reservar-geonnitus, /reservar-frackibacter) */
.reserva-page {
  min-height: calc(100vh - var(--header-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px) 20px;
  background: var(--dark-bg);
}
.reserva-page .retiro-box { position: static; max-height: none; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-135%);
    transition: transform .32s ease;
    padding: 8px var(--pad) 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: block; padding: 16px 2px; font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav li:last-child a { border-bottom: none; }

  .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); }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }

  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 70px; }

  .brand-logo { height: 42px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .showcase-media { aspect-ratio: 4 / 3; }
  .showcase-media > img,
  .showcase-media > video { object-position: 62% center; }

  .btn { width: 100%; text-align: center; }
  .band-inner .btn,
  .showcase-overlay .btn,
  .geo-moma .btn,
  .download-card .btn,
  .geo-hero-inner .btn,
  .pf-inner .btn { width: auto; }

  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .lightbox { padding: 68px 16px 24px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-img { max-height: 66vh; }

  .project-feature { aspect-ratio: 3 / 4; }
}

@media (max-width: 720px) {
  .book-row { grid-template-columns: 1fr; gap: 22px; }
  .book-cover { max-width: 200px; }

  .geo-hero { aspect-ratio: 3 / 2; }
  .ed-row { grid-template-columns: 1fr; }
  .ed-media { max-width: 200px; }
  .ed-grid { grid-template-columns: repeat(2, 1fr); }
  .book-card-row { grid-template-columns: 1fr; justify-items: center; }
  .book-card-cover { max-width: 130px; }

  .download-card { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .foto-gallery { grid-template-columns: 1fr; }
  .foto-lead { aspect-ratio: 3 / 2; max-width: 320px; }
}

@media (max-width: 420px) {
  .catalogo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
