:root {
  --navy-950: #0b1629;
  --navy-900: #11223d;
  --navy-800: #1a3359;
  --navy-700: #244675;
  --gold-500: #c5963e;
  --gold-400: #dfb35d;
  --gold-100: #fbf4e4;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --red-600: #c82333;
  --red-100: #fdebec;
  --amber-600: #b45309;
  --amber-100: #fef3c7;
  --green-600: #15803d;
  --green-100: #dcfce7;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 20px 50px rgba(11, 22, 41, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===== Top Institutional Navbar ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 22, 41, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold-500);
  color: #fff;
}

.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-seal {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500), #9b7024);
  color: var(--navy-950);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(197, 150, 62, 0.35);
}

.brand-title {
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.76rem;
  color: #b7c8e0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 500;
  color: #dbe6f5;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-print {
  background: linear-gradient(135deg, var(--gold-500), #b2822d);
  color: var(--navy-950);
  border: none;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-print:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(197, 150, 62, 0.35);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(197, 150, 62, 0.18), transparent 45%),
    linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: #fff;
  padding: 3.2rem 1.25rem 3.8rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(197, 150, 62, 0.16);
  border: 1px solid rgba(223, 179, 93, 0.45);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--gold-400);
}

.hero-lead {
  color: #d6e3f5;
  font-size: 1.03rem;
  margin-bottom: 1.5rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-outline {
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, background 0.2s;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.kpi-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.1rem;
}

.kpi-card.alert {
  background: rgba(200, 35, 51, 0.18);
  border-color: rgba(248, 113, 113, 0.45);
}

.kpi-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.kpi-card.alert .kpi-value {
  color: #fecaca;
}

.kpi-label {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #c2d3eb;
}

/* ===== Sections ===== */
.section {
  padding: 3.4rem 1.25rem;
}

.section-alt {
  background: #edf2f8;
}

.section-header {
  margin-bottom: 1.8rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-500);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.015em;
}

.section-desc {
  color: var(--slate-700);
  margin-top: 0.45rem;
  max-width: 72ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

/* ===== Media Showcase (Video 3D + Laminas) ===== */
.media-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.tab-btn {
  padding: 0.6rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: #fff;
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
  box-shadow: 0 4px 14px rgba(17, 34, 61, 0.22);
}

.media-panel {
  display: none;
}

.media-panel.active {
  display: block;
}

.video-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.video-stage {
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-md);
}

.video-stage video {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #f5f3ee;
}

.video-caption-bar {
  background: var(--navy-950);
  color: #e2ecf9;
  padding: 0.75rem 1rem;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.chapter-btn {
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.chapter-btn:hover, .chapter-btn.active {
  background: #fff;
  border-color: var(--navy-700);
  box-shadow: var(--shadow-sm);
}

.chapter-btn.active {
  border-left: 4px solid var(--gold-500);
}

.chapter-time {
  font-family: ui-monospace, monospace;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--navy-900);
  color: var(--gold-400);
  flex-shrink: 0;
}

.chapter-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.chapter-desc {
  font-size: 0.81rem;
  color: var(--slate-700);
  margin-top: 0.15rem;
}

.image-stage {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: #f7f5f0;
  cursor: zoom-in;
}

.image-stage img {
  width: 100%;
  height: auto;
}

/* ===== Interactive 5,80m Clearance Simulator ===== */
.sim-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
}

.sim-canvas-wrap {
  background: #faf9f6;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preset-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.preset-btn {
  padding: 0.62rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--slate-900);
  transition: all 0.2s;
  text-align: center;
}

.preset-btn.active-danger {
  background: var(--red-100);
  border-color: var(--red-600);
  color: var(--red-600);
}

.preset-btn.active-warn {
  background: var(--amber-100);
  border-color: var(--amber-600);
  color: var(--amber-600);
}

.preset-btn.active-ok {
  background: var(--green-100);
  border-color: var(--green-600);
  color: var(--green-600);
}

.slider-box {
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--slate-200);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

.slider-val {
  font-family: ui-monospace, monospace;
  background: var(--navy-900);
  color: var(--gold-400);
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--navy-800);
  cursor: pointer;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--slate-200);
  font-size: 0.86rem;
  font-weight: 600;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  background: var(--slate-300);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .switch-slider {
  background: var(--red-600);
}

.switch input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.status-banner {
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--red-600);
  background: var(--red-100);
  color: #7f1d1d;
}

.status-banner.warn {
  border-left-color: var(--amber-600);
  background: var(--amber-100);
  color: #78350f;
}

.status-banner.ok {
  border-left-color: var(--green-600);
  background: var(--green-100);
  color: #14532d;
}

.status-banner h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.status-banner p {
  font-size: 0.83rem;
  line-height: 1.45;
}

