/*
Theme Name: Navy Mentor Pro
Theme URI: https://navymentor.org/
Author: Navy Mentor Editorial
Author URI: https://navymentor.org/
Description: A premium, fully dynamic affiliate theme for NavyMentor.org. Tactical command-center aesthetic with immersive Navy career-planning tools, archetype personalization, readiness calculators, fitness visualizers, deployment packing, leadership prioritizer, study planner, journey tracker, tactical gear database, daily discipline generator, comparison tables, schema, EEAT trust, premium product boxes, AJAX, localStorage personalization, and the Amazon affiliate system using tag rcblogs-20.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: navy-mentor
Tags: affiliate, military, navy, tactical, premium, full-site-editing, block-styles, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
 * 01 · CORE TOKENS
 * ============================================================ */
:root {
  --nvm-deep-navy: #0a1128;
  --nvm-command-blue: #001f54;
  --nvm-tactical-blue: #034078;
  --nvm-steel-aqua: #1282a2;
  --nvm-white: #fefcfb;
  --nvm-gold: #d4af37;
  --nvm-gold-soft: #e9c66a;
  --nvm-ink: #0a1128;
  --nvm-ink-2: #1a2238;
  --nvm-muted: #6b7693;
  --nvm-line: rgba(255,255,255,.08);
  --nvm-line-strong: rgba(255,255,255,.16);
  --nvm-glow: 0 0 0 1px rgba(212,175,55,.35), 0 10px 40px rgba(1,12,40,.55);
  --nvm-glass: rgba(10,17,40,0.55);
  --nvm-glass-light: rgba(255,255,255,0.04);
  --nvm-radius-sm: 8px;
  --nvm-radius: 14px;
  --nvm-radius-lg: 22px;
  --nvm-radius-xl: 32px;
  --nvm-shadow-sm: 0 4px 14px rgba(0,0,0,.18);
  --nvm-shadow: 0 14px 36px rgba(1,12,40,.32);
  --nvm-shadow-lg: 0 24px 60px rgba(1,12,40,.42);
  --nvm-grad-cmd: linear-gradient(135deg, #001f54 0%, #034078 50%, #1282a2 100%);
  --nvm-grad-gold: linear-gradient(135deg, #d4af37 0%, #e9c66a 60%, #b78c1c 100%);
  --nvm-grad-night: linear-gradient(180deg, #0a1128 0%, #001f54 100%);
  --nvm-font-display: "Rajdhani", "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nvm-font-body: "Inter", "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nvm-tracking: 0.04em;
  --nvm-tracking-wide: 0.18em;
  --nvm-container: 1240px;
  --nvm-container-wide: 1400px;
}

/* ============================================================
 * 02 · GLOBAL RESET / BASE
 * ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nvm-white);
  color: var(--nvm-ink);
  font-family: var(--nvm-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--nvm-tactical-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--nvm-gold); }
button { font: inherit; cursor: pointer; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--nvm-font-display);
  font-weight: 700;
  letter-spacing: var(--nvm-tracking);
  color: var(--nvm-ink);
  margin: 0 0 .6em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { margin: 0 0 1em; }

/* Universal hidden-attribute defense */
[hidden] { display: none !important; }

/* ============================================================
 * 03 · LAYOUT HELPERS
 * ============================================================ */
.nvm-container { max-width: var(--nvm-container); margin: 0 auto; padding: 0 24px; }
.nvm-container-wide { max-width: var(--nvm-container-wide); margin: 0 auto; padding: 0 24px; }
.nvm-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--nvm-font-display);
  text-transform: uppercase;
  letter-spacing: var(--nvm-tracking-wide);
  font-size: 12px;
  color: var(--nvm-gold);
  font-weight: 600;
}
.nvm-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--nvm-gold);
}
.nvm-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.nvm-section--dark { background: var(--nvm-grad-night); color: var(--nvm-white); }
.nvm-section--dark h1, .nvm-section--dark h2, .nvm-section--dark h3 { color: var(--nvm-white); }
.nvm-section--dark .nvm-eyebrow { color: var(--nvm-gold); }
.nvm-section--ink { background: var(--nvm-deep-navy); color: var(--nvm-white); }
.nvm-section--ink h1, .nvm-section--ink h2, .nvm-section--ink h3 { color: var(--nvm-white); }

