/* ============================================================
   ECO OIL RESOURCE — Shared Stylesheet
   Mobile-first · Dark-mode aware · Accessible
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --green:        #1B5E3A;
  --green-dark:   #14472C;
  --green-light:  #E8F0E4;
  --green-wash:   #F7F9F6;
  --slate:        #2C3E50;
  --slate-light:  #4A6274;
  --amber:        #D4A017;
  --amber-hover:  #B8880F;
  --amber-bg:     #FFF8E1;
  --white:        #FFFFFF;
  --off-white:    #FAFCF9;
  --border:       #D0D9CE;
  --border-light: #E4EAE2;
  --muted:        #6B7C6E;
  --error:        #C62828;
  --error-bg:     #FFEBEE;
  --success:      #2E7D32;
  --success-bg:   #E8F5E9;

  --bg:           var(--green-wash);
  --bg-card:      var(--white);
  --bg-hero:      var(--green);
  --text:         var(--slate);
  --text-muted:   var(--muted);
  --text-inverse: var(--white);
  --link:         var(--green);
  --link-hover:   var(--green-dark);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06);
  --shadow-md:    0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 24px rgba(0,0,0,.10);

  --ff-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --ff-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  2rem;
  --fs-4xl:  2.5rem;
  --lh:         1.6;
  --lh-heading: 1.25;

  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  --max-w:      1200px;
  --max-w-text: 720px;
  --header-h:   72px;
  --header-h-compact: 56px;
  --radius:    6px;
  --radius-lg: 12px;

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  0.25s;
}

/* ---------- DARK THEME ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #4CAF72; --green-dark: #66C98A; --green-light: #1A2E22;
    --green-wash: #0F1A14; --slate: #E0E8E2; --slate-light: #B0C0B4;
    --amber: #FFD54F; --amber-hover: #FFE082; --amber-bg: #2A2410;
    --white: #1A2420; --off-white: #162018; --border: #2E3E34;
    --border-light: #253028; --muted: #8FA890; --error: #EF5350;
    --error-bg: #2A1515; --success: #66BB6A; --success-bg: #1A2E1C;
    --bg: var(--green-wash); --bg-card: #1E2C24; --bg-hero: #14301E;
    --text: var(--slate); --text-muted: var(--muted);
    --text-inverse: #0F1A14; --link: var(--green); --link-hover: var(--green-dark);
    --shadow-sm: 0 1px 3px rgba(0,0,0,.20);
    --shadow-md: 0 4px 12px rgba(0,0,0,.25);
    --shadow-lg: 0 8px 24px rgba(0,0,0,.30);
  }
}
:root[data-theme="dark"] {
  --green: #4CAF72; --green-dark: #66C98A; --green-light: #1A2E22;
  --green-wash: #0F1A14; --slate: #E0E8E2; --slate-light: #B0C0B4;
  --amber: #FFD54F; --amber-hover: #FFE082; --amber-bg: #2A2410;
  --white: #1A2420; --off-white: #162018; --border: #2E3E34;
  --border-light: #253028; --muted: #8FA890; --error: #EF5350;
  --error-bg: #2A1515; --success: #66BB6A; --success-bg: #1A2E1C;
  --bg: var(--green-wash); --bg-card: #1E2C24; --bg-hero: #14301E;
  --text: var(--slate); --text-muted: var(--muted);
  --text-inverse: #0F1A14; --link: var(--green); --link-hover: var(--green-dark);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.20);
  --shadow-md: 0 4px 12px rgba(0,0,0,.25);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.30);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--sp-md)); overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--link-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
address { font-style: normal; }

/* ---------- A11Y ---------- */
.skip-link, .skip-to-content {
  position: absolute; top: -100%; left: var(--sp-md); z-index: 9999;
  padding: var(--sp-sm) var(--sp-md); background: var(--green);
  color: var(--text-inverse); border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; font-size: var(--fs-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus, .skip-to-content:focus {
  top: 0; outline: 3px solid var(--amber); outline-offset: 2px;
}
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading); line-height: var(--lh-heading);
  color: var(--green); text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p + p { margin-top: var(--sp-md); }

@media (min-width: 768px) {
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-2xl); }
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%; max-width: var(--max-w);
  margin-inline: auto; padding-inline: var(--sp-md);
}
@media (min-width: 768px) { .container { padding-inline: var(--sp-xl); } }

