/* Nicholas Chandler — web pública. Sistema «Modernist», variante A «Retícula». */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800.woff2") format("woff2"); }

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201e1d;
  --color-accent: #ec3013;
  --color-divider: color-mix(in srgb, #201e1d 40%, transparent);
  /* La misma línea, opaca: #201e1d al 40 % sobre el fondo. Se usa donde las líneas se solapan. */
  --line: #9f9d9d;

  --color-neutral-200: #eae7e7;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;
  --color-accent-100: #fff2ef;
  --color-accent-600: #dd2b0f;
  --color-accent-700: #ae1800;

  --font-heading: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55; font-weight: 400;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: var(--color-text); text-decoration: none; }
a:hover { color: var(--color-accent); }
input, textarea, button, select { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
[hidden] { display: none !important; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--color-text); color: var(--color-bg); padding: 8px 12px; font-weight: 600; }
.skip:focus { top: 8px; color: var(--color-bg); }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.page { padding-bottom: clamp(48px, 6vw, 96px); }
.kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-700); font-weight: 600; }
.muted { color: var(--color-neutral-700); }

/* Retícula: celdas separadas por líneas de 2 px.
   El aire a cada lado de una línea interior es la separación entre columnas (--gx): la línea se dibuja
   en el centro del hueco, a la izquierda de cada celda, y la de fila debajo. Las celdas no llevan
   relleno lateral, así que la primera y la última de cada fila quedan alineadas con el contenido sea
   cual sea el número de columnas, y el texto nunca toca una línea. Lo que se sale de la rejilla
   (la línea a la izquierda de la primera columna, etc.) queda recortado. */
.rule-grid { --gx: 48px; display: grid; column-gap: var(--gx); row-gap: 2px; overflow: hidden; border-bottom: 2px solid var(--color-divider); }
.rule-grid > * { position: relative; background: var(--color-bg); min-width: 0; }
.rule-grid > *::before,
.rule-grid > *::after { content: ""; position: absolute; background: var(--line); pointer-events: none; }
.rule-grid > *::before { top: 0; bottom: -2px; left: calc(var(--gx) / -2 - 1px); width: 2px; }
.rule-grid > *::after { left: calc(var(--gx) / -2 - 1px); right: calc(var(--gx) / -2 - 1px); bottom: -2px; height: 2px; }
.rule-grid > a:focus-visible, .rule-grid > button:focus-visible { outline-offset: -2px; }
/* El fondo al pasar el ratón llega hasta las líneas, como en el prototipo */
.col-card:hover, .piece:hover {
  background: var(--color-neutral-200);
  box-shadow: calc(var(--gx) / -2 + 1px) 0 0 var(--color-neutral-200), calc(var(--gx) / 2 - 1px) 0 0 var(--color-neutral-200);
}

/* Marco de imagen con proporción reservada (sin saltos de maquetación) */
.frame { display: block; overflow: hidden; background: var(--color-surface); }
.frame picture, .frame img { display: block; width: 100%; height: 100%; }
.frame img { object-fit: cover; }
.frame--16x10 { aspect-ratio: 16 / 10; }
.frame--4x3 { aspect-ratio: 4 / 3; }
.frame--1x1 { aspect-ratio: 1 / 1; }
.frame--top img { object-position: 50% 20%; }
figcaption { font-size: 12px; color: var(--color-neutral-700); }

