/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:          #0b0d10;
  --bg-raised:   #14171c;
  --bg-card:     #181c22;
  --bg-card-hi:  #1e232b;
  --line:        #262c34;
  --line-soft:   #1c2128;

  --ink:         #f1efe7;
  --ink-soft:    #b7bcc4;
  --ink-faint:   #767d87;

  --volt:        #c8f04d;
  --volt-ink:    #10130a;
  --volt-soft:   rgba(200, 240, 77, .14);

  --amber:       #ff9a44;
  --amber-soft:  rgba(255, 154, 68, .16);

  --danger:      #ff6b6b;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 40px -24px rgba(0,0,0,.6);
  --shadow-pop:  0 30px 60px -20px rgba(0,0,0,.55);

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --container: 1280px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background-image:
    radial-gradient(900px 500px at 12% -10%, rgba(200,240,77,.06), transparent 60%),
    radial-gradient(700px 480px at 100% 0%, rgba(255,154,68,.05), transparent 55%);
  background-repeat: no-repeat;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--volt); color: var(--volt-ink); }

:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--volt); color: var(--volt-ink);
  border-radius: var(--radius-sm); font-weight: 600; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.mono { font-family: var(--mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--volt);
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================================
   4. Typography
   ============================================================= */
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.25rem; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.prose { max-width: 72ch; color: var(--ink-soft); }
.prose h2 { color: var(--ink); margin-top: 2.2em; margin-bottom: .6em; }
.prose h3 { color: var(--ink); margin-top: 1.6em; margin-bottom: .5em; font-size: 1.1rem; }
.prose p { margin-bottom: 1.1em; }
.prose ul, .prose ol { margin: 0 0 1.1em 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--volt); text-decoration: underline; text-underline-offset: .2em; }

/* =============================================================
   5. Buttons & badges
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease-out), background .25s var(--ease-out), color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn svg { flex: none; width: 1em; height: 1em; }
.btn-buy, .btn-primary {
  background: var(--volt); color: var(--volt-ink);
  box-shadow: 0 10px 24px -12px rgba(200,240,77,.5);
}
.btn-buy:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(200,240,77,.6); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-faint); background: var(--bg-card-hi); }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.badge {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .7em; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
  background: var(--bg-card-hi); color: var(--ink-soft); border: 1px solid var(--line);
}
.badge-featured { background: var(--volt-soft); color: var(--volt); border-color: transparent; }
.badge-offer { background: var(--amber-soft); color: var(--amber); border-color: transparent; }

/* =============================================================
   6. Header / nav
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { color: var(--volt); display: inline-flex; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; }

.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a { font-size: .93rem; color: var(--ink-soft); transition: color .2s var(--ease-out); padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active { border-color: var(--volt); }
.nav-links a.nav-cta, .nav-links a.nav-cta:hover {
  color: var(--volt-ink); background: var(--volt); padding: .55rem 1.1rem; border-radius: 999px;
  border-bottom: 0; font-weight: 600;
}

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease-out), opacity .25s var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: .1rem; padding: .5rem var(--gutter) 1.2rem;
  border-top: 1px solid var(--line-soft);
}
.mobile-nav a { padding: .8rem .2rem; color: var(--ink-soft); border-bottom: 1px solid var(--line-soft); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav.is-open { display: flex; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* =============================================================
   7. Hero & sections
   ============================================================= */
.hero {
  padding-block: clamp(2.6rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid { display: grid; gap: 2.2rem; align-items: end; }
.hero h1 { margin-block: .6rem 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line-soft); }
.hero-stat b { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--volt); }
.hero-stat span { font-size: .85rem; color: var(--ink-faint); }

