/* ===== Design tokens ===== */
:root {
  /* Containers / spacing */
  --container: 1200px;
  --container-sm: 1180px;
  --gutter: 20px;

  /* Fonts */
  --ff-base: 'Lato', sans-serif;
  --ff-head: 'Manrope', sans-serif;
  --ff-ui: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Palette (brand blues + neutrals) */
  --blue-950: #002347; /* header bg */
  --blue-900: #0a1f44;
  --blue-800: #081e35;
  --blue-700: #003366; /* timeline bullets */
  --blue-600: #036; /* buttons, bars */
  --blue-500: #2c5aa0; /* nav btn */
  --blue-450: #1e3f73; /* nav btn hover */
  --blue-400: #2b5ea8; /* icons */
  --link: var(--blue-900);
  --link-hover: #1e66f5;

  --yellow-500: #fbc02d; /* primary accent */
  --yellow-400: #fddb3a; /* alt accent */
  --yellow-300: #ffd43b; /* badge */
  --gold: #f6b300; /* dividers / lines */

  --gray-900: #333;
  --gray-800: #2c3e50;
  --gray-700: #4c4c4c;
  --gray-650: #6b6f76;
  --gray-600: #5a6c7d;
  --gray-500: #7f8c8d;
  --gray-400: #95a5a6;
  --gray-300: #bdc3c7;
  --gray-250: #d0dce6;
  --gray-220: #d1d9e6;
  --gray-200: #e0e0e0;
  --gray-180: #e2e8f0;
  --gray-170: #e9ecef;
  --gray-160: #f0f2f8;
  --gray-150: #f1f5f9;
  --gray-140: #f2f6f9;
  --gray-130: #f5f8fc;
  --gray-120: #f9fbfe;

  /* Surfaces */
  --surface-hero-mask: rgba(0, 0, 0, 0.5);
  --surface-gallery: #f0f6fb;

  /* Borders / radius / shadows */
  --border: var(--gray-220);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Загальні стилі --- */
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--ff-base);
  color: var(--gray-900);
}

.container {
  width: 90%;
  max-width: var(--container);
  margin: 0 auto;
}

/* --- Хедер --- */
.header {
  background-color: var(--blue-950);
  color: #fff;
  padding: 15px 0;
}
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 28px;
  letter-spacing: -0.6px;
  color: #fff;
  text-decoration: none;
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  opacity: 0.6;
}
.nav li {
  margin: 0 18px;
}
.nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.nav a:hover {
  color: var(--yellow-400);
}
.dropdown a {
  display: flex;
  align-items: center;
}

.btn-donate-header {
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}
.btn-donate-header:hover {
  text-decoration: underline;
}

.btn > span {
  display: flex;
  width: 32px;
  height: 32px;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  background: var(--yellow-300);
}
.donate-icon {
  background-color: var(--blue-950);
  color: var(--yellow-400);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  font-weight: bold;
}

/* --- Hero --- */
.hero-section {
  position: relative;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* робить "cover" як у background */
  z-index: -1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--surface-hero-mask);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-family: var(--ff-head);
  font-size: 64px;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: -1.92px;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn {
  padding: 15px 35px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--yellow-400);
  color: var(--blue-600);
  text-align: center;
  font-family: var(--ff-head);
  font-size: 16px;
  line-height: 24px;
}
.btn-primary:hover {
  background: #fbc531;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-family: var(--ff-head);
  font-size: 16px;
  line-height: 24px;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--gray-900);
  transform: translateY(-2px);
}

/* --- Секція збору коштів --- */
.fundraising-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}
.section-title {
  text-align: center;
  color: var(--blue-800);
  font-family: var(--ff-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1.44px;
  margin-bottom: 40px;
}
.progress-card {
  background: var(--gray-140);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.progress-card__title {
  color: var(--blue-800);
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.72px;
  margin: 0 0 25px 0;
}
.progress-bar__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--ff-head);
  font-size: 16px;
  line-height: 24px;
  color: var(--blue-800);
  margin-bottom: 10px;
}
.progress-bar__container {
  background: var(--gray-170);
  border-radius: 10px;
  height: 12px;
  overflow: hidden;
}
.progress-bar__fill {
  background: var(--blue-600);
  width: 478px;
  height: 12px;
  border-radius: 10px;
}
.progress-card__stats {
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.72px;
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 30px;
}
.stat .stat__value {
  font-size: 36px;
  font-weight: 900;
  color: var(--blue-600);
  margin: 0;
}
.stat .stat__label {
  display: flex;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--gray-700);
  margin: 5px 0 0 0;
}
.progress-card__action {
  text-align: center;
  margin-top: 40px;
}
.fundraising-section__text {
  max-width: 950px;
  margin: 40px auto 0;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--gray-700);
}

