/* ============================================================
   Andina Web Studio — notas-de-ruta.css
   Reusa la paleta e identidad tipográfica real del sitio
   (navy / ice / gold, Cormorant Garamond + DM Sans + DM Mono).
   Hero en video, tiles de categoría, carrusel, lectura de posts.
============================================================ */

:root {
  --navy: #0A0A0A;
  --navy-deep: #000000;
  --blue: #151515;
  --sky: #A8C8E8;
  --ice: #A8C8E8;
  --white: #F5F5F5;
  --grey-mid: rgba(245, 245, 245, 0.45);
  --accent: #A8C8E8;
  --gold: #A8C8E8;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --measure: 700px;
}

* { box-sizing: border-box; }

body.nr-body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.nr-body a { color: inherit; }

/* cursor personalizado eliminado — se usa el puntero por defecto */

/* ===== Barra de progreso (páginas de post) ===== */
.nr-progress {
  position: sticky;
  top: 0;
  z-index: 400;
  height: 3px;
  width: 100%;
  background: rgba(168, 200, 232, 0.12);
}
.nr-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sky), var(--gold));
  transition: width 0.1s linear;
}

/* ===== NAV ===== */
.nr-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nr-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nr-logo svg { flex-shrink: 0; }

.nr-nav-links { display: flex; gap: 28px; align-items: center; }

@media (max-width: 900px) and (min-width: 641px) {
  .nr-nav-links { gap: 16px; }
  .nr-nav-links a { font-size: 0.68rem; }
}

.nr-nav-links a {
  color: var(--grey-mid);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.nr-nav-links a:hover { color: var(--ice); }

.nr-nav-cta {
  color: var(--navy) !important;
  background: var(--ice);
  padding: 8px 16px;
  border-radius: 30px;
}
.nr-nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* Hamburguesa + menú mobile */
.nr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nr-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nr-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nr-hamburger.open span:nth-child(2) { opacity: 0; }
.nr-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nr-mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  z-index: 499;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nr-mobile-menu.open { display: flex; }
.nr-mobile-menu a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
}
.nr-mobile-menu a:hover { color: var(--ice); }
.nr-mobile-menu a.nr-mobile-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--grey-mid);
  margin-top: -18px;
}

/* ===== HERO CINEMATOGRÁFICO ===== */
.nr-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nr-hero-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transform-origin: center;
}

.nr-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

/* Barras de letterbox — encuadre tipo cine, se retraen al hacer scroll */
.nr-hero-bar {
  position: absolute;
  left: 0; right: 0;
  height: 11vh;
  background: var(--navy-deep);
  z-index: 3;
}
.nr-hero-bar-top { top: 0; }
.nr-hero-bar-bottom { bottom: 0; }

/* Grano de película sutil */
.nr-hero-grain {
  position: absolute; inset: 0;
  z-index: 2;
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.nr-hero-center {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 5%;
  max-width: 900px;
}

.nr-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  white-space: nowrap;
}

.nr-hero-title-line { display: inline-block; will-change: transform; }
.nr-hero-title-left { margin-right: 0.32em; }

.nr-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  min-height: 1.2em;
  margin-bottom: 18px;
}
.nr-hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: var(--gold);
  margin-left: 2px;
  vertical-align: -0.1em;
  animation: nrCaretBlink 0.9s step-end infinite;
}
@keyframes nrCaretBlink { 50% { opacity: 0; } }

.nr-hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(247, 249, 252, 0.75);
  max-width: 52ch;
  margin: 0 auto;
}

.nr-scroll-cue {
  position: absolute;
  bottom: 13vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nr-scroll-cue svg { animation: nrBounce 1.8s ease-in-out infinite; }

@keyframes nrBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ===== CATEGORÍAS ===== */
.nr-categories {
  padding: 90px 5% 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.nr-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 14px;
}

.nr-categories h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 40px;
  max-width: 60ch;
}