.section { padding-block: clamp(2.4rem, 6vw, 4.5rem); }
.section-tight { padding-block: clamp(1.6rem, 4vw, 2.6rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.section-head .lede { margin-top: .5rem; }
.section-head .btn { flex: none; }
.section-border-top { border-top: 1px solid var(--line-soft); }
.section-alt { background: var(--bg-raised); }

/* =============================================================
   8. Filter tabs (home: bicis / tech)
   ============================================================= */
.filter-tabs { display: inline-flex; gap: .3rem; padding: .3rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: 999px; }
.filter-tabs a {
  padding: .55rem 1.15rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  transition: background .2s var(--ease-out), color .2s var(--ease-out);
}
.filter-tabs a:hover { color: var(--ink); }
.filter-tabs a.is-active { background: var(--volt); color: var(--volt-ink); }
.filter-tabs a .count { opacity: .7; font-weight: 500; margin-left: .3em; }

/* =============================================================
   9. Grid & product cards
   ============================================================= */
.grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-tight { gap: 1rem; }

.card {
  display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-out), border-color .3s var(--ease-out);
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--volt) 40%, var(--line)); }
.card-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--bg-raised); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .3em .7em; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  background: var(--volt); color: var(--volt-ink);
}
.card-tag-offer { left: auto; right: .7rem; background: var(--amber); color: #211200; }
.card-tag + .card-tag-offer { top: .7rem; }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.card-cat { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.card-title { font-size: 1.05rem; line-height: 1.3; }
.card-title a:hover { color: var(--volt); }
.card-price { margin-top: auto; padding-top: .4rem; }
.card-actions { display: flex; gap: .6rem; margin-top: .5rem; }
.card-actions .btn { flex: 1; }

.empty-state {
  text-align: center; padding: 3.5rem 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--ink-faint);
}
.empty-state h3 { color: var(--ink-soft); margin-bottom: .5rem; }

/* =============================================================
   10. Price / stars
   ============================================================= */
.price-block { display: inline-flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price-now { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.price-was { font-size: .88rem; color: var(--ink-faint); text-decoration: line-through; }
.price-badge { font-size: .74rem; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: .2em .55em; border-radius: 6px; }
.price-na { font-size: .95rem; color: var(--ink-faint); font-style: italic; }
.price-date { display: block; font-size: .74rem; color: var(--ink-faint); margin-top: .25rem; }

.stars { display: inline-flex; align-items: center; gap: .5em; font-size: .88rem; }
.stars-track { position: relative; display: inline-block; font-size: .95rem; letter-spacing: .1em; color: var(--line); white-space: nowrap; }
.stars-fill { position: absolute; inset: 0; overflow: hidden; color: var(--volt); white-space: nowrap; }
.stars-num { font-weight: 700; color: var(--ink); }
.stars-count { color: var(--ink-faint); }

/* =============================================================
   11. "Cómo elegimos" trust block + category cards
   ============================================================= */
.trust-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.trust-card { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.trust-card .num { font-family: var(--serif); font-size: 1.6rem; color: var(--volt); display: block; margin-bottom: .4rem; }

.category-cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.category-card {
  display: flex; flex-direction: column; gap: .3rem; padding: 1.4rem 1.3rem; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--bg-card-hi), var(--bg-card)); border: 1px solid var(--line);
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.category-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--volt) 45%, var(--line)); }
.category-card .cat-name { font-family: var(--serif); font-size: 1.2rem; }
.category-card .cat-count { font-size: .82rem; color: var(--ink-faint); }

/* =============================================================
   12. Ficha (product page)
   ============================================================= */
.ficha-top { display: grid; gap: 2.4rem; }
@media (min-width: 960px) { .ficha-top { grid-template-columns: 1.1fr 1fr; align-items: start; } }

