/* ===================================
   TABLE OF CONTENTS
===================================
   01. Variables
   02. Reset
   03. Global containers
   04. Section headings
   05. Buttons and links
   06. Cards and grids
   07. Hero
   08. About / Who We Are
   09. Mission / Principles
   10. Membership benefits
   11. Editorial cards
   12. News cards
   13. CTA
   14. Header
   15. Footer
   16. Mobile navigation
   17. Responsive
=================================== */

:root {
  /* COLORS */
  --color-bg: #f2f4f8;
  --color-surface: #ffffff;
  --color-surface-soft: #e9edff;
  --color-surface-dark: #111318;

  --color-text: #111318;
  --color-text-soft: #5b616d;
  --color-text-light: #f8f9fc;

  --color-accent: #6377f2;
  --color-accent-hover: #4e61d6;
  --color-accent-dark: #27327f;
  --color-accent-soft: #dfe4ff;

  --color-border: rgba(17, 19, 24, 0.12);
  --color-border-dark: rgba(255, 255, 255, 0.14);

  /* TYPOGRAPHY */
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;

  /* LAYOUT */
  --container-width: 1400px;
  --container-padding: 40px;

  /* SHAPES */
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  /* SHADOWS */
  --shadow-panel:
    0 28px 70px rgba(18, 22, 35, 0.08),
    0 4px 14px rgba(18, 22, 35, 0.04);

  --shadow-card:
    0 16px 36px rgba(18, 22, 35, 0.07);

  /* TRANSITIONS */
  --transition: 220ms ease;
}


/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);

  background:
    radial-gradient(
      circle at 10% 5%,
      rgba(99, 119, 242, 0.08),
      transparent 28%
    ),
    var(--color-bg);

  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  object-fit: cover;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin-top: 0;
}

button {
  border: 0;
}

::selection {
  color: #ffffff;
  background: var(--color-accent);
}


/* =========================
   GLOBAL CONTAINERS
========================= */

.site-main {
  overflow: hidden;
}

.container {
  width: min(
    calc(100% - var(--container-padding) * 2),
    var(--container-width)
  );

  margin-inline: auto;
}

/* Зовнішня секція */

.section {
  position: relative;
  padding: 28px 0;
}

/* Звичайна біла внутрішня панель */

.section-panel {
  position: relative;
  overflow: hidden;

  padding: 60px 72px;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-panel);
}

/* Панель без внутрішнього padding */

.section-panel--flush {
  padding: 0;
}

/* Світло-блакитна панель */

.section-panel--soft {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.9),
      rgba(223, 228, 255, 0.72)
    );
}

/* Темна секція */

.section-panel--dark {
  color: var(--color-text-light);

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(99, 119, 242, 0.3),
      transparent 30%
    ),
    linear-gradient(145deg, #171a21, #0c0e12);

  border-color: var(--color-border-dark);
}

/* Якщо секція не повинна бути карткою */

.section--full {
  padding: 110px 0;
}

.section--dark {
  color: var(--color-text-light);
  background: var(--color-surface-dark);
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading--left {
  max-width: 720px;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--color-accent);
}

.section-kicker::before {
  width: 30px;
  height: 2px;

  content: "";

  background: currentColor;
  border-radius: 10px;
}

.section-title {
  margin-bottom: 18px;

  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-title--medium {
  font-size: clamp(34px, 4vw, 52px);
}

.section-title--small {
  font-size: clamp(29px, 3.2vw, 42px);
}

.section-description {
  max-width: 760px;
  margin: 0 auto;

  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;

  color: var(--color-text-soft);
}

.section-heading--left .section-description {
  margin-left: 0;
}

.section-panel--dark .section-description,
.section--dark .section-description {
  color: rgba(255, 255, 255, 0.7);
}


/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 58px;
  padding: 13px 25px;

  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.015em;

  cursor: pointer;

  border: 1px solid transparent;
  border-radius: 999px;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #ffffff;
  background: var(--color-text);
  box-shadow: 0 12px 26px rgba(17, 19, 24, 0.18);
}

.btn--primary:hover {
  background: var(--color-accent);
  box-shadow: 0 16px 34px rgba(99, 119, 242, 0.3);
}

.btn--accent {
  color: #ffffff;
  background: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent-hover);
}

.btn--outline {
  color: var(--color-text);
  background: transparent;
  border-color: rgba(17, 19, 24, 0.25);
}

.btn--outline:hover {
  color: #ffffff;
  background: var(--color-text);
  border-color: var(--color-text);
}