/* ============================================================
 * 04 · BUTTONS
 * ============================================================ */
.nvm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--nvm-font-display);
  text-transform: uppercase;
  letter-spacing: var(--nvm-tracking-wide);
  font-weight: 600; font-size: 14px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none;
  line-height: 1;
}
.nvm-btn:hover { transform: translateY(-2px); }
.nvm-btn--gold { background: var(--nvm-grad-gold); color: #1a1303; box-shadow: 0 10px 26px rgba(212,175,55,.35); }
.nvm-btn--gold:hover { color: #1a1303; box-shadow: 0 14px 34px rgba(212,175,55,.5); }
.nvm-btn--ghost { background: transparent; color: var(--nvm-white); border-color: rgba(255,255,255,.35); }
.nvm-btn--ghost:hover { background: rgba(255,255,255,.08); color: var(--nvm-white); }
.nvm-btn--solid { background: var(--nvm-tactical-blue); color: var(--nvm-white); }
.nvm-btn--solid:hover { background: var(--nvm-command-blue); color: var(--nvm-white); }
.nvm-btn--block { width: 100%; }
.nvm-btn--sm { padding: 10px 18px; font-size: 12px; }

/* ============================================================
 * 05 · TACTICAL OVERLAYS / ANIMATIONS
 * ============================================================ */
.nvm-radar {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(18,130,162,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,.10), transparent 45%);
  z-index: 0;
}
.nvm-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 75%);
  z-index: 0;
}
.nvm-blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .12;
  background-image:
    linear-gradient(rgba(18,130,162,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,130,162,.6) 1px, transparent 1px);
  background-size: 28px 28px;
}
.nvm-radar-sweep {
  position: absolute; width: 540px; height: 540px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(212,175,55,.0) 0deg, rgba(212,175,55,.18) 80deg, rgba(212,175,55,.0) 180deg);
  animation: nvm-spin 12s linear infinite;
  pointer-events: none; z-index: 0; opacity: .5;
}
@keyframes nvm-spin { to { transform: rotate(360deg); } }
@keyframes nvm-pulse { 0%,100% { opacity:.4 } 50% { opacity: 1 } }
@keyframes nvm-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nvm-slide-in { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes nvm-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
 * 06 · SITE HEADER + NAV
 * ============================================================ */
.nvm-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,17,40,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nvm-line);
  color: var(--nvm-white);
}
.nvm-site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--nvm-container-wide); margin: 0 auto;
}
.nvm-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--nvm-font-display); font-size: 18px; font-weight: 700; color: var(--nvm-white); letter-spacing: var(--nvm-tracking-wide); text-transform: uppercase; }
.nvm-brand:hover { color: var(--nvm-gold); }
.nvm-brand__mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--nvm-grad-gold);
  display: grid; place-items: center;
  color: #1a1303; font-weight: 800;
  box-shadow: var(--nvm-shadow-sm);
}
.nvm-nav { display: flex; align-items: center; gap: 8px; }
.nvm-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nvm-nav__list a {
  color: rgba(255,255,255,.78);
  padding: 10px 14px;
  border-radius: 999px;
  font-family: var(--nvm-font-display);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: var(--nvm-tracking-wide);
}
.nvm-nav__list a:hover, .nvm-nav__list .current-menu-item a { background: rgba(255,255,255,.08); color: var(--nvm-white); }
.nvm-nav__cta { margin-left: 8px; }

/* Burger button */
.nvm-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--nvm-line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--nvm-white);
  position: relative; z-index: 60;
}
.nvm-burger span { display: block; width: 20px; height: 2px; background: var(--nvm-white); margin: 4px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nvm-nav.is-open .nvm-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nvm-nav.is-open .nvm-burger span:nth-child(2) { opacity: 0; }
.nvm-nav.is-open .nvm-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile breakpoint: 900px */
@media (max-width: 900px) {
  .nvm-nav__list { display: none; }
  .nvm-burger { display: inline-flex; flex-direction: column; }
  .nvm-nav__cta { display: none; }
  .nvm-nav.is-open .nvm-nav__list {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    background: var(--nvm-deep-navy);
    padding: 90px 22px 24px;
    gap: 6px;
    border-left: 1px solid var(--nvm-line);
    box-shadow: -20px 0 60px rgba(0,0,0,.45);
    z-index: 49;
    overflow-y: auto;
    animation: nvm-slide-in .25s ease both;
  }
  .nvm-nav.is-open .nvm-nav__list a {
    font-size: 16px; padding: 14px 16px;
    border-bottom: 1px solid var(--nvm-line);
    border-radius: 0;
  }
  .nvm-nav.is-open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,0,0,.55); z-index: 48;
    animation: nvm-fade-in .2s ease both;
  }
  body.nvm-nav-open { overflow: hidden; }
}