.gallery-main { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery-thumbs button { width: 68px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button.is-active { opacity: 1; border-color: var(--volt); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.ficha-head-meta { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.ficha-brand { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.ficha-price-box { margin-top: 1.3rem; padding: 1.3rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.ficha-buy-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.1rem; }
.ideal-para {
  margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--volt-soft); border-left: 3px solid var(--volt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem;
}

.radar-wrap { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1.6rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.radar-caption { font-size: .8rem; color: var(--ink-faint); text-align: center; }
.radar-legend { display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center; font-size: .8rem; }
.radar-legend .dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .4em; vertical-align: middle; }

.spec-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { min-width: 100%; }
.spec-table caption { text-align: left; padding: .9rem 1.1rem; font-family: var(--serif); font-size: 1.05rem; background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td { text-align: left; padding: .75rem 1.1rem; font-size: .92rem; }
.spec-table th { font-weight: 500; color: var(--ink-faint); width: 45%; }
.spec-table td { font-family: var(--mono); color: var(--ink); }
.spec-table td.na { color: var(--ink-faint); font-family: var(--sans); }

.pros-cons { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 720px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pc-col { padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-card); }
.pc-col h3 { display: flex; align-items: center; gap: .5em; font-size: 1rem; margin-bottom: .8rem; }
.pc-col.pros h3 { color: var(--volt); }
.pc-col.contras h3 { color: var(--amber); }
.pc-col h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.pc-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.pc-col li { display: flex; gap: .6em; font-size: .92rem; color: var(--ink-soft); }
.pc-col li svg { width: 1.1em; height: 1.1em; flex: none; margin-top: .15em; }
.pc-col.pros li svg { color: var(--volt); }
.pc-col.contras li svg { color: var(--amber); }

.reviews-summary { padding: 1.2rem 1.3rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .93rem; color: var(--ink-soft); }
.review-card { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); }
.review-head { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--ink-faint); margin-bottom: .5rem; }

.similar-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* =============================================================
   13. Comparador
   ============================================================= */
.comparator-picker { padding: 1.4rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.comparator-picker-grid { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 1rem; }
.compare-check {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s;
}
.compare-check:has(input:checked) { border-color: var(--volt); background: var(--volt-soft); }
.compare-check img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex: none; }
.compare-check .name { font-size: .85rem; line-height: 1.3; }

.comparator-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 2rem; }
.comparator-table { min-width: 720px; }
.comparator-table th, .comparator-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: .9rem; vertical-align: top; }
.comparator-table thead th { background: var(--bg-raised); position: sticky; top: 0; }
.comparator-table th.row-label { text-align: left; color: var(--ink-faint); font-weight: 500; width: 200px; }
.comparator-table td { font-family: var(--mono); text-align: center; }
.comparator-table td.best { color: var(--volt); font-weight: 700; position: relative; }
.comparator-table .col-head { text-align: center; font-family: var(--sans); }
.comparator-table .col-head img { width: 100%; max-width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); margin: 0 auto .6rem; }
.comparator-table .col-head .name { font-size: .88rem; font-weight: 600; display: block; margin-bottom: .5rem; }
.comparator-table .remove-link { font-size: .74rem; color: var(--ink-faint); text-decoration: underline; }

.comparator-radar { display: flex; justify-content: center; padding: 2rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 1.5rem; }

/* =============================================================
   14. Filters bar (categoria.php)
   ============================================================= */
.filters-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.6rem; }
.filters-bar select, .filters-bar .btn-ghost { font-size: .85rem; }
.filters-bar select {
  padding: .6rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink);
}
.results-count { font-size: .85rem; color: var(--ink-faint); margin-left: auto; }

/* =============================================================
   15. Forms (admin + generic)
   ============================================================= */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.field .hint { font-size: .78rem; color: var(--ink-faint); }
.field input[type=text], .field input[type=number], .field input[type=url], .field input[type=password],
.field input[type=email], .field select, .field textarea {
  padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-raised); color: var(--ink); width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; font-family: var(--mono); font-size: .88rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--volt); }
