/* ТЕЛРОС — лендинг. Шрифты: Exo 2 везде (как sec) */
:root {
  --green: #0b5c3b;
  --green-d: #083f2a;
  --green-l: #e7f2ec;
  --orange: #e8590c;
  --orange-d: #c24a08;
  --ink: #1c2420;
  --muted: #5c6b64;
  --line: #dde7e1;
  --bg: #f7f6f2;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11,92,59,.10);
  --font: "Exo 2","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  --gh-ink: #1f2328;
  --gh-gray: #59636e;
  --gh-line: #d1d9e0;
  --gh-hover: #f6f8fa;
  --gh-green: #0b5c3b;
  --gh-orange: #e8590c;
  --gh-shadow: 0 12px 32px -8px rgba(31,35,40,.22);
  /* расширения ГК */
  --mut2: #98a49b;
  --line2: rgba(18,23,15,.26);
}

/* ===== База ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,h2,h3,h4,h5,h6 {
  font-family: 'Exo 2',sans-serif;
}

/* ===== Сетка и секции ===== */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* header */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo-sub {
  font-size: 11px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
  max-height: 32px;
}

/* Mobile hero-видео: блок над hero, виден только <=900px */
.hero-mob {
  display: none;
}

/* Адаптив: (max-width:900px) — hero только текст, видео отдельным блоком выше */
@media(max-width:900px) {
  .hero-vis {
    display: none;
  }

  .hero-copy {
    max-width: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-mob {
    display: block;
    aspect-ratio: 16/9;
    max-height: 300px;
    overflow: hidden;
  }

  .hero-mob video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ===== Формы и кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 10px;
  transition: .3s;
  border: 1.5px solid transparent;
  white-space: nowrap;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(11,92,59,.5);
}

.btn-line {
  background: transparent;
  border-color: var(--line2);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2,.65,.2,1),transform .8s cubic-bezier(.2,.65,.2,1);
  transition-delay: var(--d,0s);
}

/* ===== Эффекты ===== */
.reveal.in {
  opacity: 1;
  transform: none;
}
/* ribbons svg component */
.rib {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.mir {
  transform: scaleX(-1);
}
#top {
  scroll-margin-top: 70px;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 8px 0 20px;
}

/* ===== Hero-блок ===== */
.hero-vis {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-vis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-vis video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .8s ease;
}

.hero-vis video.is-done {
  opacity: 0;
}

.hero-vis-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-vis-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  transition: opacity .32s;
}

.hero-cta {
  margin-top: 22px;
}

.hero-vis::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,rgba(247,246,242,.85) 0%,rgba(247,246,242,.85) 42%,rgba(247,246,242,0) 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  margin: 14px 0 12px;
}

.hero .stats {
  margin-top: 20px;
  padding-top: 14px;
  border-top: none;
}

.hero-copy .lead,
.hero .stat .lbl {
  color: #000;
}

/* ===== Заголовки секций ===== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--green);
}

.kicker::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--orange);
}

/* ===== База ===== */
h1 {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: clamp(28px,3.4vw,46px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 18px 0 18px;
}

h1 .u {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

h1 .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: linear-gradient(90deg,rgba(232,89,12,.32),rgba(232,89,12,.1));
  z-index: -1;
  border-radius: 2px;
}

/* ===== Заголовки секций ===== */
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
}

.stats {
  display: flex;
  gap: 44px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stat .val {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 32px;
  color: var(--green);
}

.stat .val i {
  font-style: normal;
  color: var(--orange);
}

.stat .lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mut2);
  margin-top: 4px;
}
/* sections */
.section {
  padding: 58px 0 0;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 20px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 28px;
  position: relative;
  flex-wrap: wrap;
}

.sec-actions {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-shrink: 0;
  min-width: 0;
}

.sec-num {
  font-family: 'Exo 2';
  font-weight: 500;
  font-size: 18px;
  color: var(--orange);
  margin-right: 16px;
}

.sec-head h2 {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: clamp(21px,2.2vw,30px);
  display: inline;
}

.sec-head .lead2 {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 300px;
  line-height: 1.6;
}

/* ===== Шапка и меню ===== */
.sl-nav {
  display: flex;
  gap: 8px;
}

.sl-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--line2);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: .3s;
}

