/* ==========================================================================
   /css/encabezado.css — Encabezado blanco, menú desplegable y pie de página
   compartidos (includes/layout.php y js/layout.js).

   Todo vive bajo clases propias con prefijo .tm- para que estas reglas no
   alcancen formularios, tablas, botones ni ventanas de los módulos. El
   encabezado conserva además las clases/IDs históricos (.site-header,
   #site-header, #accountBadge, .site-footer…) solo para que las reglas de
   cada módulo que lo ocultan al imprimir o lo oscurecen sigan funcionando.

   Medidas tomadas de las referencias aprobadas: teléfono de 430 px de ancho
   (--tm-u = 1px a 430; en teléfonos más angostos todo se reduce en la misma
   proporción, con mínimos legibles) y escritorio de 1440 px.
   ========================================================================== */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/barlow-condensed-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --tm-navy: #112d55;
  --tm-azul: #1d4fae;
  --tm-naranja: #ff664c;
  --tm-boton: #ecf4ff;
  --tm-boton-borde: #dde8f7;
  --tm-linea: #e3eaf1;
  --tm-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tm-titulo: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  /* 1px de la referencia móvil (430 px). Se recalcula por tamaño abajo. */
  --tm-u: calc(min(100vw, 430px) / 430);
  --tm-gutter: calc(var(--tm-u) * 14);
  --tm-max: 1144px;
  /* Textura acuática del sitio (img/fondo-web.png, la de la zona azul)
     casi borrada bajo un velo blanco: base muy clara con ondas apenas
     visibles, como marca de agua. El mosaico de 100x33 no deja cortes. */
  --tm-textura:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
    url("/img/fondo-web.png") repeat,
    #eef4f9;
}

/* ---------------------------------------------------------------- Encabezado */

/* ALTURA FIJA = la del encabezado anterior en producción, en TODOS los
   anchos: 62 px + 1 px de borde = 63 px (medido el 2026-11-14). Las
   pantallas del cronómetro y los chequeos cuentan con ese espacio: no
   cambiarla. Todo lo de adentro se acomoda dentro de esos 62 px. */
.site-header.tm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-sizing: border-box;
  height: 63px;
  margin: 0;
  padding: 0;
  background: var(--tm-textura);
  border-bottom: 1px solid #d9e4ee;
  color: var(--tm-navy);
  font-family: var(--tm-sans);
}

/* Variante preexistente: las páginas que arman el encabezado solo con
   js/layout.js (viajes) no recibían el <style> de layout.php y su
   encabezado medía 83 px en teléfono y 91 px en tableta (63 desde 1100).
   Se respeta esa misma altura en cada una. */
@media (max-width: 640px) {
  .site-header.tm-header.tm-header--js,
  .site-header.tm-header.tm-header--alto { height: 83px; }
  .tm-header--js .tm-header__inner,
  .tm-header--alto .tm-header__inner { height: 82px; }
}
@media (min-width: 641px) and (max-width: 1099px) {
  .site-header.tm-header.tm-header--js,
  .site-header.tm-header.tm-header--alto { height: 91px; }
  .tm-header--js .tm-header__inner,
  .tm-header--alto .tm-header__inner { height: 90px; }
}

/* Variante compacta: login y alumnos tenían un encabezado propio sin cuenta
   de 49 px por debajo de 1100 px (63 desde 1100). Se respeta; la cuenta con
   sesión se reduce para caber (avatar 26 px, nombre 10 px). */
@media (max-width: 1099px) {
  .site-header.tm-header.tm-header--compacto { height: 49px; }
  .tm-header--compacto .tm-header__inner { height: 48px; }
  .tm-header--compacto .tm-menu-btn { height: 34px; width: 34px; }
  .tm-header--compacto .tm-account-wrap.tm-sesion { min-width: 0; padding: 0 2px; }
  .tm-header.tm-header--compacto #accountBadge.tm-account--sesion { height: 46px !important; min-width: 46px; }
  .tm-header.tm-header--compacto #accountBadge.tm-account--sesion img { width: 26px !important; height: 26px !important; }
  .tm-header.tm-header--compacto #accountBadge.tm-account--sesion span:first-of-type { font-size: 10px !important; }
  .tm-header.tm-header--compacto #accountBadge.tm-account--sesion .account-badge__role { display: none !important; }
}
@media (min-width: 640px) and (max-width: 1099px) {
  .tm-header--compacto .tm-menu-btn { width: 112px; height: 36px; }
}