.section-panel--dark .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.section-panel--dark .btn--outline:hover {
  color: var(--color-text);
  background: #ffffff;
  border-color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 14px;
  font-weight: 800;

  transition:
    color var(--transition),
    gap var(--transition);
}

.text-link::after {
  content: "→";
  font-size: 18px;
}

.text-link:hover {
  gap: 15px;
  color: var(--color-accent);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;

  margin-top: 42px;
}

.section-actions--left {
  justify-content: flex-start;
}




/* =========================
   CARDS
========================= */

.card {
  position: relative;
  overflow: hidden;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  z-index: 2;
  transform: translateY(-5px);

  border-color: rgba(99, 119, 242, 0.32);
  box-shadow: var(--shadow-card);
}

.card__content {
  padding: 30px;
}

.card__number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  margin-bottom: 26px;

  font-size: 13px;
  font-weight: 800;

  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  border-radius: 50%;
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  margin-bottom: 24px;

  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 16px;
}

.card__title {
  margin-bottom: 14px;

  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.card__text {
  margin-bottom: 0;
  line-height: 1.7;
  color: var(--color-text-soft);
}


/* =========================
   GLOBAL GRIDS AND SPLIT LAYOUTS
========================= */

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.88fr)
    minmax(0, 1.12fr);
  align-items: stretch;
  gap: clamp(28px, 3vw, 48px);
}

.split-layout--wide-media {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split-layout--wide-content {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-layout__media {
  overflow: hidden;
  min-height: 440px;

  border-radius: var(--radius-lg);
}

.split-layout__media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.split-layout__content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 0;
}


.section-header--center {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-header--center .section-description {
  max-width: 720px;
  margin: 20px auto 0;
}


/* =========================
   HERO
========================= */


.hero {
  padding: 10px 0 28px;
}

.hero-panel {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);

  min-height: 640px;
  /* height: calc(100svh - 135px); */
  max-height: 720px;

  overflow: hidden;

  color: var(--color-text-light);

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(99, 119, 242, 0.28),
      transparent 32%
    ),
    var(--color-surface-dark);

  border-radius: 42px;
  box-shadow: var(--shadow-panel);
}


.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 40px 55px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;

  margin-bottom: 24px;
  padding: 9px 14px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.hero-title {
  max-width: 650px;
  margin-bottom: 24px;

  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 42ch;
  margin-bottom: 24px;

  font-size: 18px;
  line-height: 1.65;

  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .btn--primary {
  color: var(--color-text);
  background: #ffffff;
}

.hero .btn--primary:hover {
  color: #ffffff;
  background: var(--color-accent);
}

.hero .btn--secondary {
  color: rgba(255, 255, 255, 0.88);

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn--secondary:hover {
  color: #171b2f;
  background: var(--color-accent);

}

.hero-media {
  position: relative;
  z-index: 2;

  min-width: 0;
  min-height: 100%;
  margin-left: -72px;
  overflow: hidden;

  clip-path: ellipse(90% 105% at 94% 50%);
}

.hero-media::after {
  position: absolute;
  inset: 0;

  content: "";

  background:
    linear-gradient(
      90deg,
      rgba(17, 19, 24, 0.45),
      transparent 34%
    ),
    linear-gradient(
      0deg,
      rgba(17, 19, 24, 0.2),
      transparent 45%
    );
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;

  margin-top: 34px;

  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.hero-stat {
  position: relative;
  min-height: 96px;
  padding: 18px 20px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.105),
      rgba(255, 255, 255, 0.045)
    );

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.hero-stat:hover {
  transform: translateY(-3px);

  background:
    linear-gradient(
      135deg,
      rgba(117, 136, 246, 0.2),
      rgba(255, 255, 255, 0.06)
    );

  border-color: rgba(153, 166, 255, 0.3);
}

.hero-stat__value {
  display: block;
  margin-bottom: 8px;

  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;

  color: #ffffff;
}

.hero-stat__label {
  display: block;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.62);
}


/* =========================
   ABOUT / WHO WE ARE
========================= */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;

}

.about-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 100%;
  padding: 42px 62px;

  background: var(--color-surface-soft);
  border: 1px solid rgba(99, 119, 242, 0.14);
  border-radius: var(--radius-lg);
}


.about-card__label {
  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--color-accent);
}

.about-card__text {
  margin-bottom: 0;

  font-size: 19px;
  line-height: 1.72;
  letter-spacing: -0.015em;
}