.section { padding-block: var(--sp-2xl); }
@media (min-width: 768px)  { .section { padding-block: var(--sp-3xl); } }
@media (min-width: 1200px) { .section { padding-block: var(--sp-4xl); } }
.section--alt  { background: var(--green-light); }
.section--green { background: var(--green-light); }
.section--white { background: var(--bg-card); }

.section__title {
  font-family: var(--ff-heading); color: var(--green);
  margin-bottom: var(--sp-lg); text-align: center;
}
.section__intro {
  max-width: var(--max-w-text); margin-inline: auto;
  text-align: center; color: var(--text-muted);
  font-size: var(--fs-lg); margin-bottom: var(--sp-xl);
}
.section__cta { text-align: center; margin-top: var(--sp-xl); }

.section__header {
  text-align: center; max-width: var(--max-w-text);
  margin-inline: auto; margin-bottom: var(--sp-xl);
}
.section__header h2 { margin-bottom: var(--sp-sm); }
.section__header p  { color: var(--text-muted); font-size: var(--fs-lg); }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled, .header.header--compact {
  box-shadow: var(--shadow-md);
}

/* two-tier layout (BG home) */
.header__top {
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-sm);
}
.header__top-inner {
  display: flex; align-items: center;
  justify-content: flex-end; gap: var(--sp-md);
  padding-block: var(--sp-xs);
}
.header__main-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-md);
  height: var(--header-h-compact);
}

/* single-tier layout (inner pages) */
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: var(--sp-md);
  height: var(--header-h);
}

/* contacts */
.header__contacts {
  display: flex; align-items: center; gap: var(--sp-md);
  font-size: var(--fs-sm); color: var(--text-muted);
}
.header__contact-link, .header__contacts a {
  color: var(--text-muted); display: flex;
  align-items: center; gap: var(--sp-xs);
}
.header__contact-link:hover, .header__contacts a:hover { color: var(--green); }
.header__contact-text { white-space: nowrap; }
@media (min-width: 768px) { .header__contacts { display: flex; } }
@media (max-width: 479px) { .header__contact-text { display: none; } }

/* logo */
.header__logo {
  display: flex; align-items: center; gap: var(--sp-sm);
  font-family: var(--ff-heading); font-size: var(--fs-lg);
  color: var(--green); white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.header__logo:hover { color: var(--green-dark); }
.header__logo-icon { height: 36px; width: auto; }
.header__logo-text { font-weight: 400; }

/* actions */
.header__actions {
  display: flex; align-items: center; gap: var(--sp-sm);
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .header__actions .btn { display: none; }
}

/* nav */
.nav, .header__nav { display: none; }
@media (min-width: 768px) {
  .nav, .header__nav { display: flex; align-items: center; }
}
.nav__list, .nav-list {
  display: flex; align-items: center;
  gap: var(--sp-lg); list-style: none;
}
.nav__link, .nav-list a {
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text); padding: var(--sp-xs) 0;
  position: relative; white-space: nowrap;
  text-decoration: none;
}
.nav__link::after, .nav-list a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.is-active,
.nav__link.nav__link--active, .nav-list a:hover,
.nav-list a.nav-active { color: var(--green); }
.nav__link:hover::after, .nav__link.is-active::after,
.nav__link.nav__link--active::after, .nav-list a:hover::after,
.nav-list a.nav-active::after { width: 100%; }

/* hamburger (span-based) */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hamburger (SVG-based) */
.hamburger svg { width: 24px; height: 24px; }
.hamburger__line { transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); transform-origin: center; }
.hamburger.is-open .hamburger__line--1 { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open .hamburger__line--2 { opacity: 0; }
.hamburger.is-open .hamburger__line--3 { transform: translateY(-6px) rotate(-45deg); }

/* nav-toggle (za-nas pattern) */
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 44px; height: 44px; padding: 10px;
}
.nav-toggle__bar {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
body.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) { .hamburger, .nav-toggle { display: none; } }

/* mobile menu */
.mobile-menu, .nav-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-card); z-index: 999;
  padding: var(--sp-xl) var(--sp-md);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
body.nav-open .nav-menu { transform: translateX(0); }

.mobile-menu__link, .nav-menu a {
  display: block; padding: var(--sp-md) 0; font-size: var(--fs-lg);
  font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu__link:hover, .mobile-menu__link.is-active,
.nav-menu a:hover { color: var(--green); }
.mobile-menu__cta { margin-top: var(--sp-xl); }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }

/* nav-menu desktop layout (BG subpages) */
@media (min-width: 768px) {
  .nav-menu {
    position: static; transform: none; background: transparent;
    padding: 0; overflow: visible; display: flex; align-items: center; flex: 1;
  }
  .nav-menu__list {
    display: flex; align-items: center; gap: var(--sp-lg); list-style: none;
  }
  .nav-menu__list a {
    display: inline; padding: var(--sp-xs) 0; font-size: var(--fs-sm);
    font-weight: 500; color: var(--text); border-bottom: none;
    position: relative; white-space: nowrap;
  }
  .nav-menu__list a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--green);
    transition: width var(--dur) var(--ease);
  }
  .nav-menu__list a:hover::after,
  .nav-menu__list a.is-active::after { width: 100%; }
  .nav-menu__list a:hover,
  .nav-menu__list a.is-active { color: var(--green); }
  .nav-menu__actions {
    display: flex; align-items: center; gap: var(--sp-md); margin-left: auto;
  }
}

/* mobile overlay for .nav / .header__nav (homepages + EN subpages) */
@media (max-width: 767px) {
  body.nav-open .nav,
  body.nav-open .header__nav {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-card); z-index: 999;
    padding: 6rem var(--sp-md) var(--sp-xl); overflow-y: auto;
  }
  body.nav-open .nav .nav__list,
  body.nav-open .header__nav .nav-list {
    display: flex; flex-direction: column; gap: 0;
  }
  body.nav-open .nav .nav__link,
  body.nav-open .nav .nav__list a,
  body.nav-open .header__nav .nav-list a {
    display: block; padding: var(--sp-md) 0; font-size: var(--fs-lg);
    font-weight: 500; color: var(--text);
    border-bottom: 1px solid var(--border-light); white-space: normal;
  }
  body.nav-open .nav .nav__link:hover,
  body.nav-open .header__nav .nav-list a:hover { color: var(--green); }
  body.nav-open .nav .nav__link::after { display: none; }
}

/* language switcher */
.lang-switch {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
}
.lang-switch__btn, .lang-switch__item {
  padding: var(--sp-xs) var(--sp-sm); font-size: var(--fs-xs);
  font-weight: 600; color: var(--text-muted);
  background: transparent; text-decoration: none; line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-switch__btn:hover, .lang-switch__item:hover { background: var(--green-light); color: var(--green); }
.lang-switch__btn.is-active, .lang-switch__item--active {
  background: var(--green); color: var(--text-inverse);
}
.lang-switch__btn + .lang-switch__btn,
.lang-switch__item + .lang-switch__item { border-left: 1px solid var(--border); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-sm); padding: 0.75rem 1.5rem;
  font-size: var(--fs-base); font-weight: 600;
  border-radius: var(--radius); white-space: nowrap;
  text-decoration: none; line-height: 1.25;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform 0.1s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--green); color: var(--text-inverse); }
.btn--primary:hover { background: var(--green-dark); color: var(--text-inverse); box-shadow: var(--shadow-sm); }
.btn--secondary, .btn--outline {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn--secondary:hover, .btn--outline:hover { background: var(--green); color: var(--text-inverse); }
.btn--ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn--ghost:hover { background: var(--green-light); color: var(--green); border-color: var(--green); }
.btn--amber { background: var(--amber); color: var(--slate); }
.btn--amber:hover { background: var(--amber-hover); box-shadow: var(--shadow-sm); }
.btn--sm  { padding: 0.5rem 1rem; font-size: var(--fs-sm); }
.btn--lg  { padding: 1rem 2rem; font-size: var(--fs-lg); }
.btn--full { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  background: var(--bg-hero); color: var(--text-inverse);
  padding: var(--sp-3xl) 0; text-align: center;
}
.hero h1, .hero__title { color: var(--text-inverse); margin-bottom: var(--sp-md); }
.hero p, .hero__subtitle, .hero__text {
  font-size: var(--fs-lg); max-width: var(--max-w-text);
  margin-inline: auto; margin-bottom: var(--sp-lg); opacity: 0.9;
}
.hero__actions {
  display: flex; gap: var(--sp-md);
  justify-content: center; flex-wrap: wrap;
}
@media (min-width: 768px) {
  .hero { padding: var(--sp-4xl) 0; }
  .hero p, .hero__subtitle { font-size: var(--fs-xl); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--bg-card);
  border-top: 3px solid var(--green);
  padding: var(--sp-xl) 0;
}
.trust-bar__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); text-align: center;
}
@media (min-width: 768px)  { .trust-bar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .trust-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.trust-bar__item strong, .trust-bar__number {
  display: block; font-family: var(--ff-heading);
  font-size: var(--fs-2xl); color: var(--green);
}
.trust-bar__item span, .trust-bar__label {
  font-size: var(--fs-sm); color: var(--text-muted);
}

/* ---------- MEMBERS GRID ---------- */
.members-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg); margin-bottom: var(--sp-xl);
}
@media (min-width: 768px) { .members-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .members-grid { grid-template-columns: repeat(5, 1fr); } }

