*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* brand */
  --green:        #0c6343;
  --green-dark:   #084a31;
  --green-light:  #E8F1EC;
  --green-deep:   #053a26;

  /* graphite — заголовки + dark секции */
  --graphite:       #3b403e;
  --graphite-soft:  #555b58;
  --graphite-deep:  #2a2f2d;

  /* legacy alias — много мест в CSS используют --blue */
  --blue: var(--graphite);

  /* surfaces */
  --cream:      #F4F1EA;
  --cream-deep: #ECE8DD;
  --gray:       #5F5E5A;
  --gray-light: #F5F4F0;
  --white:      #FFFFFF;

  /* text */
  --text:         #1A1A1A;
  --text-muted:   #6B6B6B;
  --text-on-dark: #F4F1EA;

  /* shape */
  --radius:      12px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;
  --shadow:      0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 24px 60px rgba(42, 47, 45, 0.18);
  --max-width:   1140px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(42, 47, 45, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 241, 234, 0.08);
}

.header__container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}

.header__logo-icon {
  color: #7FC7A3;
  font-size: 20px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
  min-height: 64px;
}

.header__nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.78);
  transition: color 0.2s, background 0.2s;
  line-height: 1;
  white-space: nowrap;
  border: none;
  background: transparent;
}

.header__nav-link:hover {
  color: white;
}

.header__nav-link--cta {
  background: var(--green);
  color: white;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(12, 99, 67, 0.35);
}

.header__nav-link--cta:hover {
  background: #0e7852;
  color: white;
}

/* ── DROPDOWN ── */
.header__dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
}

.header__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.header__dropdown-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  gap: 4px;
}

.header__arrow {
  font-size: 10px;
  line-height: 1;
  transition: transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__dropdown:hover .header__arrow {
  transform: rotate(180deg);
}

.header__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(59, 64, 62, 0.08);
  min-width: 280px;
  padding: 10px;
  z-index: 200;
}

.header__dropdown:hover .header__dropdown-menu {
  display: block;
}

.header__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite-deep);
  transition: background 0.15s, color 0.15s;
}

.header__dropdown-item:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.header__dropdown-item span:first-child {
  font-size: 18px;
  line-height: 1;
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px;
  flex-shrink: 0;
}

.lang-switcher__item {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: rgba(244, 241, 234, 0.6);
  background: transparent;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.lang-switcher__item--active {
  background: var(--cream);
  color: var(--graphite-deep);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.lang-switcher__item:hover:not(.lang-switcher__item--active) {
  color: var(--cream);
}

.header__burger {
  display: none;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn--primary {
  background: var(--green);
  color: white;
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: white;
}

.btn--full {
  width: 100%;
}

.btn--light {
  background: white;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}

.btn--light:hover {
  background: var(--green-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--blue);
  font-weight: 700;
  padding: 12px 14px;
}

.btn--ghost:hover {
  color: var(--green);
  background: transparent;
}

/* ── SECTION COMMON ── */
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0F2447 0%, #1B3A6B 60%, #1D9E75 100%);
  color: white;
  padding: 100px 24px;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__container--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero__container--split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__media {
    aspect-ratio: 16 / 10;
  }
}

.hero__badge {
  display: inline-block;
  background: rgba(29, 158, 117, 0.25);
  border: 1px solid rgba(29, 158, 117, 0.6);
  color: #7EECC8;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 20px;
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__stat-value {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: #7EECC8;
}

.hero__stat-label {
  font-size: 13px;
  opacity: 0.7;
}

/* Light hero variant (homepage) */
.hero--light {
  background: linear-gradient(180deg, #FBFBF8 0%, #F0F5EE 100%);
  color: var(--text);
  padding: 96px 24px 112px;
  min-height: auto;
}

.hero--light .hero__badge--light {
  background: var(--green-light);
  color: var(--green-dark);
  border-color: transparent;
}

.hero--light .hero__title--light {
  color: var(--blue);
  font-size: clamp(36px, 5.5vw, 58px);
  letter-spacing: -0.02em;
}

.hero--light .hero__subtitle--light {
  color: var(--text-muted);
  opacity: 1;
  font-size: 19px;
}

.hero--light .hero__stat-value {
  color: var(--blue);
}

.hero--light .hero__stat-label {
  color: var(--text-muted);
  opacity: 1;
}

.hero--light .btn--ghost {
  color: var(--blue);
}

/* Hero collage */
.hero__collage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1.05 / 1;
}

.hero__collage-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gray-light);
}

.hero__collage-item--big {
  grid-row: span 2;
}

.hero__collage-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

/* Reusable photo placeholder (empty state for image slots) */
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  font-size: 52px;
  background: linear-gradient(135deg, #1B3A6B 0%, #1D9E75 100%);
  text-align: center;
  padding: 24px;
}

.photo-placeholder small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.photo-placeholder--dark {
  background: linear-gradient(135deg, #0F2447 0%, #1D9E75 100%);
}

.photo-placeholder--green {
  background: linear-gradient(135deg, #1D9E75 0%, #EAF3DE 100%);
  color: var(--green-dark);
}

.photo-placeholder--blue {
  background: linear-gradient(135deg, #0F2447 0%, #1B3A6B 100%);
}

.photo-placeholder--tall {
  background: linear-gradient(160deg, #0F2447 0%, #1D9E75 60%, #EAF3DE 100%);
}

.photo-placeholder--production {
  background: linear-gradient(135deg, #EAF3DE 0%, #1D9E75 100%);
  color: rgba(255, 255, 255, 0.9);
}

.photo-placeholder--production svg {
  width: 96px;
  height: 96px;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .hero__collage {
    aspect-ratio: 4 / 3;
  }
}

/* ── SEGMENTS ── */
.segments {
  padding: 112px 24px;
  background: var(--cream);
}

.segments__container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.segments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.segment-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  border: 1px solid rgba(59, 64, 62, 0.08);
  box-shadow: 0 2px 14px rgba(42, 47, 45, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
  display: block;
}

.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(12, 99, 67, 0.14);
  border-color: rgba(12, 99, 67, 0.35);
}

.segment-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 20px;
  transition: background .25s, transform .25s;
}

.segment-card:hover .segment-card__icon {
  background: var(--green);
  color: white;
  transform: scale(1.05);
}

.segment-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.segment-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── ABOUT ── */
.about {
  padding: 96px 24px;
  background: white;
}

.about__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.about__feature-icon {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
}

.about__visual {
  display: flex;
  justify-content: center;
}

.about__circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 16px 48px rgba(29, 158, 117, 0.3);
}

.about__circle-value {
  font-size: 52px;
  font-weight: 800;
}

.about__circle-label {
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
  max-width: 140px;
}

/* ── WHY US ── */
.why-us {
  padding: 112px 24px;
  background: var(--cream-deep);
}

.why-us__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-us__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.why-us__eyebrow,
.certs__eyebrow,
.production__eyebrow,
.manifest__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.why-us__grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .why-us__grid--3 {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: white;
  border: 1px solid rgba(59, 64, 62, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.3);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .25s, color .25s;
}

.feature-card:hover .feature-card__icon {
  background: var(--green);
  color: white;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── CERTS ── */
.certs {
  padding: 112px 24px;
  background: var(--cream);
}

.certs__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.certs__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.cert-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 64, 62, 0.08);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .2s;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.28);
}

.cert-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--graphite) 100%);
  color: white;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
  box-shadow: 0 8px 22px rgba(42, 47, 45, 0.18);
}

