/* ===== AI TRANSPARENCY CHIP =====
   Used to mark every AI-touched feature on the platform. Per the AI Promise page,
   anything generated or summarised by an AI sub-processor must visibly carry this chip. */
.qse-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #f0e6d6;
  color: #6b5430;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  vertical-align: middle;
  text-decoration: none;
  border: 1px solid #d4c5a0;
  cursor: help;
}
.qse-ai-chip:hover { background: #e8dcc4; }
.qse-ai-chip::before { content: 'AI'; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #2c2c2c;
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #8a7d6b;
  margin-bottom: 16px;
}
.tag-light { color: #c4b8a5; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1a1a1a;
}
.title-light { color: #f5f0eb; }
.section-desc {
  font-size: 18px;
  color: #777;
  max-width: 600px;
  margin-bottom: 48px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #3d3a36;
  color: #f5f0eb;
}
.btn-primary:hover { background: #2a2825; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline {
  background: transparent;
  color: #f5f0eb;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-full { width: 100%; justify-content: center; }

/* ===== TOPBAR ===== */
.topbar {
  background: #2c2a27;
  padding: 6px 0;
  font-size: 12px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-label {
  color: rgba(255,255,255,0.4);
  margin-right: 4px;
}
.lang-switcher a {
  color: rgba(255,255,255,0.55);
  padding: 2px 6px;
  border-radius: 3px;
  transition: all 0.2s;
  font-weight: 500;
}
.lang-switcher a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lang-switcher a.lang-active { color: #fff; background: rgba(255,255,255,0.15); }

/* More languages dropdown */
.lang-more-wrap { position: relative; display: inline-block; }
.lang-more-btn {
  color: rgba(255,255,255,0.4); padding: 2px 6px; border-radius: 3px;
  transition: all 0.2s; font-weight: 500; font-size: 11px; white-space: nowrap;
}
.lang-more-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.lang-more-dropdown {
  display: none; position: absolute; top: 100%; left: 0; z-index: 9999;
  background: #2c2a27; border: 1px solid #3a3530; border-radius: 8px;
  width: 200px; max-height: 300px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4); margin-top: 6px;
}
.lang-more-wrap.open .lang-more-dropdown { display: block; }
.lang-search {
  width: 100%; padding: 8px 12px; border: none; border-bottom: 1px solid #3a3530;
  background: #1e1b17; color: #f5f0eb; font-size: 12px; font-family: 'Inter', sans-serif;
  box-sizing: border-box; outline: none;
}
.lang-search::placeholder { color: rgba(255,255,255,0.3); }
.lang-list { max-height: 250px; overflow-y: auto; }
.lang-option {
  display: block; padding: 7px 14px; color: rgba(255,255,255,0.6);
  font-size: 12px; transition: all 0.15s; text-decoration: none;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: #f5f0eb; }
.lang-list::-webkit-scrollbar { width: 5px; }
.lang-list::-webkit-scrollbar-track { background: transparent; }
.lang-list::-webkit-scrollbar-thumb { background: #3a3530; border-radius: 3px; }

/* Auto-detect language banner */
#lang-auto-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  background: linear-gradient(135deg, #2c2a27, #3a3530); color: #f5f0eb;
  padding: 10px 24px; font-size: 13px; font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 12px; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
#lang-auto-banner a { color: #c4b8a5; font-weight: 600; text-decoration: underline; }
#lang-auto-banner button {
  background: none; border: none; color: rgba(255,255,255,0.5); font-size: 18px;
  cursor: pointer; padding: 0 4px; margin-left: 8px;
}
#lang-auto-banner button:hover { color: #fff; }

/* Translation badge for translated content */
.translated-badge {
  display: inline-block; font-size: 10px; color: #8a7d6b; background: #f0ece7;
  padding: 2px 8px; border-radius: 10px; margin-left: 6px; font-weight: 500;
}
.translated-toggle {
  font-size: 11px; color: #8a7d6b; cursor: pointer; text-decoration: underline;
  background: none; border: none; font-family: 'Inter', sans-serif; padding: 0;
}
.translated-toggle:hover { color: #2c2c2c; }
.translated-original {
  display: none; background: #faf8f5; border: 1px solid #e8e4df; border-radius: 8px;
  padding: 10px 14px; margin-top: 6px; font-size: 13px; color: #666; font-style: italic;
}

/* Footer language dropdown — opens upward */
.lang-more-footer .lang-more-dropdown {
  top: auto; bottom: 100%; margin-top: 0; margin-bottom: 6px;
}
.lang-more-footer .lang-more-btn {
  color: rgba(245,240,235,0.35); font-size: 12px;
}
.lang-more-footer .lang-more-btn:hover { color: #c4b8a5; background: none; }
.topbar-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-auth a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.topbar-auth a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #3d3a36;
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.logo-q {
  width: 36px; height: 36px;
  background: #8a7d6b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.5px;
}
.logo-text { font-weight: 700; font-size: 16px; color: #f5f0eb; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(245,240,235,0.75);
  padding: 18px 16px;
  transition: all 0.2s;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #f5f0eb;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Nav tools (search + text size) */
.nav-tools {
  display: flex; align-items: center; gap: 2px; margin-left: auto;
}
.nav-tool-btn {
  background: none; border: none; cursor: pointer; color: rgba(245,240,235,0.6);
  padding: 6px; display: flex; align-items: center; gap: 1px;
  transition: color 0.2s;
}
.nav-tool-btn:hover { color: #c4b8a5; }
.nav-tool-btn.listening { color: #c4b8a5; }
@keyframes listen-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.nav-tool-btn.listening { animation: listen-pulse 1.5s ease-in-out infinite; }

/* Listen dropdown */
.nav-listen-wrap {
  position: relative; display: flex; align-items: center;
}
.listen-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 8px;
  background: #2c2c2c; border: 1px solid #444; border-radius: 10px;
  padding: 14px 16px; min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1001;
}
.nav-listen-wrap:hover .listen-dropdown,
.listen-dropdown:hover {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.listen-dropdown-row {
  margin-bottom: 10px;
}
.listen-dropdown-row:last-child { margin-bottom: 0; }
.listen-dropdown-row label {
  display: block; font-size: 11px; color: #999; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 6px;
}
.listen-voice-toggle, .listen-speed-control {
  display: flex; gap: 4px;
}
.listen-voice-btn, .listen-speed-btn {
  background: #3a3a3a; border: 1px solid #555; color: #ccc;
  padding: 4px 10px; border-radius: 6px; font-size: 12px;
  cursor: pointer; transition: all 0.2s; flex: 1; text-align: center;
}
.listen-voice-btn:hover, .listen-speed-btn:hover {
  background: #4a4a4a; color: #fff;
}
.listen-voice-btn.active, .listen-speed-btn.active {
  background: #8a7d6b; border-color: #8a7d6b; color: #fff;
}

/* Listen highlight */
.listen-highlight {
  background: rgba(196,184,165,0.15) !important;
  border-radius: 4px;
  box-shadow: -4px 0 0 rgba(196,184,165,0.4);
  transition: background 0.3s;
}

/* Page Podcast Player (shared) */
.page-podcast-player {
  margin: 20px 0;
}
.page-podcast-inner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #2c2c2c, #3a3535);
  border-radius: 14px; padding: 16px 20px; color: #f5f0eb;
}
.page-podcast-player .podcast-play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #c4b8a5; border: none; color: #2c2c2c;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; flex-shrink: 0;
}
.page-podcast-player .podcast-play-btn:hover { background: #d4c8b5; }
.page-podcast-player .podcast-info {
  display: flex; flex-direction: column; gap: 2px; flex: 1;
}
.page-podcast-player .podcast-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
  color: #c4b8a5; font-weight: 600;
}
.page-podcast-player .podcast-title {
  font-size: 15px; font-weight: 600; color: #f5f0eb;
}
.page-podcast-player .podcast-stop-btn {
  background: none; border: 1px solid #555; color: #999;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s;
}
.page-podcast-player .podcast-stop-btn:hover { border-color: #c4b8a5; color: #c4b8a5; }
.page-podcast-player .podcast-dialogue {
  display: none; margin-top: 0; max-height: 300px; overflow-y: auto;
  background: #2c2c2c; border-radius: 0 0 14px 14px;
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.1);
}
.page-podcast-player .podcast-line {
  display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px;
  margin-bottom: 4px; transition: background 0.3s;
}
.page-podcast-player .podcast-line.active { background: rgba(196,184,165,0.15); }
.page-podcast-player .podcast-speaker {
  font-size: 12px; font-weight: 700; min-width: 40px; flex-shrink: 0; padding-top: 1px;
}
.page-podcast-player .podcast-line.alex .podcast-speaker { color: #7eb8d0; }
.page-podcast-player .podcast-line.dana .podcast-speaker { color: #d4a574; }
.page-podcast-player .podcast-text {
  font-size: 13.5px; color: rgba(245,240,235,0.75); line-height: 1.6;
}
.page-podcast-player .podcast-line.active .podcast-text { color: #f5f0eb; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(44,42,39,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.search-overlay.active { opacity: 1; pointer-events: auto; }
.search-overlay-inner {
  width: 100%; max-width: 640px; padding: 0 20px;
}
.search-box {
  display: flex; align-items: center; background: #fff; border-radius: 14px;
  padding: 14px 18px; gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.search-box-icon { flex-shrink: 0; }
.search-box input {
  flex: 1; border: none; outline: none; font-size: 17px; font-family: 'Inter', sans-serif;
  color: #2c2c2c; background: transparent;
}
.search-box input::placeholder { color: #bbb; }
.search-close-btn {
  background: none; border: none; font-size: 26px; color: #999; cursor: pointer;
  line-height: 1; padding: 0 2px; transition: color 0.2s;
}
.search-close-btn:hover { color: #2c2c2c; }

/* Search results */
.search-results {
  margin-top: 12px; max-height: 55vh; overflow-y: auto;
  border-radius: 12px;
}
.search-hint, .search-loading, .search-empty {
  text-align: center; padding: 24px; color: rgba(245,240,235,0.5);
  font-size: 14px;
}
.search-result-count {
  padding: 10px 16px; font-size: 12px; color: rgba(245,240,235,0.4);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.search-result-item {
  display: block; padding: 14px 18px; background: rgba(255,255,255,0.06);
  border-radius: 10px; margin-bottom: 6px; text-decoration: none;
  transition: background 0.15s;
}
.search-result-item:hover { background: rgba(255,255,255,0.12); }
.search-result-page {
  display: inline-block; font-size: 10px; font-weight: 700; color: #c4b8a5;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;
}
.search-result-section {
  display: block; font-size: 15px; font-weight: 600; color: #f5f0eb;
  line-height: 1.4; margin-bottom: 4px;
}
.search-result-snippet {
  display: block; font-size: 13px; color: rgba(245,240,235,0.5);
  line-height: 1.6;
}
.search-result-snippet mark {
  background: rgba(196,184,165,0.3); color: #f5f0eb;
  border-radius: 2px; padding: 0 2px;
}

/* Search highlights on page */
.search-highlight {
  background: rgba(196,184,165,0.35);
  color: inherit;
  border-radius: 3px;
  padding: 1px 3px;
  box-shadow: 0 0 0 2px rgba(196,184,165,0.25);
  animation: highlightPulse 1.5s ease-in-out 2;
}
.search-highlight-fade {
  animation: none;
  transition: background 1.2s ease, box-shadow 1.2s ease;
  background: transparent;
  box-shadow: none;
}
@keyframes highlightPulse {
  0%, 100% { background: rgba(196,184,165,0.35); box-shadow: 0 0 0 2px rgba(196,184,165,0.25); }
  50% { background: rgba(196,184,165,0.6); box-shadow: 0 0 0 4px rgba(196,184,165,0.3); }
}

/* Dropdown menus */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #3d3a36;
  min-width: 260px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  list-style: none;
  z-index: 100;
  border-top: 2px solid #8a7d6b;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: rgba(245,240,235,0.7);
  transition: all 0.2s;
}
.dropdown li a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  padding-left: 24px;
}
.dropdown li:last-child a { border-radius: 0 0 8px 8px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #1a1816;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    /* Spotlight — cast from top-right, illuminates center content area */
    radial-gradient(ellipse 75% 80% at 58% 38%, rgba(220,200,170,0.11) 0%, rgba(180,160,130,0.06) 25%, transparent 55%),
    /* Dark surround — edges outside the spotlight fall off to near-black */
    radial-gradient(ellipse 70% 75% at 55% 42%, transparent 28%, rgba(0,0,0,0.4) 100%),
    /* Subtle warm ambient spill */
    radial-gradient(ellipse 50% 40% at 75% 20%, rgba(160,140,100,0.06) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}
.hero-tag {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #c4b8a5;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6.5vw, 68px);
  font-weight: 800;
  color: #f5f0eb;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: #c4b8a5;
}
.hero-sub {
  font-size: 18px;
  color: rgba(245,240,235,0.55);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #f5f0eb;
}
.stat-label {
  font-size: 12px;
  color: rgba(245,240,235,0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: rgba(245,240,235,0.12);
}
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-indicator span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245,240,235,0.25);
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(138,125,107,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.faq-item {
  border: 1px solid #e8e4df;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: #c4b8a5; }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: #2c2c2c;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: #8a7d6b;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 20px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* ===== COMPASS / ABOUT ===== */
.section-alt { background: #faf8f5; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-lead {
  font-size: 19px;
  line-height: 1.7;
  color: #3a3a3a;
  margin-bottom: 20px;
}
.about-right p { color: #666; margin-bottom: 16px; }
.compass-objectives {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.compass-objectives li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: #555;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.compass-objectives li:last-child { border-bottom: none; }
.compass-objectives li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: #8a7d6b;
  border-radius: 50%;
}
.about-affiliates {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e4df;
}
.affiliate-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  display: block;
  margin-bottom: 12px;
}
.affiliate-logos { display: flex; gap: 16px; flex-wrap: wrap; }
.affiliate {
  padding: 10px 20px;
  background: #f0ece6;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #5a5347;
}

/* ===== FUNCTIONS / SERVICES ===== */
.section-dark { background: #2c2a27; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}
.service-card:hover {
  background: rgba(138,125,107,0.08);
  border-color: rgba(138,125,107,0.2);
  transform: translateY(-3px);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(138,125,107,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b8a5;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #f5f0eb;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: rgba(245,240,235,0.5);
  line-height: 1.7;
}

/* ===== BUSINESS / PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.project-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  background: linear-gradient(135deg, #3d3a36, #4a4640);
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-3px); }
.project-featured {
  grid-row: span 2;
  min-height: 540px;
  background: linear-gradient(135deg, #2c2a27, #3d3a36, #4a4640);
}
.project-overlay {
  padding: 32px;
  position: relative;
  z-index: 1;
}
.project-status {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(138,125,107,0.2);
  border: 1px solid rgba(138,125,107,0.4);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #c4b8a5;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.project-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #f5f0eb;
  margin-bottom: 10px;
}
.project-overlay p {
  color: rgba(245,240,235,0.55);
  font-size: 14px;
  margin-bottom: 14px;
}
.project-link {
  color: #c4b8a5;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
}
.project-link:hover { color: #f5f0eb; }

/* ===== ASSOCIATE / NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 56px;
}
.news-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.news-featured {
  grid-row: span 2;
  background: #2c2a27;
  border-color: #2c2a27;
  padding: 36px;
}
.news-featured .news-date { color: rgba(245,240,235,0.4); }
.news-featured .news-cat { color: #c4b8a5; border-color: rgba(196,184,165,0.3); }
.news-featured h3 { color: #f5f0eb; font-size: 24px; }
.news-featured p { color: rgba(245,240,235,0.55); }
.news-featured .news-link { color: #c4b8a5; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.news-date { font-size: 13px; color: #999; }
.news-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #8a7d6b;
}
.news-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.news-card p { color: #777; font-size: 14px; flex: 1; margin-bottom: 14px; }
.news-link {
  font-size: 14px;
  font-weight: 600;
  color: #8a7d6b;
  transition: color 0.2s;
}
.news-link:hover { color: #3d3a36; }

/* Forum */
.subsection-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
}
.forum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.forum-post {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
}
.forum-post:hover { transform: translateY(-3px); border-color: #c4b8a5; }
.forum-date {
  font-size: 12px;
  font-weight: 600;
  color: #8a7d6b;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.forum-post h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0;
  color: #2c2c2c;
}
.forum-post p { font-size: 14px; color: #777; }

/* ===== INTERNATIONAL / ESTONIA ===== */
.estonia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.estonia-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.estonia-map {
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pin-dot {
  width: 14px; height: 14px;
  background: #8a7d6b;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(138,125,107,0.2), 0 0 0 16px rgba(138,125,107,0.08);
  animation: pinPulse 2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(138,125,107,0.2), 0 0 0 16px rgba(138,125,107,0.08); }
  50% { box-shadow: 0 0 0 12px rgba(138,125,107,0.15), 0 0 0 24px rgba(138,125,107,0.04); }
}
.pin-label {
  font-size: 14px;
  font-weight: 600;
  color: #c4b8a5;
  white-space: nowrap;
}
.map-grid {
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.map-line {
  position: absolute;
  background: rgba(255,255,255,0.04);
}
.map-line:nth-child(1) { top: 50%; left: 0; right: 0; height: 1px; }
.map-line:nth-child(2) { left: 50%; top: 0; bottom: 0; width: 1px; }
.map-line:nth-child(3) { inset: 15%; border: 1px solid rgba(255,255,255,0.03); border-radius: 50%; background: none; }
.map-line:nth-child(4) { inset: -15%; border: 1px solid rgba(255,255,255,0.03); border-radius: 50%; background: none; }
.estonia-lead {
  font-size: 17px;
  color: rgba(245,240,235,0.6);
  margin-bottom: 28px;
}
.estonia-facts { margin-bottom: 28px; }
.fact {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fact:last-child { border-bottom: none; }
.fact-num {
  font-size: 22px;
  font-weight: 800;
  color: #c4b8a5;
  min-width: 72px;
}
.fact-text {
  font-size: 14px;
  color: rgba(245,240,235,0.55);
}

/* ===== INDUSTRY LINKS / NETWORK ===== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.network-card {
  padding: 28px;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  transition: all 0.3s;
}
.network-card:hover {
  border-color: #8a7d6b;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}
.network-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c2c2c;
}
.network-card p { font-size: 14px; color: #777; }

/* ===== CTA / CONTACT ===== */
.section-cta {
  background: #2c2a27;
  padding: 100px 0;
}
.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4.5vw, 44px);
  color: #f5f0eb;
  margin-bottom: 14px;
}
.cta-content > p { color: rgba(245,240,235,0.55); font-size: 17px; margin-bottom: 44px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-item { margin-bottom: 22px; }
.cta-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245,240,235,0.35);
  margin-bottom: 4px;
}
.cta-item a, .cta-item span { color: #f5f0eb; font-size: 17px; font-weight: 500; }
.cta-item a:hover { color: #c4b8a5; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-form input, .cta-form select, .cta-form textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 13px 16px;
  color: #f5f0eb;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
  outline: none;
}
.cta-form input::placeholder, .cta-form textarea::placeholder {
  color: rgba(245,240,235,0.3);
}
.cta-form select { color: rgba(245,240,235,0.3); }
.cta-form select option { background: #2c2a27; color: #f5f0eb; }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  border-color: #8a7d6b;
}
.cta-form textarea { resize: vertical; min-height: 90px; }
.form-success {
  color: #c4b8a5;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  padding: 36px 0;
}

/* ===== FOOTER ===== */
.footer {
  background: #1e1d1b;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { color: rgba(245,240,235,0.35); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-brand .logo-text { font-size: 15px; }
.footer-links h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(245,240,235,0.45);
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  font-size: 14px;
  color: rgba(245,240,235,0.35);
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: #c4b8a5; }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(245,240,235,0.25); }
.footer-lang {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-lang a {
  color: rgba(245,240,235,0.35);
  transition: color 0.2s;
}
.footer-lang a:hover { color: #c4b8a5; }

/* ===== PAGE HERO (sub-pages) ===== */
.page-hero-simple {
  background: #2c2a27;
  padding: 100px 24px 40px;
}
.page-hero-simple h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #f5f0eb;
}
.page-hero-simple p {
  color: rgba(245,240,235,0.55);
  font-size: 17px;
  margin-top: 8px;
}
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-color: #2c2a27;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,42,39,0.95) 0%, rgba(44,42,39,0.6) 50%, rgba(44,42,39,0.3) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #f5f0eb;
  margin-bottom: 8px;
}
.page-hero-content p {
  color: rgba(245,240,235,0.55);
  font-size: 17px;
}

/* ===== HERO BG IMAGE ===== */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,42,39,0.75);
}

/* ===== CONTENT LAYOUTS ===== */
.content-narrow { max-width: 800px; margin: 0 auto; }
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-two-col.reverse { direction: rtl; }
.content-two-col.reverse > * { direction: ltr; }
.content-two-col p { color: #666; margin-bottom: 14px; }
.rounded-img { border-radius: 12px; width: 100%; }

/* Home intro */
.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Image cards */
.img-card { overflow: hidden; border-radius: 12px; }

/* News images */
.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.news-featured .news-img { height: 220px; }
.news-body { flex: 1; display: flex; flex-direction: column; }

/* Forum images */
.forum-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* Content cards */
.content-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s;
  margin-bottom: 16px;
}
.content-card:last-child { margin-bottom: 0; }
.content-card:hover { border-color: #c4b8a5; transform: translateY(-2px); }
.content-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c2c2c;
}
.content-card p { font-size: 14px; color: #777; line-height: 1.7; }
.content-card-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 800;
  color: #c4b8a5;
  margin-bottom: 8px;
}
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Mission / Direction grids */
.mission-grid, .direction-grid, .events-grid, .press-grid, .territory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.mission-grid .content-card, .direction-grid .content-card,
.events-grid .content-card, .press-grid .content-card,
.territory-grid .content-card { margin-bottom: 0; }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.stat-card-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #c4b8a5;
  margin-bottom: 8px;
}
.stat-card-label {
  font-size: 13px;
  color: rgba(245,240,235,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.feature-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #555;
  font-size: 15px;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  background: #8a7d6b;
  border-radius: 50%;
}

/* FAQ list (single column) */
.faq-list .faq-item { margin-bottom: 12px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.team-card:hover { transform: translateY(-3px); border-color: #c4b8a5; }
.team-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.team-card h4 {
  font-size: 17px;
  font-weight: 700;
  padding: 20px 24px 6px;
  color: #2c2c2c;
}
.team-card p {
  font-size: 14px;
  color: #777;
  padding: 0 24px 24px;
}

/* Team Members */
.team-members {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.team-member-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s;
}
.team-member-card:hover {
  border-color: #c4b8a5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.team-member-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 16px;
}
.team-member-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 12px;
}
.team-member-card p:last-child {
  margin-bottom: 0;
}
.team-member-card em {
  color: #444;
}
.team-member-source {
  font-size: 13px;
  color: #999;
}

/* Project background images */
.project-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,42,39,0.9) 0%, rgba(44,42,39,0.3) 100%);
}

/* Estonia facts light variant */
.estonia-facts-light { margin-bottom: 0; }
.fact-light {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e4df;
}
.fact-light:last-child { border-bottom: none; }
.fact-num-light {
  font-size: 22px;
  font-weight: 800;
  color: #8a7d6b;
  min-width: 72px;
}
.fact-text-light { font-size: 14px; color: #777; }

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid #e8e4df;
  margin: 64px 0;
}

/* Links section */
.links-section { scroll-margin-top: 100px; }

/* Nav active */
.nav-active { color: #fff !important; }

/* ===== AUTH PAGES ===== */
.auth-section { padding: 40px 0; }
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.auth-left { position: relative; }
.auth-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auth-right {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.auth-form-wrap { max-width: 400px; width: 100%; }
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-subtitle {
  color: #777;
  font-size: 15px;
  margin-bottom: 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form .form-group { display: flex; flex-direction: column; gap: 4px; }
.auth-form label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}
.auth-form input, .auth-form select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}
.auth-form input:focus, .auth-form select:focus { border-color: #8a7d6b; }
.auth-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #999;
}
.auth-footer-text a { color: #8a7d6b; font-weight: 600; }
.auth-error {
  background: #fef3f2; border: 1px solid #fecdca; border-radius: 8px;
  padding: 12px 16px; font-size: 14px; color: #b42318;
  margin-bottom: 16px; line-height: 1.5;
}
.auth-success {
  text-align: center; padding: 32px 16px;
}
.auth-success-icon {
  width: 56px; height: 56px; background: #ecfdf3; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.auth-success h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #2c2c2c;
}
.auth-success p { font-size: 14px; color: #777; }

/* Topbar logged-in state */
.topbar-user {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(245,240,235,0.8);
}
.topbar-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #8a7d6b; color: #fff; font-size: 11px;
  font-weight: 700; display: flex; align-items: center;
  justify-content: center; letter-spacing: 0.5px;
}
.topbar-username { font-weight: 500; }
.topbar-logout {
  font-size: 12px; color: rgba(245,240,235,0.5);
  text-decoration: none; margin-left: 4px;
  transition: color 0.2s;
}
.topbar-logout:hover { color: rgba(245,240,235,0.9); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: #555; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #8a7d6b; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.questionnaire-form { margin-top: 28px; }
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}
.terms-check input[type="checkbox"] { margin-top: 3px; }
.terms-check a { color: #8a7d6b; font-weight: 600; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid, .network-grid, .forum-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .estonia-grid, .cta-grid, .content-two-col, .home-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-two-col.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .nav-tools { margin-left: auto; margin-right: 8px; }
  .search-overlay { padding-top: 6vh; }
  .search-overlay-inner { padding: 0 12px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #2c2a27;
    flex-direction: column;
    padding: 72px 24px 24px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > li > a { padding: 12px 0; }
  .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    padding-left: 16px;
    min-width: auto;
  }
  .has-dropdown:hover .dropdown { display: block; }
  .services-grid, .network-grid, .forum-grid, .news-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured { grid-row: span 1; min-height: 300px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .estonia-visual { order: -1; }
  .estonia-map { max-width: 240px; }
  .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { min-height: 240px; }
  .mission-grid, .direction-grid, .events-grid, .territory-grid { grid-template-columns: 1fr; }
  .intro-directory-grid { grid-template-columns: 1fr !important; }
}

/* ===== Warm Introductions ===== */
.intro-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .intro-directory-grid { grid-template-columns: repeat(2, 1fr); }
}
.intro-card {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.intro-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.intro-tag {
  display: inline-block;
  padding: 2px 10px;
  background: #eef0ff;
  color: #4a5acd;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin: 2px 3px 2px 0;
}
.intro-request-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.intro-request-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.karma-progress {
  background: #f0ede8;
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
}
.karma-progress-fill {
  background: #c67a1a;
  height: 100%;
  border-radius: 8px;
  transition: width 0.3s;
}
