:root {
  --leaf: #6eb888;
  --sand: #d4a36a;
  --moss-dark: #132019;
  --bg: #0d1410;
  --surface: rgba(20, 31, 25, 0.82);
  --surface-card: rgba(26, 40, 32, 0.85);
  --text: #eef3ef;
  --text-muted: rgba(238, 243, 239, 0.78);
  --border-subtle: rgba(163, 198, 174, 0.18);
  --border-accent: rgba(110, 184, 136, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
}

/* =====================================
   NATUURLIJKE SFEERACHTERGROND (ZACHTE NEVEL & DIEPTE)
===================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 18% 15%, rgba(110, 184, 136, 0.11), transparent 45%),
    radial-gradient(ellipse at 82% 78%, rgba(212, 163, 106, 0.08), transparent 45%),
    linear-gradient(180deg, #0e1612 0%, #0b110e 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(163, 198, 174, 0.05), transparent 60%);
  pointer-events: none;
}

/* =====================================
   NAVBAR
===================================== */

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1300px;
  height: 76px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 1000;
}

.nav-shell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: rgba(14, 22, 18, 0.88);
  backdrop-filter: blur(18px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

/* =====================================
   CURSOR GLOW (ZACHT WARM/GROEN LICHT)
===================================== */

.mouse-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 184, 136, 0.12), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* =====================================
   LOGO
===================================== */

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.logo:hover {
  letter-spacing: 3px;
  color: var(--leaf);
}

/* =====================================
   DESKTOP MENU & LANGUAGE SWITCH
===================================== */

.menu {
  list-style: none;
  display: flex;
  gap: 6px;
  position: relative;
}

.menu li {
  position: relative;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.menu a:hover {
  color: var(--leaf);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.lang-switch a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 8px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.lang-switch a:hover,
.lang-switch a[aria-current="page"] {
  color: var(--leaf);
  background: rgba(110, 184, 136, 0.14);
}

.lang-switch span {
  opacity: 0.35;
}

/* Floating Indicator */

.indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 10px;
  background: rgba(110, 184, 136, 0.16);
  border: 1px solid rgba(110, 184, 136, 0.28);
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

/* =====================================
   BUTTON
===================================== */

.btn {
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 12px;
  color: #0b120e;
  font-weight: 600;
  background: linear-gradient(135deg, var(--leaf), #8bc9a0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(110, 184, 136, 0.25);
  filter: brightness(1.04);
}

/* =====================================
   MORPHING HAMBURGER
===================================== */

.hamburger {
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.hamburger:hover {
  border-color: var(--border-accent);
  background: rgba(110, 184, 136, 0.08);
}

.hamburger span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  left: 50%;
  top: 50%;
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburger span:nth-child(1) {
  transform: translate(-50%, -8px);
}

.hamburger span:nth-child(2) {
  transform: translate(-50%, 0);
}

.hamburger span:nth-child(3) {
  transform: translate(-50%, 8px);
}

.hamburger.active span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, 0) scale(0);
}

.hamburger.active span:nth-child(3) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* =====================================
   MOBILE MENU
===================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  padding-top: 120px;
  padding-bottom: 40px;
  overflow-y: auto;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
  backdrop-filter: blur(24px);
  background:
    radial-gradient(circle at top left, rgba(110, 184, 136, 0.14), transparent 50%),
    radial-gradient(circle at bottom right, rgba(212, 163, 106, 0.1), transparent 50%),
    rgba(11, 17, 14, 0.96);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.85rem;
  letter-spacing: 1.5px;
  transition: color 0.25s ease-out;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  color: var(--leaf);
}

.mobile-lang-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  font-size: 1.3rem;
}

.mobile-lang-switch a {
  font-size: 1.3rem;
  letter-spacing: 1.5px;
}

.mobile-lang-switch span {
  opacity: 0.35;
}

/* =====================================
   HERO & CONTENT STYLING (Left aligned)
===================================== */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 120px 20px 48px 20px;
  text-align: center;
}

.hero h1.main-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 36px;
}

.container {
  width: 100%;
  max-width: 900px;
  text-align: left;
}

.section {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  text-align: left;
}