.cert-card__badge--green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: 0 8px 22px rgba(12, 99, 67, 0.28);
}

.cert-card__badge--blue {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--graphite-deep) 100%);
}

.cert-card__badge--neutral {
  background: linear-gradient(135deg, var(--graphite-soft) 0%, var(--graphite-deep) 100%);
}

.cert-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.cert-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── PRODUCTION ── */
.production {
  padding: 96px 24px;
  background: white;
}

.production__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.production__media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 20px 60px rgba(15, 36, 71, 0.12);
}

.production__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.production__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #EAF3DE 0%, #1D9E75 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 40px;
}

.production__placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.6;
}

.production__placeholder span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.production__content .section-title {
  margin-bottom: 18px;
}

.production__text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.production__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.production__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.production__feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .production__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .production__media {
    aspect-ratio: 16 / 10;
  }
}

/* ── MANIFEST PHOTO (светлый, фото слева + цитата справа) ── */
.manifest-photo {
  padding: 120px 24px;
  background: white;
}

.manifest-photo__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.manifest-photo__media {
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 36, 71, 0.14);
  position: relative;
}

.manifest-photo__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

.manifest-photo__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.manifest-photo__statement {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue);
  margin-bottom: 24px;
}

.manifest-photo__text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
}

@media (max-width: 900px) {
  .manifest-photo {
    padding: 80px 24px;
  }
  .manifest-photo__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .manifest-photo__media {
    aspect-ratio: 4 / 3;
  }
}

/* ── CTA BANNER перед формой ── */
.cta-banner {
  padding: 56px 24px;
  background: linear-gradient(135deg, #1D9E75 0%, #0F6E56 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner__content {
  max-width: 720px;
}

.cta-banner__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 10px;
}

.cta-banner__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  color: white;
  letter-spacing: -0.01em;
}

@media (max-width: 700px) {
  .cta-banner__container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── INSIGHTS ── */
.insights {
  padding: 112px 24px;
  background: var(--cream-deep);
}

.insights__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.insights__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.insights__head-text {
  max-width: 640px;
}

.insights__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.insights__head .section-title {
  margin-bottom: 12px;
}

.insights__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.55;
}

.insights__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  padding: 10px 18px;
  border: 1px solid #E2E5E1;
  border-radius: 999px;
  transition: border-color 0.15s, color 0.15s, gap 0.15s, background 0.15s;
  white-space: nowrap;
}

.insights__all:hover {
  border-color: var(--green);
  color: var(--green);
  background: #F4FAF6;
  gap: 12px;
}

.insights__all-arrow {
  transition: transform 0.2s ease;
}

.insights__all:hover .insights__all-arrow {
  transform: translateX(2px);
}

.insights__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.insights__empty {
  padding: 48px 28px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(59, 64, 62, 0.2);
  background: rgba(255, 255, 255, 0.4);
  color: var(--graphite-soft);
  font-size: 15.5px;
}

.insights-card {
  position: relative;
  display: flex;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 64, 62, 0.08);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.2s;
}

.insights-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.28);
}

.insights-card--featured {
  grid-row: span 2;
  flex-direction: column;
}

.insights-card--featured .insights-card__media {
  aspect-ratio: 16 / 10;
  width: 100%;
}

.insights-card--featured .insights-card__body {
  padding: 28px 30px 30px;
  gap: 14px;
}

.insights-card--featured .insights-card__title {
  font-size: 26px;
  line-height: 1.25;
}

.insights-card--side {
  flex-direction: row;
  min-height: 0;
}

.insights-card--side .insights-card__media {
  width: 42%;
  flex-shrink: 0;
}

.insights-card--side .insights-card__body {
  padding: 22px 24px;
  gap: 10px;
}

.insights-card--side .insights-card__title {
  font-size: 17px;
  line-height: 1.35;
}

.insights-card__media {
  position: relative;
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--green) 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.insights-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(0, 0, 0, 0.22), transparent 55%);
}

.insights-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.05) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.05) 95%);
  background-size: 24px 24px;
  opacity: 0.5;
}

.insights-card--guide .insights-card__media {
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--green) 100%);
}

.insights-card--case .insights-card__media {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
}

.insights-card--news .insights-card__media {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--graphite) 100%);
}

