/* =========================================================
   NEXUT 2.0 – Design System
   Dark green hero (#0D2A26) + light pastel sections
   Font: DM Serif Display (headings) + DM Sans (body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  /* Dark green (from logo bg) */
  --dg-900: #091A17;
  --dg-800: #0D2A26;
  --dg-700: #113630;
  --dg-600: #174339;
  --dg-500: #1E5045;
  --dg-border: rgba(255,255,255,0.10);
  --dg-border-hover: rgba(255,255,255,0.20);

  /* Brand dark green – used on light sections */
  --teal:        #0D2A26;
  --teal-hover:  #174339;
  --teal-light:  #1E5045;
  --teal-pale:   #D4E8E4;
  --teal-softest:#EBF3F1;
  --teal-border: rgba(13,42,38,0.15);

  /* Hero accent – sötétebb, mélyebb zöld tónusok a dark hero szekcióhoz */
  --hero-accent:       #3A9E89;   /* közepes sötétzöld – badge, stat értékek */
  --hero-accent-light: #4DB8A0;   /* egy fokkal világosabb – h1 italic, hover */
  --hero-accent-dim:   rgba(58,158,137,0.18);  /* háttér tint */
  --hero-accent-border:rgba(58,158,137,0.30);  /* border */

  /* Light section backgrounds */
  --bg-white:  #FFFFFF;
  --bg-teal:   #E8EEEB;   /* pale sage green – dark green family */
  --bg-gray:   #F8FAFB;
  --bg-section:#F4F9F7;

  /* Text (on light bg) */
  --text-dark:  #0B2822;
  --text-body:  #374F4A;
  --text-muted: #6B8480;
  --text-light: #98B0AC;

  /* UI */
  --border:     #DDE9E6;
  --shadow-sm:  0 1px 4px rgba(11,40,34,0.07);
  --shadow-md:  0 4px 20px rgba(11,40,34,0.09);
  --shadow-lg:  0 12px 40px rgba(11,40,34,0.12);

  /* Accent palettes for tiles */
  --a-teal-bg:   #D4E8E4; --a-teal:   #0D2A26;
  --a-blue-bg:   #DBEAFE; --a-blue:   #1D4ED8;
  --a-purple-bg: #EDE9FE; --a-purple: #6D28D9;
  --a-amber-bg:  #FEF3C7; --a-amber:  #B45309;

  /* Spacing */
  --section-py: 96px;
  --container:  1200px;
  --radius:     14px;
  --radius-sm:  8px;
  --radius-lg:  22px;
  --z-nav: 100; --z-drawer: 200;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2 { font-family: 'DM Serif Display', serif; line-height: 1.15; }
h3, h4 { font-family: 'DM Sans', sans-serif; font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.12rem; }
h4 { font-size: 0.93rem; }
p  { line-height: 1.75; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section helpers ────────────────────────────────────── */
.section { padding: var(--section-py) 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { margin-bottom: 14px; color: var(--text-dark); }
.section-header p  { font-size: 1.02rem; color: var(--text-muted); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 9999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 18px rgba(13,42,38,0.25);
}
.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,42,38,0.30);
}
/* Dark bg variant */
.btn-primary-dark {
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 700;
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow: none;
}
.btn-primary-dark:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  box-shadow: none;
}
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ── Scroll Reveal ──────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }
[data-animate-delay="1"] { transition-delay: 0.10s; }
[data-animate-delay="2"] { transition-delay: 0.20s; }
[data-animate-delay="3"] { transition-delay: 0.30s; }
[data-animate-delay="4"] { transition-delay: 0.40s; }
[data-animate-delay="5"] { transition-delay: 0.50s; }
@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate].is-visible { opacity:1; transform:none; transition:none; }
}

/* ================================================================
   NAVBAR  (dark green)
   ================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 68px;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* Over hero: transparent dark (hero itself is dark green, so nav blends) */
