/* Styles for hide/show header */
.site-header {
  will-change: transform;
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
  transform: translateY(0);
  z-index: 120;
}

/* hidden = slide up */
.site-header--hidden {
  transform: translateY(-110%);
  box-shadow: none !important;
}

/* visible = normal */
.site-header--visible {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(11,18,32,0.06);
}

/* safety: when mobile menu open, keep visible */
.site-header--force-visible {
  transform: translateY(0) !important;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header--hidden,
  .site-header--visible {
    transition: none !important;
    transform: translateY(0) !important;
  }
}
/* === Рівні кнопки CTA: однаковий розмір (відповідальний і адаптивний) === */
/* Встав у свій CSS або <style> в <head> */
:root{
  /* регулюй тут мін/макс розмір кнопок */
  --cta-width: clamp(180px, 20vw, 320px); /* мін 180px, адаптивно 20vw, макс 320px */
  --cta-height: 56px;
  --cta-radius: 12px;
  --green-500: #12b76a;
  --green-600: #0ea35b;
  --green-700: #0b8f4f;
  --white: #fff;
}

/* загальна логіка для обох кнопок — щоб завжди були однакового розміру */
#primaryCTABtn,
#demoCTABtn {
  display: inline-flex;             /* центрований контент */
  align-items: center;
  justify-content: center;
  width: var(--cta-width);          /* фіксована/адаптивна ширина для парності */
  height: var(--cta-height);        /* однакова висота */
  min-height: var(--cta-height);
  padding: 0 20px;                  /* відступи всередині (щоб іконки влізали) */
  box-sizing: border-box;
  border-radius: var(--cta-radius);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .16s ease, background-color .12s ease;
  will-change: transform, box-shadow;
}

/* Primary (суцільна зелена) */
#primaryCTABtn {
  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 30px rgba(11,143,79,0.12);
}
#primaryCTABtn:hover,
#primaryCTABtn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 26px 36px rgba(11,143,79,0.14);
  outline: none;
}
#primaryCTABtn:active { transform: translateY(0); }

/* Demo (outline) — SAME SIZE */
#demoCTABtn {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-500);
  box-shadow: none;
}
#demoCTABtn:hover,
#demoCTABtn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(11,143,79,0.06);
  background: linear-gradient(180deg, rgba(18,183,106,0.04), rgba(10,120,67,0.02));
  outline: none;
}
#demoCTABtn:active { transform: translateY(0); }

/* фокус-кільце для доступності */
.focus-ring:focus-visible {
  box-shadow: 0 0 0 4px rgba(18,183,106,0.14), 0 10px 20px rgba(2,6,23,0.06);
  outline: none;
}

/* Disabled / aria-disabled */
#primaryCTABtn[aria-disabled="true"],
#demoCTABtn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Мобільні налаштування: трохи більша висота і округліший радіус */
@media (max-width:640px){
  :root { --cta-width: clamp(180px, 35vw, 320px); --cta-height: 60px; --cta-radius: 14px; }
  #primaryCTABtn, #demoCTABtn { font-size: 17px; }
}

/* зниження анімацій для користувачів, які обрали reduced-motion */
@media (prefers-reduced-motion: reduce){
  #primaryCTABtn, #demoCTABtn { transition: none; transform: none; }
}
/* ========== CSS: вставити в <head> у <style> або у файл .css ========== */
/* --- Centering / layout tweaks for partners-mini --- */
/* плавний скрол */
html { scroll-behavior: smooth; }

/* Стиль CTA щоб було видно */
.anchor-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #059669;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(5,150,105,.12);
  position: relative;
  z-index: 9999;
}
.mentor img {
  width: 100%;
  height: 300px;       /* всі фото однакові по висоті */
  object-fit: cover;   /* обрізає, але виглядає акуратно */
  border-radius: 10px;
  display: block;
}