.insights-card__image {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.insights-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}

.insights-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.insights-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.insights-card__dot {
  opacity: 0.5;
}

.insights-card__title {
  font-weight: 700;
  color: var(--blue);
  transition: color 0.2s;
}

.insights-card:hover .insights-card__title {
  color: var(--green-dark);
}

.insights-card__excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.insights-card__read {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.insights-card__read-arrow {
  transition: transform 0.2s ease;
}

.insights-card:hover .insights-card__read-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .insights__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .insights-card--featured {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .insights__head {
    align-items: flex-start;
  }
  .insights-card--side {
    flex-direction: column;
  }
  .insights-card--side .insights-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .insights-card--featured .insights-card__title {
    font-size: 22px;
  }
}

/* ── CONTACT ── */
.contact {
  padding: 112px 24px;
  background: var(--cream);
}

.contact__container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  text-align: left;
  margin-top: 40px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form__field {
  margin-bottom: 16px;
}

.contact-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 6px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid rgba(59, 64, 62, 0.14);
  border-radius: 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(12, 99, 67, 0.1);
}

.contact-form__field input,
.contact-form__field select {
  height: 52px;
  border-radius: var(--radius-pill);
}

.contact-form__field textarea {
  border-radius: 20px;
  resize: vertical;
}

.contact-form__success {
  margin-top: 20px;
  padding: 16px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--graphite-deep);
  color: rgba(244, 241, 234, 0.72);
  padding: 48px 24px;
}

.footer__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-icon {
  color: #7FC7A3;
  font-size: 20px;
  line-height: 1;
}

.footer__links a {
  color: #7FC7A3;
}

.footer__links a:hover {
  color: white;
}

.footer__copy {
  font-size: 13px;
}

/* ── NEEDS ── */
.needs {
  position: relative;
  padding: 112px 24px;
  background: var(--cream);
  overflow: hidden;
}

.needs__container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.needs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.needs__deco {
  top: -40px;
  right: -80px;
  width: clamp(240px, 30vw, 360px);
  opacity: 0.55;
  z-index: 0;
}

.need-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: left;
  border: 1px solid rgba(59, 64, 62, 0.08);
  box-shadow: 0 2px 14px rgba(42, 47, 45, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}

.need-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.25);
}

.need-card__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(12, 99, 67, 0.3);
}

.need-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--graphite-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.need-card__text {
  font-size: 14.5px;
  color: var(--graphite-soft);
  line-height: 1.65;
}

/* ── ADVANTAGES — всегда dark на segment-странице ── */
.advantages {
  position: relative;
  padding: 112px 24px;
  background: var(--graphite-deep);
  color: var(--cream);
  overflow: hidden;
}

.advantages__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.advantages__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.advantages__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(232, 241, 236, 0.08);
  border: 1px solid rgba(232, 241, 236, 0.18);
  color: #7FC7A3;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.advantages__title {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 14px;
}

.advantages__sub {
  font-size: 17px;
  color: rgba(244, 241, 234, 0.75);
  line-height: 1.55;
  margin-bottom: 8px;
}

.advantages__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.advantages__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--cream);
  line-height: 1.5;
}

.advantages__check {
  color: white;
  background: var(--green);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 4px 14px rgba(12, 99, 67, 0.5);
}

.advantages__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.advantages__icon-big {
  font-size: 140px;
  line-height: 1;
  filter: drop-shadow(0 10px 30px rgba(12, 99, 67, 0.35));
}

.advantages__desc {
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-size: 15px;
  color: rgba(244, 241, 234, 0.82);
  line-height: 1.7;
}

.advantages__deco {
  top: -30px;
  right: -80px;
  width: clamp(260px, 34vw, 420px);
  opacity: 0.45;
  z-index: 0;
}

@media (max-width: 900px) {
  .advantages {
    padding: 80px 24px;
  }
  .advantages__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Hero segment variant */
.hero--segment {
  min-height: 60vh;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }

  .header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
  }

  .about__container,
  .advantages__container,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .about__visual,
  .advantages__visual {
    display: none;
  }

  .needs__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 24px;
    min-height: auto;
  }

  .hero__stats {
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .header__container {
    gap: 16px;
    height: 64px;
  }

  .lang-switcher {
    margin-left: auto;
  }
}

/* ── PRODUCT PAGE ── */
.hero--product {
  min-height: 62vh;
}

.product-intro {
  padding: 88px 24px;
  background: var(--cream);
}

.product-intro__container {
  max-width: 860px;
  margin: 0 auto;
}

.product-intro__text {
  font-size: 19px;
  color: var(--graphite-soft);
  line-height: 1.75;
  text-align: center;
}

.product-intro__text p {
  margin-bottom: 16px;
}

.product-info {
  position: relative;
  padding: 112px 24px;
  background: var(--graphite-deep);
  color: var(--cream);
  overflow: hidden;
}