#navbar.on-hero {
  background: transparent;
}
/* Scrolled past hero: white */
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: flex-start; width: 100%; }
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; width: 110px; height: 32px; }
.nav-logo img { width: 110px; height: 32px; object-fit: contain; object-position: left center; }
/* White logo when over dark hero, teal logo when scrolled */
#navbar:not(.scrolled) .logo-dark  { display: none; }
#navbar:not(.scrolled) .logo-white { display: block; }
#navbar.scrolled .logo-white { display: none; }
#navbar.scrolled .logo-dark  { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
/* On dark hero */
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.75); }
#navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
/* Scrolled: light bg */
#navbar.scrolled .nav-links a { color: var(--text-body); }
#navbar.scrolled .nav-links a:hover { color: var(--teal); background: var(--teal-softest); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-switch span { opacity: 0.5; }
.lang-link {
  padding: 6px 4px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.lang-link[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}
#navbar:not(.scrolled) .lang-link { color: rgba(255,255,255,0.62); }
#navbar:not(.scrolled) .lang-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
#navbar:not(.scrolled) .lang-link.active { color: #fff; }
#navbar.scrolled .lang-link { color: var(--text-muted); }
#navbar.scrolled .lang-link:hover { color: var(--teal); background: var(--teal-softest); }
#navbar.scrolled .lang-link.active { color: var(--teal); }

.nav-cta {
  padding: 9px 22px !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s !important;
}
#navbar:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.14) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
}
#navbar:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.22) !important;
  transform: translateY(-1px) !important;
}
#navbar.scrolled .nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(13,42,38,0.20) !important;
  border: 1.5px solid transparent !important;
}
#navbar.scrolled .nav-cta:hover {
  background: var(--teal-hover) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; border-radius: var(--radius-sm); transition: background 0.2s; }
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; transition: transform 0.3s, opacity 0.3s, background 0.3s; }
#navbar:not(.scrolled) .hamburger span { background: rgba(255,255,255,0.85); }
#navbar.scrolled     .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px,85vw);
  background: var(--bg-white);
  border-left: 1px solid var(--border);
  z-index: var(--z-drawer);
  padding: 76px 24px 36px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(11,40,34,0.14);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { display: block; padding: 12px 16px; font-size: 1rem; font-weight: 500; color: var(--text-body); border-radius: var(--radius-sm); transition: background 0.2s, color 0.2s; }
.mobile-drawer a:hover { background: var(--bg-teal); color: var(--teal); }
.mobile-drawer .nav-cta { margin-top: 12px; text-align: center; background: var(--teal) !important; color: #fff !important; }
.drawer-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer .drawer-lang-link {
  display: inline-flex;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-drawer .drawer-lang-link.active {
  background: var(--teal-softest);
  color: var(--teal);
}
.mobile-drawer .drawer-lang-link[aria-disabled="true"] {
  pointer-events: none;
  cursor: default;
}
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(9,26,23,0.45);
  backdrop-filter: blur(2px);
  z-index: calc(var(--z-drawer) - 1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.32s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ================================================================
   HERO  (dark green, full-height)
   ================================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dg-800);
  padding: 96px 0 80px;
}

/* ── Hero colour overrides (sötétzöld, egyező a háttérrel) ── */
#hero .hero-badge {
  background: rgba(9,26,23,0.55);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.75);
}
#hero .badge-dot       { background: rgba(255,255,255,0.45); }
#hero h1 em            { color: rgba(255,255,255,0.90); }
#hero .stat-val        { color: rgba(255,255,255,0.90); }
#hero .hero-card       { border-color: rgba(255,255,255,0.10); }
#hero .hero-card-cta strong { color: rgba(255,255,255,0.80); }
#hero .btn-primary-dark {
  background: var(--dg-600);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
#hero .btn-primary-dark:hover {
  background: var(--dg-500);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