.nr-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nr-cat-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--blue);
}

.nr-cat-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.75);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
}

.nr-cat-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%);
}

.nr-cat-tile:hover img { transform: scale(1.08); filter: saturate(1) brightness(0.85); }

.nr-cat-tile-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px;
}

.nr-cat-tile-num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.nr-cat-tile h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 6px;
  line-height: 1.1;
}

.nr-cat-tile p {
  font-size: 0.82rem;
  color: rgba(247, 249, 252, 0.7);
  margin: 0 0 10px;
  line-height: 1.4;
}

.nr-cat-tile-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ice);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nr-cat-tile.active { border-color: var(--gold); }
.nr-cat-tile.active .nr-cat-tile-link { color: var(--gold); }

.nr-cat-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-mid);
  background: none;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.nr-cat-reset.visible { opacity: 1; pointer-events: auto; }
.nr-cat-reset:hover { color: var(--ice); border-color: var(--ice); }

/* ===== CARRUSEL "ÚLTIMAS LECTURAS" ===== */
.nr-carousel-section {
  padding: 80px 0 40px;
}

.nr-carousel-head {
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto 32px;
}

.nr-carousel-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
}

.nr-swiper { padding: 0 5% 50px; }

.nr-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--blue);
  height: 100%;
}

.nr-card-img { aspect-ratio: 4/3; overflow: hidden; }
.nr-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.5s ease;
}
.nr-card:hover .nr-card-img img { transform: scale(1.05); }

.nr-card-body { padding: 20px; }

.nr-card-meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.nr-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
}

.nr-swiper .swiper-button-next,
.nr-swiper .swiper-button-prev {
  color: var(--ice);
  --swiper-navigation-size: 18px;
}

.nr-swiper .swiper-pagination-bullet { background: var(--grey-mid); opacity: 0.5; }
.nr-swiper .swiper-pagination-bullet-active { background: var(--gold); opacity: 1; }

/* ===== LISTADO COMPLETO ===== */
.nr-list-section {
  padding: 40px 5% 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.nr-entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 30px 0;
  text-decoration: none;
  color: inherit;
  align-items: baseline;
}
.nr-entry + .nr-entry { border-top: 1px solid var(--line-soft); }

.nr-entry-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-mid);
  padding-top: 5px;
}

.nr-entry-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 8px;
  transition: color 0.2s ease;
}
.nr-entry:hover .nr-entry-body h3 { color: var(--ice); }

.nr-entry-dek {
  font-size: 0.92rem;
  color: rgba(247, 249, 252, 0.65);
  margin: 0;
  max-width: 62ch;
  line-height: 1.5;
}

.nr-empty {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--grey-mid);
  padding: 40px 0;
}

/* ===== [gsap reveal helper] ===== */
.nr-reveal { opacity: 0; transform: translateY(28px); }

/* ===== PÁGINA DE POST ===== */
.nr-post-header {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 48px 5% 28px;
}

.nr-post-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-mid);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.nr-post-meta .cat { color: var(--gold); }

.nr-post-header h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 1.06;
  margin: 0 0 18px;
}

.nr-post-dek {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(247, 249, 252, 0.7);
  margin: 0;
  max-width: 60ch;
}

.nr-post-cover { max-width: 1100px; margin: 32px auto; padding: 0 5%; }
.nr-post-cover img { width: 100%; border-radius: 8px; display: block; filter: saturate(0.92); }
.nr-post-cover figcaption {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--grey-mid);
  margin-top: 10px; text-align: center;
}

/* Body del post: article centrado + TOC lateral sticky a la derecha (desktop) */
.nr-post-body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}

.nr-toc-sidebar {
  order: 2;
  width: 190px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
}