/* Botones: etiqueta a la izquierda, radio 0 */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0;
  padding: 12px 16px; font-weight: 800; font-size: 14px; line-height: 1.55; text-align: left;
}
.btn--row { display: flex; justify-content: space-between; padding: 14px 16px; width: 100%; }
.btn--primary { background: var(--color-accent); color: var(--color-bg); }
.btn--primary:hover { background: var(--color-accent-600); color: var(--color-bg); }
.btn--primary:active { background: var(--color-accent-700); }
.btn--secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-divider); }
.btn--secondary:hover { background: var(--color-neutral-200); color: var(--color-text); }
.btn--secondary:active { background: color-mix(in srgb, var(--color-text) 14%, transparent); }
.btn--start { align-self: flex-start; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Cabecera ─────────────────────────────────────────────────────── */
.site-header { border-bottom: 2px solid var(--color-divider); background: var(--color-bg); position: sticky; top: 0; z-index: 20; }
.site-header__inner {
  max-width: 1440px; margin: 0 auto; padding: 14px var(--gutter) 10px;
  display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap;
}
.brand { display: flex; flex-direction: column; margin-right: auto; line-height: 1.05; white-space: nowrap; flex-shrink: 0; }
.brand:hover { color: var(--color-text); }
.brand__name { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.brand__sub { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-neutral-700); }
.nav {
  order: 3; flex-basis: 100%; display: flex; gap: clamp(14px, 2.2vw, 32px); flex-wrap: wrap;
  font-size: 14px; font-weight: 600; border-top: 1px solid var(--color-divider); padding-top: 12px;
}
.nav a { padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }
.lang { display: flex; border: 1px solid var(--color-divider); flex-shrink: 0; }
.lang a { padding: 6px 10px; font-size: 12px; font-weight: 600; line-height: 1.55; }
.lang a + a { border-left: 1px solid var(--color-divider); }
.lang a[aria-current="true"] { background: var(--color-text); color: var(--color-bg); }
.menu-btn {
  display: none; width: 36px; height: 36px; align-items: center; justify-content: center; padding: 0;
  border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); cursor: pointer;
}
.menu-btn__close { display: none; }

@media (max-width: 640px) {
  .menu-btn { display: flex; }
  .nav { display: none; flex-direction: column; gap: 0; padding-top: 4px; }
  .site-header.is-open .nav { display: flex; }
  .site-header.is-open .menu-btn__open { display: none; }
  .site-header.is-open .menu-btn__close { display: block; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--color-divider); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--color-divider); box-shadow: inset 3px 0 0 var(--color-accent); padding-left: 12px; }
}

/* ── Inicio ───────────────────────────────────────────────────────── */
.home-name { padding: clamp(40px, 6vw, 80px) 0 24px; border-bottom: 2px solid var(--color-divider); }
.home-name h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(56px, 10.5vw, 168px); line-height: .88; letter-spacing: -.045em; }