/* La capa de degradado del encabezado anterior no aplica aquí */
.site-header.tm-header::after { content: none; display: none; }

/* DISTRIBUCIÓN: Menú (izquierda) · logo + nombre (centro) · cuenta (derecha).
   Rejilla de tres columnas: las dos laterales son SIEMPRE iguales
   (minmax(0, 1fr)) y la central mide lo que su contenido, así que el bloque
   del equipo queda centrado de verdad respecto al encabezado (que a su vez
   está centrado en la pantalla) aunque el botón y la cuenta midan distinto.
   Nada va posicionado a mano. Si un nombre de usuario es muy largo se
   recorta con «…» dentro de su columna, sin encimarse. */
.tm-header__inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: calc(var(--tm-u) * 8);
  width: 100%;
  max-width: calc(var(--tm-max) + 2 * var(--tm-gutter));
  height: 62px;
  margin: 0 auto;
  padding: 0 calc(var(--tm-u) * 14);
}

.tm-header *,
.tm-header *::before,
.tm-header *::after { box-sizing: border-box; }

.tm-header__izq {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Marca: logotipo + «18 de Marzo Team» como un solo bloque */
.tm-brand-wrap {
  grid-column: 2;
  justify-self: center;
  margin: 0;
  min-width: 0;
  font: inherit;
  display: flex;
}

.tm-brand {
  display: flex;
  align-items: center;
  gap: calc(var(--tm-u) * 6);
  min-width: 0;
  color: var(--tm-navy);
  text-decoration: none;
  border-radius: 6px;
}

.tm-brand__logo {
  display: block;
  flex: 0 0 auto;
  width: calc(var(--tm-u) * 42);
  min-width: 30px;
  height: auto;
  aspect-ratio: 400 / 150;
}

.tm-brand__name {
  font-size: max(12px, calc(var(--tm-u) * 15.4));
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.1;
  white-space: nowrap;
}

/* Zona derecha: cuenta (avatar, nombre, rol y notificaciones) */
.tm-header__actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 100%;
}

.tm-header__actions .tm-account-wrap { max-width: 100%; }
.tm-header__actions .account-badge { max-width: 100%; }
.tm-header__actions .account-badge__text { max-width: 100%; min-width: 0; }
.tm-header__actions .account-badge__name { max-width: 100%; }

/* ---------------------------------------------------------------- Cuenta
   El bloque de cuenta usa las MISMAS clases del encabezado anterior
   (.account-notification-wrap, .account-badge, .account-badge__avatar,
   .account-badge__name, .account-badge__role, .notification-count…), así que
   con sesión se ve exactamente como en producción: avatar del rol, nombre
   debajo (al lado en escritorio), rol y globo rojo en su lugar, con las
   reglas de css/styles.css y las de abajo, copiadas tal cual del <style> que
   tenía includes/layout.php. Va directo sobre el fondo claro del
   encabezado: nombre y rol en azul marino, y el avatar de admin (silueta
   blanca) cambia a su variante azul marino img/encabezado/
   Avatar-Admin-marino.svg (js/layout.js); los demás avatares de rol ya
   contrastan y conservan su color. Los SVG originales no se tocan.
   Sin sesión se muestra el «Acceso» de la referencia aprobada. */

.tm-account-wrap { position: relative; }

/* --- Sin sesión: icono + «Acceso» (referencia aprobada) --- */
.tm-header .tm-account-wrap:not(.tm-sesion) {
  width: auto;
  flex: 0 0 auto;
}

.tm-header .tm-account:not(.tm-account--sesion) {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: calc(var(--tm-u) * 6);
  width: auto;
  height: 40px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--tm-navy);
  text-decoration: none;
  font-size: max(11px, calc(var(--tm-u) * 12.6));
  font-weight: 700;
  line-height: 1.05;
  border-radius: 8px;
}

.tm-header .tm-account:not(.tm-account--sesion) .account-badge__avatar {
  width: auto;
  height: auto;
}

.tm-header .tm-account:not(.tm-account--sesion) .account-badge__text { align-items: flex-start; }

.tm-header .tm-account:not(.tm-account--sesion) .account-badge__name {
  font-size: inherit;
  font-weight: 700;
  line-height: 1.05;
}

