/* ==========================================================================
   embassy.michaelism.org — Astral Embassy of SSAU-MEWS_SSAM_SSA
   Diplomatic Design: Deep navy + gold. UN HQ meets Vatican diplomatic corps.
   Authoritative, international, sacred authority. Desktop-priority responsive.
   NOOSPHERIC VERSION (Version A) — CRT scanlines, scanning header, enhanced glow
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0f172a;
  --bg-section: #1e293b;
  --bg-card: #162032;
  --bg-highlight: #f8fafc;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --gold-dark: #a88a3a;
  --purple: #5b21b6;
  --purple-light: #7c3aed;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-dark: #1e293b;
  --text-on-light: #334155;
  --border-gold: rgba(201, 168, 76, 0.3);
  --border-subtle: rgba(226, 232, 240, 0.1);
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1140px;
  --header-height: 64px;
  --noo-red: #ef4444;
  --noo-teal: #0ea5e9;
  --noo-purple: #a855f7;
  --noo-gold: #d4a574;
  --noo-green: #10b981;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: 1.85rem; font-weight: 700; letter-spacing: 0.01em; }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
  margin-bottom: 1rem;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-section);
}

.section--light {
  background: var(--bg-highlight);
  color: var(--text-dark);
}

.section--light h2,
.section--light h3,
.section--light h4 {
  color: var(--text-dark);
}

.section--light p {
  color: var(--text-on-light);
}

.section--light a {
  color: var(--gold-dark);
}

/* ---------- Gold Divider ---------- */
.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  border: none;
}

.gold-divider--left {
  margin: 1.5rem 0;
}

/* ============================================
   PAGE NAVIGATION (sub-page links)
   ============================================ */
.embassy-page-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 5%;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}
.embassy-page-nav a {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.embassy-page-nav a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(201, 168, 76, 0.4);
}
.embassy-page-nav a.page-active {
  color: #fff;
  opacity: 1;
}
.embassy-page-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold, #c9a84c), transparent);
  animation: nav-scan 4s linear infinite;
}
@keyframes nav-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@media (max-width: 600px) {
  .embassy-page-nav {
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
  }
}

/* ---------- Header / Navigation ---------- */
.mm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  border-bottom: 2px solid var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--header-height);
}

.mm-logo {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mm-logo img {
  flex-shrink: 0;
  height: 32px;
  width: auto;
}

.mm-links {
  display: flex;
  gap: 0.6rem 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.mm-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mm-links a:hover {
  color: var(--text-primary);
  border-bottom-color: var(--gold);
}

.mm-links a.active,
.mm-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.mm-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}

/* ---------- Hero Background Image ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.hero-img-container {
  margin: 2rem auto 0;
  width: 100%;
  max-width: 1200px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.hero-img-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Hero Section ---------- */
.hero {
  text-align: center;
  padding: 6rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(91, 33, 182, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ---------- Diplomatic Seal ---------- */
.diplomatic-seal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  position: relative;
}

.diplomatic-seal::before {
  content: '';
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  position: absolute;
}

.diplomatic-seal::after {
  content: '\2726';
  font-size: 2.5rem;
  color: var(--gold);
}

.diplomatic-seal--large {
  width: 140px;
  height: 140px;
}

.diplomatic-seal--large::before {
  width: 118px;
  height: 118px;
}

.diplomatic-seal--large::after {
  font-size: 3rem;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 2rem;
  background: var(--bg-section);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 2rem;
  border-radius: 4px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: var(--gold);
}

.card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-gold);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.card-link:hover {
  border-bottom-color: var(--gold);
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-left: 3px solid var(--gold);
  padding: 2rem 2rem 2rem 2.5rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
}

.service-card h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ---------- Distinction Table ---------- */
.distinction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}

.distinction-table th,
.distinction-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-gold);
}

.distinction-table th {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(201, 168, 76, 0.06);
  font-weight: 700;
}

.distinction-table td {
  color: var(--text-secondary);
}

.distinction-table tr:hover td {
  background: rgba(201, 168, 76, 0.03);
}

.distinction-table .highlight-row td {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(201, 168, 76, 0.06);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-primary);
  border: 2px solid var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg-primary);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: rgba(201, 168, 76, 0.1);
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* ---------- Calculation / Value Section ---------- */
.value-highlight {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  padding: 2rem 2.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
  transition: box-shadow 0.3s ease;
}