.about .section-description {
  max-width: 560px;
}

/* =========================
   ABOUT STATISTICS
========================= */

.about-stats {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));


  margin: 0 auto 28px;
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 248, 255, 0.96)
    );

  border: 1px solid rgba(99, 119, 242, 0.12);
  border-radius: 22px;

  box-shadow:
    0 20px 42px rgba(42, 52, 101, 0.1),
    0 5px 14px rgba(42, 52, 101, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.about-stat {
  position: relative;

  display: flex;
  align-items: center;
  gap: 17px;

  min-width: 0;
  min-height: 126px;
  padding: 24px 25px;

  transition:
    background-color var(--transition),
    transform var(--transition);
}

.about-stat:not(:last-child)::after {
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;

  width: 1px;

  content: "";

  background: rgba(47, 57, 105, 0.1);
}

.about-stat:hover {
  background: rgba(228, 232, 255, 0.42);
}

.about-stat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 60px;
  height: 60px;

  color: var(--color-accent);

  background:
    linear-gradient(
      145deg,
      rgba(245, 247, 255, 1),
      rgba(226, 231, 255, 0.95)
    );

  border: 1px solid rgba(99, 119, 242, 0.12);
  border-radius: 50%;

  box-shadow:
    0 9px 22px rgba(76, 91, 174, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.about-stat__icon svg {
  width: 28px;
  height: 28px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-stat:hover .about-stat__icon {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #7184f5,
      #5568de
    );

  transform: translateY(-3px);

  box-shadow:
    0 12px 25px rgba(84, 104, 220, 0.24);
}

.about-stat__content {
  min-width: 0;
}

.about-stat__value {
  display: block;
  margin-bottom: 6px;

  font-family: var(--font-heading);
  font-size: clamp(35px, 3vw, 46px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;

  color: #171a2c;
}

.about-stat__label {
  display: block;
  max-width: 190px;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;

  color: var(--color-text-soft);
}

.about-grid + .section-actions {
  margin-top: 38px;
}


/* =========================
   MISSION / PRINCIPLES
========================= */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mission-card {
  min-height: 100%;
  padding: 34px 20px 34px 34px;

  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.mission-card:nth-child(2) {
  background: var(--color-accent-soft);
  border-color: transparent;
}

.mission-card:nth-child(3) {
  color: #ffffff;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(99, 119, 242, 0.28),
      transparent 32%
    ),
    var(--color-surface-dark);
  border-color: var(--color-surface-dark);
}

.mission-card__number {
  display: block;
  margin-bottom: 50px;

  font-size: 13px;
  font-weight: 800;
  color: var(--color-accent);
}

.mission-card:nth-child(3) .mission-card__number {
  color: #aab5ff;
}

.mission-card__title {
  margin-bottom: 17px;

  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mission-card__text {
  margin-bottom: 0;
  color: var(--color-text-soft);
}

.mission-card:nth-child(3) .mission-card__text {
  color: rgba(255, 255, 255, 0.7);
}


/* =========================
   MEMBERSHIP BENEFITS
========================= */

.feature-media {
  position: relative;

  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;

  border-radius: var(--radius-lg);
}

.feature-media img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 40%;

  border-radius: inherit;
}

/* Легкий градієнт унизу */

.feature-media::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;

  height: 28%;

  content: "";
  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(17, 19, 24, 0.22),
      transparent
    );
}

/* Benefits list */

.feature-list {
  display: grid;
  gap: 12px;

  margin: 28px 0 0;
  padding: 0;

  list-style: none;
}

.feature-list__item {
  position: relative;

  min-height: 62px;
  padding: 16px 20px 16px 58px;

  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.45;

  background: var(--color-bg);
  border: 1px solid transparent;
  border-radius: 16px;

  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.feature-list__item::before {
  position: absolute;
  top: 50%;
  left: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  content: "✓";
  transform: translateY(-50%);

  font-size: 13px;
  font-weight: 800;

  color: #ffffff;
  background: var(--color-accent);
  border-radius: 50%;
}

.feature-list__item:hover {
  transform: translateX(4px);

  background: var(--color-accent-soft);
  border-color: rgba(99, 119, 242, 0.16);
}

.split-layout__content .section-actions,
.split-layout__content .section-actions--left {
  margin-top: 24px;
}

/* =========================
   EDITORIAL CARDS
========================= */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.editorial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.editorial-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
}

.editorial-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 500ms ease;
}