.sl-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.sl-btn:disabled {
  opacity: .3;
  cursor: default;
  background: transparent;
  color: var(--ink);
}
/* directions mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 18px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 7px 9px 18px -13px rgba(18,23,15,.22);
  transition: .4s;
}

.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0;
  transition: .35s;
  z-index: 3;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px -12px rgba(232,89,12,.35);
  border-color: rgba(232,89,12,.55);
}

.tile:hover::before {
  opacity: 1;
}

.tile-img {
  order: 2;
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(20% 0,100% 0,100% 100%,0 100%);
}

.tile-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}

.tile:hover .tile-img img {
  transform: scale(1.06);
}

.tile-body {
  order: 1;
  flex: 1;
  min-width: 0;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tile-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(11,92,59,.08);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 12px;
}

.tile-body h3 {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.tile-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.badge-new {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 4;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 8px;
}
/* sliders */
.slider {
  position: relative;
}

/* ===== Слайдеры ===== */
.track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 4px 28px;
  margin: -20px -4px -28px;
}

.track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 calc((100% - 36px)/3);
  scroll-snap-align: start;
}

.news-slider .slide {
  flex: 0 0 calc((100% - 36px)/3);
}

/* ===== Карточки ===== */
.pcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .4s;
  display: flex;
  flex-direction: row;
  position: relative;
  box-shadow: 7px 9px 18px -13px rgba(18,23,15,.22);
  height: 320px;
}

.pcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0;
  transition: .35s;
  z-index: 3;
}

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px -12px rgba(232,89,12,.35);
  border-color: rgba(232,89,12,.55);
}

.pcard:hover::before {
  opacity: 1;
}

.pcard-img {
  order: 2;
  flex: 0 0 41%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(20% 0,100% 0,100% 100%,0 100%);
}

.pcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s;
}

.pcard:hover .pcard-img img {
  transform: scale(1.07);
}

.pcard-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(11,92,59,.08);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 10px;
}

.pcard-body {
  order: 1;
  flex: 1;
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.pcard-body h3 {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.pcard-region {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.pcard-body p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard-link {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pcard-link .a {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1.5px solid var(--line2);
  display: grid;
  place-items: center;
  transition: .3s;
}

.pcard:hover .pcard-link .a {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: rotate(-45deg);
}
/* news */
.ncard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .4s;
  display: flex;
  flex-direction: column;
  height: 308px;
  position: relative;
  box-shadow: 7px 9px 18px -13px rgba(18,23,15,.22);
}

.ncard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0;
  transition: .35s;
  z-index: 3;
}

.ncard:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px -12px rgba(232,89,12,.35);
  border-color: rgba(232,89,12,.55);
}

.ncard:hover::before {
  opacity: 1;
}

.ncard-img {
  height: 148px;
  min-height: 148px;
  max-height: 148px;
  flex: 0 0 148px;
  overflow: hidden;
  position: relative;
  background: #dfe9e3;
}

.ncard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .9s;
}

.ncard:hover .ncard-img img {
  transform: scale(1.07);
}

.ncard-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.ncard-date {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 8px;
}

.ncard-body h3 {
  font-family: 'Exo 2',sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard-body p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard-link {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green);
}
/* about */
.about {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  position: relative;
}

.about-img {
  position: relative;
  min-height: 260px;
  background: #dfe9e3;
}

.about-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.about-body {
  padding: 30px 36px;
}

/* ===== Заголовки секций ===== */
.about-body .kicker {
  margin-bottom: 12px;
}

.about-body h2 {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: clamp(18px,1.9vw,24px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.about-body .org {
  color: var(--orange);
}

.about-body>p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: none;
}

.about-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.about-stats .val {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 24px;
  color: var(--green);
}

.about-stats .val i {
  font-style: normal;
  color: var(--orange);
}

.about-stats .lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mut2);
  margin-top: 3px;
}

.about-lic-btn {
  margin-left: auto;
  padding: 10px 18px;
  font-size: 13.5px;
}

.cities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.city {
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line2);
  color: var(--muted);
  transition: .3s;
}

.city:hover {
  border-color: var(--green);
  color: var(--green);
}
/* cta */
.cta {
  margin-top: 58px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 36px 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta h2 {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: clamp(19px,2vw,28px);
}

.cta h2 span {
  color: var(--orange);
}

.cta p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.cta .rib {
  right: 300px;
  top: -52px;
  width: 130px;
}
/* footer */
.socials {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.soc {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.28);
  display: grid;
  place-items: center;
  color: #cfe0d4;
  transition: .3s;
}

.soc:hover {
  border-color: #b9ffd9;
  color: #b9ffd9;
  transform: translateY(-2px);
}
/* contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  align-items: stretch;
}

/* ===== Контакты ===== */
.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 360px;
  background: #dfe9e3;
  position: relative;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
}