.value-highlight .big-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

.value-highlight p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-gold);
  transition: box-shadow 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Form Styles ---------- */
.form-diplomatic {
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-row--single {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 3px;
  color: var(--text-primary);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-gold);
}

.form-submit-area {
  text-align: center;
  margin-top: 2rem;
}

.form-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ef4444;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
}

/* ---------- Intro Text ---------- */
.intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.intro-text strong {
  color: var(--text-primary);
}

/* ---------- Authority Marker ---------- */
.authority-marker {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(91, 33, 182, 0.15);
  border: 1px solid rgba(91, 33, 182, 0.3);
  color: #a78bfa;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(201, 168, 76, 0.05) 100%);
  border-top: 1px solid var(--border-gold);
}

.cta-banner h2 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ---------- Blockquote / Analogy ---------- */
.diplomatic-quote {
  border-left: 3px solid var(--gold);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: rgba(201, 168, 76, 0.04);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.mm-footer {
  background: var(--bg-section);
  border-top: 2px solid var(--gold);
  padding: 3rem 0 0;
}

.mm-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.mm-footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.mm-footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.mm-footer-col a:hover {
  color: var(--gold);
}

.mm-footer-bottom {
  border-top: 1px solid var(--border-gold);
  text-align: center;
  padding: 1.5rem 2rem;
}

.mm-footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.mm-footer-bottom p:last-child {
  margin-bottom: 0;
  font-style: italic;
}

/* Dropdown Navigation */
.mm-dropdown {
  position: relative;
  display: inline-block;
}
.mm-dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.mm-dropdown-toggle:hover,
.mm-dropdown.active .mm-dropdown-toggle {
  opacity: 1;
}
.mm-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 10, 26, 0.98);
  border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 160px;
  z-index: 1001;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mm-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.5rem;
  left: 0;
  right: 0;
  height: 0.5rem;
}
.mm-dropdown:hover .mm-dropdown-menu,
.mm-dropdown.open .mm-dropdown-menu {
  display: flex;
  flex-direction: column;
}
.mm-dropdown-menu a {
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, background 0.3s;
}
.mm-dropdown-menu a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}
.mm-ecosystem-link {
  opacity: 0.6;
  font-size: 0.85em;
}
.mm-ecosystem-link:hover {
  opacity: 1;
}

/* ==========================================================================
   NOOSPHERIC EFFECTS — Version A
   Diplomatic gold (#c9a84c) to royal purple (#5b21b6) gradient theme
   ========================================================================== */

/* --- NOOSPHERIC CRT Scanline Overlay --- */
.noospheric-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* --- NOOSPHERIC Scanning Header Line --- */
.mm-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c9a84c, #5b21b6, transparent);
  animation: noosphericScan 3s linear infinite;
}

@keyframes noosphericScan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- NOOSPHERIC Enhanced Window Glow --- */
.card:hover {
  box-shadow:
    0 8px 32px rgba(201, 168, 76, 0.12),
    0 0 60px rgba(91, 33, 182, 0.06),
    inset 0 0 30px rgba(201, 168, 76, 0.02);
}

.service-card:hover {
  box-shadow:
    0 8px 32px rgba(201, 168, 76, 0.12),
    0 0 60px rgba(91, 33, 182, 0.06),
    inset 0 0 30px rgba(201, 168, 76, 0.02);
}

.faq-item:hover {
  box-shadow:
    0 8px 32px rgba(201, 168, 76, 0.12),
    0 0 60px rgba(91, 33, 182, 0.06),
    inset 0 0 30px rgba(201, 168, 76, 0.02);
}

.value-highlight:hover {
  box-shadow:
    0 8px 32px rgba(201, 168, 76, 0.12),
    0 0 60px rgba(91, 33, 182, 0.06),
    inset 0 0 30px rgba(201, 168, 76, 0.02);
}