/* WP admin-bar offset on sticky header */
.admin-bar .nvm-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nvm-site-header { top: 46px; } }

/* ============================================================
 * 07 · HERO
 * ============================================================ */
.nvm-hero {
  position: relative;
  min-height: 92vh;
  background: var(--nvm-grad-night);
  color: var(--nvm-white);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
/* Hero text colors — explicit white so they don't inherit dark heading color */
.nvm-hero, .nvm-hero h1, .nvm-hero h2, .nvm-hero h3, .nvm-hero h4 { color: var(--nvm-white); }
.nvm-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(18,130,162,.35), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(212,175,55,.18), transparent 50%),
    linear-gradient(180deg, #050a1c 0%, #0a1128 60%, #001f54 100%);
}
.nvm-hero__inner {
  position: relative; z-index: 2;
  max-width: var(--nvm-container-wide); margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1.15fr .9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .nvm-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 20px 80px; } }
.nvm-hero__title {
  color: var(--nvm-white);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nvm-hero__title em {
  font-style: normal;
  background: var(--nvm-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding: 0 .04em;
}
.nvm-hero__sub { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 580px; margin-bottom: 28px; }
.nvm-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.nvm-hero__quickstart {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; max-width: 600px;
  margin-bottom: 28px;
}
.nvm-hero__quickstart a {
  display: block; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--nvm-line);
  color: rgba(255,255,255,.85);
  font-family: var(--nvm-font-display); font-size: 12px; text-transform: uppercase; letter-spacing: var(--nvm-tracking);
  text-align: center;
}
.nvm-hero__quickstart a:hover { background: rgba(212,175,55,.12); border-color: rgba(212,175,55,.4); color: var(--nvm-white); }
.nvm-hero__badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: rgba(255,255,255,.7); font-size: 13px; }
.nvm-hero__badges span { display: inline-flex; align-items: center; gap: 6px; }
.nvm-hero__badges span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--nvm-gold); box-shadow: 0 0 0 4px rgba(212,175,55,.15); }
.nvm-hero__disclosure { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.55); }

.nvm-hero__panel {
  position: relative;
  padding: 28px;
  background: var(--nvm-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--nvm-line-strong);
  border-radius: var(--nvm-radius-lg);
  box-shadow: var(--nvm-glow);
}
.nvm-hero__panel-title {
  font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide);
  font-size: 12px; color: var(--nvm-gold); margin-bottom: 8px;
}
.nvm-hero__panel h3 { color: var(--nvm-white); font-size: 1.4rem; margin-bottom: 14px; }
.nvm-hero__panel ul { list-style: none; margin: 0; padding: 0; }
.nvm-hero__panel li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px dashed var(--nvm-line);
  font-size: 14px;
}
.nvm-hero__panel li:last-child { border-bottom: none; }
.nvm-hero__panel .nvm-tag {
  display: inline-block; font-family: var(--nvm-font-display);
  text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide);
  font-size: 10px; padding: 4px 8px; border-radius: 6px;
  background: rgba(212,175,55,.18); color: var(--nvm-gold);
}

/* ============================================================
 * 08 · SECTION HEADERS
 * ============================================================ */