.map-pin {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255,255,255,.94);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 9px;
  box-shadow: 0 8px 20px -8px rgba(18,23,15,.4);
}

.c-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.c-top {
  display: flex;
  align-items: center;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 26px;
}

.c-lab {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut2);
  margin-bottom: 6px;
}

.c-phone {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  transition: .25s;
}

.c-phone:hover {
  color: var(--green);
}

.c-mail {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
}

/* ===== Карточки ===== */
.c-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}

.c-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: .3s;
  position: relative;
  overflow: hidden;
  box-shadow: 6px 8px 16px -14px rgba(18,23,15,.18);
}

.c-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green);
  opacity: 0;
  transition: .3s;
}

.c-card:hover {
  transform: translateY(-3px);
  box-shadow: 8px 12px 24px -14px rgba(18,23,15,.28);
  border-color: rgba(11,92,59,.3);
}

.c-card:hover::before {
  opacity: 1;
}

.c-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 5px;
}

.c-card h4 a:hover {
  color: var(--orange);
}

.c-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 8px;
}

.c-card a.tel {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
}

.c-card a.tel:hover {
  color: var(--orange);
}

/* ===== Контакты ===== */
.c-adr {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.c-adr::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2.5px solid var(--orange);
  flex-shrink: 0;
  margin-right: 2px;
  vertical-align: -1px;
}

.c-addr {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.city2 {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  border: 1px dashed var(--line2);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  min-width: 200px;
  background: #fff;
}

.city2 b {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  margin-bottom: 2px;
}

/* Адаптив: (max-width:1000px) */
@media(max-width:1000px) {
  .logo-sub {
    display: none;
  }

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

  .map {
    min-height: 300px;
  }

  .c-top {
    flex-wrap: wrap;
    gap: 20px;
  }

  .c-top .btn {
    margin-left: 0;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mosaic {
    grid-auto-rows: 300px;
  }

  .tile.t-big {
    grid-row: span 2;
  }

  .slide {
    flex-basis: calc((100% - 18px)/2)!important;
  }

  .news-slider .slide {
    flex-basis: calc((100% - 18px)/2)!important;
  }

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

  .rib-h {
    right: 0;
  }
}

/* Адаптив: (max-width:720px) */
@media(max-width:720px) {
  .sec-head {
    align-items: flex-start;
  }

  .sec-actions {
    width: 100%;
    justify-content: space-between;
  }

  .sl-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .wrap {
    padding: 0 16px;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .tile.t-wide,.tile.t-big {
    grid-column: auto;
    grid-row: auto;
  }

  .slide,.news-slider .slide {
    flex-basis: 92%!important;
  }

  .stats {
    gap: 22px;
  }

  h1 .u {
    white-space: normal;
  }
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .pcard {
    flex-direction: column;
    height: auto;
  }

  .pcard-img {
    order: 0;
    flex: 0 0 auto;
    height: 140px;
    clip-path: none;
  }

  .pcard-body {
    order: 1;
  }

  .ncard {
    height: auto;
  }
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .mosaic {
    grid-auto-rows: auto;
  }

  .tile {
    flex-direction: column;
  }

  .tile-img {
    order: 0;
    flex: 0 0 150px;
    clip-path: none;
  }

  .tile-body {
    order: 1;
  }
}
/* ===== inner pages, listing, article ===== */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--mut2);
}

/* ===== Хлебные крошки ===== */
.breadcrumbs a {
  color: var(--muted);
  transition: color .25s;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs span {
  margin: 0 8px;
  color: var(--line2);
}

/* ===== Hero-блок ===== */
.hero-inner {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.hero-inner h1 {
  margin: 8px 0 14px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-inner .lead {
  max-width: 640px;
}

.hero-proj-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.hero-proj-search {
  position: relative;
  max-width: 540px;
  margin-top: 22px;
}

.hero-proj-search input,.news-search-box input {
  width: 100%;
  padding: 8px 48px 8px 18px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: .3s;
}

.hero-proj-search input:focus,.news-search-box input:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11,92,59,.08);
}

.hero-mini-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 26px;
  border: 1px solid var(--line);
}

.hero-mini-stats .row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-mini-stats .ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(11,92,59,.1);
  color: var(--green);
  display: grid;
  place-items: center;
  font-family: 'Exo 2';
  font-weight: 800;
}