.checkbox-field { display: flex; align-items: center; gap: .6rem; flex-direction: row; }
.checkbox-field input { width: 1.1rem; height: 1.1rem; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.fieldset legend { padding: 0 .5rem; font-family: var(--serif); font-size: 1.05rem; }
.form-actions { display: flex; gap: .8rem; margin-top: .5rem; }
.form-msg { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .88rem; }
.form-msg-error { background: rgba(255,107,107,.12); color: var(--danger); border: 1px solid rgba(255,107,107,.3); }
.form-msg-ok { background: var(--volt-soft); color: var(--volt); border: 1px solid transparent; }

/* =============================================================
   16. Admin shell
   ============================================================= */
.admin-body { background: var(--bg); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-side {
  width: 230px; flex: none; background: var(--bg-raised); border-right: 1px solid var(--line-soft);
  padding: 1.4rem 1.1rem; display: flex; flex-direction: column; gap: .3rem;
}
.admin-side .brand { margin-bottom: 1.2rem; }
.admin-side a { padding: .65rem .8rem; border-radius: var(--radius-sm); color: var(--ink-soft); font-size: .92rem; }
.admin-side a:hover { background: var(--bg-card); color: var(--ink); }
.admin-side a.is-active { background: var(--volt-soft); color: var(--volt); font-weight: 600; }
.admin-main { flex: 1; padding: 2rem clamp(1.2rem, 3vw, 2.6rem); max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-card { width: 100%; max-width: 380px; padding: 2.2rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); }
.login-card .brand { justify-content: center; margin-bottom: 1.6rem; }

.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { min-width: 720px; }
.admin-table th, .admin-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); font-size: .88rem; text-align: left; vertical-align: middle; }
.admin-table thead th { background: var(--bg-raised); color: var(--ink-faint); font-weight: 600; }
.admin-table img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.admin-table .row-actions { display: flex; gap: .6rem; }
.admin-table .row-actions a, .admin-table .row-actions button { font-size: .82rem; color: var(--ink-faint); }
.admin-table .row-actions a:hover { color: var(--volt); }
.admin-table .row-actions .danger:hover { color: var(--danger); }

.stat-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.stat-box { flex: 1; min-width: 150px; padding: 1.2rem 1.3rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); }
.stat-box .num { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--volt); }
.stat-box .label { font-size: .8rem; color: var(--ink-faint); }

/* =============================================================
   17. Disclosure strip & footer
   ============================================================= */
.disclosure-strip { background: var(--bg-raised); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-block: 1.1rem; }
.disclosure-strip p { font-size: .78rem; color: var(--ink-faint); line-height: 1.6; }
.disclosure-strip a { text-decoration: underline; color: var(--ink-soft); }

.site-footer { padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-tagline { margin-top: .8rem; font-size: .88rem; color: var(--ink-faint); max-width: 34ch; }
.footer-col h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); margin-bottom: .9rem; }
.footer-col { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .88rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--volt); }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--ink-faint); }

/* =============================================================
   18. Guide / ranking pages
   ============================================================= */
.guide-hero { padding-block: clamp(2rem, 5vw, 3.5rem) 1.5rem; border-bottom: 1px solid var(--line-soft); }
.guide-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-faint); margin-top: .8rem; }
.guide-layout { display: grid; gap: 2.4rem; }
@media (min-width: 1024px) { .guide-layout { grid-template-columns: 1fr 300px; align-items: start; } }
.guide-toc { position: sticky; top: 6rem; padding: 1.3rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); font-size: .88rem; }
.guide-toc h3 { font-size: .95rem; margin-bottom: .7rem; }
.guide-toc ol { list-style: decimal; margin-left: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.guide-toc a { color: var(--ink-soft); }
.guide-toc a:hover { color: var(--volt); }
.shortlist-item { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card); margin-bottom: 1rem; }
.shortlist-item img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); }
.shortlist-rank { font-family: var(--serif); font-size: 1.6rem; color: var(--volt); }

.faq-item { border-bottom: 1px solid var(--line-soft); padding-block: 1.1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--volt); font-size: 1.3rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: .8rem; color: var(--ink-soft); }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 540px)  { .hero-grid { grid-template-columns: 1fr; } }
@media (min-width: 720px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .grid { grid-template-columns: repeat(3, 1fr); } .hero-grid { grid-template-columns: 1.3fr .7fr; } }
@media (min-width: 1280px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================
   20. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition-duration: .01s; }
}