.nvm-shead { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.nvm-shead h2 { margin-bottom: 12px; }
.nvm-shead p { color: var(--nvm-muted); }
.nvm-section--dark .nvm-shead p, .nvm-section--ink .nvm-shead p { color: rgba(255,255,255,.7); }

/* ============================================================
 * 09 · ARCHETYPE CARDS
 * ============================================================ */
.nvm-arch-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.nvm-arch-card {
  position: relative;
  padding: 22px;
  border-radius: var(--nvm-radius);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--nvm-line-strong);
  color: var(--nvm-white);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
  cursor: pointer;
  text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.nvm-arch-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(212,175,55,.0), rgba(18,130,162,.0));
  transition: background .25s ease; pointer-events: none;
}
.nvm-arch-card:hover { transform: translateY(-4px); border-color: rgba(212,175,55,.45); }
.nvm-arch-card:hover::before { background: linear-gradient(135deg, rgba(212,175,55,.06), rgba(18,130,162,.08)); }
.nvm-arch-card.is-active { border-color: var(--nvm-gold); box-shadow: 0 0 0 1px rgba(212,175,55,.4), 0 14px 36px rgba(0,0,0,.35); }
.nvm-arch-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--nvm-grad-gold); color: #1a1303;
  display: grid; place-items: center; font-weight: 800;
  box-shadow: var(--nvm-shadow-sm);
}
.nvm-arch-card__title { font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking); font-size: 1.05rem; }
.nvm-arch-card__desc { font-size: 13px; color: rgba(255,255,255,.7); }
.nvm-arch-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.nvm-arch-card__tags span {
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--nvm-tracking);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
  font-family: var(--nvm-font-display); font-weight: 600;
}

/* ============================================================
 * 10 · KIT BUNDLES
 * ============================================================ */
.nvm-kit-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.nvm-kit-card {
  background: var(--nvm-white);
  border-radius: var(--nvm-radius-lg);
  padding: 24px;
  box-shadow: var(--nvm-shadow);
  border: 1px solid rgba(10,17,40,.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.nvm-kit-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--nvm-grad-cmd); opacity: .08;
}
.nvm-kit-card__badge {
  align-self: flex-start;
  padding: 6px 10px; border-radius: 6px;
  background: rgba(212,175,55,.18); color: #6b4d05;
  font-family: var(--nvm-font-display);
  text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide);
  font-size: 10px; font-weight: 700;
}
.nvm-kit-card h3 { font-size: 1.2rem; margin: 4px 0; }
.nvm-kit-card ul { list-style: none; padding: 0; margin: 6px 0 0; }
.nvm-kit-card ul li { padding: 6px 0; font-size: 14px; color: var(--nvm-ink-2); border-bottom: 1px dashed rgba(10,17,40,.08); display: flex; align-items: center; gap: 8px; }
.nvm-kit-card ul li:last-child { border-bottom: none; }
.nvm-kit-card ul li::before { content: "▸"; color: var(--nvm-gold); font-weight: 700; }

/* ============================================================
 * 11 · TOOL FRAME
 * ============================================================ */
.nvm-tool {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--nvm-line-strong);
  border-radius: var(--nvm-radius-xl);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--nvm-shadow-lg);
  position: relative;
  overflow: hidden;
}
.nvm-tool--light {
  background: var(--nvm-white);
  border-color: rgba(10,17,40,.08);
  color: var(--nvm-ink);
}
.nvm-tool__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.nvm-tool__head h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.nvm-tool__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(212,175,55,.16); color: var(--nvm-gold);
  font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide); font-size: 11px;
}
.nvm-tool--light .nvm-tool__chip { color: #6b4d05; }

/* ============================================================
 * 12 · QUIZ
 * ============================================================ */
.nvm-quiz__progress { height: 6px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.nvm-quiz__progress span { display: block; height: 100%; background: var(--nvm-grad-gold); width: 0%; transition: width .35s ease; }
.nvm-quiz__step { display: none; animation: nvm-rise .4s ease both; }
.nvm-quiz__step.is-active { display: block; }
.nvm-quiz__q { font-family: var(--nvm-font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-bottom: 18px; color: var(--nvm-white); }
.nvm-tool--light .nvm-quiz__q { color: var(--nvm-ink); }
.nvm-quiz__opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nvm-quiz__opt {
  text-align: left;
  background: rgba(255,255,255,.04); border: 1px solid var(--nvm-line-strong);
  color: var(--nvm-white); padding: 14px 16px; border-radius: 12px;
  font-family: var(--nvm-font-display); letter-spacing: var(--nvm-tracking);
  display: flex; align-items: center; gap: 10px; transition: all .2s;
}
.nvm-quiz__opt:hover, .nvm-quiz__opt.is-selected { border-color: var(--nvm-gold); background: rgba(212,175,55,.1); }
.nvm-quiz__opt::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); }
.nvm-quiz__opt.is-selected::before { background: var(--nvm-gold); border-color: var(--nvm-gold); }
.nvm-quiz__nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 10px; flex-wrap: wrap; }
.nvm-quiz__result { display: none; }
/* !important here BEATS the universal `[hidden] !important` rule via higher specificity.
 * Even if JS forgets to remove the hidden attribute, the result still reveals. */