/* Intro, colecciones y escuela comparten columnas y separación: sus líneas verticales coinciden. */
.home-intro, .col-cards, .school-teaser { --gx: 40px; grid-template-columns: minmax(0, 1fr); }
.school-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .home-intro, .col-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1150px) {
  .home-intro, .col-cards, .school-teaser { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-intro__lead { padding: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.home-intro__hero { font-family: var(--font-heading); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.home-intro__text { padding: 24px 0; }
.home-intro__text p { color: var(--color-neutral-800); text-wrap: pretty; }
.home-intro__year { padding: 24px 0; display: flex; flex-direction: column; gap: 4px; }
.home-intro__num { font-family: var(--font-heading); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.03em; }
.home-intro__since { font-size: 14px; color: var(--color-neutral-700); }
.home-intro__ctas { padding: 24px 0; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }

.home-figs { grid-template-columns: 1fr; }
.home-figs__main { padding: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.home-figs__side { padding: 24px 0; display: flex; flex-direction: column; gap: 24px; }
.home-figs__side figure { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1030px) {
  .home-figs { grid-template-columns: 2fr 1fr; }
}

.section-head {
  padding: clamp(48px, 6vw, 80px) 0 24px; display: flex; justify-content: space-between; align-items: end;
  gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--color-divider);
}
.h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; }
.section-head__intro { max-width: 440px; color: var(--color-neutral-800); }

.col-card { padding: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.col-card__meta { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--color-neutral-700); }
.col-card__name { font-family: var(--font-heading); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.col-card__desc { font-size: 14px; color: var(--color-neutral-700); }

.school-teaser__text {
  grid-column: 1 / -1; padding: clamp(32px, 5vw, 64px) 0;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
}
@media (min-width: 1150px) {
  .school-teaser__text { grid-column: 1 / 3; grid-row: 1 / 3; }
}
.school-teaser__title { font-family: var(--font-heading); font-weight: 800; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.school-teaser__text p { color: var(--color-neutral-800); max-width: 520px; text-wrap: pretty; }
.school-teaser__format { padding: 24px 0; display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.school-teaser__len { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.03em; }
.school-teaser__label { font-size: 14px; color: var(--color-neutral-700); }

/* ── Colección ───────────────────────────────────────────────────── */
.col-head {
  padding: clamp(40px, 5vw, 72px) 0 24px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 24px 48px; align-items: end; border-bottom: 2px solid var(--color-divider);
}
.col-head__title { display: flex; flex-direction: column; gap: 12px; }
.h1-col { font-family: var(--font-heading); font-weight: 800; font-size: clamp(52px, 8vw, 128px); line-height: .88; letter-spacing: -.045em; overflow-wrap: anywhere; }
.col-head__info { display: flex; flex-direction: column; gap: 8px; }
.col-head__info p { color: var(--color-neutral-800); max-width: 460px; }
.col-head__count { font-size: 13px; font-weight: 600; }

.tabs { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--color-divider); }
.tabs a {
  display: inline-flex; gap: 6px; align-items: baseline; white-space: nowrap; padding: 14px 20px 14px 0; margin-right: 20px;
  font-size: 14px; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.tabs a span { color: var(--color-neutral-600); font-weight: 400; }
.tabs a[aria-current="page"] { color: var(--color-accent-700); border-bottom-color: var(--color-accent); }

.pieces { --gx: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.piece { padding: 20px 0; display: flex; flex-direction: column; gap: 10px; color: var(--color-text); }
.piece:hover { color: var(--color-text); }
.piece__row { display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.piece__title { font-weight: 800; font-size: 16px; }
.piece__n { font-size: 12px; color: var(--color-neutral-700); }
.empty-note { padding: 32px 0; color: var(--color-neutral-700); border-bottom: 2px solid var(--color-divider); }

.commission { padding-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.commission__text { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }

/* ── Páginas interiores ───────────────────────────────────────────── */
.page-head { padding: clamp(40px, 5vw, 72px) 0 24px; border-bottom: 2px solid var(--color-divider); display: flex; flex-direction: column; gap: 12px; }
.h1-page { font-family: var(--font-heading); font-weight: 800; font-size: clamp(44px, 7vw, 112px); line-height: .9; letter-spacing: -.045em; max-width: 1200px; text-wrap: balance; }
.h1-page--narrow { max-width: 1100px; }

.split { --gx: 64px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.split__text { padding: 32px 0; display: flex; flex-direction: column; gap: 24px; }
.split__text--right { gap: 20px; }
.split__fig { padding: 32px 0; display: flex; flex-direction: column; gap: 8px; }
.lead { font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.01em; text-wrap: pretty; }
.body { color: var(--color-neutral-800); text-wrap: pretty; }

.faqs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.faq { padding: 32px 0; display: flex; flex-direction: column; gap: 14px; }
.faq__n { font-size: 13px; font-weight: 600; color: var(--color-accent-700); }
.faq__q { font-family: var(--font-heading); font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.faq p { color: var(--color-neutral-800); text-wrap: pretty; }

.sub-head { padding: 48px 0 16px; border-bottom: 2px solid var(--color-divider); }
.sub-head h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.formats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.format { padding: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.format__len { font-family: var(--font-heading); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.format__label { font-weight: 600; }
.format__note { font-size: 14px; color: var(--color-neutral-700); }

.timeline { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.timeline__step { padding: 28px 0; display: flex; flex-direction: column; gap: 8px; }
.timeline__year { font-family: var(--font-heading); font-weight: 800; font-size: clamp(32px, 3.4vw, 48px); line-height: 1; letter-spacing: -.04em; }
.timeline__who { font-weight: 600; }
.timeline__what { font-size: 14px; color: var(--color-neutral-700); }

.clients { padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; border-bottom: 2px solid var(--color-divider); }
.clients__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; }
.clients__text { font-weight: 600; font-size: 18px; line-height: 1.5; }

/* ── Contacto ─────────────────────────────────────────────────────── */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--color-neutral-700); min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  min-height: 44px; padding: 8px 12px; font-size: 15px; background: var(--color-surface);
  border: 1px solid var(--color-divider); color: var(--color-text); border-radius: 0; width: 100%;
}
.field textarea { padding: 10px 12px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--color-accent); }
.field__error, .form__error { font-size: 13px; color: var(--color-accent-700); font-weight: 600; }
.form > .field__error { grid-column: 1 / -1; margin-top: -10px; }
.form__error { grid-column: 1 / -1; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--color-neutral-800); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-accent); flex-shrink: 0; }
.check a, .form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__legal { font-size: 12px; line-height: 1.5; color: var(--color-neutral-700); }
.form__legal strong { font-weight: 600; color: var(--color-neutral-800); }
.thanks { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; color: var(--color-neutral-800); }
.thanks__title { font-family: var(--font-heading); font-weight: 800; font-size: 32px; letter-spacing: -.02em; color: var(--color-text); }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

.split__aside { padding: 32px 0; }
.rule-grid.contact-data { --gx: 32px; grid-template-columns: 1fr 1fr; border-bottom: 0; align-content: start; }
.contact-data__cell { display: flex; flex-direction: column; gap: 6px; }
.contact-data__cell:nth-child(-n+2) { padding-bottom: 24px; }
.contact-data__cell:nth-child(n+3) { padding-top: 24px; }
.label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); font-weight: 600; }
.strong { font-weight: 600; }
.accent { color: var(--color-accent-700); word-break: break-all; }

/* Mapa de Google Maps bajo los datos de contacto */
.contact-map { margin-top: 24px; padding-top: 24px; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.contact-map__frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-surface); }
.contact-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map__open { font-size: 13px; font-weight: 600; align-self: flex-start; }
@media (max-width: 600px) { .contact-map__frame { aspect-ratio: 4 / 3; } }

/* ── Textos legales ───────────────────────────────────────────────── */
.prose { max-width: 760px; padding: 32px 0 0; color: var(--color-neutral-800); }
.prose h2 { font-family: var(--font-heading); font-weight: 800; font-size: 22px; letter-spacing: -.01em; color: var(--color-text); margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 12px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--color-text); }
.prose code { font-size: 14px; }
.prose__table { overflow-x: auto; margin: 0 0 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.prose th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-neutral-700); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--color-divider); }
.prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--color-divider); vertical-align: top; }
.prose__note { font-size: 14px; padding: 12px 16px; background: var(--color-surface); }
.prose__updated { margin-top: 32px !important; font-size: 13px; color: var(--color-neutral-700); }

