/* Archivo: shared.css
   Version v1.2 - 2026-04-08
   Estilos compartidos: fuentes, variables, reset, scrollbar, corners, utilidades móvil */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&family=Inter:wght@100..900&family=Roboto+Mono:wght@300&family=Roboto:wght@100;300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --color-bg:   #f8f8f7;
  --color-text: #111;
  --color-blue: #0000ff;
}

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

html {
  scrollbar-gutter: stable;
}

/* ── Scrollbar ── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,.4); }

/* ── Corner Navigation ── */
.col-btn-corner {
  position: fixed;
  font-family: 'Roboto Mono', monospace;
  font-size: 15px !important;
  font-weight: 300;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  min-height: 24px;
  display: flex;
  align-items: center;
  z-index: 1200;
  text-decoration: none;
  transition: opacity 0.2s;
  pointer-events: auto;
}
.col-btn-corner,
.col-btn-corner * {
  color: #111 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  letter-spacing: .05em !important;
  font-size: 15px !important;
  font-family: 'Roboto Mono', monospace !important;
}
.col-btn-corner:hover,
.col-btn-corner:hover * {
  text-decoration: underline !important;
}

/* Corner positions — desktop */
.tl { top: 28px; left: 60px; }
.tr { top: 28px; right: calc(60px - (100vw - 100%)); }
.bl { bottom: 30px; left: 60px; }
.br { bottom: 30px; right: calc(60px - (100vw - 100%)); }

/* Barbar reversed-r */
.tl .rev {
  display: inline-block;
  transform: scaleX(-1);
  margin-left: -0.1em;
}

/* TL corner: sin subrayado */
.col-btn-corner.tl:hover,
.col-btn-corner.tl:hover * {
  text-decoration: none !important;
}

/* ── Visibility Utilities ── */
.desktop-only { display: inline-block; }
.mobile-only  { display: none; }

/* ── Mobile Logo ── */
.logo2-wrap img {
  height: 24px;
  width: auto;
  display: block;
}

/* ── Mobile ── */
@media (max-width: 800px) {
  .desktop-only { display: none; }
  .mobile-only  { display: block; }

  /* Corner positions — mobile */
  .tl, .bl { left: 25px; }
  .tr, .br  { right: calc(25px - (100vw - 100%)); }

  .bl, .br {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    bottom: 30px;
    top: auto;
  }
  .br { align-items: flex-end; }

  /* Mobile footer link stack */
  .footer-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .footer-links-vertical a {
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    text-align: right;
  }
  .footer-links-vertical a:hover {
    text-decoration: underline;
  }
}