.product-info__container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.product-info__card {
  background: rgba(244, 241, 234, 0.04);
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.product-info__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.product-info__text {
  font-size: 15.5px;
  color: rgba(244, 241, 234, 0.75);
  line-height: 1.75;
}

.product-info__text p {
  margin-bottom: 14px;
}

.product-info__deco {
  top: -30px;
  right: -80px;
  width: clamp(260px, 34vw, 420px);
  opacity: 0.4;
  z-index: 0;
}

.product-properties {
  padding: 112px 24px;
  background: var(--cream);
}

.product-properties__container {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.product-properties__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.product-property-card {
  background: white;
  border: 1px solid rgba(59, 64, 62, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  box-shadow: 0 2px 14px rgba(42, 47, 45, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}

.product-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.25);
}

.product-property-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(12, 99, 67, 0.25);
}

.product-property-card__text {
  font-size: 15.5px;
  color: var(--graphite);
  line-height: 1.65;
}

.product-certs {
  padding: 112px 24px;
  background: var(--cream-deep);
}

.product-certs__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-certs__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.product-certs__text {
  font-size: 16px;
  color: var(--graphite-soft);
  line-height: 1.75;
}

.product-certs__text p {
  margin-bottom: 14px;
}

.product-certs__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-cert-badge {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(12, 99, 67, 0.28);
}

.product-cert-badge:nth-child(2n) {
  background: linear-gradient(135deg, var(--graphite) 0%, var(--graphite-deep) 100%);
  box-shadow: 0 12px 28px rgba(42, 47, 45, 0.28);
}

.product-delivery {
  position: relative;
  padding: 112px 24px;
  background: var(--graphite-deep);
  color: var(--cream);
  overflow: hidden;
}

.product-delivery__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.product-delivery__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.product-delivery__text {
  font-size: 17px;
  color: rgba(244, 241, 234, 0.78);
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-delivery__text p {
  margin-bottom: 14px;
}

.product-delivery__chips {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(244, 241, 234, 0.08);
  border: 1px solid rgba(244, 241, 234, 0.18);
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  transition: background .2s, border-color .2s;
}

.product-chip:hover {
  background: rgba(244, 241, 234, 0.14);
  border-color: rgba(244, 241, 234, 0.3);
}

.product-delivery__deco {
  top: -30px;
  left: -80px;
  width: clamp(240px, 32vw, 400px);
  opacity: 0.4;
  z-index: 0;
  transform: rotate(180deg);
}

.product-faq {
  padding: 112px 24px;
  background: var(--cream-deep);
}

.product-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.product-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}

.product-faq__item {
  border: 1px solid rgba(59, 64, 62, 0.08);
  border-radius: var(--radius-lg);
  background: white;
  padding: 28px 32px;
  transition: box-shadow .2s, border-color .2s;
}

.product-faq__item:hover {
  border-color: rgba(12, 99, 67, 0.25);
  box-shadow: 0 10px 28px rgba(12, 99, 67, 0.08);
}

.product-faq__question {
  font-size: 18px;
  font-weight: 700;
  color: var(--graphite-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-faq__answer {
  font-size: 15.5px;
  color: var(--graphite-soft);
  line-height: 1.7;
}

.product-cta {
  padding: 96px 24px;
  background: linear-gradient(135deg, #0F2447 0%, #1B3A6B 60%, #1D9E75 100%);
  color: white;
}

.product-cta__container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-cta .section-title,
.product-cta .section-subtitle {
  color: white;
}

.product-cta .section-subtitle {
  opacity: 0.82;
}

.product-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-cta .btn--outline {
  border-color: rgba(255,255,255,0.35);
  color: white;
}

.product-cta .btn--outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

@media (max-width: 768px) {
  .product-info__grid,
  .product-certs__grid {
    grid-template-columns: 1fr;
  }

  .product-certs__badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-intro__text {
    font-size: 16px;
  }
}

/* ──────────────────────────────────────────────────────────
   DESIGN-SYSTEM — фундамент редизайна (homepage v2)
   Используется новыми секциями: hero v2, manifest split,
   newsletter bar, pill-pattern, dark-cream сплиты.
   Старые селекторы намеренно не трогаем.
   ────────────────────────────────────────────────────────── */

/* Pill-кнопка — полностью круглая, как в референсе IBI */
.btn--pill {
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn--pill.btn--primary {
  background: var(--green);
  box-shadow: 0 8px 22px rgba(12, 99, 67, 0.28);
}

.btn--pill.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(12, 99, 67, 0.32);
}

.btn--pill.btn--light {
  background: var(--cream);
  color: var(--graphite-deep);
}

.btn--pill.btn--light:hover {
  background: white;
  transform: translateY(-1px);
}

.btn--pill.btn--ghost-dark {
  background: transparent;
  border: 1.5px solid rgba(244, 241, 234, 0.35);
  color: var(--cream);
}

.btn--pill.btn--ghost-dark:hover {
  background: rgba(244, 241, 234, 0.08);
  color: white;
}

/* Surface-классы — фон секций */
.surface--cream { background: var(--cream); }
.surface--cream-deep { background: var(--cream-deep); }
.surface--dark {
  background: var(--graphite-deep);
  color: var(--text-on-dark);
}
.surface--dark .section-title,
.surface--dark .section-subtitle { color: var(--cream); }
.surface--dark .section-subtitle { opacity: 0.78; }

/* Скруглённый медиа-контейнер */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.media-frame--xl { border-radius: var(--radius-xl); }

.media-frame img,
.media-frame .media-frame__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

/* Bleed — фото выезжает за границу dark-блока */
.bleed-left  { margin-left:  calc(var(--bleed, 64px) * -1); }
.bleed-right { margin-right: calc(var(--bleed, 64px) * -1); }
.bleed-up    { margin-top:   calc(var(--bleed, 64px) * -1); }
.bleed-down  { margin-bottom: calc(var(--bleed, 64px) * -1); }

@media (max-width: 900px) {
  .bleed-left,
  .bleed-right,
  .bleed-up,
  .bleed-down {
    margin: 0;
  }
}

/* Pill-pattern — фирменный SVG-паттерн (через partial) */
.pill-pattern {
  display: block;
  width: 100%;
  height: auto;
  color: var(--graphite-soft);
}

.pill-pattern--green        { color: var(--green); }
.pill-pattern--green-light  { color: rgba(12, 99, 67, 0.22); }
.pill-pattern--cream        { color: var(--cream-deep); }
.pill-pattern--cream-soft   { color: rgba(244, 241, 234, 0.55); }
.pill-pattern--graphite     { color: var(--graphite); }
.pill-pattern--on-dark      { color: rgba(244, 241, 234, 0.18); }
.pill-pattern--on-green     { color: rgba(244, 241, 234, 0.32); }

/* Декоративный wrapper для абсолютного позиционирования паттерна */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.deco--top-right {
  top: 0;
  right: 0;
  width: clamp(220px, 32vw, 420px);
}

.deco--bottom-right {
  bottom: 0;
  right: 0;
  width: clamp(200px, 28vw, 380px);
}

.deco--bottom-left {
  bottom: -40px;
  left: -60px;
  width: clamp(160px, 22vw, 300px);
  transform: rotate(180deg);
}

/* ──────────────────────────────────────────────────────────
   HERO v2 — IBI-стиль (cream + фото справа + pill-паттерн)
   ────────────────────────────────────────────────────────── */
.hero-v2 {
  position: relative;
  padding: 88px 24px 112px;
  overflow: hidden;
}

.hero-v2__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero-v2__content {
  position: relative;
  z-index: 1;
}

.hero-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid rgba(12, 99, 67, 0.14);
  color: var(--green);
  padding: 8px 18px 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(12, 99, 67, 0.06);
}

.hero-v2__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 99, 67, 0.18);
}

.hero-v2__title {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--green);
  margin-bottom: 24px;
}