.member-card {
  text-align: center; padding: var(--sp-lg);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--dur) var(--ease);
}
.member-card:hover { box-shadow: var(--shadow-md); }
.member-card__icon { margin: 0 auto var(--sp-sm); }
.member-card__label { font-size: var(--fs-sm); color: var(--text-muted); display: block; }

/* ---------- SOURCES GRID ---------- */
.sources-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-lg);
}
@media (min-width: 768px) { .sources-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .sources-grid { grid-template-columns: repeat(3, 1fr); } }

.source-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
  transition: box-shadow var(--dur) var(--ease);
}
.source-card:hover { box-shadow: var(--shadow-md); }
.source-card__icon { margin-bottom: var(--sp-sm); color: var(--green); }
.source-card__title { font-size: var(--fs-lg); margin-bottom: var(--sp-xs); }
.source-card__text { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- FLOW DIAGRAM ---------- */
.flow-diagram {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: var(--sp-sm);
  margin-top: var(--sp-xl); padding: var(--sp-lg) 0;
}
.flow-diagram__step {
  background: var(--green-light); padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius); text-align: center;
}
.flow-diagram__step--highlight {
  background: var(--amber-bg); border: 2px solid var(--amber);
  font-weight: 600;
}
.flow-diagram__step--final {
  background: var(--green); color: var(--text-inverse);
}
.flow-diagram__label { font-size: var(--fs-sm); font-weight: 500; }
.flow-diagram__arrow { color: var(--muted); flex-shrink: 0; }
.flow-diagram__arrow svg { width: 20px; height: 20px; }

/* .flow (alternative naming) */
.flow {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-md); font-size: var(--fs-sm); text-align: center;
  padding: var(--sp-xl) 0;
}
@media (min-width: 768px) { .flow { flex-direction: row; justify-content: center; } }
.flow__step {
  background: var(--green-light); padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius); font-weight: 600; color: var(--green);
}
.flow__arrow { color: var(--border); font-size: var(--fs-xl); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-lg);
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
  text-align: center;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__icon { margin: 0 auto var(--sp-md); }
.service-card__title { margin-bottom: var(--sp-sm); }
.service-card__text { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- RESULTS ---------- */
.results-content { max-width: var(--max-w-text); margin-inline: auto; margin-bottom: var(--sp-xl); }
.results-text { font-size: var(--fs-lg); text-align: center; }

.results-stats {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-lg); text-align: center; margin-bottom: var(--sp-xl);
}
@media (min-width: 768px) { .results-stats { grid-template-columns: repeat(3, 1fr); } }

.results-stat {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
}
.results-stat__number {
  font-family: var(--ff-heading); font-size: var(--fs-3xl);
  color: var(--green); display: block;
}
.results-stat__unit { font-size: var(--fs-sm); color: var(--text-muted); display: block; }
.results-stat__label { font-size: var(--fs-sm); color: var(--text-muted); display: block; margin-top: var(--sp-xs); }

/* ---------- CARDS (generic) ---------- */
.cards {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-lg);
}
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__icon { width: 48px; height: 48px; margin-bottom: var(--sp-md); color: var(--green); }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: var(--sp-sm); }
.card p  { color: var(--text-muted); font-size: var(--fs-sm); }
.card__link {
  display: inline-flex; align-items: center; gap: var(--sp-xs);
  margin-top: var(--sp-md); font-size: var(--fs-sm); font-weight: 600; color: var(--green);
}
.card__link:hover { gap: var(--sp-sm); }
.card--doc {
  display: flex; align-items: center; gap: var(--sp-md); padding: var(--sp-md) var(--sp-lg);
}
.card--doc .card__icon { margin-bottom: 0; flex-shrink: 0; }
.card--doc h4 { font-family: var(--ff-body); font-size: var(--fs-base); color: var(--text); }
.card--doc p  { font-size: var(--fs-xs); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--green); color: var(--text-inverse);
  text-align: center; padding: var(--sp-2xl) var(--sp-md);
  border-radius: 0;
}
.cta-banner h2, .cta-banner__title { color: var(--text-inverse); margin-bottom: var(--sp-sm); }
.cta-banner p, .cta-banner__text {
  opacity: 0.9; margin-bottom: var(--sp-lg);
  max-width: var(--max-w-text); margin-inline: auto;
}
.cta-banner .btn--primary { background: var(--amber); color: var(--slate); }
.cta-banner .btn--primary:hover { background: var(--amber-hover); }