.hero-mini-stats .val {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

.hero-mini-stats .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

/* ===== Сетка и секции ===== */
.filter-section {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: rgba(247,246,242,.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

/* ===== Каталог и лента ===== */
.filter-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: .25s;
}

.filter-tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-tab.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ===== Новости ===== */
.projects-container,.news-list {
  padding: 36px 0 70px;
  min-height: 320px;
}

/* ===== Каталог и лента ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

/* ===== Новости ===== */
.news-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.news-list {
  padding-top: 30px;
}

/* ===== Модальные окна ===== */
.modal-video {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #000;
  max-height: 420px;
}

/* ===== Сетка и секции ===== */
.sec-more {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sec-more:hover {
  color: var(--orange);
}

/* ===== Hero-блок ===== */
.hero-news-grid {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.hero-news-grid .kicker {
  justify-content: center;
}

.hero-news-grid .hero-proj-search {
  margin: 16px auto 0;
}

/* ===== Каталог и лента ===== */
.news-filter-bar {
  padding: 28px 0 6px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 50px 0;
  color: var(--muted);
}

.empty-state h3 {
  font-family: 'Exo 2';
  margin-bottom: 8px;
}
/* article */
/* ===== Документы и политики ===== */
.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.article-body p {
  margin-bottom: 12px;
}

.article-body ul,.article-body ol {
  margin: 0 0 16px 18px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body a {
  color: var(--green);
  font-weight: 700;
}

.article-body a:hover {
  color: var(--orange);
}

.article-body strong {
  color: var(--ink);
}

.side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.side-box h4 {
  font-family: 'Exo 2';
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.side-box p,.side-box li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

.side-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-box a {
  color: var(--ink);
  font-weight: 700;
}

.side-box a:hover {
  color: var(--green);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.related {
  padding: 10px 0 70px;
}

.related h2 {
  font-family: 'Exo 2';
  font-size: 22px;
  margin-bottom: 18px;
}

/* ===== Сетка и секции ===== */
.trust-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0;
  margin-top: 10px;
}

/* ===== Каталог и лента ===== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.trust-content h2 {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 16px;
}

.trust-content p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

/* ===== Карточки ===== */
.trust-badge-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  transition: .3s;
}

.trust-badge-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.trust-badge-title {
  font-family: 'Exo 2';
  font-weight: 800;
  font-size: 16px;
  color: var(--green);
  margin-bottom: 4px;
}

.trust-badge-desc {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}

/* Адаптив: (max-width:1000px) */
@media(max-width:1000px) {
  .hero-proj-grid,.trust-grid {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* Адаптив: (max-width:600px) */
@media(max-width:600px) {
  .projects-grid,.news-list {
    grid-template-columns: 1fr;
  }

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

  .trust-badges {
    grid-template-columns: 1fr 1fr;
  }
}

.pcard, .ncard {
  cursor: pointer;
}

.pcard-link, .ncard-link {
  pointer-events: none;
}

/* ===== Каталог и лента ===== */
.filter-controls {
  display: grid;
  grid-template-columns: repeat(5,1fr) auto;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.filter-select {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 34px 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  cursor: pointer;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2312170f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  transition: .25s;
}

.filter-select:hover,.filter-select:focus {
  border-color: var(--green);
}

.view-toggles {
  display: flex;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

/* ===== Новости ===== */
.view-btn,.news-view-btn {
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.view-btn.active,.news-view-btn.active {
  background: var(--ink);
  color: #fff;
}

/* ===== Каталог и лента ===== */
.clear-filters-btn {
  border: none;
  background: rgba(232,89,12,.08);
  color: var(--orange);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.clear-filters-btn:hover {
  background: rgba(232,89,12,.16);
}

.filter-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Сетка и секции ===== */
.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

/* ===== Модальные окна ===== */
/* ===== Лента времени (единая с СЦ) ===== */
.tl-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 50px 0;
  color: var(--muted);
  font-size: 17px;
}

.tl-wrap {
  margin-bottom: 34px;
}

.tl-bar {
  position: relative;
  margin: 6px 0 30px;
  padding: 0 40px;
}

.tl-bar::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
}

.tl-progress {
  position: absolute;
  top: 9px;
  left: 40px;
  width: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
  transition: width .4s;
}

.tl-nodes {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  transition: .3s;
}

.tl-node:hover .tl-dot {
  border-color: var(--orange);
  transform: scale(1.15);
}

.tl-node.on .tl-dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(11,92,59,.2);
}

.tl-y {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}

.tl-node.on .tl-y {
  color: var(--green);
}

.tl-events {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tl-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: .3s;
  cursor: pointer;
}

.tl-card:hover {
  transform: translateX(4px);
  border-color: var(--green);
}

.tl-year {
  border-right: 2px solid var(--line);
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-year-num {
  font-weight: 800;
  font-size: 32px;
  color: var(--green);
  line-height: 1;
}

.tl-year-span {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

.tl-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  background: #dfe9e3;
  margin-top: 4px;
}

.tl-meta {
  font-size: 16px;
  color: var(--muted);
}

.tl-card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.tl-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.tl-card h3 a:hover {
  color: var(--orange);
}

.tl-card p {
  font-size: 16px;
  color: #33403a;
  margin-top: 8px;
}

.tl-card .tags {
  margin-top: 12px;
}

.tl-go {
  margin-top: 12px;
  font-weight: 700;
  font-size: 16px;
}

.tl-go a {
  color: var(--orange-d);
  text-decoration: none;
}

/* Адаптив: (max-width:700px) */
@media(max-width:700px) {
  .tl-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tl-year {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    padding: 0 0 12px;
  }

  .tl-bar {
    padding: 0 10px;
  }

  .tl-bar::before {
    left: 10px;
    right: 10px;
  }

  .tl-progress {
    left: 10px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,40,26,.68);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 1140px;
  overflow: hidden;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.modal-overlay.show .modal-card {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--green-d);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}

.modal-close:hover {
  background: var(--orange);
}

.modal-hero-img img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 24px 30px 30px;
}

.modal-client {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange-d);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.modal-title {
  font-family: 'Exo 2';
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--green-d);
  margin: 6px 0 4px;
}

.modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
  margin: 8px 0 16px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

.modal-section-title {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.modal-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-sidebar {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 18px 20px;
  align-self: start;
}

.modal-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.modal-brand-tag {
  background: #fff;
  border: 1px solid var(--line2);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}

/* ===== Новости ===== */
.news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 0;
}

/* Адаптив: (max-width:1000px) */
@media(max-width:1000px) {
  .filter-controls {
    grid-template-columns: 1fr 1fr;
  }
}

/* Адаптив: (max-width:768px) */
/* ===== Документы и политики ===== */
.lic-page {
  padding: 20px 0 70px;
}

.lic-group {
  margin-bottom: 32px;
}

.lic-issuer {
  font-size: 12.5px;
  color: var(--muted);
  margin: -8px 0 14px;
}

/* ===== Каталог и лента ===== */
.lic-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

/* ===== Карточки ===== */
.lic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: .35s;
  box-shadow: 6px 8px 14px -12px rgba(18,23,15,.2);
}

.lic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(232,89,12,.35);
}

/* ===== Документы и политики ===== */
.lic-thumb {
  height: 88px;
  background: #dfe9e3;
  overflow: hidden;
}

.lic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.lic-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lic-tag {
  align-self: flex-start;
  background: rgba(11,92,59,.08);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 5px;
  margin-bottom: 6px;
}

.lic-body h3 {
  font-family: 'Exo 2';
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lic-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

/* ===== Карточки ===== */
.lic-body .ncard-link {
  margin-top: auto;
  font-size: 11.5px;
}

/* Адаптив: (max-width:1000px) */
@media(max-width:1000px) {
  .lic-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .lic-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Каталог и лента ===== */
.filter-tabs {
  flex-wrap: wrap;
  overflow: visible;
  row-gap: 8px;
}

/* ===== Документы и политики ===== */
.doc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== Карточки ===== */
.doc-card,.doc-lic-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  transition: .3s;
  font-family: inherit;
  color: inherit;
  width: 100%;
}

.doc-card:hover,.doc-lic-link:hover {
  transform: translateY(-3px);
  border-color: rgba(232,89,12,.35);
}

/* ===== Заголовки секций ===== */
.doc-kicker,.doc-lic-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

/* ===== Карточки ===== */
.doc-card strong,.doc-lic-link strong {
  font-family: 'Exo 2';
  font-size: 18px;
  margin-bottom: 8px;
}

.doc-card span,.doc-lic-link span {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 12px;
}

.doc-card em,.doc-lic-link em {
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  margin-top: auto;
}

/* ===== Модальные окна ===== */
.policy-modal-card {
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.policy-modal-scroll {
  overflow: auto;
  padding: 28px 32px 36px;
  max-height: 88vh;
}

/* Адаптив: (max-width:800px) */
@media(max-width:800px) {
  .doc-list {
    grid-template-columns: 1fr;
  }
}
/* Вендоры: подсветка упоминаний и модальная карточка */
.vendor-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--green);
  cursor: pointer;
}

.vendor-link:hover {
  color: var(--orange-d);
}

.vendor-card {
  max-width: 720px;
}

.vendor-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}

.vendor-logo {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
}

.vendor-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--green);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.vendor-chip {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fdeede;
  border: 1px solid #f0b57e;
  color: var(--orange-d);
  font-size: 13px;
  font-weight: 600;
}

.vendor-desc {
  font-size: 16px;
  line-height: 1.6;
}

.vendor-list {
  margin: 8px 0 16px;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
}

.vendor-list li {
  margin: 4px 0;
}

.vendor-cert {
  display: inline-block;
  max-width: 220px;
}

.vendor-cert img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.vendor-cert span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.vendor-cert-ph {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.vendor-year {
  color: var(--muted);
  font-size: 13px;
}

#vendor-works {
  margin-bottom: 8px;
}
/* Карточки проектов: визуально идентичны sec projectSlide (классы изолированы префиксом pj) */
.pjcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .4s;
  display: flex;
  flex-direction: row;
  position: relative;
  box-shadow: 0 6px 24px rgba(18,23,15,.10);
  height: 320px;
}

/* ===== Карточки ===== */
.pjcard::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  opacity: 0;
  transition: .35s;
  z-index: 3;
}

.pjcard:hover {
  transform: translateY(-5px);
  border-color: rgba(232,89,12,.55);
  box-shadow: 0 14px 30px -12px rgba(232,89,12,.35);
}

.pjcard:hover::before {
  opacity: 1;
}

.pjcard-img {
  order: 2;
  flex: 0 0 41%;
  position: relative;
  overflow: hidden;
  clip-path: polygon(20% 0,100% 0,100% 100%,0 100%);
}

.pjcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s;
}