.nvm-quiz__result.is-open { display: block !important; animation: nvm-rise .5s ease both; }
.nvm-quiz__result h3 {
  font-size: 1.6rem;
  color: var(--nvm-gold);
  font-family: var(--nvm-font-display);
  text-transform: uppercase;
  letter-spacing: var(--nvm-tracking-wide);
}
.nvm-quiz__result-card {
  background: linear-gradient(135deg, rgba(212,175,55,.12), rgba(18,130,162,.10));
  border: 1px solid var(--nvm-gold);
  box-shadow: 0 0 0 1px rgba(212,175,55,.25), 0 24px 60px rgba(0,0,0,.4);
  border-radius: var(--nvm-radius-lg);
  padding: 28px;
  margin-top: 18px;
  animation: nvm-rise .6s ease .1s both;
}
.nvm-quiz__result-card h4 { color: var(--nvm-white); }
.nvm-quiz__result-card p { color: rgba(255,255,255,.85); margin: 0; }

/* ============================================================
 * 13 · CALCULATOR / TOOL INPUTS + RESULTS
 * ============================================================ */
.nvm-input-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nvm-field { display: flex; flex-direction: column; gap: 6px; }
.nvm-field label { font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide); font-size: 11px; color: rgba(255,255,255,.7); }
.nvm-tool--light .nvm-field label { color: var(--nvm-muted); }
.nvm-field input[type="range"] { width: 100%; }
.nvm-field input[type="number"], .nvm-field select, .nvm-field input[type="text"], .nvm-field input[type="email"] {
  width: 100%; padding: 12px 14px;
  border-radius: 10px; border: 1px solid var(--nvm-line-strong);
  background: rgba(255,255,255,.06); color: var(--nvm-white); font: inherit;
}
.nvm-tool--light .nvm-field input, .nvm-tool--light .nvm-field select {
  background: #f7f9fc; border-color: rgba(10,17,40,.1); color: var(--nvm-ink);
}
.nvm-range-val { font-family: var(--nvm-font-display); color: var(--nvm-gold); font-weight: 700; }

.nvm-result {
  display: none; margin-top: 24px;
  padding: 24px; border-radius: var(--nvm-radius-lg);
  background: rgba(255,255,255,.06); border: 1px solid var(--nvm-line-strong);
  animation: nvm-rise .4s ease both;
}
/* !important + selector specificity (0,2,0) beats the universal `[hidden] !important`
 * (0,1,0). This way the reveal works even if the JS forgets to remove `hidden`. */
.nvm-result.is-open { display: block !important; }
.nvm-tool--light .nvm-result { background: #f7f9fc; border-color: rgba(10,17,40,.08); }
.nvm-result__score {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--nvm-font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--nvm-gold);
}
.nvm-result__score small { font-size: 1rem; color: rgba(255,255,255,.6); }
.nvm-tool--light .nvm-result__score small { color: var(--nvm-muted); }
.nvm-meter { height: 10px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin: 12px 0 18px; }
.nvm-tool--light .nvm-meter { background: rgba(10,17,40,.08); }
.nvm-meter span { display: block; height: 100%; background: var(--nvm-grad-gold); width: 0%; transition: width .8s ease; }

/* ============================================================
 * 14 · PRODUCT BOXES
 * ============================================================ */