.nr-toc-title {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey-mid); margin-bottom: 14px;
}
.nr-toc-sidebar ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.nr-toc-sidebar li { font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.5; }
.nr-toc-sidebar a {
  display: block;
  text-decoration: none;
  color: var(--grey-mid);
  padding: 7px 0 7px 14px;
  border-left: 1.5px solid transparent;
  margin-left: -1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nr-toc-sidebar a:hover { color: var(--white); }
.nr-toc-sidebar a.active { color: var(--ice); border-left-color: var(--ice); }

.nr-toc-mobile-toggle { display: none; }

.nr-article {
  order: 1;
  max-width: var(--measure);
  width: 100%;
  margin: 0;
  padding: 0 0 40px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.88);
}

.nr-article h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.9rem;
  color: var(--white);
  margin: 52px 0 18px;
  scroll-margin-top: 60px;
}
.nr-article h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--white);
  margin: 38px 0 14px;
  scroll-margin-top: 60px;
}

.nr-article p { margin: 0 0 22px; }
.nr-article a { color: var(--ice); text-underline-offset: 3px; }
.nr-article a:hover { color: var(--gold); }
.nr-article ul, .nr-article ol { margin: 0 0 22px; padding-left: 1.3em; }
.nr-article li { margin-bottom: 8px; }

.nr-article figure { margin: 36px 0; }
.nr-article figure img { width: 100%; border-radius: 8px; display: block; }
.nr-article figcaption { font-family: var(--font-mono); font-size: 0.72rem; color: var(--grey-mid); margin-top: 10px; }

.nr-article blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--white);
}
.nr-article blockquote cite {
  display: block;
  font-family: var(--font-mono); font-style: normal; font-size: 0.7rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey-mid);
  margin-top: 12px;
}

.nr-article code {
  font-family: var(--font-mono); font-size: 0.86em;
  background: rgba(168, 200, 232, 0.1);
  padding: 2px 6px; border-radius: 3px;
}

.nr-article pre {
  margin: 32px 0; padding: 22px 24px;
  background: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}
.nr-article pre code { background: none; padding: 0; font-size: 0.86rem; line-height: 1.6; }

.nr-video-embed {
  position: relative; width: 100%; padding-top: 56.25%;
  margin: 36px 0; border-radius: 8px; overflow: hidden;
  background: var(--navy-deep);
}
.nr-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.nr-callout {
  margin: 32px 0; padding: 20px 24px;
  background: var(--blue);
  border-left: 2px solid var(--ice);
  border-radius: 0 6px 6px 0;
  font-size: 1rem;
}
.nr-callout strong { color: var(--gold); }

.nr-post-footer {
  max-width: var(--measure); margin: 0 auto; padding: 32px 5% 60px;
  border-top: 1px solid var(--line);
}
.nr-post-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.nr-post-tags a {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ice); text-decoration: none;
  border: 1px solid var(--sky); padding: 5px 12px; border-radius: 30px;
}
.nr-post-tags a:hover { background: var(--sky); color: var(--white); }

.nr-share { display: flex; gap: 16px; align-items: center; font-family: var(--font-mono); font-size: 0.75rem; }
.nr-share button {
  background: none; border: 1px solid var(--grey-mid); color: var(--white);
  padding: 8px 14px; border-radius: 30px; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nr-share button:hover { background: var(--ice); color: var(--navy); border-color: var(--ice); }

.nr-next { max-width: var(--measure); margin: 0 auto; padding: 0 5% 100px; }
.nr-next a { display: block; text-decoration: none; color: inherit; padding: 28px 0 0; border-top: 1px solid var(--line); }
.nr-next-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-mid); margin-bottom: 10px; }
.nr-next h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; margin: 0; }
.nr-next h4:hover { color: var(--ice); }

/* ===== FOOTER — igual al de index.html, mismas clases ===== */
footer {
  background: var(--navy);
  padding: 60px 5% 40px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 200, 232, 0.2), transparent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.footer-brand .nav-logo-text { color: var(--white); font-size: 1.2rem; font-family: var(--font-display); }