/* ── Pie ──────────────────────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--color-divider); background: var(--color-bg); }
.site-footer__inner {
  max-width: 1440px; margin: 0 auto; padding: 40px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; font-size: 14px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 4px; }
.site-footer__brand { font-family: var(--font-heading); font-weight: 800; font-size: 18px; }
.site-footer__legal {
  max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter) 32px; display: flex; gap: 8px 24px; flex-wrap: wrap;
  font-size: 12px; color: var(--color-neutral-700);
}
.site-footer__legal a { color: var(--color-neutral-700); }
.site-footer__legal a:hover { color: var(--color-accent); }

/* ── Lightbox ─────────────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 50; background: color-mix(in srgb, var(--color-neutral-900) 92%, transparent);
  display: flex; flex-direction: column; padding: clamp(12px, 2vw, 24px); gap: 12px; color: var(--color-bg);
}
.lb__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lb__title { font-weight: 800; font-size: 18px; }
.lb__count { font-weight: 400; opacity: .7; font-size: 14px; }
.lb__note { display: block; font-weight: 400; font-size: 14px; opacity: .8; max-width: 720px; margin-top: 2px; }
.lb__close { cursor: pointer; border: 1px solid var(--color-neutral-500); background: transparent; color: var(--color-bg); padding: 8px 14px; font-weight: 600; font-size: 13px; flex-shrink: 0; }
.lb__close:hover { border-color: var(--color-bg); }
.lb__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb__stage picture { display: contents; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
.lb__nav { display: flex; justify-content: space-between; gap: 12px; }
.lb__btn { cursor: pointer; border: 0; padding: 12px 18px; font-weight: 800; font-size: 14px; min-width: 120px; text-align: left; }
.lb__prev { background: var(--color-bg); color: var(--color-text); }
.lb__prev:hover { background: var(--color-accent-100); }
.lb__next { background: var(--color-accent); color: var(--color-bg); }
.lb__next:hover { background: var(--color-accent-600); }
body.lb-open { overflow: hidden; }

.preview-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; background: var(--color-text); color: var(--color-bg);
  padding: 10px 14px; font-size: 13px; font-weight: 600;
}
.preview-bar a { color: var(--color-bg); text-decoration: underline; }

/* Móvil: en una sola columna, todo alineado con el contenido. */
@media (max-width: 600px) {
  .split__aside { padding-top: 24px; padding-bottom: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .frame img { transition: transform .6s ease; }
  .col-card:hover .frame img { transform: scale(1.04); }
}