.tm-header .tm-account:not(.tm-account--sesion) .account-badge__role,
.tm-header .tm-account:not(.tm-account--sesion) .tm-account__avatar { display: none; }

.tm-account__svg {
  display: block;
  width: max(12px, calc(var(--tm-u) * 14));
  height: auto;
}

/* --- Con sesión: el componente original --- */
.tm-header .tm-account--sesion .tm-account__svg { display: none; }
.tm-header .tm-account--sesion .tm-account__avatar { display: block; }

/* Sin pieza de fondo: todo sobre la textura clara del encabezado. */
.tm-header .tm-account-wrap.tm-sesion {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tm-header .tm-account--sesion { color: var(--tm-navy); }

/* El globo rojo conserva tamaño, lugar y función; su aro toma el color
   del fondo (antes era el azul del encabezado, ahora el claro). */
.tm-header .tm-sesion .notification-count { border-color: #f4f8fb; }

/* Copia fiel del <style> en línea del encabezado anterior (≤ 1100 px). */
@media (max-width: 1100px) {
  /* Única diferencia con el original: el ancho mínimo es el de antes
     (60 px) pero crece con nombres largos, porque sobre la pieza azul un
     nombre que se sale ya no pasa desapercibido. */
  .tm-header .tm-account-wrap.tm-sesion {
    width: auto;
    min-width: 72px;
    flex: 0 0 auto;
    padding: 0 5px;
  }

  .tm-header #accountBadge.tm-account--sesion .account-badge__name {
    max-width: min(104px, 100%);
  }

  .tm-header #accountBadge.tm-account--sesion {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 60px;
    height: 56px !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .tm-header #accountBadge.tm-account--sesion .account-badge__avatar {
    width: auto !important;
    height: auto !important;
    line-height: 0 !important;
  }

  .tm-header #accountBadge.tm-account--sesion img {
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 0 !important;
  }

  .tm-header #accountBadge.tm-account--sesion .account-badge__text {
    align-items: center !important;
    text-align: center !important;
  }

  .tm-header #accountBadge.tm-account--sesion b,
  .tm-header #accountBadge.tm-account--sesion .username,
  .tm-header #accountBadge.tm-account--sesion span:first-of-type {
    display: block !important;
    font-size: 11px !important;
    line-height: 1 !important;
    /* original: #fff sobre el encabezado azul; aquí azul marino */
    color: var(--tm-navy) !important;
  }

  .tm-header #accountBadge.tm-account--sesion .role,
  .tm-header #accountBadge.tm-account--sesion .rol,
  .tm-header #accountBadge.tm-account--sesion small,
  .tm-header #accountBadge.tm-account--sesion span.rol-badge,
  .tm-header #accountBadge.tm-account--sesion i,
  .tm-header #accountBadge.tm-account--sesion em {
    display: none !important;
  }
}

/* Tableta: el original mostraba aquí también el rol (18 px en cursiva) y
   la insignia de 56 px no alcanzaba; la pieza usa 60 de los 62 px del
   encabezado para que avatar, nombre y rol quepan completos. */
@media (min-width: 641px) and (max-width: 1100px) {
  .tm-header #accountBadge.tm-account--sesion { height: 60px !important; }
}

/* Escritorio: la insignia original mide 190 x 50 (styles.css); la pieza
   azul la rodea con 3 px para quedar en 56 px, dentro de los 62 px. */
@media (min-width: 1101px) {
  .tm-header .tm-account-wrap.tm-sesion { padding: 3px 4px; }
}

/* Botón Menú / Cerrar */
/* CAMBIO PERMANENTE (aprobado 2026-11-14): el botón Menú ya no va dentro de
   un recuadro; las tres rayas y la palabra «Menú» usan el mismo azul marino
   del resto del encabezado. El área táctil (38 px + ::after) no cambia. */
.tm-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--tm-u) * 7);
  /* Teléfono: botón cuadrado solo con el icono (tres rayas / X); el texto
     «Menú»/«Cerrar» queda para lectores de pantalla y se ve desde 640 px. */
  height: max(34px, calc(var(--tm-u) * 38));
  width: max(34px, calc(var(--tm-u) * 38));
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tm-navy);
  font-family: var(--tm-sans);
  font-size: max(11.5px, calc(var(--tm-u) * 13));
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
}