.nvm-prod-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.nvm-prod {
  background: var(--nvm-white);
  border-radius: var(--nvm-radius-lg);
  padding: 22px;
  box-shadow: var(--nvm-shadow);
  border: 1px solid rgba(10,17,40,.06);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nvm-prod:hover { transform: translateY(-4px); box-shadow: var(--nvm-shadow-lg); }
.nvm-prod__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--nvm-grad-gold); color: #1a1303;
  font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide);
  padding: 6px 10px; border-radius: 6px; font-size: 10px; font-weight: 800;
  box-shadow: var(--nvm-shadow-sm);
}
.nvm-prod__image {
  height: 160px; border-radius: var(--nvm-radius);
  background: var(--nvm-grad-cmd); position: relative; overflow: hidden;
  display: grid; place-items: center; color: rgba(255,255,255,.9);
  font-family: var(--nvm-font-display); letter-spacing: var(--nvm-tracking-wide);
}
.nvm-prod__image::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
}
.nvm-prod__title { font-family: var(--nvm-font-display); font-size: 1.1rem; margin: 0; line-height: 1.25; }
.nvm-prod__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.nvm-prod__meta span {
  font-size: 10px; text-transform: uppercase; letter-spacing: var(--nvm-tracking);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(10,17,40,.06); color: var(--nvm-tactical-blue); font-weight: 600;
  font-family: var(--nvm-font-display);
}
.nvm-prod__notes { font-size: 13px; color: var(--nvm-ink-2); }
.nvm-prod__lists { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; font-size: 12px; }
.nvm-prod__lists ul { list-style: none; padding: 0; margin: 0; }
.nvm-prod__lists li { padding: 3px 0; }
.nvm-prod__lists .pros li::before { content: "+ "; color: #15803d; font-weight: 700; }
.nvm-prod__lists .cons li::before { content: "− "; color: #b91c1c; font-weight: 700; }
.nvm-prod__cta { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.nvm-prod__cta .nvm-btn { flex: 1; }

/* ============================================================
 * 15 · COMPARISON TABLE
 * ============================================================ */
.nvm-compare-wrap { overflow-x: auto; border-radius: var(--nvm-radius); }
.nvm-compare {
  width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0;
  background: var(--nvm-white); border-radius: var(--nvm-radius); overflow: hidden;
  box-shadow: var(--nvm-shadow);
}
.nvm-compare th, .nvm-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(10,17,40,.08); font-size: 14px; }
.nvm-compare thead th { background: var(--nvm-grad-cmd); color: var(--nvm-white); font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide); font-size: 12px; position: sticky; top: 0; }
.nvm-compare tbody tr:hover { background: rgba(212,175,55,.05); }
.nvm-compare .nvm-compare__best { background: rgba(212,175,55,.08); }
.nvm-compare .nvm-compare__best td:first-child::before { content: "★ "; color: var(--nvm-gold); }

/* ============================================================
 * 16 · FAQ
 * ============================================================ */
.nvm-faq { max-width: 920px; margin: 0 auto; }
.nvm-faq__item { background: rgba(255,255,255,.04); border: 1px solid var(--nvm-line-strong); border-radius: var(--nvm-radius); margin-bottom: 12px; overflow: hidden; }
.nvm-section--light .nvm-faq__item { background: #f7f9fc; border-color: rgba(10,17,40,.08); }
.nvm-faq__q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: none; color: inherit; font-family: var(--nvm-font-display); font-weight: 600; letter-spacing: var(--nvm-tracking); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 1rem; }
.nvm-faq__q::after { content: "+"; font-size: 1.4rem; color: var(--nvm-gold); transition: transform .25s; }
.nvm-faq__item.is-open .nvm-faq__q::after { transform: rotate(45deg); }
.nvm-faq__a { display: none; padding: 0 22px 22px; font-size: 14px; color: rgba(255,255,255,.78); }
.nvm-section--light .nvm-faq__a { color: var(--nvm-ink-2); }
.nvm-faq__item.is-open .nvm-faq__a { display: block; }

/* ============================================================
 * 17 · NEWSLETTER
 * ============================================================ */
.nvm-newsletter {
  background: var(--nvm-grad-night);
  border: 1px solid var(--nvm-line-strong);
  border-radius: var(--nvm-radius-xl);
  padding: clamp(28px, 5vw, 56px);
  text-align: center; color: var(--nvm-white);
  position: relative; overflow: hidden;
}
.nvm-newsletter form { display: flex; gap: 8px; max-width: 480px; margin: 20px auto 0; flex-wrap: wrap; }
.nvm-newsletter input[type="email"] {
  flex: 1; padding: 14px 16px; border-radius: 999px;
  border: 1px solid var(--nvm-line-strong);
  background: rgba(255,255,255,.06); color: var(--nvm-white); font: inherit;
}
.nvm-newsletter input::placeholder { color: rgba(255,255,255,.55); }

/* ============================================================
 * 18 · TRUST GRID
 * ============================================================ */
.nvm-trust { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.nvm-trust__item { background: var(--nvm-white); padding: 22px; border-radius: var(--nvm-radius); border: 1px solid rgba(10,17,40,.06); }
.nvm-trust__item h4 { font-family: var(--nvm-font-display); margin: 8px 0; font-size: 1.05rem; }
.nvm-trust__item p { font-size: 13px; color: var(--nvm-ink-2); margin: 0; }
.nvm-trust__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--nvm-grad-cmd); color: var(--nvm-white); display: grid; place-items: center; font-weight: 700; }