/* Background: hero photo image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.40;
  pointer-events: none;
}
/* Gradient overlay on top of texture */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,42,38,0.85) 0%,
    rgba(13,42,38,0.60) 50%,
    rgba(9,26,23,0.80) 100%
  );
  pointer-events: none;
}
/* Decorative teal glow */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,158,137,0.14) 0%, transparent 65%);
  top: -150px; right: -100px;
  animation: glow-drift 20s ease-in-out infinite;
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,158,137,0.09) 0%, transparent 65%);
  bottom: -80px; left: 5%;
  animation: glow-drift 28s ease-in-out infinite reverse;
  pointer-events: none;
}
@keyframes glow-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-15px,25px) scale(0.97); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left: text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(13,42,38,0.12);
  border: 1px solid rgba(13,42,38,0.28);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  animation: hero-in 0.7s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }

.hero-text h1 {
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.1;
  animation: hero-in 0.7s 0.1s ease both;
}
.hero-h1-sub {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(255,255,255,0.50);
  margin-bottom: 28px;
  line-height: 1.3;
  animation: hero-in 0.7s 0.15s ease both;
}
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin-bottom: 38px;
  animation: hero-in 0.7s 0.2s ease both;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; animation: hero-in 0.7s 0.3s ease both; }

@keyframes hero-in { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* Right: stat card */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: hero-in 0.7s 0.15s ease both;
}
.hero-card-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hero-card-logo { height: 36px; width: auto; object-fit: contain; }
.hero-card-title { font-weight: 700; font-size: 1rem; color: #fff; }
.hero-card-sub { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2px; }

.hero-stats { display: flex; flex-direction: column; gap: 0; }
.hero-stat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.stat-val {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--teal-light);
  line-height: 1;
}
.hero-card-cta {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.6;
}
.hero-card-cta strong { color: var(--teal); }

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  transition: opacity 0.4s;
  animation: hero-in 0.7s 0.8s ease both;
}
.scroll-down.hidden { opacity: 0; }
.scroll-arrow-ring {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ================================================================
   MISSION  (white)
   ================================================================ */
#mission { background: var(--bg-white); }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.mission-card {
  padding: 36px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--teal-border); }
