* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Onest', sans-serif;
  background: #F5F4EF;
  color: #1B211C;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  color: #3E6B4F;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--hero { color: #8FBB9E; margin-bottom: 22px; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
  text-align: center;
}
.btn--nav {
  background: #1F3A2E; color: #F5F4EF; font-size: 14px;
  padding: 11px 22px;
}
.btn--nav:hover { background: #14241C; }
.btn--fill-light {
  background: #F5F4EF; color: #14241C; font-size: 15px; padding: 16px 28px;
}
.btn--fill-light:hover { background: #8FBB9E; }
.btn--outline-light {
  border: 1px solid rgba(245,244,239,0.4); color: #F5F4EF; font-size: 15px; padding: 15px 27px;
}
.btn--outline-light:hover { border-color: #F5F4EF; background: rgba(245,244,239,0.08); }
.btn--fill-dark {
  background: #1F3A2E; color: #F5F4EF; font-size: 16px; padding: 18px 36px;
}
.btn--fill-dark:hover { background: #14241C; }
.btn--outline-dark {
  border: 1px solid #1F3A2E; color: #1F3A2E; font-size: 16px; padding: 17px 35px;
}
.btn--outline-dark:hover { background: #1F3A2E; color: #F5F4EF; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,244,239,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #D8D6CB;
}
.nav__row {
  max-width: 1280px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { font-weight: 700; font-size: 19px; letter-spacing: 0.02em; color: #14241C; text-decoration: none; }
.nav__logo span { color: #3E6B4F; font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 32px; font-size: 15px; color: #3A423C; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: #14241C; }
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__mail { font-size: 14px; color: #3A423C; text-decoration: none; white-space: nowrap; }
.nav__mail:hover { color: #14241C; }

/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,25,20,0.92) 0%, rgba(15,25,20,0.72) 38%, rgba(20,36,28,0.35) 65%, rgba(20,36,28,0.15) 100%);
}
.hero__inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 120px 32px 100px; width: 100%; }
.hero__content { max-width: 700px; animation: fadeUp 0.7s ease both; }
.hero__title { font-size: 56px; font-weight: 700; line-height: 1.08; margin: 0 0 24px; color: #F5F4EF; letter-spacing: -0.01em; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }
.hero__subhead { font-size: 19px; line-height: 1.6; color: #D8DED9; margin: 0 0 40px; max-width: 560px; text-shadow: 0 2px 8px rgba(0,0,0,0.55); }
.hero__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hero__cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 30px; }
.hero__logo-box { display: inline-flex; align-items: center; width: 90px; height: 32px; flex-shrink: 0; }
.hero__logo-box--wide { width: 150px; }
.hero__logo { width: 100%; height: 100%; object-fit: contain; object-position: left center; opacity: 0.85; }
.hero__microcopy { margin-top: 22px; font-size: 14px; color: #9FAEA5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero__cta-alt { display: flex; flex-direction: column; gap: 10px; }
.hero__telegram-link { font-size: 14px; color: #D8DED9; text-decoration: underline; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero__telegram-link:hover { color: #F5F4EF; }

/* STATS */
.stats-band { background: #ECEBE4; border-bottom: 1px solid #D8D6CB; }
.stats {
  max-width: 1280px; margin: 0 auto; padding: 48px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat__num { font-size: 34px; font-weight: 700; color: #14241C; letter-spacing: -0.01em; }
.stat__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6E766F; margin-top: 6px; }

/* SECTION generic */
.section { max-width: 1280px; margin: 0 auto; padding: 110px 32px; }
.section--band { background: #ECEBE4; }
.section__inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--wide { max-width: 680px; margin-bottom: 24px; }
.section__head h2 { font-size: 38px; font-weight: 700; margin: 0; color: #14241C; letter-spacing: -0.01em; }

/* SITUATIONS */
.situations { padding: 110px 32px 90px; }
.situations__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: #D8D6CB; border: 1px solid #D8D6CB;
}
.situation { background: #F5F4EF; padding: 36px 32px; }
.situation--span2 { grid-column: span 2; }
.situation__badge {
  width: 38px; height: 38px; border-radius: 50%; background: #E4E9E1;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #1F3A2E; margin-bottom: 20px;
}
.situation__title { font-size: 18px; font-weight: 700; color: #14241C; margin-bottom: 10px; line-height: 1.3; }
.situation__text { font-size: 15px; color: #4A544D; line-height: 1.6; }

/* CASES */
.cases { padding: 110px 0 100px; border-top: 1px solid #D8D6CB; border-bottom: 1px solid #D8D6CB; }
.cases__roster { font-size: 14.5px; color: #5C645E; margin-bottom: 56px; }
.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px,1fr)); gap: 24px; }
.cases__current { margin-top: 56px; padding-top: 40px; border-top: 1px solid #D8D6CB; }
.cases__current-head { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9AA39B; margin-bottom: 24px; }
.case {
  background: #F5F4EF; border: 1px solid #D8D6CB; border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.case:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(20,36,28,0.14); }
.case__img { width: 100%; height: 170px; object-fit: cover; background: #D8D6CB; }
.case__body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.case__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.case__period { font-size: 13px; font-weight: 700; color: #9AA39B; letter-spacing: 0.04em; }
.pill {
  background: #E4E9E1; color: #1F3A2E; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
}
.pill--telemost { flex-shrink: 0; }
.case__client { font-size: 22px; font-weight: 700; color: #14241C; margin: 0 0 4px; line-height: 1.25; }
.case__role { font-size: 13.5px; color: #6E766F; margin-bottom: 16px; }
.case__text { font-size: 14.5px; color: #4A544D; line-height: 1.6; margin: 0 0 12px; }
.case__text--grow { flex-grow: 1; margin-bottom: 20px; }
.case__metrics { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.metric {
  background: #1F3A2E; color: #F5F4EF; border-radius: 4px; padding: 10px 14px;
  flex: 1 1 110px; min-width: 110px; min-height: 58px;
  display: flex; flex-direction: column; justify-content: center;
}
.metric__v { font-size: 13.5px; font-weight: 700; line-height: 1.2; word-break: break-word; }
.metric__l { font-size: 10.5px; color: #B7C7BC; line-height: 1.3; margin-top: 3px; }
.case__proofs { display: flex; gap: 16px; flex-wrap: wrap; }
.case__proofs a { font-size: 13px; color: #3E6B4F; text-decoration: underline; }
.case__money { background: #E4E9E1; border-radius: 4px; padding: 10px 14px; margin-bottom: 14px; }
.case__money-value { color: #1F3A2E; font-weight: 700; font-size: 13.5px; margin-right: 8px; }
.case__money-note { color: #6E766F; font-size: 11.5px; line-height: 1.4; }

/* ABOUT */
.about { border-top: 1px solid #D8D6CB; border-bottom: 1px solid #D8D6CB; }
.about__inner { max-width: 820px; margin: 0 auto; padding: 110px 32px 0; }
.about__lead { font-size: 19px; line-height: 1.6; color: #3A423C; margin: 0; }
.about__h2 { font-size: 34px; font-weight: 700; color: #14241C; margin: 0 0 24px; line-height: 1.3; letter-spacing: -0.01em; }
.about__body { font-size: 16px; line-height: 1.7; color: #4A544D; margin: 0; }
.about__block { margin-top: 56px; }
.about__h3 { font-size: 22px; font-weight: 700; color: #14241C; margin: 0 0 18px; }
.about__text { font-size: 16px; line-height: 1.7; color: #4A544D; margin: 0 0 16px; }
.about__text:last-child { margin-bottom: 0; }
.about__text strong { color: #14241C; }
.about__text a { color: #3E6B4F; text-decoration: underline; white-space: nowrap; }
.about__list { margin: 0; padding-left: 22px; color: #4A544D; font-size: 16px; line-height: 1.7; }
.about__list li { margin-bottom: 14px; }
.about__list li:last-child { margin-bottom: 0; }
.about__list strong { color: #14241C; }
.about__card {
  max-width: 820px; margin: 56px auto 0;
  display: flex; gap: 28px; align-items: flex-start; background: #F5F4EF; border-radius: 8px; padding: 32px;
}
.about__portrait { width: 176px; height: 238px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.about__name { font-size: 18px; font-weight: 700; color: #14241C; margin-bottom: 6px; }
.about__role { font-size: 14.5px; color: #4A544D; line-height: 1.6; margin-bottom: 14px; }
.about__socials { display: flex; flex-direction: column; gap: 6px; }
.about__linkedin { display: inline-block; font-size: 14px; color: #3E6B4F; text-decoration: underline; }

/* EXPERT */
.expert { max-width: 1280px; margin: 0 auto; padding: 100px 32px 90px; border-top: 1px solid #D8D6CB; border-bottom: 1px solid #D8D6CB; }
.expert__head { max-width: 820px; margin: 0 auto 32px; }
.expert__h2 { font-size: 32px; font-weight: 700; color: #14241C; margin: 0; letter-spacing: -0.01em; }
.expert .certs { padding-bottom: 0; }

.about__final {
  max-width: 820px; margin: 40px auto 0; padding: 32px 36px; background: #1F3A2E; color: #F5F4EF;
  font-size: 19px; font-weight: 600; line-height: 1.5; border-radius: 8px; text-align: center;
}

.scenarios {
  display: grid; gap: 1px; background: #D8D6CB; border: 1px solid #D8D6CB; margin-top: 8px; border-radius: 8px; overflow: hidden;
}
.scenario { background: #F5F4EF; padding: 28px 32px; }
.scenario__badge {
  width: 32px; height: 32px; border-radius: 50%; background: #E4E9E1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #1F3A2E; margin-bottom: 14px;
}
.scenario__title { font-size: 17px; font-weight: 700; color: #14241C; margin-bottom: 8px; }
.scenario__text { font-size: 15px; color: #4A544D; line-height: 1.65; }

.compare { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14.5px; }
.compare th, .compare td { padding: 12px 10px; text-align: left; border-bottom: 1px solid #D8D6CB; }
.compare th { font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #6E766F; }
.compare th:nth-child(2), .compare th:nth-child(3),
.compare td:nth-child(2), .compare td:nth-child(3) { text-align: center; width: 110px; }
.compare td:first-child { color: #3A423C; }
.compare__yes { color: #1F3A2E; font-weight: 700; }
.compare__no { color: #9AA39B; font-weight: 700; }
.compare--text th:nth-child(2), .compare--text th:nth-child(3),
.compare--text td:nth-child(2), .compare--text td:nth-child(3) { text-align: left; width: auto; }
.compare--text td { color: #4A544D; font-size: 14px; line-height: 1.5; }
.compare--text td:first-child { color: #14241C; font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare--text { min-width: 640px; }

.certs { max-width: 1280px; margin: 48px auto 0; padding: 0 32px 90px; }
.certs__title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #9AA39B; margin-bottom: 14px; }
.certs__list {
  list-style: none; margin: 0; padding: 0; color: #6E766F; font-size: 13px; line-height: 1.8;
  columns: 2; column-gap: 40px;
}
.certs__list li { break-inside: avoid; }

/* FORMATS */
.formats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 0;
  border-top: 1px solid #D8D6CB;
}
.format { padding: 40px 32px 40px 0; border-bottom: 1px solid #D8D6CB; }
.format__num { font-size: 44px; font-weight: 700; color: #DDE2D8; line-height: 1; margin-bottom: 24px; }
.format__title { font-size: 19px; font-weight: 700; color: #14241C; margin-bottom: 12px; }
.format__text { font-size: 15px; color: #4A544D; line-height: 1.65; margin-bottom: 12px; }
.format__price { font-size: 14px; color: #3E6B4F; font-weight: 600; }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid #D8D6CB; }
.faq__item { border-bottom: 1px solid #D8D6CB; padding: 22px 0; }
.faq__q {
  font-size: 17px; font-weight: 700; color: #14241C; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-size: 22px; font-weight: 400; color: #3E6B4F; flex-shrink: 0; transition: transform 0.2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding-top: 16px; }
.faq__a p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #4A544D; }
.faq__a a { color: #3E6B4F; text-decoration: underline; }

/* CONTACT */
.contact { border-top: 1px solid #D8D6CB; }
.contact__inner { max-width: 760px; margin: 0 auto; padding: 110px 32px; text-align: center; }
.contact__h2 { font-size: 36px; font-weight: 700; color: #14241C; margin: 0 0 32px; letter-spacing: -0.01em; }
.contact__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact__note { margin: 28px auto 0; max-width: 560px; font-size: 14px; line-height: 1.6; color: #6E766F; }

/* ARTICLE */
.article__inner { max-width: 720px; margin: 0 auto; padding: 60px 32px 0; }
.article__back { display: inline-block; font-size: 14px; color: #3E6B4F; text-decoration: none; margin-bottom: 32px; }
.article__back:hover { text-decoration: underline; }
.article__title { font-size: 40px; font-weight: 700; color: #14241C; line-height: 1.15; margin: 0 0 32px; letter-spacing: -0.01em; }
.article__h2 { font-size: 24px; font-weight: 700; color: #14241C; margin: 44px 0 18px; }
.article__text { font-size: 16.5px; line-height: 1.75; color: #4A544D; margin: 0 0 18px; }

/* СТАТЬИ */
.stati__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.stati-card {
  background: #F5F4EF; border: 1px solid #D8D6CB; border-radius: 8px;
  padding: 28px; display: flex; flex-direction: column;
}
.stati-card__title { font-size: 19px; font-weight: 700; color: #14241C; margin: 0 0 12px; line-height: 1.3; }
.stati-card__excerpt { font-size: 14.5px; line-height: 1.6; color: #6E766F; margin: 0 0 20px; flex-grow: 1; }
.stati-card__link { font-size: 14px; font-weight: 600; color: #3E6B4F; text-decoration: none; }
.stati-card__link:hover { text-decoration: underline; }
.stati-card__source { font-size: 12px; color: #9AA39B; margin-top: 10px; }

/* FOOTER */
.footer { background: #14241C; padding: 40px 32px; }
.footer__row {
  max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer__name { color: #B7C1BA; font-size: 14px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: #8FBB9E; font-size: 14px; text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: #14241C; color: #F5F4EF;
  padding: 18px 32px; display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text { margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 760px; color: #D8DED9; }
.cookie-banner__text a { color: #8FBB9E; text-decoration: underline; }
.cookie-banner__btn {
  background: #F5F4EF; color: #14241C; border: none; border-radius: 3px; padding: 10px 22px;
  font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; flex-shrink: 0;
}
.cookie-banner__btn:hover { background: #8FBB9E; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__mail { display: none; }
  .hero__title { font-size: 40px; }
  .hero { min-height: auto; padding: 40px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .situations__grid { grid-template-columns: 1fr; }
  .situation--span2 { grid-column: span 1; }
  .about__card { flex-direction: column; align-items: center; text-align: center; }
  .about__h2 { font-size: 28px; }
  .about__final { font-size: 17px; padding: 26px; }
  .section__head h2 { font-size: 28px; }
  .contact__h2 { font-size: 26px; }
  .certs__list { columns: 1; }
}