.hero-v2__subtitle {
  font-size: 19px;
  line-height: 1.55;
  color: var(--graphite-soft);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-v2__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-v2__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.01em;
  padding: 12px 6px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s, gap .2s;
}

.hero-v2__link:hover {
  color: var(--green);
  border-color: var(--green);
  gap: 14px;
}

.hero-v2__link-arrow {
  transition: transform .2s ease;
}

.hero-v2__link:hover .hero-v2__link-arrow {
  transform: translateX(4px);
}

.hero-v2__stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(59, 64, 62, 0.12);
  padding-top: 28px;
}

.hero-v2__stat-value {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.hero-v2__stat-label {
  font-size: 13px;
  color: var(--graphite-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-v2__media-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero-v2__media {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.hero-v2__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

.hero-v2__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(244, 241, 234, 0.85);
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green) 70%, #2c8a64 100%);
  text-align: center;
  padding: 32px;
}

.hero-v2__placeholder svg {
  width: 80px;
  height: 80px;
  opacity: .6;
}

.hero-v2__placeholder small {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.85;
}

.hero-v2__deco {
  position: absolute;
  top: -32px;
  right: -88px;
  width: 65%;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-v2 {
    padding: 64px 24px 88px;
  }
  .hero-v2__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-v2__media-wrap {
    aspect-ratio: 4 / 3;
    max-height: 460px;
  }
  .hero-v2__deco {
    width: 50%;
    right: -32px;
    top: -16px;
  }
  .hero-v2__stats {
    gap: 32px;
  }
  .hero-v2__stat-value {
    font-size: 32px;
  }
}

/* ──────────────────────────────────────────────────────────
   MANIFEST v2 — dark split (фото слева + цитата справа)
   ────────────────────────────────────────────────────────── */
.manifest-v2 {
  position: relative;
  padding: 112px 24px;
  overflow: hidden;
}

.manifest-v2__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 96px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.manifest-v2__media {
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.manifest-v2__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

.manifest-v2__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(160deg, var(--green-deep) 0%, var(--green) 65%, #2f8a66 100%);
  color: rgba(244, 241, 234, 0.85);
  padding: 32px;
}

.manifest-v2__placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.55;
}

.manifest-v2__placeholder small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.manifest-v2__body {
  position: relative;
}

.manifest-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(232, 241, 236, 0.08);
  border: 1px solid rgba(232, 241, 236, 0.18);
  color: #7FC7A3;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.manifest-v2__statement {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--cream);
  margin-bottom: 24px;
}

.manifest-v2__text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.72);
  margin-bottom: 36px;
  max-width: 520px;
}

.manifest-v2__text p + p { margin-top: 12px; }

.manifest-v2__deco {
  position: absolute;
  top: -40px;
  right: -64px;
  width: clamp(260px, 36vw, 440px);
  z-index: 0;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .manifest-v2 {
    padding: 80px 24px;
  }
  .manifest-v2__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .manifest-v2__media {
    aspect-ratio: 4 / 3;
  }
  .manifest-v2__deco {
    width: 55%;
    right: -40px;
    top: -24px;
    opacity: 0.35;
  }
}

/* ──────────────────────────────────────────────────────────
   PRODUCTION v2 — cream split (текст слева + фото справа)
   ────────────────────────────────────────────────────────── */
.production-v2 {
  position: relative;
  padding: 112px 24px;
  overflow: hidden;
}

.production-v2__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.production-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: white;
  border: 1px solid rgba(12, 99, 67, 0.14);
  color: var(--green);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(12, 99, 67, 0.06);
}

.production-v2__title {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--graphite-deep);
  margin-bottom: 20px;
}

.production-v2__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--graphite-soft);
  margin-bottom: 28px;
  max-width: 500px;
}

.production-v2__text p + p { margin-top: 12px; }

.production-v2__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.production-v2__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  color: var(--graphite);
  font-weight: 500;
}

.production-v2__feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(12, 99, 67, 0.25);
}

.production-v2__media-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}

.production-v2__media {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.production-v2__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

.production-v2__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(160deg, var(--green) 0%, #2e9270 100%);
  color: rgba(244, 241, 234, 0.9);
  padding: 32px;
}

.production-v2__placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.6;
}

.production-v2__placeholder small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.production-v2__deco {
  position: absolute;
  top: -40px;
  left: -88px;
  width: 55%;
  z-index: 1;
  transform: rotate(180deg);
}

@media (max-width: 900px) {
  .production-v2 {
    padding: 80px 24px;
  }
  .production-v2__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .production-v2__media-wrap {
    aspect-ratio: 4 / 3;
    max-height: 460px;
  }
  .production-v2__deco {
    width: 45%;
    left: -32px;
    top: -16px;
  }
}

/* ──────────────────────────────────────────────────────────
   CTA-BANNER v2 — зелёная полоса с pill-паттерном справа
   ────────────────────────────────────────────────────────── */