/* ---------- KEY NUMBERS ---------- */
.key-numbers {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg); text-align: center;
}
@media (min-width: 768px) { .key-numbers { grid-template-columns: repeat(3, 1fr); } }
.key-number__value {
  font-family: var(--ff-heading); font-size: var(--fs-3xl);
  color: var(--green); display: block;
}
.key-number__label { font-size: var(--fs-sm); color: var(--text-muted); }
@media (min-width: 768px) { .key-number__value { font-size: var(--fs-4xl); } }

/* ---------- STEPS ---------- */
.steps {
  display: grid; grid-template-columns: 1fr;
  gap: var(--sp-xl); counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; counter-increment: step; position: relative; }
.step__number {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto var(--sp-md);
  border-radius: 50%; background: var(--green);
  color: var(--text-inverse); font-weight: 700; font-size: var(--fs-lg);
}
.step h3 { margin-bottom: var(--sp-sm); font-size: var(--fs-lg); }
.step p  { color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-left: var(--sp-xl); }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline__item { position: relative; padding-bottom: var(--sp-xl); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ''; position: absolute;
  left: calc(-1 * var(--sp-xl) + 4px); top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg);
}
.timeline__year {
  font-family: var(--ff-heading); font-size: var(--fs-xl);
  color: var(--green); display: block; margin-bottom: var(--sp-xs);
}
.timeline__text { color: var(--text-muted); }

/* ---------- FAQ ACCORDION ---------- */
.faq-list { max-width: var(--max-w-text); margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: var(--sp-lg) 0;
  font-size: var(--fs-base); font-weight: 600;
  color: var(--text); text-align: left; gap: var(--sp-md);
  background: none; border: none;
}
.faq-question:hover { color: var(--green); }
.faq-question__icon {
  width: 20px; height: 20px; flex-shrink: 0;
  transition: transform var(--dur) var(--ease); color: var(--green);
}
.faq-item.is-open .faq-question__icon,
.faq-item.faq-item--open .faq-question__icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0;
}
.faq-item.is-open .faq-answer,
.faq-item.faq-item--open .faq-answer {
  max-height: 500px; padding-bottom: var(--sp-lg);
}
.faq-answer p { color: var(--text-muted); }

/* ---------- FORMS ---------- */
.form { max-width: var(--max-w-text); margin-inline: auto; }
.form__group, .form-group { margin-bottom: var(--sp-lg); }
.form__label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text); margin-bottom: var(--sp-xs);
}
.form__label--required::after { content: ' *'; color: var(--error); }
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); color: var(--text);
  font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,94,58,.15);
  outline: none;
}
.form__input.is-error, .form__input.field--error,
.form__select.is-error, .form__textarea.is-error,
.form-input.is-error, .form-textarea.is-error, .input.is-error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(198,40,40,.10);
}
.form__input.is-valid, .form-input.is-valid, .input.is-valid { border-color: var(--success); }
.form__error, .field-error-msg, .form-error {
  display: none; font-size: var(--fs-xs); color: var(--error); margin-top: var(--sp-xs);
}
.field-error-msg { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }
.form-group--full { grid-column: 1 / -1; }
.checkbox-label { display: flex; align-items: flex-start; gap: var(--sp-sm); cursor: pointer; }
.required { color: var(--error); }
.form__textarea { min-height: 120px; resize: vertical; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7C6E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__check {
  display: flex; align-items: flex-start; gap: var(--sp-sm);
}
.form__check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px;
  flex-shrink: 0; accent-color: var(--green);
}
.form__check label { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--sp-lg); }
@media (min-width: 768px) { .form__row { grid-template-columns: 1fr 1fr; } }