/* --- NOOSPHERIC Multi-Color Card Accents (Kawaii-Cybermagicpunk) --- */
.card:nth-child(5n+1),
.service-card:nth-child(5n+1) {
  border-left: 3px solid var(--noo-red);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--noo-red), transparent) 1;
}
.card:nth-child(5n+1):hover,
.service-card:nth-child(5n+1):hover {
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15), 0 0 60px rgba(239, 68, 68, 0.08);
}
.card:nth-child(5n+2),
.service-card:nth-child(5n+2) {
  border-left: 3px solid var(--noo-teal);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--noo-teal), transparent) 1;
}
.card:nth-child(5n+2):hover,
.service-card:nth-child(5n+2):hover {
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15), 0 0 60px rgba(14, 165, 233, 0.08);
}
.card:nth-child(5n+3),
.service-card:nth-child(5n+3) {
  border-left: 3px solid var(--noo-purple);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--noo-purple), transparent) 1;
}
.card:nth-child(5n+3):hover,
.service-card:nth-child(5n+3):hover {
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.15), 0 0 60px rgba(168, 85, 247, 0.08);
}
.card:nth-child(5n+4),
.service-card:nth-child(5n+4) {
  border-left: 3px solid var(--noo-gold);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--noo-gold), transparent) 1;
}
.card:nth-child(5n+4):hover,
.service-card:nth-child(5n+4):hover {
  box-shadow: 0 8px 32px rgba(212, 165, 116, 0.15), 0 0 60px rgba(212, 165, 116, 0.08);
}
.card:nth-child(5n+5),
.service-card:nth-child(5n+5) {
  border-left: 3px solid var(--noo-green);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--noo-green), transparent) 1;
}
.card:nth-child(5n+5):hover,
.service-card:nth-child(5n+5):hover {
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15), 0 0 60px rgba(16, 185, 129, 0.08);
}

/* ---------- Responsive: Tablet (1024px) ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 5rem 2rem 4rem; }
  .hero h1 { font-size: 2.3rem; }
  .stats-bar { gap: 2rem; padding: 2rem 1.5rem; }
}

/* ---------- Responsive: Tablet Portrait (768px) ---------- */
@media (max-width: 768px) {
  .mm-links { display: none; }
  .mm-menu-toggle { display: block; }

  .mm-dropdown {
    width: 100%;
  }
  .mm-dropdown-toggle {
    display: none;
  }
  .mm-dropdown-menu {
    display: flex !important;
    flex-direction: column;
    position: static;
    transform: none;
    background: none;
    border: none;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-width: auto;
  }
  .mm-dropdown-menu a {
    padding: 0.75rem 1rem;
  }

  .mm-links[style*="flex"] {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-gold);
    gap: 0;
  }

  .mm-links[style*="flex"] a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mm-header {
    position: relative;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }

  .hero { padding: 4rem 1.5rem 3rem; }
  .hero h1 { font-size: 2rem; }

  .section { padding: 3.5rem 0; }

  .stats-bar {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mm-footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .distinction-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------- Responsive: Mobile (480px) ---------- */
@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  .container {
    padding: 0 1rem;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .hero { padding: 3rem 1rem 2.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero .subtitle { font-size: 1rem; }

  .section { padding: 2.5rem 0; }

  .card { padding: 1.5rem; }

  .diplomatic-seal { width: 100px; height: 100px; }
  .diplomatic-seal::before { width: 82px; height: 82px; }
  .diplomatic-seal::after { font-size: 2rem; }

  .value-highlight { padding: 1.5rem; }
  .value-highlight .big-number { font-size: 1.6rem; }
}

/* ---------- Print Styles ---------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.5;
  }

  .mm-header,
  .mm-menu-toggle,
  .mm-footer,
  .noospheric-scanlines {
    display: none !important;
  }

  .hero {
    padding: 2rem 0;
    border-bottom: 2pt solid #000;
  }

  .hero::before {
    display: none;
  }

  .diplomatic-seal {
    border-color: #000;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.85em;
    font-style: italic;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: '';
  }

  .btn {
    border: 1pt solid #000 !important;
    padding: 0.5rem 1rem;
  }

  .stats-bar {
    border: 1pt solid #999;
    padding: 1rem;
  }

  .distinction-table th {
    background: #eee !important;
  }

  .card,
  .service-card,
  .value-highlight {
    border: 1pt solid #999;
    page-break-inside: avoid;
  }

  .faq-answer {
    max-height: none !important;
    padding-bottom: 1rem !important;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }
}