.cta-banner-v2 {
  position: relative;
  padding: 72px 24px;
  background: linear-gradient(100deg, var(--green-deep) 0%, var(--green) 55%, #178059 100%);
  color: var(--cream);
  overflow: hidden;
}

.cta-banner-v2__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner-v2__content {
  max-width: 640px;
}

.cta-banner-v2__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72);
  margin-bottom: 12px;
}

.cta-banner-v2__title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: white;
}

.cta-banner-v2__deco {
  top: -30px;
  right: -60px;
  width: clamp(240px, 32vw, 400px);
  opacity: 0.55;
  z-index: 0;
}

@media (max-width: 700px) {
  .cta-banner-v2__container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ──────────────────────────────────────────────────────────
   NEWSLETTER — подписка перед футером (cream с pill-деко)
   ────────────────────────────────────────────────────────── */
.newsletter {
  position: relative;
  padding: 96px 24px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}

.newsletter__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter__content {
  max-width: 540px;
}

.newsletter__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.newsletter__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--graphite-deep);
  margin-bottom: 14px;
}

.newsletter__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite-soft);
}

.newsletter__form {
  display: flex;
  gap: 8px;
  background: white;
  padding: 6px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 36px rgba(42, 47, 45, 0.08);
  border: 1px solid rgba(59, 64, 62, 0.1);
}

.newsletter__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 22px;
  font-size: 15px;
  font-family: inherit;
  color: var(--graphite-deep);
}

.newsletter__input::placeholder {
  color: rgba(85, 91, 88, 0.65);
}

.newsletter__submit {
  flex-shrink: 0;
}

.newsletter__deco {
  top: 50%;
  right: -64px;
  transform: translateY(-50%);
  width: clamp(220px, 26vw, 320px);
  z-index: 0;
  opacity: 0.9;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .newsletter {
    padding: 72px 24px;
  }
  .newsletter__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .newsletter__deco {
    display: none;
  }
}

@media (max-width: 520px) {
  .newsletter__form {
    flex-direction: column;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    gap: 12px;
  }
  .newsletter__input {
    padding: 14px 22px;
    background: white;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(59, 64, 62, 0.18);
    height: 48px;
  }
  .newsletter__submit {
    width: 100%;
  }
}

/* ──────────────────────────────────────────────────────────
   HERO-INNER — product / segment страницы (cream + pattern)
   ────────────────────────────────────────────────────────── */
.hero-inner {
  position: relative;
  padding: 96px 24px 112px;
  overflow: hidden;
}

.hero-inner__container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-inner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid rgba(12, 99, 67, 0.14);
  color: var(--green);
  padding: 8px 20px 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(12, 99, 67, 0.06);
}

.hero-inner__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(12, 99, 67, 0.18);
}

.hero-inner__eyebrow-icon {
  font-size: 14px;
  line-height: 1;
}

.hero-inner__title {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--green);
  margin-bottom: 22px;
}

.hero-inner__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--graphite-soft);
  margin: 0 auto 32px;
  max-width: 640px;
}

.hero-inner__actions {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-inner__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--graphite);
  border-bottom: 1.5px solid transparent;
  padding: 12px 4px;
  transition: color .2s, border-color .2s, gap .2s;
}

.hero-inner__link:hover {
  color: var(--green);
  border-color: var(--green);
  gap: 14px;
}

.hero-inner__link-arrow {
  transition: transform .2s ease;
}

.hero-inner__link:hover .hero-inner__link-arrow {
  transform: translateX(4px);
}

.hero-inner__stats {
  display: inline-flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 28px;
  border-top: 1px solid rgba(59, 64, 62, 0.12);
}

.hero-inner__stat-value {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-inner__stat-label {
  font-size: 13px;
  color: var(--graphite-soft);
  font-weight: 500;
}

.hero-inner__deco {
  top: -30px;
  right: -80px;
  width: clamp(260px, 34vw, 420px);
  z-index: 0;
  opacity: 0.8;
}

.hero-inner--segment .hero-inner__deco {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 72px 24px 88px;
  }
  .hero-inner__deco {
    width: 55%;
    right: -40px;
    top: -16px;
    opacity: 0.5;
  }
  .hero-inner__stats {
    gap: 28px;
  }
}

/* Product CTA — dark секция с pill-pattern (перезапись старого) */
.product-cta {
  position: relative;
  padding: 112px 24px;
  color: var(--cream);
  background: var(--graphite-deep);
  overflow: hidden;
}

.product-cta__container {
  position: relative;
  z-index: 1;
}

.product-cta .section-title,
.product-cta .section-subtitle {
  color: var(--cream);
}

.product-cta .section-subtitle { opacity: 0.78; }

.product-cta__deco {
  top: -30px;
  right: -60px;
  width: clamp(260px, 34vw, 440px);
  opacity: 0.45;
  z-index: 0;
}

/* ──────────────────────────────────────────────────────────
   PRODUCTION v2 — dark-вариант (модификатор)
   ────────────────────────────────────────────────────────── */
.production-v2--dark .production-v2__eyebrow {
  background: rgba(232, 241, 236, 0.08);
  border-color: rgba(232, 241, 236, 0.18);
  color: #7FC7A3;
  box-shadow: none;
}

.production-v2--dark .production-v2__title {
  color: var(--cream);
}

.production-v2--dark .production-v2__text {
  color: rgba(244, 241, 234, 0.72);
}

.production-v2--dark .production-v2__feature {
  color: var(--cream);
}

.production-v2--dark .production-v2__feature-icon {
  background: var(--green);
  color: white;
  box-shadow: 0 4px 14px rgba(12, 99, 67, 0.5);
}