.editorial-card:hover .editorial-card__media img {
  transform: scale(1.04);
}

.editorial-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 28px;
}

.editorial-card__label {
  margin-bottom: 12px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--color-accent);
}

.editorial-card__title {
  margin-bottom: 14px;

  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.editorial-card__text {
  margin-bottom: 24px;
  color: var(--color-text-soft);
}

.editorial-card .text-link {
  margin-top: auto;
}


/* =========================
   NEWS CARDS
========================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.news-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.55 / 1;
  margin: 10px;

  background: var(--color-accent-soft);
  border-radius: calc(var(--radius-lg) - 8px);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 500ms ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 16px 24px 26px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;

  margin-bottom: 13px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--color-accent);
}

.news-card__title {
  margin-bottom: 12px;

  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card__excerpt {
  display: -webkit-box;
  overflow: hidden;

  margin-bottom: 24px;

  color: var(--color-text-soft);

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card .text-link {
  margin-top: auto;
}


/* =========================
   CTA
========================= */

.cta-panel {
  position: relative;
  overflow: hidden;

  padding: 88px 60px;
  text-align: center;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(125, 143, 255, 0.5),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(99, 119, 242, 0.25),
      transparent 32%
    ),
    var(--color-surface-dark);

  border-radius: var(--radius-xl);
}