.metrics-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.metric-pill {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}

.metric-pill .m-label {
  font-size: 0.74rem;
  color: var(--slate-500);
  font-weight: 600;
}

.metric-pill .m-val {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 0.1rem;
}

.metric-pill.bad .m-val { color: var(--red-600); }
.metric-pill.good .m-val { color: var(--green-600); }

/* ===== Certificate Dossier ===== */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dossier-item {
  background: var(--slate-100);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  border: 1px solid var(--slate-200);
}

.dossier-item .label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  font-weight: 700;
}

.dossier-item .val {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 0.25rem;
}

.dossier-item .sub {
  font-size: 0.82rem;
  color: var(--slate-700);
  margin-top: 0.2rem;
}

/* ===== Legal Framework Tabs ===== */
.legal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.legal-tab {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-200);
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}

.legal-tab.active {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.legal-tab .lt-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-500);
}

.legal-tab .lt-title {
  font-size: 0.98rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

.legal-content {
  display: none;
}

.legal-content.active {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.4rem;
}

.legal-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.legal-points li {
  padding: 0.75rem 0.95rem;
  background: var(--slate-100);
  border-radius: 10px;
  border-left: 4px solid var(--navy-700);
  font-size: 0.9rem;
}

.tribunal-box {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}

.tribunal-box .tb-kicker {
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tribunal-box h4 {
  font-size: 1.15rem;
  margin-top: 0.2rem;
}

.child-callout {
  margin-top: 1.35rem;
  background: linear-gradient(90deg, #fff8eb, #fff);
  border: 1px solid #ecd49d;
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.child-icon {
  font-size: 1.75rem;
  line-height: 1;
}

/* ===== Rights & Duties Matrix ===== */
.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.rd-col h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rd-item {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  margin-bottom: 0.75rem;
}

.rd-item strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.93rem;
  margin-bottom: 0.2rem;
}

.rd-item p {
  font-size: 0.85rem;
  color: var(--slate-700);
}

/* ===== Interactive Roadmap Checklist ===== */
.roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--slate-200);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.step-card.done {
  background: #f3fbf5;
  border-color: #86efac;
}

.step-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green-600);
  cursor: pointer;
  flex-shrink: 0;
}

.step-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--amber-600);
  margin-left: 0.5rem;
}

.step-card.done .step-badge {
  background: var(--green-100);
  color: var(--green-600);
}

.progress-bar-wrap {
  height: 10px;
  background: var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy-800), var(--gold-500));
  width: 20%;
  transition: width 0.3s ease;
}

/* ===== Embedded On-Screen Virtual Legal Assistant (Zero Errors) ===== */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border: 2px solid var(--gold-500);
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: min(390px, calc(100vw - 28px));
  max-height: 560px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 95;
  transition: opacity 0.2s, transform 0.2s;
}

.chat-widget.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.chat-head {
  background: var(--navy-950);
  color: #fff;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-head-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-head-sub {
  font-size: 0.74rem;
  color: #b8cae3;
}

.chat-close {
  background: transparent;
  border: none;
  color: #dbe6f5;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}

.chat-body {
  padding: 0.9rem;
  overflow-y: auto;
  flex: 1;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 240px;
  max-height: 330px;
}

.msg {
  max-width: 88%;
  padding: 0.68rem 0.88rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.msg.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--slate-900);
}

.msg.user {
  align-self: flex-end;
  background: var(--navy-900);
  color: #fff;
}

.chat-chips {
  padding: 0.55rem 0.75rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}

.chip {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--slate-100);
  color: var(--navy-900);
  cursor: pointer;
}

.chip:hover {
  background: var(--gold-100);
  border-color: var(--gold-500);
}

.chat-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}

.chat-form input {
  flex: 1;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 0.84rem;
  outline: none;
}

.chat-form input:focus {
  border-color: var(--navy-700);
}

.chat-form button {
  background: var(--navy-900);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 41, 0.9);
  display: none;
  place-items: center;
  z-index: 120;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: 96vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-950);
  color: #b7c8e0;
  padding: 2.2rem 1.25rem;
  font-size: 0.84rem;
  border-top: 3px solid var(--gold-500);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 960px) {
  .hero-grid, .video-layout, .sim-grid, .legal-content.active, .rd-grid, .dossier-grid, .legal-tabs {
    grid-template-columns: 1fr;
  }
  .preset-row {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar, .chat-fab, .chat-widget, .hero-actions, .media-tabs, .chapter-list, .preset-row, .slider-box, .toggle-row {
    display: none !important;
  }
  body { background: #fff; }
  .section { padding: 1.2rem 0; break-inside: avoid; }
  .card { box-shadow: none; border-color: #cbd5e1; }
}