.production-v2--dark .production-v2__media {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.production-v2--dark .production-v2__deco {
  opacity: 0.45;
}

/* ──────────────────────────────────────────────────────────
   NEWSLETTER — dark-вариант (перекрывает cream)
   ────────────────────────────────────────────────────────── */
.newsletter {
  background: var(--graphite-deep);
  color: var(--cream);
}

.newsletter__eyebrow {
  color: #7FC7A3;
}

.newsletter__title {
  color: var(--cream);
}

.newsletter__sub {
  color: rgba(244, 241, 234, 0.72);
}

.newsletter__form {
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.14);
  box-shadow: none;
}

.newsletter__input {
  color: var(--cream);
}

.newsletter__input::placeholder {
  color: rgba(244, 241, 234, 0.45);
}

.newsletter__status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(244, 241, 234, 0.6);
  letter-spacing: 0.01em;
}

.newsletter__status[data-kind="error"]   { color: #FF9E9E; }
.newsletter__status[data-kind="success"] { color: #7FC7A3; }

@media (max-width: 520px) {
  .newsletter__input {
    background: rgba(244, 241, 234, 0.06);
    border: 1px solid rgba(244, 241, 234, 0.14);
    color: var(--cream);
  }
}

/* ──────────────────────────────────────────────────────────
   ARTICLES — индекс материалов и детальная страница
   ────────────────────────────────────────────────────────── */

/* Hero индекса материалов — split (текст / фильтр) */
.articles-hero {
  position: relative;
  padding: 88px 24px 96px;
  overflow: hidden;
}

.articles-hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.articles-hero__content {
  position: relative;
  z-index: 1;
}

.articles-hero__title {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--green);
  margin: 24px 0 20px;
}

.articles-hero__subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--graphite-soft);
  max-width: 520px;
}

.articles-hero__deco {
  top: -30px;
  right: -80px;
  width: clamp(240px, 32vw, 380px);
  opacity: 0.6;
  z-index: 0;
}

.articles-hero__filter {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.articles-hero__filter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.articles-empty {
  padding: 64px 24px 96px;
  text-align: center;
  color: var(--graphite-soft);
  font-size: 17px;
}

.articles-empty__container {
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .articles-hero {
    padding: 64px 24px;
  }
  .articles-hero__container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .articles-hero__deco {
    width: 55%;
    right: -40px;
    top: -16px;
    opacity: 0.35;
  }
}

/* FULL-WIDTH ROWS — чередуются cream-deep / cream */
.articles-rows {
  display: block;
}

.article-row {
  display: block;
  position: relative;
  padding: 80px 24px;
  color: inherit;
  overflow: hidden;
  transition: background .2s;
}

/* Первая row cream-deep, вторая cream, дальше чередование */
.article-row:nth-child(odd)  { background: var(--cream-deep); }
.article-row:nth-child(even) { background: var(--cream); }

.article-row__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Чётные — фото справа */
.article-row:nth-child(even) .article-row__inner {
  grid-template-columns: 1fr 1.05fr;
}

.article-row:nth-child(even) .article-row__media { order: 2; }
.article-row:nth-child(even) .article-row__body  { order: 1; }

.article-row__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--green) 100%);
  box-shadow: 0 24px 60px rgba(42, 47, 45, 0.14);
  transition: transform .35s ease, box-shadow .35s ease;
}

.article-row:hover .article-row__media {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(12, 99, 67, 0.2);
}

.article-row__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
  z-index: 1;
}

.article-row__media-fallback {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.16), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.22), transparent 55%);
}

.article-row__tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.96);
  color: var(--graphite-deep);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.article-row__tag--guide { background: var(--green); color: white; }
.article-row__tag--case  { background: var(--cream); color: var(--green-deep); }
.article-row__tag--news  { background: var(--graphite-deep); color: var(--cream); }

.article-row__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-row__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--graphite-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.article-row__dot { opacity: 0.5; }

.article-row__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--graphite-deep);
  margin: 4px 0 4px;
  transition: color .2s;
}

.article-row:hover .article-row__title {
  color: var(--green-dark);
}

.article-row__excerpt {
  font-size: 18px;
  color: var(--graphite);
  line-height: 1.55;
  font-weight: 500;
}

.article-row__preview {
  font-size: 15.5px;
  color: var(--graphite-soft);
  line-height: 1.7;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-row__read {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.article-row__read-arrow {
  transition: transform .2s ease;
}

.article-row:hover .article-row__read-arrow {
  transform: translateX(4px);
}

.article-row__deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: clamp(220px, 24vw, 320px);
  top: -24px;
  right: -80px;
  opacity: 0.35;
}

.article-row:nth-child(even) .article-row__deco {
  right: auto;
  left: -80px;
  top: auto;
  bottom: -24px;
  transform: rotate(180deg);
  opacity: 0.3;
}

@media (max-width: 900px) {
  .article-row { padding: 56px 24px; }
  .article-row__inner,
  .article-row:nth-child(even) .article-row__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .article-row:nth-child(even) .article-row__media { order: 0; }
  .article-row:nth-child(even) .article-row__body  { order: 0; }
  .article-row__deco { display: none; }
  .article-row__preview { -webkit-line-clamp: 3; line-clamp: 3; }
}

/* Filter bar */
.article-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px;
  background: white;
  border: 1px solid rgba(59, 64, 62, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(42, 47, 45, 0.08);
  width: fit-content;
}

.article-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--graphite);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}

.article-filter__btn:hover {
  background: var(--cream);
  color: var(--graphite-deep);
}

.article-filter__btn--active {
  background: var(--graphite-deep);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(42, 47, 45, 0.2);
}

.article-filter__btn--active:hover {
  background: var(--graphite-deep);
  color: var(--cream);
}

.article-filter__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.9;
}