.pjcard:hover .pjcard-img img {
  transform: scale(1.07);
}

.pjcard-body {
  order: 1;
  flex: 1;
  min-width: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}

.pjcard-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(11,92,59,.08);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 10px;
}

.pjcard-body h3 {
  font-family: "Exo 2",sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.pjcard-body h3 a {
  color: var(--ink);
}

.pjcard-body h3 a:hover {
  color: var(--orange);
}

.pjcard-region {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
}

.pjcard-period {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.pjcard-body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pjcard-link {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.pjcard-link .pj-a {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: .3s;
  font-style: normal;
}

.pjcard:hover .pjcard-link .pj-a {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: rotate(-45deg);
}

.pj-meta {
  font-size: 16px;
  color: var(--muted);
}

body.locked {
  overflow: hidden;
}

/* Адаптив: (max-width:800px) */
@media(max-width:800px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-body {
    padding: 18px;
  }

  .modal-title {
    font-size: 22px;
  }
}
/* ===== Project modal content: exact sec parity ===== */
.dcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.dcard h2 {
  font-size: 20px;
  color: var(--green-d);
  margin-bottom: 10px;
}

.dcard ul {
  margin-left: 18px;
  display: grid;
  gap: 6px;
}

.dcard p {
  margin: 6px 0;
  font-size: 17px;
  color: var(--ink);
}

.dcard li {
  font-size: 17px;
  color: var(--ink);
}

.kv {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 12px;
  font-size: 16px;
}

.kv dt {
  color: var(--muted);
}

.tagchip {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(11,92,59,.08);
  color: var(--green);
  padding: 5px 10px;
  border-radius: 7px;
  white-space: nowrap;
}

.tagchip.o {
  background: #fdeede;
  color: var(--orange-d);
}

.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.meta {
  font-size: 16px;
  color: var(--muted);
}

.cta-box {
  background: linear-gradient(120deg,var(--green),var(--green-d));
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}

.cta-box h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.cta-box p {
  opacity: .92;
  margin-bottom: 20px;
}

/* ===== Формы и кнопки ===== */
.btn-org {
  background: var(--orange);
  color: #fff;
}

/* Адаптив: (max-width:620px) */
@media(max-width:620px) {
  .cta-box {
    padding: 24px 18px;
  }

  .cta-box h2 {
    font-size: 22px;
  }
}
/* ===== Project cards: exact sec parity ===== */
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(18,23,15,.10);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

/* ===== Карточки ===== */
.card .ph {
  height: 190px;
  overflow: hidden;
  background: #dfe9e3;
}

.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.card:hover .ph img {
  transform: scale(1.05);
}

.card .bd {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card .meta {
  font-size: 16px;
  color: var(--muted);
}

.card h3 {
  font-size: 18px;
  line-height: 1.35;
}

.card h3 a {
  color: var(--ink);
}

.card h3 a:hover {
  color: var(--orange);
}

.card p {
  font-size: 16px;
  color: #33403a;
}

.card .go {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  font-size: 16px;
}

.card {
  transition: transform .35s,box-shadow .35s,border-color .35s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232,89,12,.55);
  box-shadow: 0 14px 30px -12px rgba(232,89,12,.35);
}

.card .go a {
  color: var(--orange-d);
}

/* Адаптив: (max-width:900px) */
@media(max-width:900px) {
  .projects-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
/* ===== Cookie consent (mirror sec) ===== */
.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 400;
  max-width: 340px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #f0b57e;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -12px rgba(18,23,15,.28);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  animation: cookie-in .4s ease;
}

/* ===== Cookie-баннер ===== */
.cookie[hidden] {
  display: none;
}

.cookie p {
  margin: 0 0 8px;
}

.cookie-t {
  font-size: 16px;
}

.cookie a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-btn {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.cookie-btn span {
  position: relative;
  z-index: 1;
}

.cookie-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange-d);
  transform: translateX(-101%);
  transition: transform .3s ease;
}

.cookie-btn:hover::after {
  transform: translateX(0);
}

/* ===== Анимации ===== */
@keyframes cookie-in {
  from {
    transform: translateY(14px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

/* Адаптив: (max-width:420px) */
@media(max-width:420px) {
  .cookie {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}
/* ===== Политики сайта ===== */
.policy-article {
  max-width: 860px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

/* ===== Документы и политики ===== */
.policy-article h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 30px 0 12px;
}

.policy-article p {
  margin: 0 0 12px;
}

.policy-article ul,.policy-article ol {
  margin: 0 0 16px 20px;
}

.policy-article li {
  margin-bottom: 6px;
}

.policy-article a {
  color: var(--green);
  font-weight: 700;
}

.policy-article a:hover {
  color: var(--orange);
}

.policy-article b,.policy-article strong {
  color: var(--ink);
}

/* ===== Заголовки секций ===== */
.policy-lead {
  background: #f2f6f3;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 8px;
  text-align: center;
}

.policy-lead p {
  margin: 0 0 4px;
}

.policy-lead p:last-child {
  margin-bottom: 0;
}

/* Адаптив: (prefers-reduced-motion:reduce) */
@media(prefers-reduced-motion:reduce) {
  .hero-vis video {
    display: none;
  }
  .hero-vis-fallback {
    display: block;
  }
  .hero-mob {
    display: none;
  }
}

.result {
  background: var(--green-l);
  border-left: 5px solid var(--green);
}

.hint {
  color: var(--muted);
  font-size: 16px;
}

.doc-lic-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ===== Обратный звонок (Битрикс24, #contacts) ===== */
.c-callback {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: start;
}
.c-callback-info h3 {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.c-callback-info p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}
.c-callback-info .tel {
  font-family: 'Exo 2';
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}
.c-callback-info .tel:hover { color: var(--green); }
.c-callback-form { min-height: 320px; min-width: 0; }
@media(max-width:900px) {
  .c-callback { grid-template-columns: 1fr; padding: 22px; }
}

/* ===== Кнопка обратного звонка в футере (Битрикс24) ===== */
.f-cont .btn-call { margin-top: 14px; }
.b24click { display: none !important; }
