/* =========================================================
   CUARTEL GENERAL — Hoja de estilos principal
   Identidad: sala de mapas / archivo militar de la 2ª GM
   ========================================================= */

:root {
  /* Paleta */
  --ink-black: #1b1f1c;   /* fondo principal, verde-negro búnker */
  --panel: #242923;       /* paneles/tarjetas, un tono más claro */
  --panel-2: #2c322a;     /* hover de paneles */
  --paper: #d8cfb4;       /* texto principal sobre fondo oscuro, tono papel */
  --paper-dim: #a89f88;   /* texto secundario */
  --olive: #5c6b4a;       /* bordes, divisores */
  --stamp-red: #a13d2e;   /* acento: sellos, alertas, CTA, categoría Naciones */
  --steel-blue: #6c8ca0;  /* acento: enlaces, datos */
  --stamp-teal: #3f7d78;  /* acento: categoría Mecánicas (sello "verificado") */
  --stamp-gold: #b9863f;  /* acento: categoría DLCs (sello "prioridad") */
  --stamp-plum: #7a4a6b;  /* acento: uso puntual, notas alternativas */

  /* Tipografía */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-mono: "Special Elite", "Courier New", monospace;

  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink-black);
  background-image:
    linear-gradient(rgba(27, 31, 28, 0.96), rgba(27, 31, 28, 0.98)),
    repeating-linear-gradient(45deg, rgba(216, 207, 180, 0.015) 0px, rgba(216, 207, 180, 0.015) 1px, transparent 1px, transparent 12px);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}

a { color: var(--steel-blue); }
a:focus-visible, button:focus-visible, .card:focus-visible {
  outline: 2px solid var(--stamp-red);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Selector de idioma ---------- */

.lang-switch {
  background: var(--ink-black);
  border-bottom: 1px solid var(--olive);
  padding: 6px 0;
}

.lang-switch .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.lang-switch a,
.lang-switch span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-switch .lang-current {
  color: var(--paper);
  font-weight: bold;
}

.lang-switch a {
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.lang-switch a:hover {
  color: var(--paper);
  border-color: var(--stamp-red);
}

.lang-switch .lang-sep {
  color: var(--olive);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

/* ---------- Cabecera ---------- */

.site-header {
  border-bottom: 1px solid var(--olive);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(27, 31, 28, 0.94);
  backdrop-filter: blur(4px);
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  row-gap: 12px;
}

.brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .brand-mark {
  color: var(--stamp-red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.site-nav a:hover { color: var(--paper); border-color: var(--stamp-red); }

/* ---------- Hero (portada) ---------- */

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--olive);
  position: relative;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-photo {
  position: relative;
  width: 340px;
  flex-shrink: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--olive);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
  font-family: var(--font-mono);
  color: var(--paper-dim);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 20px;
  max-width: 14ch;
}

.hero p.lede {
  max-width: 56ch;
  color: var(--paper-dim);
  font-size: 1.15rem;
}

.stamp {
  position: absolute;
  top: -18px;
  right: -16px;
  border: 3px solid var(--stamp-red);
  color: var(--stamp-red);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  transform: rotate(8deg);
  border-radius: var(--radius);
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 640px) {
  .stamp { display: none; }
  .hero-photo { width: 100%; max-width: 340px; }
}

/* ---------- Buscador ---------- */

.content-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.filters-sidebar {
  width: 270px;
  flex-shrink: 0;
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding-bottom: 24px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .content-layout {
    flex-direction: column;
    gap: 24px;
  }

  .filters-sidebar {
    width: 100%;
    position: static;
    max-height: none;
    overflow-y: visible;
    padding-bottom: 0;
  }
}

.search-block {
  margin: 0 0 8px;
}

.search-input-wrap {
  position: relative;
  max-width: 480px;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  pointer-events: none;
}

#guide-search {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--olive);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px 12px 40px;
}

#guide-search::placeholder { color: var(--paper-dim); }

#guide-search:focus {
  outline: 2px solid var(--stamp-red);
  outline-offset: 1px;
}

.search-count {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--paper-dim);
  margin-top: 8px;
  letter-spacing: 0.03em;
}