.mission-icon {
  width: 50px; height: 50px;
  background: var(--teal-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 20px;
}
.mission-card h3 { color: var(--text-dark); margin-bottom: 9px; }
.mission-card p  { font-size: 0.91rem; color: var(--text-muted); line-height: 1.7; }

/* ================================================================
   GOVERNANCE  (pale teal)
   ================================================================ */
#governance { background: var(--bg-teal); }
.gov-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.gov-quote {
  border-left: 3px solid var(--teal);
  padding: 15px 20px;
  background: rgba(13,42,38,0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0 28px;
  font-size: 1.03rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.75;
}
.gov-quote cite { display: block; font-size: 0.78rem; font-style: normal; color: var(--text-muted); margin-top: 6px; }
.gov-body { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; }
.strategy-cards { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.gov-strategy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.strategy-card {
  display: flex; gap: 15px; padding: 18px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.strategy-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.sc-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--teal-pale); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.strategy-card h4 { margin-bottom: 4px; color: var(--text-dark); }
.strategy-card p  { font-size: 0.855rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

.gov-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gov-tile {
  padding: 24px 20px; border-radius: var(--radius); border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s; cursor: default;
}
.gov-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gov-tile.t-teal   { background:#D4E8E4; border-color:rgba(13,42,38,.12); }
.gov-tile.t-amber  { background:#C9DFDB; border-color:rgba(13,42,38,.12); }
.gov-tile.t-purple { background:#BDD5D1; border-color:rgba(13,42,38,.12); }
.gov-tile.t-blue   { background:#DAEAE7; border-color:rgba(13,42,38,.12); }
.gt-icon { width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:13px; }
.gov-tile.t-teal   .gt-icon { background:rgba(13,42,38,.12); color:#0D2A26; }
.gov-tile.t-amber  .gt-icon { background:rgba(13,42,38,.12); color:#113630; }
.gov-tile.t-purple .gt-icon { background:rgba(13,42,38,.12); color:#174339; }
.gov-tile.t-blue   .gt-icon { background:rgba(13,42,38,.12); color:#0D2A26; }
.gov-tile h4 { font-size:.93rem; margin-bottom:7px; color:var(--text-dark); }
.gov-tile p  { font-size:.82rem; color:var(--text-muted); line-height:1.65; margin:0; }

/* ================================================================
   AI R&D  (white)
   ================================================================ */
#fejlesztes { background: var(--bg-white); }
.rd-header-label { font-size:.75rem; font-weight:700; letter-spacing:.1em; color:var(--teal); text-transform:uppercase; display:block; margin-bottom:6px; }
.rd-statement {
  padding: 34px 40px;
  background: var(--bg-teal);
  border: 1px solid rgba(13,42,38,.18);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  margin: 0 24px 30px;
  box-shadow: var(--shadow-sm);
}
.rd-statement p { font-size:0.95rem; color:var(--text-body); margin:0; line-height:1.85; }
.rd-statement strong { color:var(--text-dark); }
.rd-philosophy {
  border-left: 3px solid var(--teal);
  padding: 18px 24px;
  background: var(--bg-teal);
  border-radius: var(--radius);
  margin: 0 24px 36px;
  box-shadow: var(--shadow-sm);
}
.rd-philosophy p { font-size:0.95rem; color:var(--text-body); margin:0; line-height:1.85; }
.rd-philosophy strong { color:var(--text-dark); }
/* ── tech ticker ── */
.tech-ticker-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
  background: rgba(23, 67, 57, 0.055);
  border: 1px solid rgba(23, 67, 57, 0.10);
  padding: 11px 0;
  margin: 0 12px 44px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 72px, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 72px, #000 calc(100% - 72px), transparent 100%);
}
.tech-ticker-inner {
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  white-space: nowrap;
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: .03em;
  padding: 0 24px;
  animation: tech-ticker-scroll 28s linear infinite;
  will-change: transform;
}
.tech-ticker-wrap:hover .tech-ticker-inner { animation-play-state: paused; }
@keyframes tech-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tech-item { display: inline-flex; align-items: center; gap: 5px; }
.tech-item img, .tech-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.tech-sep { color: var(--teal); opacity: .2; margin: 0 4px; font-weight: 300; }
.badges-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:44px; }
.badge-pill {
  display:inline-flex; align-items:center; gap:5px;
  padding:5px 14px;
  background: var(--bg-teal);
  border: 1px solid rgba(13,42,38,.25);
  border-radius:9999px;
  font-size:.76rem; font-weight:600; color:var(--teal-hover);
  transition: border-color .2s, background .2s;
}
.badge-pill:hover { border-color:var(--teal); background:var(--teal-pale); }

.rd-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:44px; }
.rd-card {
  padding:28px 24px;
  background:var(--bg-white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  position:relative; overflow:hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.rd-card::after { content:''; position:absolute; bottom:0;left:0;right:0; height:3px; background:linear-gradient(90deg,var(--teal),transparent); opacity:0; transition:opacity .25s; }
.rd-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:var(--teal-border); }
.rd-card:hover::after { opacity:1; }
.rd-icon { width:46px;height:46px; background:var(--teal-pale); border-radius:12px; display:flex;align-items:center;justify-content:center; color:var(--teal); margin-bottom:16px; }
.rd-card h3 { font-size:.98rem; margin-bottom:8px; color:var(--text-dark); }
.rd-card p  { font-size:.855rem; color:var(--text-muted); line-height:1.7; margin-bottom:14px; }
.rd-tag { display:inline-flex; padding:3px 12px; background:var(--teal-pale); border-radius:9999px; font-size:.7rem; font-weight:600; color:var(--teal-hover); letter-spacing:.04em; }

.rd-teach {
  display:grid; grid-template-columns:1fr 1.5fr; gap:44px; align-items:center;
  padding:40px 44px; background:var(--bg-section); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
}
.rd-teach-left h3 { font-family:'DM Serif Display',serif; font-size:1.75rem; line-height:1.25; color:var(--text-dark); }
.rd-teach-left h3 em { color:var(--teal); font-style:italic; }
.rd-teach-left p { margin-top:13px; font-size:.88rem; color:var(--text-muted); }
.rd-bullets { display:flex; flex-direction:column; gap:16px; }
.rd-bullet { display:flex; gap:13px; align-items:flex-start; }
.rd-dot { flex-shrink:0; width:8px;height:8px; background:var(--teal); border-radius:50%; margin-top:7px; }
.rd-bullet h4 { margin-bottom:3px; font-size:.9rem; color:var(--text-dark); }
.rd-bullet p  { font-size:.83rem; color:var(--text-muted); margin:0; }

/* ================================================================
   TEAM  (pale teal)
   ================================================================ */
#team { background: var(--bg-teal); }
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.team-row-2 { display:flex; justify-content:center; gap:18px; margin-top:18px; }
.team-row-2 .team-card { flex:0 0 calc(33.333% - 12px); max-width:calc(33.333% - 12px); }

.team-card {
  position:relative; border-radius:var(--radius); overflow:hidden;
  aspect-ratio:3/4; cursor:pointer;
  background:var(--bg-gray);
  box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
  transition: box-shadow .3s, border-color .3s;
}
.team-card:hover { box-shadow:var(--shadow-lg); border-color:var(--teal-border); }
.team-card img { width:100%;height:100%; object-fit:cover; object-position:top center; transition:transform .5s, filter .4s; }
.team-card:hover img { transform:scale(1.04); filter:brightness(.45) saturate(.7); }
.team-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(9,26,23,.92) 0%, rgba(9,26,23,.2) 50%, transparent 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:22px 18px;
}
.team-card:hover .team-overlay { background:rgba(9,26,23,.9); justify-content:center; }
.team-default { transition:opacity .3s; }
.team-card:hover .team-default { opacity:0; pointer-events:none; }
.team-hover {
  position:absolute; inset:0; padding:22px 18px;
  display:flex; flex-direction:column; justify-content:center;
  opacity:0; transform:translateY(12px);
  transition:opacity .35s, transform .35s;
  border-top:3px solid var(--teal);
}
.team-card:hover .team-hover { opacity:1; transform:translateY(0); }
.t-name { font-size:.98rem; font-weight:700; color:#fff; margin-bottom:3px; }
.t-role { font-size:.7rem; font-weight:600; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.08em; }
.t-bio  { font-size:.78rem; color:rgba(255,255,255,.78); line-height:1.65; margin-top:10px; }
.team-hint { text-align:center; margin-top:14px; font-size:.78rem; color:var(--text-light); display:flex; align-items:center; justify-content:center; gap:6px; }

/* ================================================================
   WORKSHOPS  (white)
   ================================================================ */
#workshops { background: var(--bg-white); }
.workshops-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.ws-card {
  position:relative; border-radius:var(--radius); overflow:hidden;
  min-height:430px; cursor:pointer;
  box-shadow:var(--shadow-sm); border:1px solid var(--border);
  transition: box-shadow .3s, border-color .3s;
}
.ws-card:hover { box-shadow:var(--shadow-lg); border-color:var(--teal-border); }
.ws-card img {
  position:absolute; inset:0; width:100%;height:100%; object-fit:cover;
  transition:transform .5s, filter .4s;
}
.ws-card:hover img { transform:scale(1.04); filter:brightness(.35) saturate(.5); }
.ws-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(9,26,23,.9) 0%, rgba(9,26,23,.15) 55%, transparent 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:24px 20px;
  transition:background .4s;
}
.ws-card:hover .ws-overlay { background:rgba(9,26,23,.88); justify-content:flex-start; padding-top:24px; }
.ws-default { transition:opacity .3s; }
.ws-card:hover .ws-default { opacity:0; pointer-events:none; }
.ws-badge {
  display:inline-block; padding:4px 13px; border-radius:9999px;
  font-size:.7rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  margin-bottom:9px; border:1px solid;
}
.ws-badge.teal   { background:rgba(13,42,38,.18); color:var(--teal-light); border-color:rgba(13,42,38,.35); }
.ws-badge.blue   { background:rgba(59,130,246,.18); color:#93C5FD; border-color:rgba(59,130,246,.35); }
.ws-badge.purple { background:rgba(139,92,246,.18); color:#C4B5FD; border-color:rgba(139,92,246,.35); }
.ws-title { font-size:1.12rem; font-weight:700; color:#fff; line-height:1.3; }
.ws-hover {
  position:absolute; inset:0; padding:24px 20px;
  display:flex; flex-direction:column;
  opacity:0; transform:translateY(12px);
  transition:opacity .35s, transform .35s;
}
.ws-card:hover .ws-hover { opacity:1; transform:translateY(0); }
.ws-hover h3 { font-size:1.02rem; color:#fff; margin-bottom:5px; }
.ws-target { font-size:.78rem; color:rgba(255,255,255,.55); margin-bottom:11px; font-style:italic; }
.ws-topics { flex:1; }
.ws-topics li { display:flex; gap:9px; font-size:.78rem; color:rgba(255,255,255,.8); padding:5px 0; border-bottom:1px solid rgba(255,255,255,.07); line-height:1.5; }
.ws-topics li::before { content:''; flex-shrink:0; width:6px;height:6px; background:var(--teal); border-radius:50%; margin-top:5px; }
.ws-cta {
  display:block; width:100%; text-align:center;
  margin-top:14px; padding:11px;
  background:var(--teal); color:#fff;
  border-radius:var(--radius-sm); font-weight:600; font-size:.87rem;
  transition:background .2s, transform .2s;
}
.ws-cta:hover { background:var(--teal-hover); transform:translateY(-1px); }

/* ================================================================
   CONTACT  (dark green)
   ================================================================ */
#contact { background: var(--dg-800); padding: 64px 0; }
.contact-inner { position:relative; z-index:1; }
.contact-section-label { color:rgba(255,255,255,.6); }
.contact-section-label::before { background:rgba(255,255,255,.4); }
#contact .section-header h2 { color:#fff; }
#contact .section-header p  { color:rgba(255,255,255,.55); }
#contact .section-header { margin-bottom:32px; }

.contact-card {
  max-width:520px; margin:0 auto 32px;
  padding:28px 36px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius-lg);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.c-col-title { font-size:.73rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--teal-light); margin-bottom:18px; }
.c-item {
  display:flex; align-items:center; gap:12px;
  padding:11px 0; border-bottom:1px solid rgba(255,255,255,.07);
  cursor:pointer; transition:color .2s;
}
.c-item:last-child { border-bottom:none; }
.c-item:hover .c-val { color:rgba(255,255,255,.9); }
.c-icon { flex-shrink:0; width:34px;height:34px; background:rgba(255,255,255,.10); border-radius:var(--radius-sm); display:flex;align-items:center;justify-content:center; color:rgba(255,255,255,.6); }
.c-val { font-size:.88rem; color:rgba(255,255,255,.6); transition:color .2s; }

.social-links { display:flex; flex-direction:column; gap:9px; }
.social-link {
  display:flex; align-items:center; gap:12px; padding:11px 14px;
  border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-sm);
  transition:border-color .2s, background .2s, transform .2s; cursor:pointer;
}
.social-link:hover { border-color:rgba(255,255,255,.25); background:rgba(255,255,255,.07); transform:translateX(3px); }
.s-icon { width:34px;height:34px; border-radius:var(--radius-sm); display:flex;align-items:center;justify-content:center; flex-shrink:0; }
.s-icon.fb { background:rgba(59,130,246,.15); color:#93C5FD; }
.s-icon.ig { background:rgba(244,114,182,.15); color:#F9A8D4; }
.s-icon.li { background:rgba(10,102,194,.15); color:#7DD3FC; }
.s-name    { font-size:.88rem; font-weight:600; color:rgba(255,255,255,.65); }
.s-coming  { font-size:.68rem; color:rgba(255,255,255,.3); margin-left:auto; }

.contact-cta-strip {
  max-width:520px; margin:0 auto;
  padding:20px 28px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius);
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.contact-cta-strip h4 { font-size:.95rem; color:#fff; }
.contact-cta-strip p  { font-size:.82rem; color:rgba(255,255,255,.5); margin:3px 0 0; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background:var(--dg-900); padding:52px 0 28px; border-top:1px solid rgba(255,255,255,.06); }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:44px; margin-bottom:40px; }
.f-logo { height:28px; width:auto; max-width:140px; object-fit:contain; object-position:left center; margin-bottom:13px; }
.f-tagline { font-size:.84rem; color:rgba(255,255,255,.4); max-width:230px; line-height:1.7; }
.f-heading { font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:14px; }
.f-links { display:flex; flex-direction:column; gap:8px; }
.f-links a { font-size:.86rem; color:rgba(255,255,255,.5); transition:color .2s; }
.f-links a:hover { color:var(--teal-light); }
.f-socials { display:flex; gap:8px; margin-bottom:12px; }
.f-soc {
  width:32px;height:32px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.09); border-radius:var(--radius-sm);
  display:flex;align-items:center;justify-content:center; color:rgba(255,255,255,.45);
  cursor:pointer; transition:background .2s, color .2s, border-color .2s;
}
.f-soc:hover { background:rgba(255,255,255,.12); color:#fff; border-color:rgba(255,255,255,.25); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.07); padding-top:20px;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:.76rem; color:rgba(255,255,255,.28);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1024px) {
  :root { --section-py:72px; }
  .hero-inner { grid-template-columns:1fr; gap:36px; }
  .hero-card  { max-width:480px; }
  .gov-layout { grid-template-columns:1fr; gap:36px; }
  .rd-teach   { grid-template-columns:1fr; gap:26px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .footer-grid > :first-child { grid-column:1/-1; }
}
@media (max-width:768px) {
  :root { --section-py:58px; }
  .nav-links { display:none; }
  .lang-switch { margin-left:auto; margin-right:8px; }
  .hamburger { display:flex; }
  .mission-grid    { grid-template-columns:1fr; }
  .gov-tiles       { grid-template-columns:1fr; }
  .gov-strategy-row{ grid-template-columns:1fr; }
  .rd-cards        { grid-template-columns:1fr; }
  .team-grid    { grid-template-columns:repeat(2,1fr); }
  .team-row-2   { flex-wrap:wrap; }
  .team-row-2 .team-card { flex:0 0 calc(50% - 9px); max-width:calc(50% - 9px); }
  .workshops-grid { grid-template-columns:1fr; }
  .contact-grid   { grid-template-columns:1fr; gap:22px; }
  .contact-cta-strip { flex-direction:column; text-align:center; }
  .footer-grid    { grid-template-columns:1fr; }
  .footer-bottom  { flex-direction:column; text-align:center; }
}
@media (max-width:480px) {
  :root { --section-py:48px; }
  .lang-switch { font-size:0.7rem; gap:6px; margin-right:6px; }
  .hero-ctas { flex-direction:column; }
  .btn { width:100%; justify-content:center; }
  .team-grid { grid-template-columns:1fr; }
  .team-row-2 { flex-direction:column; }
  .team-row-2 .team-card { flex:0 0 100%; max-width:100%; }
  .rd-statement { padding:24px 20px; margin-left:0; margin-right:0; }
  .rd-philosophy { margin-left:0; margin-right:0; }
  .rd-teach { padding:26px 22px; }
  .contact-card { padding:26px 18px; }
  .contact-cta-strip { padding:22px; }
}