/* Área táctil de al menos 44 px sin cambiar el tamaño visible */
.tm-menu-btn::after {
  content: "";
  position: absolute;
  inset: -6px -4px;
}

.tm-menu-btn:hover { background: transparent; opacity: .78; }

.tm-menu-btn[aria-expanded="true"] {
  background: transparent;
}

.tm-menu-btn__icon {
  display: block;
  width: max(15px, calc(var(--tm-u) * 17));
  height: auto;
  flex: 0 0 auto;
}

.tm-menu-btn__icon--cerrar { display: none; }

/* Teléfono: «Menú»/«Cerrar» solo para lectores de pantalla */
.tm-menu-btn__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tm-menu-btn[aria-expanded="true"] .tm-menu-btn__icon--abrir { display: none; }
.tm-menu-btn[aria-expanded="true"] .tm-menu-btn__icon--cerrar { display: block; }

.tm-header a:focus-visible,
.tm-header button:focus-visible,
.tm-footer a:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

/* ------------------------------------------------------------- Menú desplegable */

.tm-menu[hidden] { display: none !important; }

.tm-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--tm-menu-top, 65px);
  z-index: 1150;
}

.tm-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 22, 44, .26);
  animation: tm-aparecer .18s ease-out;
}

.tm-menu__panel {
  position: absolute;
  top: calc(var(--tm-u) * 12);
  left: var(--tm-panel-left, var(--tm-gutter));
  width: min(clamp(262px, calc(100vw - var(--tm-u) * 108), 380px), calc(100vw - var(--tm-panel-left, 14px) - 8px));
  max-height: calc(100% - var(--tm-u) * 12 - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--tm-u) * 16) calc(var(--tm-u) * 15) calc(var(--tm-u) * 12);
  background: #ffffff;
  border-radius: calc(var(--tm-u) * 16);
  box-shadow: 0 18px 44px rgba(6, 24, 48, .28), 0 2px 6px rgba(6, 24, 48, .12);
  color: var(--tm-navy);
  font-family: var(--tm-sans);
  text-align: left;
  animation: tm-bajar .2s ease-out;
}

.tm-menu__panel:focus { outline: none; }

/* Punta que señala el botón */
.tm-menu__caret {
  position: absolute;
  top: calc(var(--tm-u) * 12 - 7px);
  left: calc(var(--tm-caret-left, 26px));
  width: 16px;
  height: 8px;
  overflow: hidden;
  animation: tm-bajar .2s ease-out;
}
.tm-menu__caret::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  transform: rotate(45deg);
  border-radius: 2px;
}

.tm-menu__title {
  margin: 0;
  padding: 0;
  font-family: var(--tm-titulo);
  font-weight: 800;
  font-size: max(24px, calc(var(--tm-u) * 30));
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--tm-navy);
}

.tm-menu__title::after {
  content: "";
  display: block;
  width: calc(var(--tm-u) * 21);
  min-width: 18px;
  height: 3px;
  margin-top: calc(var(--tm-u) * 8);
  background: var(--tm-naranja);
  border-radius: 1px;
}

.tm-menu__list {
  list-style: none;
  margin: calc(var(--tm-u) * 11) 0 0;
  padding: 0;
  border-top: 1px solid var(--tm-linea);
}

.tm-menu__list li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--tm-linea);
}

.tm-menu__list li:last-child { border-bottom: 0; }

.tm-menu__link {
  display: flex;
  align-items: center;
  gap: calc(var(--tm-u) * 11);
  min-height: max(44px, calc(var(--tm-u) * 47.7));
  padding: calc(var(--tm-u) * 9) 0;
  color: var(--tm-navy);
  text-decoration: none;
  font-size: max(14px, calc(var(--tm-u) * 14.6));
  font-weight: 600;
  line-height: 1.2;
  border-radius: 6px;
  -webkit-tap-highlight-color: rgba(29, 79, 174, .08);
}

.tm-menu__link:hover .tm-menu__name { color: var(--tm-azul); }

.tm-menu__thumb {
  display: block;
  flex: 0 0 auto;
  width: calc(var(--tm-u) * 45);
  min-width: 36px;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 3px;
  background: #e9eff5;
}

.tm-menu__name { flex: 1 1 auto; min-width: 0; }