/* --- Слайдер/цитата (homepage) --- */
.main-container {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--gutter);
  padding: 0 var(--gutter);
}
.slider-container {
  flex: 1;
  position: relative;
  background: #fff;
  overflow: hidden;
}
.slider-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
}
.slide-content {
  flex: 1;
  padding: 60px;
  max-width: 50%;
}
.quote {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  margin-bottom: 40px;
  color: var(--blue-800);
}
.author {
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-size: 16px;
  line-height: 24px;
}
.author-name {
  color: var(--blue-800);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 5px;
}
.author-title {
  font-size: 0.95em;
  color: var(--gray-500);
  font-weight: 400;
}
.slide-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.pastor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nav-button {
  width: 48px;
  height: 48px;
  background: var(--blue-500);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
  flex-shrink: 0;
}
.nav-button:hover {
  background: var(--blue-450);
  transform: scale(1.05);
}
.nav-button.prev {
  background: var(--gray-400);
}
.nav-button.prev:hover {
  background: var(--gray-500);
}
.nav-button.next {
  right: 20px;
}
.nav-button svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.dots-container {
  position: absolute;
  bottom: 30px;
  left: 60px;
  display: flex;
  gap: 12px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--yellow-500);
}
.dot:hover {
  background: #e67e22;
}

/* --- Video block --- */
.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 40px auto;
  padding-bottom: 16px;
}
.video-block {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.video-block:hover {
  transform: scale(1.02);
}
.video-block img,
.video-block iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease;
}
.video-block:hover .play-button {
  background: #fff;
}
.play-button svg {
  width: 24px;
  height: 24px;
  fill: #000;
}

/* --- Objectives cards --- */
.objectives-container {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}
.objectives-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 2rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.card {
  display: flex;
  align-items: center;
  background: #f5f8fc;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.card .icon {
  width: 60px;
  height: 60px;

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0056b3;
}
.card .icon img {
  max-width: 40px;
  max-height: 40px;
}
.card-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #002e6d;
  margin: 0 0 0.5rem 0;
}
.card-content a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.card-content a:hover {
  color: #004085;
  text-decoration: underline;
}

/* --- Stats grid --- */
.stats-grid {
  margin: 100px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr 1fr;
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.title-section {
  grid-column: 1/3;
  grid-row: 1/2;
  background: #fff;
  padding: 40px;
  display: flex;
  align-items: flex-start;
}
.title {
  font-size: 48px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: var(--lh-tight);
}
.top-right-stat {
  grid-column: 3/4;
  grid-row: 1/2;
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}
.stat-item {
  background: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-item:nth-child(3) {
  grid-column: 1/2;
  grid-row: 2/3;
}
.stat-item:nth-child(4) {
  grid-column: 2/3;
  grid-row: 2/3;
}
.stat-item:nth-child(5) {
  grid-column: 3/4;
  grid-row: 2/3;
}
.stat-item:nth-child(6) {
  grid-column: 1/2;
  grid-row: 3/4;
}
.stat-item:nth-child(7) {
  grid-column: 2/3;
  grid-row: 3/4;
}
.stat-number,
.hundreds-text {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
}
.stat-number.light-blue {
  color: #a8d8ea;
}
.stat-number.dark-blue {
  color: var(--gray-800);
}
.hundreds-text.dark-blue {
  color: var(--gray-800);
}
.hundreds-text.light-gray {
  color: #e8f4f8;
}
.stat-description {
  font-size: 16px;
  line-height: 1.4;
  color: var(--gray-600);
  font-weight: 400;
}

/* --- Combined sections (images + text) --- */
.combined-sections {
  display: flex;
  flex-direction: row;
  gap: 40px;
  padding: 40px;
  justify-content: center;
  flex-wrap: wrap;
}
.content-section {
  flex: 1 1 500px;
  max-width: 700px;
}
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5px;
}
.grid-item {
  width: 100%;
  height: 100%;
}
.full-width {
  grid-column: span 2;
}
.full-height {
  grid-row: span 3;
}
.grid-item img {
  width: 100%;
  object-fit: cover;
}
.text-block {
  background: var(--blue-600);
  color: #fff;
  padding: 30px 20px;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0;
}
.icon img {
  width: 40px;
  height: 40px;
  padding-right: 8px;
}
.grid-item .text-block-below {
  display: flex;
  height: 30%;
  max-height: 100px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
}
div.icon > svg {
  padding-right: 8px;
}

/* --- Timeline --- */
.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}
.timeline-description {
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.timeline {
  position: relative;
  margin: 40px auto;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--gray-200);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 80px;
  align-items: center;
  margin: 50px 70px;
}
.timeline-content {
  background: #fff;
}
.timeline-content .icon {
  margin-bottom: 8px;
}
.timeline-content h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-weight: 400;
  line-height: 24px;
  max-width: 292px;
}
.timeline-content p {
  margin: 0;
  color: var(--blue-800);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  max-width: 292px;
}
.timeline-marker {
  grid-column: 2;
  z-index: 2;
}
.timeline-marker .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue-700);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
}
.timeline-item .timeline-image img {
  width: 398px;
  height: 280px;
  object-fit: cover;
}
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: left;
}
.timeline-item:nth-child(odd) .timeline-image {
  grid-column: 3;
}
.timeline-item:nth-child(even) .timeline-image {
  grid-column: 1;
}
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