.article-filter__dot--guide { color: var(--green); }
.article-filter__dot--case  { color: #C9A84E; }
.article-filter__dot--news  { color: var(--graphite); }

.article-filter__btn--active .article-filter__dot--guide { color: #7FC7A3; }
.article-filter__btn--active .article-filter__dot--case  { color: #F1D57F; }
.article-filter__btn--active .article-filter__dot--news  { color: var(--cream); }

/* Скрытие отфильтрованных row (авторский display: block
   у .article-row перекрывал бы UA-правило [hidden]) */
.is-filtered-out {
  display: none !important;
}

@media (max-width: 640px) {
  .article-filter {
    width: 100%;
    justify-content: space-between;
  }
  .article-filter__btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
  }
}

.article-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: white;
  border: 1px solid rgba(59, 64, 62, 0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 2px 14px rgba(42, 47, 45, 0.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .2s;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(12, 99, 67, 0.14);
  border-color: rgba(12, 99, 67, 0.28);
}

.article-card:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
}

.article-card:nth-child(even) .article-card__media {
  order: 2;
}

.article-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
}

.article-card__img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.article-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.96);
  color: var(--graphite-deep);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.article-card__tag--guide { background: var(--green); color: white; }
.article-card__tag--case  { background: var(--cream); color: var(--green-deep); }
.article-card__tag--news  { background: var(--graphite-deep); color: var(--cream); }

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 12px 12px 12px;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--graphite-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.article-card__dot {
  opacity: 0.5;
}

.article-card__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--graphite-deep);
}

.article-card:hover .article-card__title {
  color: var(--green-dark);
}

.article-card__excerpt {
  font-size: 16px;
  color: var(--graphite-soft);
  line-height: 1.6;
}

.article-card__read {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.01em;
}

.article-card__read-arrow {
  transition: transform .2s ease;
}

.article-card:hover .article-card__read-arrow {
  transform: translateX(4px);
}

/* Мини-карточки для related (маленькое квадратное фото слева) */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.article-mini {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px;
  background: white;
  border: 1px solid rgba(59, 64, 62, 0.08);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}

.article-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(12, 99, 67, 0.12);
  border-color: rgba(12, 99, 67, 0.28);
}

.article-mini__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--graphite-deep) 0%, var(--green) 100%);
  flex-shrink: 0;
}

.article-mini__media-fallback {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(0,0,0,0.22), transparent 55%);
}

.article-mini__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

.article-mini__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 2px 2px 0;
  min-width: 0;
}

.article-mini__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--graphite-deep);
  color: var(--cream);
  width: fit-content;
}

.article-mini__tag--guide { background: var(--green); color: white; }
.article-mini__tag--case  { background: var(--cream); color: var(--green-deep); border: 1px solid rgba(12, 99, 67, 0.18); }
.article-mini__tag--news  { background: var(--graphite-deep); color: var(--cream); }

.article-mini__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--graphite-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}

.article-mini:hover .article-mini__title {
  color: var(--green-dark);
}

.article-mini__date {
  font-size: 12.5px;
  color: var(--graphite-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .article-mini {
    grid-template-columns: 84px 1fr;
    gap: 14px;
    padding: 12px;
  }
}

@media (max-width: 900px) {
  .article-card,
  .article-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }
  .article-card:nth-child(even) .article-card__media {
    order: 0;
  }
  .article-card__body {
    padding: 4px 8px 12px;
  }
}

/* Detail article hero */
.article-hero {
  position: relative;
  padding: 72px 24px 56px;
  overflow: hidden;
}

.article-hero__container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite-soft);
  margin-bottom: 28px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(59, 64, 62, 0.14);
  background: rgba(255, 255, 255, 0.5);
  transition: color .2s, border-color .2s, background .2s, gap .2s;
}

.article-hero__back:hover {
  color: var(--green);
  border-color: var(--green);
  background: white;
  gap: 14px;
}

.article-hero__tag {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--graphite-deep);
  color: var(--cream);
  margin-bottom: 20px;
}

.article-hero__tag--guide { background: var(--green); color: white; }
.article-hero__tag--case  { background: var(--cream); color: var(--green-deep); border: 1px solid rgba(12,99,67,0.18); }
.article-hero__tag--news  { background: var(--graphite-deep); color: var(--cream); }

.article-hero__title {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--graphite-deep);
  margin-bottom: 20px;
}

.article-hero__excerpt {
  font-size: 20px;
  line-height: 1.55;
  color: var(--graphite-soft);
  margin-bottom: 24px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--graphite-soft);
  font-weight: 500;
}

.article-hero__dot {
  opacity: 0.5;
}

.article-hero__deco {
  top: -30px;
  right: -80px;
  width: clamp(240px, 32vw, 380px);
  opacity: 0.6;
  z-index: 0;
}

/* Cover-wide (на cream, с большим media-frame) */
.article-cover {
  padding: 0 24px 40px;
}

.article-cover__container {
  max-width: 1040px;
  margin: 0 auto;
}

.article-cover__frame {
  aspect-ratio: 16 / 8.5;
  box-shadow: 0 30px 80px rgba(42, 47, 45, 0.18);
}

.article-cover__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  position: absolute !important;
  inset: 0;
}

/* Body */
.article-body {
  padding: 56px 24px 96px;
}

.article-body__container {
  max-width: 780px;
  margin: 0 auto;
}

.article-body__content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--graphite);
}

.article-body__content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--graphite-deep);
  margin: 40px 0 16px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.article-body__content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--graphite-deep);
  margin: 32px 0 12px;
  line-height: 1.25;
}

.article-body__content p {
  margin-bottom: 20px;
}

.article-body__content ul,
.article-body__content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body__content li {
  margin-bottom: 8px;
}

.article-body__content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-body__content a:hover {
  color: var(--green-dark);
}

.article-body__content blockquote {
  border-left: 3px solid var(--green);
  padding: 10px 0 10px 24px;
  margin: 28px 0;
  color: var(--graphite-deep);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
}

.article-body__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

/* Related */
.article-related {
  padding: 96px 24px;
}

.article-related__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.article-related__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.article-related__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}