.tag-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.tag-group-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  color: var(--paper-dim);
  margin-bottom: 6px;
}

.tag-group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--paper-dim);
  background: var(--panel);
  border: 1px solid var(--olive);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.tag-chip:hover { background: var(--panel-2); color: var(--paper); }

/* Colores por tipo de etiqueta — tonos apagados para distinguir grupos de un vistazo */
.tag-color-tamano { color: #8fb0c4; }
.tag-color-tipo { color: #d1b483; }
.tag-color-nivel { color: #cf8567; }
.tag-color-region { color: #9ac086; }
.tag-color-militar { color: #7fa0b0; }
.tag-color-economico { color: #d4bb62; }
.tag-color-diplomacia { color: #bb93b0; }
.tag-color-dlc { color: #e0996a; }
.tag-color-otros { color: var(--paper-dim); }

.tag-chip.tag-color-tamano { border-color: #8fb0c4; }
.tag-chip.tag-color-tipo { border-color: #d1b483; }
.tag-chip.tag-color-nivel { border-color: #cf8567; }
.tag-chip.tag-color-region { border-color: #9ac086; }
.tag-chip.tag-color-militar { border-color: #7fa0b0; }
.tag-chip.tag-color-economico { border-color: #d4bb62; }
.tag-chip.tag-color-diplomacia { border-color: #bb93b0; }
.tag-chip.tag-color-dlc { border-color: #e0996a; }
.tag-chip.tag-color-otros { border-color: var(--olive); }

.tag-chip.active {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
  color: var(--paper);
}

.no-results {
  color: var(--paper-dim);
  font-size: 0.95rem;
  padding: 8px 0 40px;
}

.no-results[hidden] { display: none; }

/* ---------- Rejilla de expedientes (dossiers/guías) ---------- */

.section-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  font-size: 0.85rem;
  border-bottom: 1px dashed var(--olive);
  padding-bottom: 10px;
  margin: 56px 0 24px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--olive);
  border-left: 3px solid var(--stamp-red);
  border-radius: var(--radius);
  padding: 22px 22px 22px 20px;
  text-decoration: none;
  color: var(--paper);
  display: block;
  transition: background 0.15s ease, transform 0.15s ease;
}

.card:hover { background: var(--panel-2); transform: translateY(-2px); }

.card[hidden], .category-block[hidden] { display: none; }

.card .file-no {
  font-family: var(--font-mono);
  color: var(--stamp-red);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

/* Color de categoría: cada sección de la wiki tiene su propio "sello" */
.card--mecanicas { border-left-color: var(--stamp-teal); }
.card--mecanicas .file-no { color: var(--stamp-teal); }

.card--dlc { border-left-color: var(--stamp-gold); }
.card--dlc .file-no { color: var(--stamp-gold); }

.card--inicio { border-left-color: var(--stamp-plum); }
.card--inicio .file-no { color: var(--stamp-plum); }

.card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.25rem;
  margin: 0 0 10px;
}

.card p {
  color: var(--paper-dim);
  font-size: 0.95rem;
  margin: 0;
}

.card .tags {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--paper-dim);
}

/* ---------- Artículo / guía ---------- */

.article-header {
  padding: 56px 0 32px;
  border-bottom: 1px solid var(--olive);
}

.article-meta {
  font-family: var(--font-mono);
  color: var(--stamp-red);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.article-header h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 16px;
  line-height: 1.1;
}

.article-body { padding: 40px 0 60px; max-width: 68ch; }

.article-body h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.5rem;
  border-left: 4px solid var(--stamp-red);
  padding-left: 14px;
  margin: 40px 0 16px;
}

/* Color de categoría por página de artículo */
body.theme-mecanicas .article-meta { color: var(--stamp-teal); }
body.theme-mecanicas .article-body h2 { border-left-color: var(--stamp-teal); }

body.theme-dlc .article-meta { color: var(--stamp-gold); }
body.theme-dlc .article-body h2 { border-left-color: var(--stamp-gold); }

body.theme-inicio .article-meta { color: var(--stamp-plum); }
body.theme-inicio .article-body h2 { border-left-color: var(--stamp-plum); }

.article-body p { margin: 0 0 18px; color: var(--paper); }

.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; color: var(--paper); }

.callout {
  background: var(--panel);
  border-left: 4px solid var(--steel-blue);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--paper-dim);
}

.callout strong { color: var(--paper); }

/* ---------- Glosario ---------- */

.glossary { margin: 0 0 18px; }

.glossary dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--paper);
  margin-top: 22px;
  border-bottom: 1px dotted var(--olive);
  padding-bottom: 4px;
}

.glossary dt .term-abbr {
  font-family: var(--font-mono);
  color: var(--stamp-plum);
  font-size: 0.8rem;
  margin-left: 8px;
  letter-spacing: 0.03em;
}

.glossary dd {
  margin: 8px 0 0;
  color: var(--paper-dim);
}

/* ---------- Sigue leyendo (enlaces relacionados) ---------- */

.related-guides {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px dashed var(--olive);
  max-width: 68ch;
}

.related-guides .section-label {
  margin: 0 0 16px;
  border-bottom: none;
  padding-bottom: 0;
}

.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-list a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--olive);
  padding-bottom: 2px;
}

.related-list a:hover { color: var(--steel-blue); border-color: var(--steel-blue); }

.related-list a::before {
  content: "→ ";
  color: var(--stamp-red);
  font-family: var(--font-mono);
}

body.theme-mecanicas .related-list a::before { color: var(--stamp-teal); }
body.theme-dlc .related-list a::before { color: var(--stamp-gold); }
body.theme-inicio .related-list a::before { color: var(--stamp-plum); }

/* ---------- Pie ---------- */

.site-footer {
  border-top: 1px solid var(--olive);
  padding: 32px 0;
  color: var(--paper-dim);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .legal-links {
  display: flex;
  gap: 16px;
}

.site-footer a { color: var(--paper-dim); }
.site-footer a:hover { color: var(--paper); }

.paradox-disclaimer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--olive);
}

.paradox-disclaimer p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--paper-dim);
  max-width: 68ch;
}

.paradox-disclaimer a { color: var(--paper-dim); text-decoration: underline; }
.paradox-disclaimer a:hover { color: var(--paper); }

/* ---------- Categorías (portada) ---------- */

.category-block { margin-bottom: 8px; }

.category-block .section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.category-block .section-label .count {
  color: var(--paper-dim);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.category-block--naciones .section-label { border-bottom-color: var(--stamp-red); }
.category-block--mecanicas .section-label { border-bottom-color: var(--stamp-teal); }
.category-block--dlcs .section-label { border-bottom-color: var(--stamp-gold); }
.category-block--inicio .section-label { border-bottom-color: var(--stamp-plum); }

/* ---------- Iconos de categoría (SVG propios) ---------- */

.label-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.category-block--naciones .label-main .cat-icon { color: var(--stamp-red); }
.category-block--mecanicas .label-main .cat-icon { color: var(--stamp-teal); }
.category-block--dlcs .label-main .cat-icon { color: var(--stamp-gold); }
.category-block--inicio .label-main .cat-icon { color: var(--stamp-plum); }

.article-meta .cat-icon {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: 6px;
}

/* ---------- Bandera de nación (arte oficial HOI4, con permiso de Paradox) ---------- */

.nation-flag {
  display: inline-block;
  width: 44px;
  height: 30px;
  margin-bottom: 12px;
  border: 2px solid var(--paper);
  outline: 1px solid var(--ink-black);
  transform: rotate(-4deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.nation-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header .nation-flag {
  width: 62px;
  height: 42px;
  margin-bottom: 0;
  border-width: 3px;
}

/* ---------- Icono de DLC (arte oficial HOI4, con permiso de Paradox) ---------- */

.dlc-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.dlc-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-header .dlc-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
}

/* ---------- Insignia de nación (roundel histórico de aviación) ---------- */
/* Sistema anterior, ya no se usa en las páginas activas pero se conserva por si hace falta */

.nation-roundel {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  transform: rotate(-4deg);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.nation-roundel svg { display: block; width: 100%; height: 100%; }

.article-header .nation-roundel {
  width: 46px;
  height: 46px;
  margin-bottom: 0;
}

.article-header .meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
}

.article-header .meta-row .article-meta {
  margin-bottom: 0;
  min-width: 0;
  word-break: break-word;
}

/* ---------- Tabla de contenidos (artículos) ---------- */

.toc {
  clear: right;
  background: var(--panel);
  border: 1px solid var(--olive);
  border-top: 2px solid var(--stamp-red);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 32px;
  max-width: 68ch;
}

body.theme-mecanicas .toc { border-top-color: var(--stamp-teal); }
body.theme-dlc .toc { border-top-color: var(--stamp-gold); }
body.theme-inicio .toc { border-top-color: var(--stamp-plum); }

.toc .toc-title {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--paper);
}

.toc li { margin-bottom: 6px; font-size: 0.95rem; }

.toc a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--olive); }
.toc a:hover { color: var(--steel-blue); border-color: var(--steel-blue); }

/* ---------- Banner de DLC (arte oficial HOI4) ---------- */

.dlc-banner {
  max-width: 420px;
  margin: 0 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--olive);
}

.dlc-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Captura de mecánica (arte oficial HOI4) ---------- */

.mecanica-shot {
  float: right;
  width: 280px;
  margin: 4px 0 20px 28px;
  border: 1px solid var(--olive);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.mecanica-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.mecanica-shot--detallada {
  width: 340px;
}

@media (max-width: 640px) {
  .mecanica-shot,
  .mecanica-shot--detallada {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
  }
}

/* ---------- Huecos de anuncio ---------- */

.ad-slot {
  max-width: 68ch;
  margin: 32px 0;
  padding: 10px;
  border: 1px dashed var(--olive);
  border-radius: var(--radius);
  text-align: center;
}

.ad-slot .ad-label {
  display: block;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  color: var(--paper-dim);
  margin-bottom: 8px;
}

.ad-slot--wide { max-width: 1080px; }

/* ---------- Aviso de cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--panel);
  border-top: 1px solid var(--olive);
  padding: 16px 24px;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--paper-dim);
  max-width: 60ch;
}

.cookie-banner a { color: var(--steel-blue); }

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner button {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--paper);
}

.cookie-banner button.primary {
  background: var(--stamp-red);
  border-color: var(--stamp-red);
  color: var(--paper);
}

.cookie-banner button:hover { background: var(--panel-2); }
.cookie-banner button.primary:hover { background: #8a3325; }

/* ---------- Reseñas de usuarios ---------- */

.reviews-section {
  background: var(--panel);
  border-top: 1px solid var(--olive);
  padding: 0 0 56px;
}

.reviews-section .section-label { border-bottom-color: var(--stamp-plum); }
.reviews-section .label-main .cat-icon { color: var(--stamp-plum); }

.review-form { max-width: 480px; }

.review-field { margin-bottom: 20px; }

.review-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  margin-bottom: 8px;
}

.review-field input[type="email"],
.review-field textarea {
  width: 100%;
  background: var(--ink-black);
  border: 1px solid var(--olive);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 14px;
}

.review-field textarea { resize: vertical; min-height: 100px; }

.review-field input[type="email"]::placeholder,
.review-field textarea::placeholder { color: var(--paper-dim); }

.review-field input[type="email"]:focus,
.review-field textarea:focus {
  outline: 2px solid var(--stamp-red);
  outline-offset: 1px;
}

.review-honeypot { position: absolute; left: -9999px; }

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.star-rating label {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--olive);
  cursor: pointer;
  transition: color 0.15s;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--stamp-gold);
}

.star-rating input:focus-visible + label {
  outline: 2px solid var(--stamp-red);
  outline-offset: 2px;
}

.review-submit {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  padding: 12px 28px;
  background: var(--stamp-red);
  border: 1px solid var(--stamp-red);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
}

.review-submit:hover { background: #8a3325; }
.review-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.review-status {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.review-status.success { color: var(--stamp-teal); }
.review-status.error { color: var(--stamp-red); }