.footer-brand .nav-logo-text span { color: var(--ice); display: block; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; }

.footer-tagline {
  font-size: 0.84rem;
  color: rgba(245, 245, 245, 0.4);
  line-height: 1.8;
  font-weight: 300;
  margin-top: 16px;
  max-width: 260px;
}

.footer-tools { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.footer-tools-label {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(245, 245, 245, 0.2);
}
.footer-tools-icons { display: flex; align-items: center; gap: 10px; }
.tool-logo { width: 20px; height: 20px; object-fit: contain; opacity: 0.3; transition: opacity 0.3s; display: inline-block; }
.tool-logo:hover { opacity: 0.65; }

.footer-geo { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.footer-geo-item { display: flex; align-items: center; gap: 8px; }
.footer-geo-dot { width: 5px; height: 5px; border-radius: 50%; background: #28c840; flex-shrink: 0; animation: nrAvailPulse 2s ease-in-out infinite; }
.footer-geo-item:nth-child(2) .footer-geo-dot { animation-delay: 0.6s; }
.footer-geo-item:nth-child(3) .footer-geo-dot { animation-delay: 1.2s; }
.footer-geo-item span:last-child { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; color: rgba(245,245,245,0.3); }

@keyframes nrAvailPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(40,200,64,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(40,200,64,0); }
}

.footer-col-title {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ice); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.footer-links a { font-size: 0.84rem; color: rgba(245, 245, 245, 0.45); font-weight: 300; transition: color 0.3s; text-decoration: none; }
.footer-links a:hover { color: var(--ice); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.76rem; color: rgba(245, 245, 245, 0.25); font-weight: 300; font-family: var(--font-mono); margin: 0; }
.footer-credit { font-size: 0.76rem; color: rgba(245, 245, 245, 0.2); font-family: var(--font-mono); margin: 0; }
.footer-credit span { color: rgba(168, 200, 232, 0.4); }

.footer-payments {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 16px; flex-wrap: wrap;
}
.footer-payments-label {
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(245, 245, 245, 0.2); white-space: nowrap;
}
.footer-payments-icons { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-icon-img { height: 22px; width: auto; max-width: 64px; object-fit: contain; opacity: 0.35; transition: opacity 0.3s; filter: brightness(10); }
.pay-icon-img:hover { opacity: 0.6; }

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
  .nr-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nr-entry { grid-template-columns: 1fr; gap: 8px; }

  .nr-post-body { flex-direction: column; gap: 0; padding: 0 5%; }

  .nr-toc-sidebar {
    position: static;
    width: 100%;
    order: -1;
    margin-bottom: 8px;
  }
  .nr-toc-sidebar ol { border-left: none; display: none; padding-top: 4px; }
  .nr-toc-sidebar.open ol { display: block; }
  .nr-toc-sidebar a { border-left: none; padding-left: 0; }
  .nr-toc-sidebar a.active { color: var(--ice); }

  .nr-toc-mobile-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: 1px solid var(--line);
    color: var(--grey-mid);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin: 24px 0 0;
  }
  .nr-toc-mobile-toggle svg { transition: transform 0.2s ease; margin-left: auto; }
  .nr-toc-sidebar.open .nr-toc-mobile-toggle svg { transform: rotate(180deg); }
}

@media (max-width: 640px) {
  .nr-nav-links > a:not(.nr-nav-cta) { display: none; }
  .nr-hamburger { display: flex; }
  .nr-hero { height: 88vh; }
  .nr-hero-bar { height: 7vh; }
  .nr-hero-title { white-space: normal; }
  .nr-hero-title-left { display: block; margin-right: 0; }
  .nr-hero-title-right { display: block; }
  .nr-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nr-article { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nr-cat-tile img, .nr-card-img img, .nr-progress-fill { transition: none !important; }
  .nr-scroll-cue svg { animation: none !important; }
}