/* ============================================================
 * 19 · CONTINUE JOURNEY BAR
 * ============================================================ */
.nvm-continue {
  background: rgba(255,255,255,.04); border: 1px solid var(--nvm-line-strong); border-radius: var(--nvm-radius-lg);
  padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.nvm-continue strong { font-family: var(--nvm-font-display); letter-spacing: var(--nvm-tracking); }

/* ============================================================
 * 20 · FOOTER
 * ============================================================ */
.nvm-footer { background: var(--nvm-deep-navy); color: rgba(255,255,255,.7); padding: 70px 0 32px; position: relative; }
.nvm-footer h4 { color: var(--nvm-white); font-family: var(--nvm-font-display); text-transform: uppercase; letter-spacing: var(--nvm-tracking-wide); font-size: 12px; }
.nvm-footer__cols { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; max-width: var(--nvm-container-wide); margin: 0 auto; padding: 0 24px; }
@media (max-width: 980px) { .nvm-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nvm-footer__cols { grid-template-columns: 1fr; } }
.nvm-footer a { color: rgba(255,255,255,.7); display: block; padding: 6px 0; font-size: 14px; }
.nvm-footer a:hover { color: var(--nvm-gold); }
.nvm-footer__legal { max-width: var(--nvm-container-wide); margin: 36px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--nvm-line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.55); }

/* ============================================================
 * 21 · 404
 * ============================================================ */
.nvm-404 { padding: 80px 0; text-align: center; }
.nvm-404 .nvm-prod { text-align: left; max-width: 480px; margin: 0 auto 28px; }

/* ============================================================
 * 22 · STICKY MOBILE CTA + FAB
 * ============================================================ */
.nvm-sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  background: var(--nvm-grad-night);
  border: 1px solid var(--nvm-line-strong);
  border-radius: var(--nvm-radius);
  padding: 12px 14px;
  display: none; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: var(--nvm-shadow-lg);
  z-index: 40; color: var(--nvm-white);
  transition: opacity .2s ease;
}
.nvm-sticky-cta strong { font-family: var(--nvm-font-display); letter-spacing: var(--nvm-tracking); font-size: 13px; }
@media (max-width: 900px) { .nvm-sticky-cta { display: flex; } }

.nvm-fab {
  position: fixed; right: 16px; bottom: 80px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--nvm-grad-gold); color: #1a1303;
  display: none; place-items: center;
  box-shadow: var(--nvm-shadow-lg);
  z-index: 39; border: none; font-weight: 800;
  cursor: pointer;
}
@media (max-width: 900px) { .nvm-fab { display: grid; } }

/* ============================================================
 * 23 · UTILITIES + ACCESSIBILITY + PRINT
 * ============================================================ */
.nvm-hide { display: none !important; }
.nvm-mt-0 { margin-top: 0 !important; }
.nvm-mt-2 { margin-top: 16px; }
.nvm-mt-4 { margin-top: 32px; }
.nvm-text-center { text-align: center; }
.nvm-cols-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.nvm-cols-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media print {
  .nvm-site-header, .nvm-footer, .nvm-sticky-cta, .nvm-fab, .nvm-tool__head .nvm-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .nvm-section { padding: 20px 0; }
  .nvm-tool { background: #fff; border: 1px solid #ccc; box-shadow: none; color: #000; }
  .nvm-result, .nvm-result.is-open { display: block !important; }
}

:focus-visible { outline: 2px dashed var(--nvm-gold); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