.tm-menu__arrow {
  flex: 0 0 auto;
  width: max(16px, calc(var(--tm-u) * 18));
  height: auto;
  margin-right: calc(var(--tm-u) * 2);
  color: var(--tm-azul);
}

@keyframes tm-aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes tm-bajar { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .tm-menu__backdrop, .tm-menu__panel, .tm-menu__caret { animation: none; }
}

/* Con el menú abierto la página de atrás no se desplaza */
html.tm-menu-abierto,
html.tm-menu-abierto body { overflow: hidden; }

/* ------------------------------------------------------------------ Pie
   ALTURA = la del pie anterior en producción, también en cada aparato:
   el pie anterior medía su relleno (18 arriba, 24 abajo), 1 px de borde y
   UNA línea de texto de .60rem (.95rem desde 1100 px) en la letra de cada
   página; esa línea mide distinto en Windows, Mac, iPhone o Android y según
   la letra del módulo (el cronómetro usa Inter). Para que la altura sea
   idéntica siempre, el pie conserva la misma caja de antes: el relleno y el
   borde los siguen poniendo css/styles.css y cada módulo (aquí no se
   tocan), y adentro va una copia INVISIBLE del <p> original
   (.tm-footer__medida) que recibe exactamente las mismas reglas. Lo visible
   (logo + derechos) va encima, centrado, sin ocupar espacio propio.
   Medido el 2026-11-14 en Chrome/Windows: 55 px hasta 1099 px de ancho y
   63 px desde 1100 px; cronómetro en teléfono, 23 px. */

.site-footer.tm-footer {
  position: relative;
  margin: 0;
  background: var(--tm-textura);
  border-top-color: #d9e4ee;
  color: #2a3a52;
  text-align: center;
}

.tm-footer__medida { visibility: hidden; }

.tm-footer__contenido {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 8px;
  overflow: hidden;
  font-family: var(--tm-sans);
}

.tm-footer__logo {
  display: block;
  width: 46px;
  height: auto;
  aspect-ratio: 400 / 150;
  flex: 0 0 auto;
}

.tm-footer__texto {
  display: block;
  margin: 0;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  color: #2a3a52;
}

/* ------------------------------------------------------- Teléfonos angostos */

@media (max-width: 359px) {
  /* Solo el icono de Acceso (el nombre sigue disponible para lectores) */
  .tm-header .tm-account:not(.tm-account--sesion) .account-badge__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .tm-header__inner { column-gap: 4px; padding: 0 6px; }
  .tm-brand { gap: 4px; }
  .tm-brand__logo { min-width: 30px; width: 30px; }
  .tm-brand__name { font-size: 12px; }
  .tm-footer__texto { font-size: 9.5px; }
}

/* ----------------------------------------------------- Tableta y escritorio */

@media (min-width: 640px) {
  :root {
    --tm-u: 1px;
    --tm-gutter: 24px;
  }

  .tm-header__inner { padding: 0 var(--tm-gutter); }
  .tm-brand { gap: 10px; }
  .tm-brand__logo { width: 62px; }
  .tm-brand__name { font-size: 21px; }
  .tm-header .tm-account:not(.tm-account--sesion) { font-size: 15px; gap: 9px; }
  .tm-account__svg { width: 15px; }
  .tm-menu-btn { height: 40px; width: 112px; gap: 10px; font-size: 16px; border-radius: 9px; justify-content: flex-start; }
  .tm-menu-btn__label { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
  .tm-menu-btn__icon { width: 16px; }

  .tm-menu__panel {
    top: 10px;
    width: 360px;
    padding: 20px 20px 14px;
    border-radius: 16px;
  }
  .tm-menu__caret { top: 3px; }
  .tm-menu__title { font-size: 32px; }
  .tm-menu__link { font-size: 16px; min-height: 48px; }

  .tm-footer__logo { width: 52px; }
  .tm-footer__texto { font-size: 12px; }
}

@media (min-width: 1100px) {
  :root { --tm-gutter: 32px; }
  /* Como antes: en escritorio el encabezado se desplaza con la página */
  .site-header.tm-header { position: relative; }
  .tm-brand__logo { width: 65px; }
  .tm-brand__name { font-size: 22px; }

  /* Pie: la copia invisible toma sola el .95rem de styles.css */
  .tm-footer__contenido { gap: 4px; }
  .tm-footer__logo { width: 62px; }
  .tm-footer__texto { font-size: 13px; }
}