.form__success, .form-success {
  display: none; padding: var(--sp-lg);
  background: var(--success-bg); border: 1px solid var(--success);
  border-radius: var(--radius); color: var(--success);
  text-align: center; font-weight: 600;
}
.form__success.is-visible { display: block; }

/* ---------- CALCULATOR ---------- */
.calculator {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
}
.calculator__result {
  display: none; margin-top: var(--sp-xl); padding: var(--sp-lg);
  background: var(--green-light); border-radius: var(--radius);
}
.calculator__result.is-visible { display: block; }
.calculator__table {
  width: 100%; border-collapse: collapse;
  font-variant-numeric: tabular-nums; font-size: var(--fs-sm);
}
.calculator__table th, .calculator__table td {
  padding: var(--sp-sm) var(--sp-md); text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.calculator__table th {
  font-weight: 600; color: var(--text-muted);
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.04em;
}
.calculator__savings {
  font-family: var(--ff-heading); font-size: var(--fs-2xl);
  color: var(--green); text-align: center; margin-top: var(--sp-md);
}
.calculator--mini { max-width: 480px; margin-inline: auto; text-align: center; }

/* ---------- NEWS ---------- */
.news-list { display: flex; flex-direction: column; gap: var(--sp-lg); }
.news-item {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-lg);
  transition: box-shadow var(--dur) var(--ease);
}
.news-item:hover { box-shadow: var(--shadow-md); }
.news-item__date {
  font-size: var(--fs-xs); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-xs);
}
.news-item__category {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600;
  padding: 2px 8px; border-radius: var(--radius);
  background: var(--green-light); color: var(--green); margin-left: var(--sp-sm);
}
.news-item h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }
.news-item h3 a { color: var(--text); }
.news-item h3 a:hover { color: var(--green); }
.news-item p { color: var(--text-muted); font-size: var(--fs-sm); }

.article { max-width: var(--max-w-text); margin-inline: auto; }
.article h2 { margin: var(--sp-xl) 0 var(--sp-md); }
.article p  { margin-bottom: var(--sp-md); }
.article ul, .article ol { padding-left: var(--sp-lg); margin-bottom: var(--sp-md); }
.article li { margin-bottom: var(--sp-sm); list-style: disc; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
  padding: var(--sp-md) 0; font-size: var(--fs-sm); color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs__sep { margin: 0 var(--sp-sm); opacity: 0.5; }

/* ---------- REGULATION CARDS ---------- */
.regulation-cards {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-lg);
}
@media (min-width: 768px) { .regulation-cards { grid-template-columns: repeat(3, 1fr); } }
.regulation-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-xl);
}
.regulation-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-sm); }
.regulation-card p  { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-md); }

/* ---------- CONTACTS ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-xl);
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-lg); }
.contact-info__item { display: flex; gap: var(--sp-md); align-items: flex-start; }
.contact-info__item svg {
  width: 24px; height: 24px; flex-shrink: 0; color: var(--green); margin-top: 2px;
}
.contact-info__item strong { display: block; margin-bottom: var(--sp-xs); }
.contact-info__item a { color: var(--text); }
.contact-info__item a:hover { color: var(--green); }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light); aspect-ratio: 16/10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- PORTAL LOGIN ---------- */
.portal-login {
  max-width: 420px; margin-inline: auto;
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: var(--sp-2xl); text-align: center;
}
.portal-login h2 { margin-bottom: var(--sp-lg); }
.portal-login .form__group, .portal-login .form-group { text-align: left; }
.portal-alert {
  padding: var(--sp-md); border-radius: var(--radius);
  font-size: var(--fs-sm); margin-bottom: var(--sp-lg); display: none;
}
.portal-alert.is-visible { display: block; }
.portal-alert--error {
  background: var(--error-bg); color: var(--error); border: 1px solid var(--error);
}
.portal-alert--info {
  background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber);
}

/* ---------- 404 ---------- */
.page-404 { text-align: center; padding: var(--sp-4xl) var(--sp-md); }
.page-404 h1 { font-size: 6rem; color: var(--border); margin-bottom: var(--sp-md); }
.page-404 p { font-size: var(--fs-lg); color: var(--text-muted); margin-bottom: var(--sp-xl); }
.page-404__links {
  display: flex; gap: var(--sp-md); justify-content: center; flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--green-dark); color: rgba(255,255,255,.85);
  padding: var(--sp-3xl) 0 var(--sp-lg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer { background: #0A1610; }
}
:root[data-theme="dark"] .footer { background: #0A1610; }

.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: var(--amber); }

.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-xl); margin-bottom: var(--sp-2xl);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }

.footer__col { min-width: 0; overflow: hidden; word-break: break-word; }
.footer__heading {
  font-family: var(--ff-heading); font-size: var(--fs-lg);
  color: #fff; margin-bottom: var(--sp-md);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer__heading { color: #E0E8E2; }
}
:root[data-theme="dark"] .footer__heading { color: #E0E8E2; }

.footer__links { display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer__links a, .footer__link { font-size: var(--fs-sm); }
.footer__contact { display: flex; flex-direction: column; gap: var(--sp-sm); font-size: var(--fs-sm); }
.footer__contact a { display: flex; align-items: center; gap: var(--sp-sm); }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__address { font-size: var(--fs-sm); display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer__address a { display: flex; align-items: center; gap: var(--sp-sm); }
.footer__address svg, .footer__address .icon { width: 16px; height: 16px; flex-shrink: 0; display: inline-block; }

/* newsletter in footer */
.newsletter-form { }
.newsletter-form__field {
  display: flex; gap: var(--sp-sm);
}
.newsletter-form__input {
  flex: 1; padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  background: rgba(255,255,255,.08); color: #fff; font-size: var(--fs-sm);
}
.newsletter-form__input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-form__input:focus {
  border-color: var(--amber); outline: none;
  box-shadow: 0 0 0 2px rgba(212,160,23,.3);
}
.newsletter-form__btn {
  padding: 0.6rem 1rem; font-size: var(--fs-sm);
}
.newsletter-form__gdpr { font-size: var(--fs-xs); opacity: 0.6; margin-top: var(--sp-sm); }
.newsletter-form__success { font-size: var(--fs-sm); color: var(--amber); margin-top: var(--sp-sm); }

/* alternative footer newsletter */
.footer__newsletter-form {
  display: flex; gap: var(--sp-sm);
}
.footer__newsletter-form input {
  flex: 1; padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  background: rgba(255,255,255,.08); color: #fff; font-size: var(--fs-sm);
}
.footer__newsletter-form input::placeholder { color: rgba(255,255,255,.5); }
.footer__newsletter-form input:focus {
  border-color: var(--amber); outline: none;
  box-shadow: 0 0 0 2px rgba(212,160,23,.3);
}
.footer__newsletter-form button {
  padding: 0.6rem 1rem; background: var(--amber); color: var(--slate);
  font-weight: 600; font-size: var(--fs-sm); border-radius: var(--radius);
}
.footer__newsletter-form button:hover { background: var(--amber-hover); }
.footer__gdpr { font-size: var(--fs-xs); opacity: 0.6; margin-top: var(--sp-sm); }

/* bottom bar */
.footer__bottom {
  display: flex; flex-direction: column; gap: var(--sp-sm);
  align-items: center; padding-top: var(--sp-lg);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: var(--fs-xs); opacity: 0.7;
}
@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
.footer__legal { display: flex; gap: var(--sp-md); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9998; background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  padding: var(--sp-lg) var(--sp-md);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner:not([hidden]) { transform: translateY(0); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; flex-direction: column; gap: var(--sp-md);
}
@media (min-width: 768px) {
  .cookie-banner__inner { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
}
.cookie-banner__title { font-family: var(--ff-heading); color: var(--green); font-size: var(--fs-lg); }
.cookie-banner__text { font-size: var(--fs-sm); color: var(--text-muted); flex: 1; }
.cookie-banner__actions {
  display: flex; gap: var(--sp-sm); flex-wrap: wrap; flex-shrink: 0;
}
.cookie-banner__settings, .cookie-banner__details {
  padding: var(--sp-md); background: var(--green-light);
  border-radius: var(--radius); width: 100%;
  display: flex; flex-direction: column; gap: var(--sp-sm);
}
.cookie-banner__option, .cookie-checkbox {
  display: flex; align-items: center; gap: var(--sp-sm);
  font-size: var(--fs-sm); cursor: pointer;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed; bottom: var(--sp-xl); right: var(--sp-xl);
  z-index: 900; width: 44px; height: 44px;
  border-radius: 50%; background: var(--green); color: var(--text-inverse);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.scroll-top:hover { transform: translateY(-2px); }
.scroll-top.is-visible, .scroll-top.scroll-top--visible { opacity: 1; visibility: visible; }
.scroll-top[hidden] { display: none; }
.scroll-top svg { width: 20px; height: 20px; }

/* ---------- DOCUMENTS LIST ---------- */
.documents-list {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-md);
  max-width: var(--max-w-text); margin-inline: auto;
}
.document-item {
  display: flex; align-items: center; gap: var(--sp-md);
  padding: var(--sp-md) var(--sp-lg);
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--radius); transition: box-shadow var(--dur) var(--ease);
}
.document-item:hover { box-shadow: var(--shadow-sm); }
.document-item__icon { flex-shrink: 0; color: var(--green); }
.document-item__icon svg { width: 24px; height: 24px; }
.document-item__info { flex: 1; }
.document-item__name { font-weight: 600; display: block; }
.document-item__size { font-size: var(--fs-xs); color: var(--text-muted); }
.document-item__link { font-size: var(--fs-sm); font-weight: 600; color: var(--green); flex-shrink: 0; }

/* ---------- INLINE ICONS ---------- */
.icon { display: inline-block; vertical-align: middle; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }

/* ---------- SCROLL REVEAL ANIMATIONS ---------- */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes revealScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(27,94,58,.25); }
  50%      { box-shadow: 0 0 0 12px rgba(27,94,58,0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal--fade {
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.reveal.is-revealed,
.reveal--left.is-revealed,
.reveal--right.is-revealed,
.reveal--scale.is-revealed,
.reveal--fade.is-revealed {
  opacity: 1;
  transform: none;
}

/* staggered grid children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-stagger.is-revealed > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-revealed > *:nth-child(1)  { transition-delay: 0s; }
.reveal-stagger.is-revealed > *:nth-child(2)  { transition-delay: 0.1s; }
.reveal-stagger.is-revealed > *:nth-child(3)  { transition-delay: 0.2s; }
.reveal-stagger.is-revealed > *:nth-child(4)  { transition-delay: 0.3s; }
.reveal-stagger.is-revealed > *:nth-child(5)  { transition-delay: 0.4s; }
.reveal-stagger.is-revealed > *:nth-child(6)  { transition-delay: 0.5s; }

/* hero entrance */
.hero__title {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.8s var(--ease) 0.2s forwards;
}
.hero__subtitle, .hero__text {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s var(--ease) 0.5s forwards;
}
.hero__actions {
  opacity: 0;
  transform: translateY(16px);
  animation: revealUp 0.8s var(--ease) 0.8s forwards;
}

/* CTA pulse on primary action buttons */
.hero__actions .btn--primary {
  animation: pulse 2.5s var(--ease) 2s infinite;
}
.hero__actions .btn--primary:hover {
  animation: none;
}

/* floating effect for service/source card icons on hover */
.service-card:hover .service-card__icon,
.source-card:hover .source-card__icon,
.member-card:hover .member-card__icon {
  animation: float 2s var(--ease) infinite;
}

/* timeline dot pulse */
.timeline__item::before {
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.timeline__item:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(27,94,58,.2);
}

/* section title underline grow */
.section__title {
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.6s var(--ease), left 0.6s var(--ease);
}
.is-revealed .section__title::after,
.section__title.is-revealed::after {
  width: 60px;
  left: calc(50% - 30px);
}

/* step number bounce */
@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.is-revealed .step__number {
  animation: bounceIn 0.6s var(--ease) forwards;
}

/* key number value count-up glow */
.key-number__value, .results-stat__number {
  transition: color 0.3s var(--ease), text-shadow 0.3s var(--ease);
}
.key-number:hover .key-number__value,
.results-stat:hover .results-stat__number {
  text-shadow: 0 0 20px rgba(27,94,58,.3);
}

/* news item slide-in from left */
.news-item {
  transition: box-shadow var(--dur) var(--ease), transform 0.3s var(--ease);
}
.news-item:hover {
  transform: translateX(4px);
}

/* smooth link underline animation */
.nav__link, .footer__links a {
  position: relative;
}
.nav__link::after, .footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after, .footer__links a:hover::after {
  width: 100%;
}
.nav__link.is-active::after {
  width: 100%;
}

/* ---------- PRINT ---------- */
@media print {
  .header, .footer, .cookie-banner, .scroll-top, .hamburger,
  .mobile-menu, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 1rem 0; }
  a { color: #000; text-decoration: underline; }
}