.section--plain {
  background: none;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

.section-heading-lg {
  color: var(--text);
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-lead {
  color: var(--leaf);
}

.section h2 {
  color: var(--leaf);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.section p {
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Codeblokken en inline code stijlen */
pre {
  background: #090e0b;
  color: #e2ebe5;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  overflow-x: auto;
  text-align: left;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

code.language-php {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #a8d8b9;
}

p code,
summary code {
  background: rgba(110, 184, 136, 0.12);
  border: 1px solid rgba(110, 184, 136, 0.3);
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--leaf);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

/* FAQ Details stijlen */
details {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: border-color 0.25s ease;
}

details:hover {
  border-color: var(--border-accent);
}

summary {
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  outline: none;
}

summary:hover {
  color: var(--leaf);
}

details p {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 900px) {
  .menu,
  .lang-switch,
  .btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .logo {
    font-size: 1.05rem;
  }

  .mobile-menu a {
    font-size: 1.5rem;
  }

  .mobile-lang-switch a {
    font-size: 1.25rem;
  }
}

/* =====================================
   PROJECTS PAGE (DISTINCT LAYOUT)
===================================== */

.page-projects .menu a[aria-current="page"] {
  color: var(--leaf);
}

.projects-main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 126px 20px 64px;
}

.projects-header {
  border-left: 4px solid var(--leaf);
  padding: 8px 0 8px 22px;
  margin-bottom: 32px;
}

.projects-badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--sand);
  background: rgba(212, 163, 106, 0.12);
  border: 1px solid rgba(212, 163, 106, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.projects-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.projects-lead {
  max-width: 72ch;
  color: var(--text-muted);
  line-height: 1.7;
}

.projects-panel {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.projects-panel h2 {
  color: var(--leaf);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.projects-panel p {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.demo-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.demo-link-btn {
  display: inline-block;
  text-decoration: none;
  color: #0b120e;
  background: linear-gradient(135deg, var(--leaf), var(--sand));
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 18px;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(110, 184, 136, 0.22);
}

.demo-frame-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  background: #090e0b;
}

.demo-frame-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.demo-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #a8d8b9;
}

.demo-frame {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  background: #0b110e;
}

.demo-note {
  margin-top: 12px;
  margin-bottom: 0 !important;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.project-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
}

.project-card h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 10px;
}

.project-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.pswp-list {
  margin: 0 0 18px 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.pswp-list li {
  margin-bottom: 8px;
}

/* =====================================
   PORTFOLIO PAGE (DISTINCT LAYOUT)
===================================== */

.page-portfolio .menu a[aria-current="page"] {
  color: var(--leaf);
}

.portfolio-main {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 126px 20px 64px;
}

.portfolio-banner {
  background: linear-gradient(
    135deg,
    rgba(110, 184, 136, 0.12),
    rgba(212, 163, 106, 0.08)
  );
  border: 1px solid var(--border-accent);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 30px;
  backdrop-filter: blur(12px);
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--sand);
  margin-bottom: 10px;
}

.portfolio-h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.portfolio-lead {
  max-width: 74ch;
  line-height: 1.7;
  color: var(--text-muted);
}

.portfolio-section {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.portfolio-section h2 {
  color: var(--leaf);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.portfolio-desc {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.portfolio-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-accent);
}

.portfolio-media {
  aspect-ratio: 4 / 3;
  background: #090e0b;
  overflow: hidden;
}

.portfolio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(
    circle at top left,
    rgba(110, 184, 136, 0.14),
    rgba(11, 17, 14, 0.96)
  );
}

.placeholder-species {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.placeholder-latin {
  font-size: 0.9rem;
  color: var(--leaf);
}

.placeholder-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.portfolio-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.species-heading {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.35;
}

.latin-bracket {
  color: var(--leaf);
  font-weight: 500;
  margin-left: 4px;
}

.portfolio-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  font-size: 0.84rem;
}

.portfolio-meta dt {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 2px;
}

.portfolio-meta dd {
  color: var(--text);
  word-break: break-word;
}

.portfolio-meta code {
  font-size: 0.78rem;
  color: #a8d8b9;
}

.portfolio-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.portfolio-list {
  margin: 0 0 18px 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.portfolio-list li {
  margin-bottom: 8px;
}

/* =====================================
   SERVICES PAGE (DISTINCT LAYOUT)
===================================== */

.page-services .menu a[aria-current="page"] {
  color: var(--leaf);
}

.services-main {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 126px 20px 64px;
}

.services-hero {
  text-align: left;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.services-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--sand);
  margin-bottom: 10px;
}

.services-h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.services-lead {
  max-width: 72ch;
  line-height: 1.7;
  color: var(--text-muted);
}

.services-box {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}

.services-box--highlight {
  border-color: var(--border-accent);
  background: linear-gradient(
    135deg,
    rgba(110, 184, 136, 0.1),
    rgba(20, 31, 25, 0.88)
  );
}

.services-box--notice {
  border-color: rgba(212, 163, 106, 0.32);
  background: var(--surface-card);
}

.services-box h2 {
  color: var(--leaf);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.services-box p {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.services-no-margin {
  margin-bottom: 0 !important;
}

.services-list {
  margin: 0 0 0 20px;
  line-height: 1.7;
  color: var(--text-muted);
}

.services-list li {
  margin-bottom: 6px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
}

.service-card h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.services-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.service-step {
  border-left: 3px solid var(--leaf);
  padding: 4px 0 4px 16px;
}

.service-step h3 {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.service-step p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* =====================================
   CONTACT PAGE (DISTINCT LAYOUT)
===================================== */

.page-contact .menu a[aria-current="page"] {
  color: var(--leaf);
}

.contact-main {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 126px 20px 64px;
}

.contact-header {
  margin-bottom: 28px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(110, 184, 136, 0.12),
    rgba(212, 163, 106, 0.07)
  );
  border: 1px solid var(--border-accent);
}

.contact-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--sand);
  margin-bottom: 10px;
}

.contact-h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.contact-lead {
  max-width: 72ch;
  line-height: 1.7;
  color: var(--text-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(12px);
}

.contact-card h2 {
  color: var(--leaf);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.contact-card p {
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-no-margin {
  margin-bottom: 0 !important;
}

.contact-email-box {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  word-break: break-all;
}

.contact-email-link {
  color: #a8d8b9;
  text-decoration: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
}

.contact-email-link:hover {
  color: var(--leaf);
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-copy-btn {
  border: 1px solid var(--border-accent);
  background: rgba(110, 184, 136, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.contact-copy-btn:hover {
  background: rgba(110, 184, 136, 0.22);
  transform: translateY(-2px);
}

.contact-copy-status {
  min-height: 1.2em;
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem;
  color: var(--leaf);
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.lang-item {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px;
}

.lang-item h3 {
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.lang-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* =====================================
   PURE FADE-IN & FADE-OUT (ALL PAGES)
===================================== */

@keyframes pureFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

main,
.hero {
  opacity: 0;
  animation: pureFadeIn 0.35s ease-out forwards;
}

body.is-fading-out {
  opacity: 0;
  transition: opacity 0.45s ease-out;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  main,
  .hero {
    opacity: 1;
    animation: none;
  }

  body.is-fading-out,
  .mobile-menu,
  .mobile-menu a {
    transition: none;
  }
}