.cta-content {
  position: relative;
  z-index: 2;

  max-width: 820px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: 20px;

  font-family: var(--font-heading);
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cta-text {
  max-width: 680px;
  margin: 0 auto 32px;

  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;

  padding: 10px 0;

  background: transparent;
}

.header-inner {
  position: relative;

  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 26px;

  width: 100%;
  min-height: 72px;
  padding: 10px 12px 10px 15px;

  color: var(--color-text);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(241, 244, 255, 0.82) 52%,
      rgba(232, 237, 255, 0.76) 100%
    );

  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;

  box-shadow:
    0 18px 46px rgba(52, 63, 105, 0.12),
    0 4px 14px rgba(52, 63, 105, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

/* Легке світлове переливання всередині скла */

.header-inner::before {
  position: absolute;
  z-index: -1;
  inset: 0;

  content: "";
  pointer-events: none;

  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(255, 255, 255, 0.95),
      transparent 28%
    ),
    radial-gradient(
      circle at 76% 100%,
      rgba(134, 151, 255, 0.13),
      transparent 30%
    );

  border-radius: inherit;
}


/* =========================
   LOGO
========================= */

.site-logo {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-self: start;
  gap: 13px;

  min-width: 0;
}

.site-logo__image {
  flex-shrink: 0;

  width: 50px;
  height: 50px;
  padding: 5px;

  object-fit: contain;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 1),
      rgba(233, 237, 255, 0.95)
    );

  border: 1px solid rgba(99, 119, 242, 0.18);
  border-radius: 50%;

  box-shadow:
    0 8px 20px rgba(54, 65, 108, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.site-logo__text {
  max-width: 155px;

  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;

  color: #171a25;
}

/* =========================
   HEADER NAVIGATION
========================= */

.header-nav {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 5px;

  white-space: nowrap;
}

.header-nav__link {
  position: relative;

  padding: 13px 15px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.012em;

  color: #555b6c;

  border: 1px solid transparent;
  border-radius: 999px;

  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.header-nav__link:hover,
.header-nav__link.is-active {
  color: #252d5c;

  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(99, 119, 242, 0.14);

  box-shadow:
    0 7px 18px rgba(64, 76, 129, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-nav__link:hover {
  transform: translateY(-1px);
}


/* =========================
   HEADER CTA
========================= */

.header-cta {
  position: relative;
  z-index: 2;

  justify-self: end;
  flex-shrink: 0;

  min-height: 50px;
  padding: 14px 26px;

  font-size: 17px;

  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #242c50 0%,
      #171c31 100%
    );

  border: 1px solid rgba(26, 33, 62, 0.88);

  box-shadow:
    0 10px 24px rgba(34, 43, 80, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-cta:hover {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #6377f2,
      #4f61cf
    );

  border-color: transparent;

  box-shadow:
    0 14px 30px rgba(85, 105, 219, 0.28);
}


/* =========================
   FOOTER
========================= */

.site-footer {
  padding: 20px 0 30px;
}

.footer-panel {
  overflow: hidden;

  color: rgba(255, 255, 255, 0.7);
  background: var(--color-surface-dark);
  border-radius: var(--radius-xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 50px;

  padding: 64px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-bottom: 22px;

  color: #ffffff;
}

.footer-logo__image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.footer-logo__text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.footer-description {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 20px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 11px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-link {
  font-size: 14px;

  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 22px 64px;

  font-size: 13px;

  border-top: 1px solid var(--color-border-dark);
}

.footer-bottom p {
  margin: 0 auto;
  opacity: 0.8;
}


.footer-panel {
  position: relative;
  isolation: isolate;

  background:
    radial-gradient(
      circle at 14% 12%,
      rgba(99, 119, 242, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(129, 102, 210, 0.1),
      transparent 26%
    ),
    #111318;
}

.footer-title {
  margin-bottom: 18px;

  font-size: 11px;
  letter-spacing: 0.17em;

  color: #8f9eff;
}

.footer-main {
  display: grid;
  grid-template-columns:
    minmax(320px, 410px)
    repeat(3, minmax(150px, 190px));

  justify-content: space-between;
  align-items: start;

  column-gap: clamp(24px, 3vw, 52px);

  padding: 58px 54px;
}

/* =========================
   MOBILE NAVIGATION
========================= */

/* =========================
   MOBILE NAVIGATION
========================= */

body.menu-open {
  overflow: hidden;
}

.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 900;

  padding:
    calc(var(--header-height, 88px) + 18px)
    24px
    24px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  background: rgba(232, 235, 246, 0.52);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-navigation.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-navigation__inner {
  width: min(100%, 520px);
  max-height: calc(100dvh - var(--header-height, 88px) - 42px);
  margin-left: auto;
  padding: 18px;

  overflow-y: auto;

  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(99, 119, 242, 0.16),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(245, 247, 255, 0.94)
    );

  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;

  box-shadow:
    0 24px 60px rgba(39, 48, 92, 0.18),
    0 8px 20px rgba(39, 48, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  transform: translateY(-18px) scale(0.98);

  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mobile-navigation.is-open .mobile-navigation__inner {
  transform: translateY(0) scale(1);
}

.mobile-navigation__inner a {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 58px;
  padding: 14px 18px;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;

  color: #1a1d2c;

  border-radius: 17px;

  transition:
    color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.mobile-navigation__inner a::after {
  content: "→";

  font-size: 18px;
  font-weight: 500;

  color: var(--color-accent);

  opacity: 0;
  transform: translateX(-6px);

  transition:
    opacity var(--transition),
    transform var(--transition);
}

.mobile-navigation__inner a:hover,
.mobile-navigation__inner a:focus-visible {
  color: #111421;

  background: rgba(99, 119, 242, 0.1);
  transform: translateX(3px);
}

.mobile-navigation__inner a:hover::after,
.mobile-navigation__inner a:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.mobile-navigation__inner a + a {
  margin-top: 4px;
}

/* Contact Us as the accent item */

.mobile-navigation__inner a:last-child {
  margin-top: 10px;

  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #697cf0,
      #5265dc
    );

  box-shadow:
    0 12px 26px rgba(82, 101, 220, 0.24);
}

.mobile-navigation__inner a:last-child::after {
  color: #ffffff;
  opacity: 1;
  transform: translateX(0);
}

.mobile-navigation__inner a:last-child:hover {
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #7486f3,
      #5b6ee4
    );
}

.menu-toggle {
  position: relative;

  display: none;
  flex-shrink: 0;

  width: 52px;
  height: 52px;
  padding: 0;

  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 50%;

  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 22px;
  height: 2px;

  background: #111318;
  border-radius: 999px;

  transform-origin: center;

  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}

/* Burger */

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -8px);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, 6px);
}

/* Cross */

.menu-toggle.is-active span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%);
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 940px) {
  :root {
    --header-height: 76px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 68px;
  }

  .mobile-navigation {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mobile-navigation__inner {
    width: 100%;
    padding: 12px;

    border-radius: 24px;
  }

  .mobile-navigation__inner a {
    min-height: 54px;
    padding: 12px 15px;

    font-size: 16px;
    border-radius: 15px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 900;
}

/* =========================
   RESPONSIVE — 1100px
========================= */

@media (max-width: 1100px) {
  /* Global */
  :root {
    --container-padding: 28px;
  }

  .section-panel {
    padding: 72px 48px;
  }

  .hero-panel {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    padding: 65px 45px;
  }

  .hero-title {
    font-size: clamp(45px, 5vw, 64px);
  }

  .split-layout {
    gap: 42px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns:
      minmax(260px, 330px)
      repeat(3, minmax(125px, 160px));

    column-gap: clamp(18px, 2vw, 30px);

    padding: 48px 36px;
  }

  .footer-logo {
    gap: 11px;
  }

  .footer-logo__image {
    width: 44px;
    height: 44px;
  }

  .footer-logo__text {
    font-size: 15px;
  }

  .footer-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .footer-title {
    margin-bottom: 16px;

    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .footer-links {
    gap: 12px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 20px 36px;
  }

  

  /* About */
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-stat:nth-child(2)::after {
    display: none;
  }

  .about-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(47, 57, 105, 0.1);
  }

  .about-card {
    padding: 38px 42px;
  }
}

/* =========================
   RESPONSIVE — 900px
========================= */

@media (max-width: 900px) {
  /* Global */
  :root {
    --container-padding: 22px;
    --radius-xl: 30px;
    --radius-lg: 23px;
  }

  .section {
    padding: 28px 0;
  }

  .section-panel {
    padding: 62px 34px;
  }

  .section-description {
    max-width: 660px;
 }

 .hero-panel {
      min-height: 0;
 }

  .hero-content {
    padding: 64px 42px;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-media img {
    min-height: 480px;
  }

  .hero-media::after {
    background: linear-gradient(
      180deg,
      rgba(17, 19, 24, 0.4),
      transparent 28%
    );
  }

  .hero-media {
    position: relative;
    z-index: 2;

    min-width: 0;
    min-height: 100%;
    margin-left: -52px;
    overflow: hidden;

    clip-path: ellipse(99% 108% at 100% 50%);
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    min-height: 100%;

    object-fit: cover;
    object-position: center;
  }

   .hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 0 1 auto;

    min-width: 0;
    min-height: 48px;
    padding: 11px 15px;

    font-size: 14px;
    white-space: nowrap;
  }

  .grid--3,
  .grid--4,
  .mission-grid,
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .split-layout--wide-media,
  .split-layout--wide-content {
    grid-template-columns: 1fr;
  }

  .split-layout__media,
  .split-layout__media img,
  .feature-media,
  .feature-media img {
    min-height: 460px;
  }

  .split-layout {
        gap: 24px;
    }

  .header-nav {
    display: none;
  }


.footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "brand brand brand"
      "association resources standards";
    gap: 48px 28px;

    padding: 56px 40px 48px;
  }

  .footer-brand {
    grid-area: brand;

    max-width: 640px;
    margin: 0 auto;

    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    max-width: 600px;
    margin: 22px auto 0;
  }

  .footer-column {
    min-width: 0;
    text-align: center;
  }

  .footer-column:nth-child(2) {
    grid-area: association;
  }

  .footer-column:nth-child(3) {
    grid-area: resources;
  }

  .footer-column:nth-child(4) {
    grid-area: standards;
  }

  .footer-links {
    justify-items: center;
  }

  .footer-bottom {
    padding-inline: 40px;
  }



  /* Hero */
  .hero-media {
    margin-left: -42px;

  }

  .hero-title {
    font-size: 40px;
  }

  .hero-text {
    font-size: 15px;
  }

  /* About */
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Header */
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .about-card__text {
    font-size: 15px;
  }

  .btn {
    font-size: 15px;
  }

  .btn--primary {
    margin: 0 auto;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }

  .feature-media img {
    object-position: 50% 30%;
}
}

/* =========================
   RESPONSIVE — 700px
========================= */

@media (max-width: 700px) {
  /* Section grids */
  .about-grid {
    grid-template-columns: 1fr;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .mission-grid,
  .editorial-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .mission-card__number {
    margin-bottom: 32px;
  }

      .hero-text {
        font-size: 14px;
        min-width: 38ch;
    }
}

/* =========================
   RESPONSIVE — 600px
========================= */

@media (max-width: 600px) {
  /* =========================
     GLOBAL
  ========================= */

  :root {
    --container-padding: 10px;
    --radius-xl: 24px;
    --radius-lg: 20px;
  }

  body {
    font-size: 15px;
  }

  .section {
    padding: 18px 0;
  }

  .section-panel {
    padding: 48px 20px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 39px;
  }

  .section-title--medium {
    font-size: 34px;
  }

  .section-description {
    font-size: 15px;
  }

  .about-card,
  .mission-card,
  .card__content,
  .editorial-card__content {
    padding: 35px;
  }

  .feature-list__item {
    padding: 16px 16px 16px 52px;

    font-size: 15px;
  }

  .split-layout__media,
  .split-layout__media img,
  .feature-media,
  .feature-media img {
    min-height: 340px;
  }

  /* =========================
     HEADER
  ========================= */

  .header-inner {
    min-height: 66px;
    padding: 8px 10px;
  }

  .site-logo__image {
    width: 46px;
    height: 46px;
  }

  .site-logo__text {
    max-width: 125px;

    font-size: 12px;
  }

  .header-cta {
    display: none;
  }

  /* =========================
     HERO
  ========================= */

  .hero,
  .hero-section {
    margin-top: 20px;
    padding-top: 0;
  }

  .hero-panel {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 0;
    padding: 0;
    overflow: hidden;

    background:
      radial-gradient(
        circle at 20% 10%,
        rgba(99, 119, 242, 0.18),
        transparent 38%
      ),
      #111318;

    border-radius: 30px;
  }

  .hero-panel::before {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    order: 1;

    width: 100%;
    max-width: none;
    min-width: 0;

    padding: 34px 26px 24px;
  }

  .hero-kicker {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 10px 15px;

    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    white-space: normal;
  }

  .hero-title {
    width: 100%;
    max-width: none;
    margin: 0 0 18px;

    font-size: 38px;
    line-height: 0.98;
    letter-spacing: -0.035em;

    text-wrap: balance;
  }

  .hero-text {
    max-width: 31ch;
    margin: 0 0 18px;

    font-size: 15px;
    line-height: 1.6;
  }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  width: 100%;
  margin: 0 0 6px;
}

.hero-actions .btn {
  flex: none;
  align-self: flex-start;

  width: min(200px, 82%);
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 13px 22px;

  font-size: 15px;
}

/* =========================
   HERO IMAGE — 600px
========================= */

.hero-media {
  position: relative;
  z-index: 1;
  order: 2;

  width: 100%;
  height: clamp(340px, 78vw, 430px);
  min-height: 0;

  margin: -150px 0 0;
  overflow: hidden;

  clip-path: none;

  /*
    Перше значення — ширина вигину.
    Значення після "/" — його висота.
  */
  border-radius:
    88% 0 28px 0
    /
    92% 0 28px 0;
}

/* Прибираємо попередню темну накладку */

.hero-media::before {
  display: none;
}

.hero-media img {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;
  min-height: 0;

  object-fit: cover;
  object-position: 1% 35%;
}

  /* =========================
     ABOUT
  ========================= */

  .about-stats {
    border-radius: 18px;
  }

  .about-stat {
    min-height: auto;
    padding: 20px;
  }

  .about-stat::after {
    display: none !important;
  }

  .about-stat:not(:last-child) {
    border-bottom: 1px solid rgba(47, 57, 105, 0.1);
  }

  .about-stat__icon {
    width: 50px;
    height: 50px;
  }

  .about-stat__value {
    font-size: 35px;
  }

  .about-stat__label {
    max-width: none;

    font-size: 13px;
  }

  /* =========================
     SECTION ACTIONS
  ========================= */

  .section-actions {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-actions .btn {
    flex: 0 0 auto;
    align-self: center;

    width: fit-content;
    min-width: 210px;
    max-width: 100%;
    padding: 14px 32px;

    border-radius: 999px;
  }

  /* =========================
     CTA
  ========================= */

  .cta-panel {
    padding: 60px 22px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-text {
    max-width: 380px;

    font-size: 15px;
  }

  /* =========================
     FOOTER
  ========================= */

  .footer-main {
    gap: 36px;
    padding: 46px 25px 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;

    padding: 22px 25px;
  }
}



/* =========================
   RESPONSIVE — 400px
========================= */

@media (max-width: 480px) {
  /* Global */
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 35px;
  }

  .hero-content {
    padding-inline: 24px;
  }

  .section-panel {
    padding-inline: 16px;
  }

  .about-card,
  .mission-card,
  .card__content,
  .editorial-card__content,
  .news-card__body {
    padding-inline: 20px;
  }

      .hero-actions .btn {
        width: min(185px, 82%);
        font-size: 14px;
}

.about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .about-stat {
    position: relative;

    display: block;

    min-width: 0;
    min-height: 100px;
    padding: 24px 14px 24px 76px;
  }

  /* Іконка завжди по центру всієї картки */

  .about-stat__icon {
    position: absolute;
    top: 50%;
    left: 13px;

    width: 54px;
    height: 54px;
    margin: 0;

    transform: translateY(-50%);
  }

  /* Контент завжди починається зверху однаково */

  .about-stat__content {
    display: block;

    min-width: 0;
  }

  .about-stat__value {
    display: block;

    margin: 0 0 10px;

    font-size: 34px;
    line-height: 1;
  }

  .about-stat__label {
    display: block;

    max-width: none;
    margin: 0;

    font-size: 13px;
    line-height: 1.4;
  }

  /* Прибираємо старі вертикальні роздільники */

  .about-stat::after {
    display: none !important;
  }

  /* Межі між картками */

  .about-stat:nth-child(odd) {
    border-right: 1px solid rgba(47, 57, 105, 0.1);
  }

  .about-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(47, 57, 105, 0.1);
  }

  .btn {
    min-height: 48px;
  }
}

/* =========================
   RESPONSIVE — 380px
========================= */

@media (max-width: 380px) {

  :root {
    --container-padding: 8px;
  }

  .section {
    padding: 14px 0;
  }

  .section-panel {
    padding: 38px 16px;
    border-radius: 22px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-title--medium {
    font-size: 30px;
  }

  .section-description {
    font-size: 14px;
  }

  /* Header */

  .header-inner {
    min-height: 62px;
    padding: 8px;
  }

  .site-logo__image {
    width: 42px;
    height: 42px;
  }

  .site-logo__text {
    max-width: 115px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  /* Hero */

  .hero-content {
    padding: 26px 20px 18px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 14px;
    min-height: 50px;
  }

  .hero-media {
    width: calc(100% - 20px);
    height: 235px;
  }

  /* About stats */

  .about-stat {
    min-height: 170px;
    padding: 20px 12px 20px 74px;
  }

  .about-stat__icon {
    left: 12px;

    width: 48px;
    height: 48px;
  }

  .about-stat__value {
    font-size: 32px;
  }

  .about-stat__label {
    font-size: 12px;
    line-height: 1.35;
  }

  /* Buttons */

  .section-actions .btn {
    min-width: 180px;
    padding: 13px 24px;
    font-size: 14px;
  }

  /* Footer */

  .footer-main {
    padding: 34px 18px;
    gap: 28px;
  }

  .footer-bottom {
    padding: 18px;
    font-size: 13px;
  }
}


/* =========================
   HEADER — RESPONSIVE
========================= */

/* Поступово ущільнюємо десктопний хедер */

@media (max-width: 1200px) {
  .header-inner {
    grid-template-columns:
      minmax(190px, 1fr)
      auto
      minmax(170px, 1fr);

    gap: 16px;
    padding-left: 12px;
  }

  .site-logo {
    gap: 10px;
  }

  .site-logo__image {
    width: 46px;
    height: 46px;
  }

  .site-logo__text {
    max-width: 140px;
    font-size: 16px;
  }

  .header-nav {
    gap: 2px;
  }

  .header-nav__link {
    padding: 12px 11px;
    font-size: 15px;
  }

  .header-cta {
    min-height: 48px;
    padding: 13px 21px;
    font-size: 15px;
  }
}

/* Ще трохи стискаємо перед переходом на бургер */

@media (max-width: 1050px) {
  .header-inner {
    grid-template-columns:
      minmax(175px, 1fr)
      auto
      minmax(150px, 1fr);

    gap: 10px;
  }

  .site-logo__image {
    width: 43px;
    height: 43px;
  }

  .site-logo__text {
    max-width: 128px;
    font-size: 16px;
  }

  .header-nav__link {
    padding: 11px 8px;
    font-size: 14px;
  }

  .header-cta {
    min-height: 45px;
    padding: 12px 18px;
    font-size: 14px;
  }
}

/* Бургер з’являється ДО того, як навігація почне ламатися */

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;

    min-height: 68px;
    padding: 8px 10px 8px 14px;
  }

  .header-nav {
    display: none;
  }

  .site-logo {
    justify-self: start;
  }

  .header-cta {
    display: inline-flex;
    justify-self: end;

    min-height: 46px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
  }
}

/* На вузькому мобільному залишаємо логотип і бургер */

@media (max-width: 600px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;

    min-height: 64px;
    padding: 7px 9px 7px 11px;
  }

  .header-cta {
    display: none;
  }

  .site-logo__image {
    width: 44px;
    height: 44px;
  }

  .site-logo__text {
    max-width: 125px;
    font-size: 16px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 400px) {
  .site-logo {
    gap: 8px;
  }

  .site-logo__image {
    width: 40px;
    height: 40px;
  }

}