/* --- Partners --- */
.partners-section {
  display: flex;
  padding: 0 100px;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}
.partner-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 193px;
  max-height: 130px;
  transition: all 0.3s ease;
  position: relative;
}
.partner-card:hover {
  border-color: var(--gray-700);
  background: #fff;
  transform: translateY(-2px);
}
.partner-logo {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
/* demo logo styles… (залишив як було) */
.logo-read-ministries {
  font-size: 14px;
  font-weight: 700;
  color: #6366f1;
  text-align: center;
}
.logo-united {
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
  text-align: center;
}
.logo-baptist {
  font-size: 12px;
  font-weight: 600;
  color: #0891b2;
  text-align: center;
}
.logo-ebf {
  font-size: 20px;
  font-weight: 700;
  color: #0ea5e9;
  text-align: center;
}
.logo-worldpartners {
  font-size: 14px;
  font-weight: 600;
  color: #f59e0b;
  text-align: center;
}
.logo-keys {
  font-size: 14px;
  font-weight: 600;
  color: #06b6d4;
  text-align: center;
}
.logo-tyndale {
  font-size: 16px;
  font-weight: 700;
  color: #3730a3;
  text-align: center;
}
.logo-scholar {
  font-size: 12px;
  font-weight: 600;
  color: #7c3aed;
  text-align: center;
}
.logo-ukraine {
  font-size: 12px;
  font-weight: 600;
  color: #fbbf24;
  text-align: center;
}
.logo-imb {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}
.logo-42 {
  font-size: 28px;
  font-weight: 900;
  color: #374151;
  text-align: center;
}
.logo-aim {
  font-size: 16px;
  font-weight: 600;
  color: #0d9488;
  text-align: center;
}

/* --- How you can help --- */
.help-section {
  display: flex;
  padding: 100px 100px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.help-card {
  background: var(--gray-150);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  width: 397px;
  padding: 48px 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.help-card:hover {
  background: var(--gray-180);
  transform: translateY(-4px);
}
.help-icon svg {
  width: 80px;
  height: 80px;
  aspect-ratio: 1/1;
}
.help-title {
  width: 199px;
  color: var(--blue-800);
  text-align: center;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 10px;
}

/* --- Give section --- */
.give-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter);
  gap: 40px;
}
.give-content {
  flex: 1;
  color: var(--blue-900);
}
.give-content h2 {
  font-size: 2.5rem;
  line-height: var(--lh-tight);
  margin-bottom: 20px;
}
.give-content p {
  font-size: 1rem;
  line-height: var(--lh-normal);
  margin-bottom: 30px;
  max-width: 600px;
}
.give-btn {
  display: inline-block;
  background: var(--yellow-500);
  color: var(--blue-900);
  text-decoration: none;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.give-btn:hover {
  background: #e6b324;
}
.ggive-image {
  flex: 1;
  text-align: right;
}
.give-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* --- Subscribe --- */
.subscribe-section {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.subscribe-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.subscribe-section .overlay {
  position: absolute;
  inset: 0;
  background: var(--surface-hero-mask);
}
.subscribe-container {
  position: relative;
  max-width: 600px;
  width: 100%;
  padding: 0 var(--gutter);
}
.subscribe-container h2 {
  font-family: var(--ff-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -1.44px;
  margin-bottom: 24px;
}
.subscribe-form {
  display: inline-flex;
  width: 450px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.subscribe-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  font-size: 1rem;
}
.subscribe-form input::placeholder {
  color: #999;
}
.subscribe-form button {
  background: var(--yellow-500);
  color: var(--blue-900);
  border: none;
  padding: 16px 32px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.subscribe-form button:hover {
  background: #e6b324;
}

/* --- Footer --- */
.site-footer {
  background: var(--blue-900);
  color: #fff;
  padding: 60px 20px 20px;
  font-size: 0.95rem;
}
.footer-container {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 40px;
}
.footer-col {
  flex: 1;
}
.footer-col h3 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.6px;
  margin-bottom: 15px;
}
.footer-col p {
  color: var(--gray-250);
  max-width: 244px;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--gray-250);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--yellow-500);
}
.footer-bottom {
  color: var(--gray-250);
  text-align: center;
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 40px;
}

/* --- Objective page cards --- */
.cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 20px;
}
.card-sec {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 234px;
}
.card--reverse {
  flex-direction: row-reverse;
}
.card__text {
  flex: 1;
  display: flex;
  width: 503px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.card__text h3 {
  font-family: var(--ff-head);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.96px;
  margin-bottom: 16px;
}
.card__text p {
  width: 447px;
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}
.card__image {
  flex: 1;
  text-align: center;
}
.card__image img {
  max-width: 100%;
  height: auto;
}

/* --- News section --- */
.news-section {
  width: 100%;
  padding: 40px 0;
  font-family: sans-serif;
  color: var(--blue-900);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.news-nav {
  display: flex;
  gap: 32px;
}
.news-nav h5 {
  font-family: var(--ff-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.news-nav__item {
  text-decoration: none;
  color: var(--blue-900);
  padding-bottom: 4px;
  transition: color 0.2s;
}
.news-nav__item--active {
  color: var(--yellow-500);
  border-bottom: 2px solid var(--yellow-500);
}
.news-controls {
  display: flex;
  gap: 16px;
  align-items: center;
}
.news-controls__select {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><path d="M5 7.916L10 12.916L15 7.916" stroke="%23081E35" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    no-repeat calc(100% - 12px) center;
  padding: 16px 40px 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  display: flex;
  width: 300px;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.news-controls__search {
  position: relative;
  display: flex;
  align-items: center;
}
.news-controls__input {
  padding: 16px 40px 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  display: flex;
  width: 300px;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.search-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.news-card {
  background: var(--gray-120);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.news-card:hover {
  transform: translateY(-4px);
}
.news-card__media img {
  display: flex;
  width: 397px;
  flex-direction: column;
  align-items: flex-start;
}
.news-card__body {
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  align-self: stretch;
  flex: 1;
}
.news-card__date {
  color: var(--gray-700);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 8px;
}
.news-card__title {
  color: var(--blue-800);
  font-family: var(--ff-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.72px;
  margin: 0 0 12px;
}
.news-card__excerpt {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: auto;
}
.news-card__link {
  color: var(--blue-600);
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-card__link:hover {
  color: var(--yellow-500);
}

/* --- Article meta/content --- */
.article-meta {
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}
.article-meta__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.article-meta__date,
.article-meta__share {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-meta__label {
  font-weight: 600;
  color: var(--gray-700);
}
.article-meta__date time {
  font-size: 1rem;
  color: var(--blue-900);
}
.share-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.share-list__item {
  width: 40px;
  height: 40px;
  background: #f0f2f8;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.testimonial__author img {
  width: 32px;
  height: 32px;
  aspect-ratio: 1/1;
}
.topics-controls {
  display: none;
}
.article-content {
  color: var(--gray-900);
  line-height: var(--lh-relaxed);
}
.article-content p {
  margin-bottom: 24px;
  font-size: 1rem;
}

/* --- Gallery + quote --- */
.gallery-testimonial {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}
.gallery-testimonial__gallery {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-testimonial__image {
  flex: 1;
  overflow: hidden;
}
.gallery-testimonial__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.gallery-testimonial__testimonial {
  background: var(--surface-gallery);
  padding: 40px 20px;
  text-align: center;
  border-radius: var(--radius);
}
.testimonial {
  font-size: 1.2rem;
  line-height: var(--lh-relaxed);
  color: var(--blue-900);
  margin: 0 0 24px;
}
.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__info {
  text-align: left;
}
.testimonial__name {
  font-weight: 600;
  color: var(--blue-900);
}
.testimonial__role {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* --- Topics --- */
.topics-section {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  color: var(--blue-900);
  font-family: sans-serif;
}
.topics-section__title {
  font-size: 1.75rem;
  margin-bottom: 32px;
}
.topics-list {
  display: grid;
  gap: 12px 40px;
  counter-reset: list-counter;
  margin-bottom: 48px;
  list-style: none;
  padding-left: 0;
}
.topics-list li {
  position: relative;
  padding-left: 32px;
}
.topics-list li::before {
  counter-increment: list-counter;
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  color: var(--yellow-500);
  font-weight: bold;
}
.topics-images {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}
.topics-images__item {
  flex: 1;
  overflow: hidden;
}
.topics-images__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}
.topics-checklist {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 16px;
}
.topics-checklist li {
  position: relative;
  padding-left: 32px;
  line-height: var(--lh-normal);
}
.topics-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none"><path d="M4.666 8.333L7 10.666L11.333 6.333" stroke="%23FBC02D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    no-repeat center;
}

/* --- Follow news --- */
.follow-news {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  text-align: center;
}
.follow-news__title {
  font-size: 2rem;
  color: var(--blue-900);
  margin-bottom: 40px;
  font-family: var(--ff-head);
}
.follow-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
}
.follow-news__card {
  background: var(--gray-120);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.follow-news__card:hover {
  transform: translateY(-4px);
}
.follow-news__media img {
  width: 100%;
  height: auto;
  display: block;
}
.follow-news__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
.follow-news__date {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}
.follow-news__headline {
  font-size: 1.2rem;
  color: var(--blue-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.follow-news__excerpt {
  font-size: 1rem;
  color: var(--gray-900);
  line-height: var(--lh-normal);
  margin-bottom: auto;
}
.follow-news__link {
  margin-top: 16px;
  align-self: flex-start;
  text-decoration: none;
  font-weight: 600;
  color: var(--blue-900);
  transition: color 0.2s ease;
}
.follow-news__link:hover {
  color: var(--yellow-500);
}

/* --- History (custom timeline) --- */
.history {
  position: relative;
  padding: 100px 20px;
  background: #fff;
  font-family: Arial, sans-serif;
  color: var(--gray-800);
}
.history__timeline {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.history__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--yellow-500);
  z-index: 1;
}
.history__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}
.history__item-image {
  width: 50%;
  padding-right: 90px;
  text-align: right;
}
.history__item-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
.history__item-body {
  width: 50%;
  padding-left: 90px;
  position: relative;
}
.history__item-text {
  margin: 0;
  line-height: var(--lh-relaxed);
  color: var(--gray-900);
}
.history__item--reverse {
  flex-direction: row-reverse;
}
.history__item--reverse .history__item-image {
  padding-left: 90px;
  padding-right: 0;
  text-align: left;
}
.history__item--reverse .history__item-body {
  padding-right: 90px;
  padding-left: 0;
}
.history__item-date {
  --line-start: 0px;
  --line-length: 0px;
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: bold;
  color: var(--yellow-500);
}
.history__item-date::before {
  content: '';
  position: absolute;
  left: var(--line-start);
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--yellow-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.history__item-date::after {
  content: '';
  position: absolute;
  left: var(--line-start);
  top: 50%;
  width: var(--line-length);
  height: 2px;
  background: var(--yellow-500);
  transform: translateY(-50%);
  z-index: 1;
}
.history__item--reverse .history__item-date::after {
  transform: translateY(-50%) scaleX(-1);
  transform-origin: left center;
}

/* --- Vision / Mission block --- */
.vm-block {
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: 2rem;
  font-family: 'Inter', Arial, sans-serif;
  color: #0d213c;
}
.vm-item {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 4.5rem;
}
.vm-heading {
  flex: 0 0 28%;
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
}
.vm-content {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.vm-icon {
  width: 96px;
  aspect-ratio: 1/1;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(13, 33, 60, 0.05));
}
.vm-content p {
  font-size: 1.05rem;
  line-height: var(--lh-relaxed);
  margin: 0;
  color: #556070;
}

/* ===== Plans-visual blocks (твій новий набір) ===== */

/* Text + 2 images */
.plans-visual-block {
  background: #fff;
  padding-block: clamp(48px, 8vw, 96px);
  color: var(--gray-900);
  font-family: var(--ff-ui);
  line-height: 1.6;
}
.plans-visual-block__container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 24px);
}
.plans-visual-block__copy {
  max-width: 900px;
  margin-bottom: clamp(32px, 6vw, 56px);
}
.plans-visual-block__copy p {
  margin: 0 0 1.2em 0;
  font-size: clamp(16px, 1.15vw + 0.6rem, 20px);
  color: var(--gray-700);
}
.plans-visual-block__lead {
  color: var(--gray-900);
  font-size: clamp(18px, 1.25vw + 0.8rem, 22px);
  line-height: 1.7;
  margin-bottom: 1.2em;
}
.plans-visual-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}
.plans-visual-block__item {
  margin: 0;
}
.plans-visual-block__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* Quote + list */
.plans-visual-quote {
  padding-block: clamp(48px, 8vw, 96px);
  font-family: var(--ff-ui);
}
.plans-visual-quote__container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 24px);
}
.plans-visual-quote__box {
  background: #f5f9fc;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 4px;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.plans-visual-quote__text {
  font-size: clamp(20px, 1.5vw + 0.8rem, 28px);
  font-weight: 600;
  color: #0a1a2f;
  margin: 0 0 24px;
  line-height: 1.4;
}
.plans-visual-quote__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.plans-visual-quote__author-img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.plans-visual-quote__author-name {
  font-weight: 600;
  font-size: 16px;
  color: #0a1a2f;
}
.plans-visual-quote__author-role {
  font-size: 14px;
  color: var(--gray-700);
}
.plans-visual-quote__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.plans-visual-quote__list li {
  font-size: clamp(16px, 1.1vw + 0.6rem, 18px);
  color: var(--gray-700);
  position: relative;
  padding-left: 28px;
}
.plans-visual-quote__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow-500);
  font-weight: bold;
}

/* Gallery (hero + 3 imgs) + text */
.plans-visual-gallerytext {
  padding-block: clamp(48px, 8vw, 96px);
  font-family: var(--ff-ui);
  color: var(--gray-900);
}
.plans-visual-gallerytext__container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 24px);
}
.plans-visual-gallerytext__hero {
  margin: 0 0 clamp(40px, 6vw, 64px) 0;
}
.plans-visual-gallerytext__hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.plans-visual-gallerytext__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(40px, 8vw, 80px);
}
.plans-visual-gallerytext__item {
  margin: 0;
}
.plans-visual-gallerytext__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.plans-visual-gallerytext__copy {
  max-width: 760px;
  margin-inline: auto;
  line-height: var(--lh-relaxed);
}
.plans-visual-gallerytext__copy p {
  margin: 0 0 1.4em 0;
  color: var(--gray-700);
  font-size: clamp(16px, 1.15vw + 0.6rem, 20px);
}

/* Contacts (хрест із золотих ліній) */
.plans-visual-contacts {
  padding-block: clamp(48px, 8vw, 96px);
  font-family: var(--ff-ui);
  color: var(--blue-900);
}
.plans-visual-contacts__container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 24px);
}
.plans-visual-contacts__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 6vw, 64px);
  padding: clamp(28px, 4vw, 48px) 0;
}
.plans-visual-contacts__grid::before,
.plans-visual-contacts__grid::after {
  content: '';
  position: absolute;
  background: #dfdfdf;
  z-index: 1;
}
.plans-visual-contacts__grid::before {
  width: 2px;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-1px);
}
.plans-visual-contacts__grid::after {
  height: 2px;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-1px);
}
.plans-visual-contacts__item {
  text-align: center;
  padding: 8px 4px;
  position: relative;
  z-index: 2;
}
.plans-visual-contacts__icon {
  color: var(--blue-400);
  margin: 0 auto 14px;
  line-height: 0;
}
.plans-visual-contacts__label {
  color: var(--gray-650);
  font-size: 16px;
  margin-bottom: 8px;
}
.plans-visual-contacts__value {
  color: var(--blue-900);
  font-weight: 700;
  font-size: clamp(18px, 1.2vw + 0.6rem, 22px);
  line-height: 1.5;
}
.plans-visual-contacts__link {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.plans-visual-contacts__link:hover {
  color: var(--link-hover);
  border-color: var(--link-hover);
}
.plans-visual-contacts__social {
  display: inline-flex;
  gap: 14px;
  justify-content: center;
}
.plans-visual-contacts__social-link {
  color: var(--blue-900);
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.plans-visual-contacts__social-link:hover {
  color: var(--link-hover);
  opacity: 1;
  transform: translateY(-1px);
}
