:root {
  /*
   * Единая палитра сайта.
   * Для смены темы достаточно изменить значения только в этом блоке.
   */
  --primary: #ff665b;
  --primary-dark: #f05249;
  --primary-rgb: 255, 102, 91;
  --primary-soft: #fff0ed;
  --secondary: #2f855a;
  --secondary-dark: #246b48;
  --secondary-rgb: 47, 133, 90;
  --secondary-dark-rgb: 36, 107, 72;
  --accent: #ff9b20;
  --accent-rgb: 255, 155, 32;
  --accent-soft: #fff5e5;
  --ink: #183b2b;
  --ink-rgb: 24, 59, 43;
  --muted: #5f6d64;
  --line: #d9e8dd;
  --soft: #eef8f1;
  --white: #ffffff;
  --black: #000000;
  --surface: #ffffff;
  --surface-soft: #f8fcf9;
  --surface-muted: #f2f8f4;
  --surface-deep: #e5f2e9;
  --secondary-soft: #e2f1e7;
  --secondary-soft-strong: #cde6d4;
  --secondary-bright: #63bd80;
  --secondary-glow: #8ee2a6;
  --ink-soft: #294c3a;
  --text: #3f5749;
  --text-muted: #64776b;
  --line-strong: #c4dbc9;
  --overlay: #17392a;
  --overlay-rgb: 23, 57, 42;
  --footer-soft: #b9dfc5;
  --footer-soft-copyr: #72c18a;
  --shadow-rgb: 31, 70, 50;
  --shadow-soft: 0 14px 34px rgba(var(--shadow-rgb), .08);
  /* Совместимость со старыми блоками шаблона. */
  --vs-theme-color1: var(--secondary);
  --vs-theme-color2: var(--secondary-dark);
  --vs-title-color: var(--ink);
  --vs-body-color: var(--muted);
  --vs-border-color: var(--line);
  --vs-white-color: var(--white);
}
/*============================================================*/
/*                            langs*/
/*============================================================*/
.lang-switch {
    height: 50px;
    align-items: center;
    display: inline-flex;
    border-radius: 6px;
    padding: 4px;
}
.lang-btn {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    background: var(--surface);
    margin: 0 2px;
    transition: 0.3s;
}
.lang-btn:hover {
    background: var(--accent);
    color: var(--white);
}
.lang-btn.active {
    background: var(--secondary-dark);
    color: var(--white);
}
/*============================================================*/
/*                           end langs*/
/*============================================================*/


/*------------------- 4.4. Breadcumb  -------------------*/

@media (max-width: 991px) {
    .breadcrumb-wrapper {
        padding-top: 40px;
        padding-bottom: 40px;
        min-height: 325px;
    }
}



.breadcrumb-wrapper__menu--item {
    display: inline-block;
    list-style: none;
    position: relative;
}
.breadcrumb-wrapper__menu--item::after {
    content: ">";
    display: inline-block;
    margin: 0 3px 0 7px;
    position: relative;
    font-size: 16px;
    color: var(--accent);
}
.breadcrumb-wrapper__menu--item:last-child::after {
    content: "";
}
.breadcrumb-wrapper__menu li,
.breadcrumb-wrapper__menu a,
.breadcrumb-wrapper__menu span {
    white-space: normal;
    word-break: break-word;
    font-weight: 700;
    font-size: 22px;
    font-family: var(--vs-title-font);
    color: var(--vs-white-color);
    text-transform: none;
}
.breadcrumb-wrapper__menu a {
    color: var(--vs-theme-color2);
}
.breadcrumb-wrapper__menu a:hover {
    color: var(--vs-white-color);
}
/*============PAGINATION=========================*/
.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 38px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.pagination-info {
    color: var(--muted);
    font-size: 14px;
}

.pagination-info b {
    color: var(--ink);
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    background: var(--soft);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: .25s ease;
}

a.pagination-link:hover {
    color: var(--white);
    background: var(--secondary);
    transform: translateY(-2px);
}

.pagination-item.active .pagination-link {
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );
    box-shadow: 0 8px 20px rgba(255, 102, 91, .25);
}

.pagination-item.disabled .pagination-link {
    color: #aab3bd;
    background: #f3f6f7;
    cursor: default;
}

.pagination-arrow {
    font-size: 20px;
}

.pagination-dots {
    background: transparent;
}

@media (max-width: 700px) {
    .custom-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .pagination-info {
        text-align: center;
    }

    .pagination-list {
        justify-content: center;
        flex-wrap: wrap;
    }

    .pagination-link {
        min-width: 38px;
        height: 38px;
    }
}
/*============end PAGINATION=========================*/
body {
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding-inline: 96px;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), .06);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 26px rgba(var(--shadow-rgb), .035);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 86px;
  height: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand-logo {
  width: 196px;
  max-height: 64px;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  gap: clamp(18px, 1.75vw, 34px);
}

.main-nav a {
  min-height: 86px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: color .25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--primary);
}

.header-actions {
  gap: 12px;
}

.att-top,
.feedback {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.att-top {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(255, 102, 91, .22);
}

.att-top:hover,
.feedback:hover {
  transform: translateY(-2px);
}

.feedback {
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  background: var(--white);
}

.feedback:hover {
  background: var(--surface-muted);
  box-shadow: 0 8px 18px rgba(var(--secondary-rgb), .12);
}

.feedback svg {
  width: 17px;
  height: 17px;
}

.phone {
  gap: 9px;
}

.phone > svg {
  width: 21px;
  height: 21px;
  color: var(--secondary);
}

.phone b {
  color: var(--overlay);
  font-size: 13px;
  line-height: 1.2;
}

.phone small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 11px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 566px;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  top: 15px;
  right: -10%;
  width: 65%;
  height: 600px;
  border-radius: 48% 0 0 56%;
  background: linear-gradient(145deg, rgba(142, 226, 166, .7), rgba(205, 230, 212, .88));
  transform: rotate(-4deg);
}

.hero-side-glow {
  position: absolute;
  z-index: -2;
  right: -1%;
  top: 15%;
  width: 60%;
  height: 100%;
    border-radius: 50%;
  /*border-radius: 55% 0 0 52%;*/
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(var(--secondary-rgb), .75));
  transform: rotate(5deg);
}

.hero-dots,
.director-dots,
.footer-dot-grid {
  background-image: radial-gradient(circle, rgba(var(--secondary-rgb), .42) 1.6px, transparent 1.8px);
  background-size: 13px 13px;
}

.hero-dots-left {
  position: absolute;
  left: 3px;
  top: 166px;
  width: 72px;
  height: 120px;
  opacity: .62;
  mask-image: linear-gradient(to right, var(--black), transparent);
}

.hero-grid {
  min-height: 566px;
  display: grid;
  grid-template-columns: minmax(390px, .44fr) minmax(500px, .56fr);
  gap: clamp(28px, 4vw, 76px);
  align-items: center;
}

.hero-copy {
  z-index: 6;
  padding: 58px 0 72px;
}

.welcome {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--secondary-soft-strong);
  color: var(--secondary);
  box-shadow: 0 8px 18px rgba(var(--secondary-rgb), .08);
  font-size: 20px;
  font-weight: 850;
}

.hero h1 {
  margin: 21px 0 18px;
  color: var(--ink);
  font-size: clamp(44px, 3.2vw, 61px);
  font-weight: 880;
  letter-spacing: -.035em;
  line-height: 1.09;
}

.hero h1 em {
  color: var(--secondary);
}

.hero p {
  max-width: 540px;
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.72;
}

.actions {
  margin-top: 28px;
  gap: 14px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 13px;
  letter-spacing: .005em;
}

.btn-main {
  background: linear-gradient(135deg, #ff6d61, #ff5d53);
  box-shadow: 0 10px 22px rgba(255, 102, 91, .22);
}

.btn-light {
  min-width: 186px;
  gap: 18px;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
}

.btn-light svg {
  width: 19px;
  height: 19px;
  color: var(--secondary);
}

.hero-art {
  position: relative;
  align-self: center;
  width: 100%;
  /*width: min(100%, 620px);*/
  aspect-ratio: 1.08 / 1;
  /*height: auto;*/
  min-height: 520px;
  justify-self: end;
}

.hero-photo {
  position: absolute;
  z-index: 4;
  top: 56%;
  left: 50%;
  width: min(91%, 590px);
  aspect-ratio: 1;
  border: 7px solid var(--white);
  border-radius: 50%;
  outline: 0;
  box-shadow: 0 22px 55px rgba(var(--shadow-rgb), .16);
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero-orbit {
  position: absolute;
  z-index: 3;
    width: 100%;
    height: 100%;
  inset: 2.5% -2% 2.5% -2%;
  border: 2px solid rgba(var(--secondary-rgb), .75);
  border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
}

.orbit-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #fbfbfba1;
}

.orbit-dot-coral {
  top: 4%;
  left: 5.5%;
  width: 82px;
  height: 82px;
  border: 10px solid var(--primary);
}

.orbit-dot-teal {
  top: 4%;
  right: 7%;
  width: 58px;
  height: 58px;
  background: var(--secondary-bright);
  box-shadow: 0 10px 24px rgba(var(--secondary-rgb), .18);
}

.orbit-dot-small {
  left: 4%;
  bottom: 17%;
  width: 50px;
  height: 50px;
  border: 1.5px solid var(--primary);
}

.hero-ring-large {
  position: absolute;
  z-index: 5;
  right: -1%;
  bottom: 2%;
  width: 154px;
  height: 154px;
  border: 7px solid var(--primary);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  pointer-events: none;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Facts */
.facts {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 22px 0 31px;
  background: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.fact {
  position: relative;
  min-width: 0;
  min-height: 94px;
  padding: 13px 12px;
  border: 3px solid var(--card-color);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(var(--shadow-rgb), .045);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.fact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(120deg, var(--card-soft), var(--white) 62%, color-mix(in srgb, var(--card-color) 10%, white));
  transition: opacity .35s ease;
}

.fact > * {
  position: relative;
  z-index: 1;
}

.fact:hover,
.fact.active {
  border-color: var(--card-color);
  background: var(--card-soft);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--card-color) 18%, transparent);
  transform: translateY(-5px);
}

.fact:hover::after,
.fact.active::after {
  opacity: 1;
}

.fact:hover .fact-icon svg,
.fact.active .fact-icon svg {
  animation: iconTurn .8s ease;
}

.fact-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--card-color);
  background: var(--card-soft);
}

.fact-icon svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.85;
}

.fact small {
  color: var(--text-muted);
  font-size: 12px;
}

.fact b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.fact p {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.38;
}

@keyframes iconTurn {
  50% { transform: rotate(14deg) scale(1.08); }
}

/* About */
.section {
  width: 100%;
  padding: 22px 0;
}

.about-section {
  padding-top: 18px;
}

.about-panel {
  position: relative;
  min-height: 378px;
  padding: 39px 44px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(115deg, var(--secondary-glow) 0%, var(--surface-soft) 47%, var(--secondary-soft-strong)  100%);
  box-shadow: none;
  isolation: isolate;
}

.about-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80% -42%;
  width: 45%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-18deg);
  animation: softShimmer 9s linear infinite;
  pointer-events: none;
}

@keyframes softShimmer {
  from { left: -60%; }
  to { left: 130%; }
}

.about-grid {
  grid-template-columns: 1.22fr .78fr;
  gap: clamp(34px, 5vw, 76px);
}

.about-copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 850;
}

.about-copy .eyebrow span {
  width: 17px;
  height: 17px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
}

.about-copy h2,
.director-copy h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(29px, 2.2vw, 37px);
  font-weight: 860;
  letter-spacing: -.026em;
  line-height: 1.18;
}

.about-copy > p,
.director-copy > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.values {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.value svg {
  width: 29px;
  height: 29px;
  color: var(--secondary);
  stroke-width: 1.7;
}

.value:nth-child(2) svg { color: var(--primary); }
.value:nth-child(3) svg { color: var(--accent); }
.value:nth-child(4) svg { color: var(--secondary); }

.value b {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.value p {
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.48;
}

.about-slider {
  position: relative;
  order: 2;
  width: 100%;
  min-height: 302px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(var(--shadow-rgb), .1);
  overflow: hidden;
}

.about-slides,
.about-slide,
.about-slide img {
  width: 100%;
  height: 100%;
}

.about-slides {
  position: absolute;
  inset: 0;
}

.about-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .6s ease, transform 1s ease;
}

.about-slide.active {
  opacity: 1;
  transform: scale(1);
}

.about-slide img {
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 18px rgba(20, 40, 50, .16);
  color: var(--secondary);
  font-size: 27px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .25s ease, background .25s ease;
  cursor: pointer;
}

.about-slider:hover .slider-arrow,
.slider-arrow:focus-visible {
  opacity: 1;
}

.slider-prev { left: 14px; }
.slider-next { right: 14px; }

.slider-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 13px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 8px;
  height: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 1px 4px rgba(20, 40, 50, .16);
  transition: width .25s ease, background .25s ease;
  cursor: pointer;
}

.slider-dots button.active {
  width: 25px;
  background: var(--secondary);
}


/* Director */
.director-section {
  padding: 34px 0 29px;
}

.director-grid {
  min-height: 312px;
  grid-template-columns: minmax(300px, .42fr) minmax(0, .58fr);
  gap: clamp(42px, 7vw, 104px);
}

.director-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 304px;
}

.director-dots {
  position: absolute;
  left: 0;
  top: 50%;
  width: 74px;
  height: 105px;
  opacity: .5;
  transform: translateY(-50%);
  mask-image: linear-gradient(to right, transparent, var(--black));
}

.director-photo {
  position: relative;
  width: 286px;
  max-width: 86%;
  height: auto;
  aspect-ratio: 1;
  padding: 4px;
  border-radius: 50%;
  outline: 0;
  background: conic-gradient(from 215deg, var(--primary) 0 25%, var(--white) 25% 51%, var(--secondary) 51% 82%, var(--white) 82% 100%);
  box-shadow: 0 18px 38px rgba(var(--shadow-rgb), .11);
  overflow: visible;
}

.director-photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border-radius: 50%;
  background: var(--white);
}

.director-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 12px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
}

.director-copy {
  align-self: center;
  max-width: 710px;
}

.director-copy .eyebrow {
  margin-bottom: 7px;
}

.director-name {
  display: block;
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 850;
    text-transform: uppercase;
}

.director-role {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.director-btn {
  margin-top: 18px;
}

/* News */
.news-section {
  width: 100%;
  padding: 24px 0 82px;
}

.news-head {
  margin-bottom: 19px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border-radius: 28px;
    box-shadow: 0 16px 45px rgba(28, 35, 31, 0.1);
}

/* Одинаковая область для фото и видео */
.news-media {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #101410;
}

.news-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.news-image,
.news-video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.news-video {
    background: #101410;
}

/* Дата поверх изображения */
.news-date {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 64px;
    padding: 8px;
    color: var(--white);
    background: #f7921e;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.news-date b {
    font-size: 24px;
    line-height: 1;
}

.news-date span {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Выравниваем содержимое карточек */
.news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.news-body h3 {
    display: -webkit-box;
    min-height: 52px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--secondary-dark);
    font-size: 21px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-body p {
    display: -webkit-box;
    min-height: 66px;
    margin: 0 0 20px;
    overflow: hidden;
    color: #657068;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-more {
    margin-top: auto;
}

.news-empty {
    grid-column: 1 / -1;
    padding: 50px;
    text-align: center;
}

@media (max-width: 991px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-media {
        aspect-ratio: 16 / 11;
    }

    .news-body {
        padding: 20px;
    }
}
.news-media-background {
    position: absolute;
    top: -35px;
    left: -35px;
    z-index: 0;

    width: calc(100% + 70px);
    height: calc(100% + 70px);

    object-fit: cover;
    filter: blur(24px);
    opacity: 0.8;
    transform: scale(1.1);
    pointer-events: none;
}

.news-image,
.news-video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}
/* Footer */
.footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  background: var(--footer-soft);
}

.footer-wave {
  position: absolute;
  z-index: 0;
  top: -40px;
  left: -4%;
  right: -4%;
  height: 80px;
  border-radius: 50% 52% 0 0 / 72% 72% 0 0;
  background: var(--footer-soft);
  transform: rotate(.4deg);
}

.footer-main {
  position: relative;
  padding: 52px 0 30px;
  background: var(--footer-soft);
  overflow: hidden;
}

.footer-grid {
  grid-template-columns: 1.25fr .72fr .72fr 1fr;
  gap: 48px;
}

.footer-logo {
  width: 25%;
  margin-bottom: 13px;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer-brand p {
  max-width: 290px;
}

.footer-col h4 {
  margin-bottom: 15px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-col a,
.footer-col p {
  margin: 8px 0;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-contacts p {
  position: relative;
  padding-left: 25px;
}

.footer-contacts p span {
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 17px;
  font-weight: 800;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  font-size: 10px;
}

.footer-decor {
  position: absolute;
  z-index: 1;
  right: 4%;
  bottom: 48px;
  width: 190px;
  height: 170px;
  pointer-events: none;
}

.footer-ring {
  position: absolute;
  border-radius: 50%;
  background: transparent;
}

.footer-ring-teal {
  left: 18px;
  bottom: 10px;
  width: 65px;
  height: 65px;
  border: 8px solid var(--secondary-bright);
}

.footer-ring-coral {
  left: 65px;
  bottom: -3px;
  width: 55px;
  height: 55px;
  border: 5px solid var(--primary);
}

.footer-dot-grid {
  position: absolute;
  top: 0;
  right: 0;
  width: 105px;
  height: 92px;
  opacity: .8;
  mask-image: radial-gradient(circle, var(--black) 20%, transparent 73%);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--secondary-dark-rgb), .12);
  background: var(--footer-soft-copyr);
  color: var(--text-muted);
  padding: 15px 0 17px;
}

.footer-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  color: var(--text-muted);
  font-size: 11px;
}

/* Shared visual language for inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--secondary-bright), var(--white));
}

.crumb,
.mobile-menu a.active {
  color: var(--primary);
}

.mobile-menu a.active {
  border-bottom-color: var(--primary);
}

/* Responsive block-by-block reflow */
@media (min-width: 1680px) {
  .container { padding-inline: 200px; }
}

@media (max-width: 1480px) {
  .container { padding-inline: 72px; }
  .header-row { gap: 18px; }
  .brand-logo { width: 178px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: 13px; }
  .att-top, .feedback { padding-inline: 11px; font-size: 12px; }
  .hero-grid { grid-template-columns: minmax(360px, .44fr) minmax(450px, .56fr); }
  .fact { padding-inline: 10px; }
  .fact-icon { width: 40px; height: 40px; }
  .news-card { grid-template-columns: 105px 48px minmax(0, 1fr); }
  .news-card img { width: 100%; }
}

@media (max-width: 1280px) {
  .container { padding-inline: 54px; }
  .main-nav { gap: 15px; }
  .phone { display: none; }
  .hero { min-height: 520px; }
  .hero-grid { min-height: 520px; grid-template-columns: .46fr .54fr; gap: 24px; }
  .hero-art { min-height: 460px; }
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact { min-height: 88px; }
  .about-grid { grid-template-columns: 1fr .72fr; gap: 34px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-decor { opacity: .55; right: 1%; }
}

@media (max-width: 1024px) {
  .container { padding-inline: 36px; }
  .main-nav,
  .phone,
  .feedback { display: none; }
  .att-top { display: inline-flex; }
  .burger { display: block; }
  .mobile-menu { top: 86px; padding-inline: 36px; }
  .mobile-menu a { font-size: 14px; }
  .hero::before { right: -28%; width: 90%; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 34px; }
  .hero-copy { padding: 30px 0 12px; text-align: center; }
  .hero p { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero-art { width: min(100%, 620px); min-height: 560px; margin: 0 auto 28px; justify-self: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-slider { min-height: 390px; }
  .director-grid { grid-template-columns: 1fr; gap: 28px; }
  .director-copy { max-width: 760px; margin-inline: auto; text-align: center; }
  .director-copy .eyebrow { justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-decor { display: none; }
}

@media (max-width: 768px) {
  .container { padding-inline: 24px; }
  .header-row { min-height: 74px; }
  .brand-logo { width: 158px; }
  .att-top { min-height: 38px; padding-inline: 11px; }
  .mobile-menu { top: 74px; padding-inline: 24px; }
  .hero h1 { font-size: clamp(37px, 9vw, 48px); }
  .hero-art { min-height: 500px; }
  .hero-ring-large { width: 115px; height: 115px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-panel { padding: 30px; }
  .about-slider { min-height: 330px; }
  .slider-arrow { opacity: .9; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 120px 55px minmax(0, 1fr); }
  .news-card img { width: 100%; }
  .footer-bottom-row { grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .header-row { min-height: 68px; gap: 10px; }
  .brand-logo { width: 145px; }
  .att-top { display: none; }
  .burger { width: 40px; height: 40px; }
  .mobile-menu { top: 68px; padding-inline: 18px; }
  .hero-grid { padding-top: 18px; }
  .hero-copy { padding-top: 28px; }
  .hero h1 { font-size: 35px; }
  .hero p { font-size: 15px; line-height: 1.65; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-art { min-height: 365px; margin-bottom: 18px; }
  .hero-photo { top: 56%; width: 84%; border-width: 5px; }
  .hero-orbit { inset: 2% -5%; }
  .orbit-dot-coral { width: 45px; height: 45px; border-width: 7px; }
  .orbit-dot-teal { width: 35px; height: 35px; }
  .orbit-dot-small { width: 28px; height: 28px; }
  .hero-ring-large { right: -10%; bottom: 4%; width: 78px; height: 78px; border-width: 5px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { min-height: 84px; padding: 12px 16px; }
  .about-panel { padding: 24px 20px; border-radius: 22px; }
  .about-copy h2, .director-copy h2 { font-size: 29px; }
  .values { grid-template-columns: 1fr; gap: 18px; }
  .value { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
  .value svg { grid-row: 1 / 3; }
  .value b { margin-top: 0; }
  .value p { margin-top: 3px; }
  .about-slider { min-height: 260px; }
  .director-visual { min-height: 270px; }
  .director-photo { width: 255px; }
  .news-card { min-height: 118px; grid-template-columns: 100px 48px minmax(0, 1fr); }
  .news-card img {  min-height: 118px; }
  .news-body { padding-top: 11px; }
  .news-body p { font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-wave { top: -28px; height: 55px; }
  .footer-main { padding-top: 42px; }
}

@media (max-width: 390px) {
  .brand-logo { width: 134px; }
  .hero h1 { font-size: 32px; }
  .hero-art { min-height: 330px; }
  .news-card { grid-template-columns: 92px 45px minmax(0, 1fr); }
  .news-card img { width: 100%; }
  .news-body h3 { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit,
  .about-panel::after {
    animation: none !important;
  }
}


/*================================page team==================================*/

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 28px;
}

.person {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 470px;
    max-height: 470px;
    overflow: hidden;
    background: var(--white);
    border-radius: 26px;
    box-shadow: 0 15px 40px rgba(28, 35, 31, 0.1);
}

/* Вертикальное место для фотографии */
.person-photo {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #edf1ed;
}

.person-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.person:hover .person-photo img {
    transform: scale(1.04);
}

.person-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 20px 22px;
}

.person-info h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--secondary-dark);
    font-size: 20px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.person-info p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #657068;
    font-size: 15px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .person {
        height: 440px;
        max-height: 440px;
    }

    .person-photo {
        height: 320px;
    }
}
/*================================page awards==================================*/
.ach-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 36px;
}

.ach-content {
    min-width: 0;
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

/* Все карточки одной высоты */
.ach {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 450px;
    max-height: 450px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(28, 35, 31, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(28, 35, 31, 0.09);
}

/* Одинаковое вертикальное место для грамот */
.cert {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #edf1ed;
    isolation: isolate;
}

/* Размытый фон из самой грамоты */
.cert-background {
    position: absolute;
    top: -30px;
    left: -30px;
    z-index: 0;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    object-fit: cover;
    filter: blur(22px);
    opacity: 0.3;
    transform: scale(1.15);
}

/* Основная грамота: книжная и альбомная без обрезки */
.cert-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    object-position: center;
}

/* Одинаковое место для названия */
.ach h3 {
    display: flex;
    flex: 1;
    align-items: center;
    min-height: 0;
    margin: 0;
    padding: 18px 20px;
    overflow: hidden;
    color: #1c231f;
    font-size: 18px;
    line-height: 1.35;
}

/* Фильтры */
.filters {
    position: sticky;
    top: 110px;
    padding: 24px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(28, 35, 31, 0.08);
}

.filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.filters-head h3 {
    margin: 0;
}

.filters-reset {
    color: #f7921e;
    font-size: 13px;
    font-weight: 700;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group + .filter-group {
    margin-top: 28px;
}

.filter-group > b {
    margin-bottom: 5px;
    color: #1c231f;
    font-size: 15px;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.filter-check:hover {
    background: #f4f7f3;
}

.filter-check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #63ab45;
}

.filter-name {
    flex: 1;
    color: #344039;
    font-size: 14px;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    color: #657068;
    font-size: 12px;
    background: #edf1ed;
    border-radius: 20px;
}

.filters-submit {
    width: 100%;
    margin-top: 25px;
    padding: 13px 16px;
    color: var(--white);
    font-weight: 700;
    background: #63ab45;
    border: 0;
    border-radius: 13px;
    cursor: pointer;
}

.pagination-wrapper {
    margin-top: 35px;
}

.awards-empty {
    grid-column: 1 / -1;
    padding: 60px 25px;
    text-align: center;
    background: var(--white);
    border-radius: 24px;
}
.cert {
    cursor: zoom-in;
}

.ach h3 a {
    color: var(--ink);
    transition: color .2s ease;
}

.ach h3 a:hover {
    color: var(--primary);
}

.filters-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.filters-submit,
.filters-reset-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    font-weight: 700;
    text-align: center;
    border-radius: 14px;
    transition: .25s ease;
}

.filters-submit {
    color: var(--white);
    background: var(--secondary);
    border: 0;
    cursor: pointer;
}

.filters-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.filters-reset-button {
    color: var(--primary);
    background: rgba(255, 102, 91, 0.08);
    border: 1px solid rgba(255, 102, 91, 0.22);
}

.filters-reset-button:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
}
/*======page awards show=====*/
.award-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 2fr);
    align-items: start;
    gap: 38px;
}

.award-full-view {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 680px;
    max-height: 80vh;
    overflow: hidden;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
    isolation: isolate;
}

.award-full-background {
    position: absolute;
    inset: -40px;
    z-index: 0;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    object-fit: cover;
    filter: blur(30px);
    opacity: .2;
    transform: scale(1.1);
}

.award-original-link {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 680px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    cursor: zoom-in;
}

.award-full-image {
    display: block;
    max-width: 100%;
    max-height: calc(80vh - 60px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(var(--ink-rgb), .15);
}

.award-details {
    position: sticky;
    top: 110px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.award-label {
    display: inline-flex;
    padding: 8px 13px;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--soft);
    border-radius: 30px;
}

.award-details h2 {
    margin: 18px 0 24px;
    color: var(--ink);
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.15;
}

.award-meta {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.award-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.award-meta-row span {
    color: var(--muted);
}

.award-meta-row a {
    color: var(--secondary);
    font-weight: 700;
    text-align: right;
}

.award-description {
    margin-top: 25px;
    color: var(--muted);
    line-height: 1.7;
}

.award-description h3 {
    color: var(--ink);
}

.award-open-button,
.award-back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 22px;
    padding: 12px 18px;
    font-weight: 700;
    border-radius: 14px;
}

.award-open-button {
    gap: 10px;
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--accent)
    );
}

.award-back-button {
    margin-top: 10px;
    color: var(--secondary-dark);
    background: var(--soft);
}

.related-awards {
    margin-top: 70px;
}

.related-awards-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.related-awards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.related-award {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
}

.related-award-image {
    height: 260px;
    padding: 12px;
    background: var(--soft);
}

.related-award-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-award h3 {
    margin: 0;
    padding: 18px;
    color: var(--ink);
    font-size: 17px;
}


@media (max-width: 900px) {
    .award-view-layout {
        grid-template-columns: 1fr;
    }

    .award-details {
        position: static;
    }

    .award-full-view,
    .award-original-link {
        min-height: 520px;
    }
}

@media (max-width: 600px) {
    .award-full-view,
    .award-original-link {
        min-height: 420px;
    }

    .award-original-link {
        padding: 15px;
    }

    .related-awards-grid {
        grid-template-columns: 1fr;
    }
}

/*================end awards===========================*/
/* ============================================================
   PUBLIC DOCUMENTATION PAGE
   Catalog cards, modal category tree, files and publications
   ============================================================ */

.documents-statistics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.documents-statistics span {
    padding: 9px 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    font-size: 14px;
}

.documentation-section {
    background: var(--surface-soft);
}

/* Main category cards */

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.doc-card {
    display: flex;
    min-width: 0;
    min-height: 390px;
    flex-direction: column;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.doc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--secondary-rgb), .4);
    box-shadow: 0 20px 46px rgba(var(--shadow-rgb), .12);
}

.doc-card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.doc-card-title-row h2 {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.3;
}

.doc-card-count {
    display: inline-flex;
    height: 34px;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 0 11px;
    color: var(--white);
    background: var(--secondary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
}

.doc-card-count small {
    font-size: 10px;
    font-weight: 700;
    opacity: .8;
}

.doc-card-description {
    min-height: 44px;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.doc-card-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.doc-preview-caption {
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.doc-preview-row {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.doc-preview-triangle {
    width: 0;
    height: 0;
    flex: 0 0 auto;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--secondary);
}

.doc-preview-title {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-preview-number {
    display: grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    color: var(--secondary-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.doc-card-empty {
    display: grid;
    min-height: 100px;
    padding: 18px;
    place-items: center;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 14px;
    text-align: center;
}

.doc-card-open {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding: 0 18px;
    color: var(--white);
    background: var(--primary);
    border: 0;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease;
}

.doc-card-open:hover {
    background: var(--primary-dark);
}

/* Large modal */

.documents-dialog {
    width: min(1380px, calc(100% - 20px));
    height: 94vh;
    max-width: none;
    max-height: 94vh;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: 0;
    border-radius: 20px;
    box-shadow: 0 30px 90px rgba(var(--overlay-rgb), .3);
}

.documents-dialog::backdrop {
    background: rgba(var(--overlay-rgb), .68);
    backdrop-filter: blur(5px);
}

.documents-dialog-panel {
    display: flex;
    height: 94vh;
    max-height: 94vh;
    flex-direction: column;
}

.documents-dialog-header {
    display: flex;
    min-height: 68px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 20px;
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--secondary),
        var(--secondary-dark)
    );
}

.documents-dialog-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.documents-dialog-title h2 {
    overflow: hidden;
    margin: 0;
    color: var(--white);
    font-size: 22px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.documents-dialog-title > span {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: var(--white);
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.documents-dialog-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
}

.documents-dialog-toolbar {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 18px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}

.documents-dialog-search {
    display: flex;
    width: min(420px, 100%);
    min-height: 40px;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 11px;
}

.documents-dialog-search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2;
}

.documents-dialog-search input {
    width: 100%;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
}

.documents-dialog-actions {
    display: flex;
    gap: 7px;
}

.documents-dialog-toolbar button {
    padding: 8px 13px;
    color: var(--secondary-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.documents-dialog-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 12px 18px 20px;
    overflow-y: auto;
}

/* Recursive category tree */

.documents-tree {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.documents-tree-node {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.documents-tree-node > summary {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 7px 11px;
    list-style: none;
    cursor: pointer;
    transition: background .2s ease;
}

.documents-tree-node > summary::-webkit-details-marker {
    display: none;
}

.documents-tree-node > summary:hover {
    background: var(--soft);
}

.documents-tree-node[open] > summary {
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.documents-tree-triangle {
    width: 0;
    height: 0;
    flex: 0 0 auto;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--secondary);
    transition: transform .2s ease;
}

.documents-tree-node[open] > summary .documents-tree-triangle {
    transform: rotate(90deg);
}

.documents-tree-triangle.is-disabled {
    opacity: .25;
}

.documents-tree-folder {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--accent);
    background: rgba(255, 155, 32, .1);
    border-radius: 9px;
}

.documents-tree-folder svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.documents-tree-title {
    min-width: 0;
    flex: 1;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

.documents-tree-count {
    display: grid;
    min-width: 27px;
    height: 27px;
    padding: 0 8px;
    place-items: center;
    color: var(--secondary-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.documents-tree-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 7px 8px 8px 22px;
    background: var(--surface-soft);
}

.documents-tree-empty-category {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 11px;
    padding: 7px 11px;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px dashed var(--line);
    border-radius: 14px;
}

/* File rows */

.documents-file-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.documents-material {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.documents-material-main {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 6px 9px;
}

.document-format {
    display: inline-grid;
    min-width: 58px;
    min-height: 27px;
    flex: 0 0 auto;
    padding: 4px 7px;
    place-items: center;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .03em;
}

.format-pdf {
    color: #c73535;
    background: #fff0f0;
}

.format-word {
    color: #245dad;
    background: #edf4ff;
}

.format-excel {
    color: #187849;
    background: #eaf8f0;
}

.format-powerpoint {
    color: #c45325;
    background: #fff1e9;
}

.format-video {
    color: var(--white);
    background: #e04444;
}

.format-post {
    color: #a85a00;
    background: #fff1da;
}

.format-image {
    color: #7753b5;
    background: #f3edff;
}

.format-link {
    color: var(--secondary-dark);
    background: var(--soft);
}

.format-archive,
.format-file {
    color: var(--muted);
    background: var(--surface-deep);
}

.documents-material-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.documents-material-info strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.documents-material-info span {
    color: var(--muted);
    font-size: 12px;
}

.documents-material-action a,
.documents-material-action button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    color: var(--secondary-dark);
    background: var(--soft);
    border: 1px solid #cee7d5;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.documents-material-unavailable {
    color: var(--muted);
    font-size: 12px;
}

/* Publication list */

.documents-post-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.documents-post-list-item {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.documents-post-list-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px;
}

.documents-post-thumbnail {
    width: 130px;
    height: 82px;
    flex: 0 0 auto;
    overflow: hidden;
    background: var(--surface-deep);
    border-radius: 11px;
}

.documents-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.documents-video-placeholder,
.documents-post-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--white);
    background: var(--secondary);
    font-size: 12px;
    font-weight: 800;
}

.documents-video-placeholder {
    background: #e14848;
}

.documents-video-placeholder span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.documents-post-summary {
    min-width: 0;
    flex: 1;
}

.documents-post-meta,
.documents-post-full-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 11px;
}

.documents-post-meta span,
.documents-post-full-meta span {
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
}

.documents-post-summary h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.35;
}

.documents-post-summary p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.documents-post-open {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    color: var(--secondary-dark);
    background: var(--soft);
    border: 1px solid #cee7d5;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

/* Full publication and rich content */

.documents-post-preview {
    padding: 12px;
    background: var(--surface-muted);
    border-top: 1px solid var(--line);
}

.documents-post-preview[hidden],
.documents-material[hidden],
.documents-tree-node[hidden] {
    display: none !important;
}

.documents-post-full {
    overflow: hidden;
    background: var(--white);
    border-radius: 15px;
}

.documents-post-full-image {
    display: block;
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    background: var(--surface-deep);
}

.documents-post-full-body {
    padding: 20px;
}

.documents-post-full-body h2 {
    margin: 0 0 17px;
    color: var(--ink);
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.3;
}

.documents-post-empty {
    color: var(--muted);
}

.documents-video {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    overflow: hidden;
    background: #101418;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
}

.documents-video iframe,
.documents-video video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.documents-post-content {
    width: min(100%, 1050px);
    margin: 0 auto;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.75;
}

.documents-post-content > :last-child {
    margin-bottom: 0;
}

.documents-post-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto !important;
    max-height: 720px;
    margin: 18px auto;
    object-fit: contain;
    background: var(--surface-deep);
    border-radius: 14px;
}

.documents-post-content figure {
    max-width: 100%;
    margin: 20px auto;
}

.documents-post-content figure img {
    margin: 0 auto;
}

.documents-post-content figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.documents-post-content iframe {
    display: block;
    width: min(100%, 960px) !important;
    height: auto !important;
    margin: 20px auto;
    background: #101418;
    border: 0;
    border-radius: 15px;
    aspect-ratio: 16 / 9;
}

.documents-post-content video {
    display: block;
    width: min(100%, 960px) !important;
    max-height: 75vh;
    margin: 20px auto;
    background: #101418;
    border-radius: 15px;
}

.documents-post-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.documents-post-content a {
    color: var(--secondary-dark);
    text-decoration: underline;
}

.documents-source-link {
    display: inline-flex;
    gap: 7px;
    margin-top: 16px;
    color: var(--secondary-dark);
    font-weight: 800;
}

/* Empty states */

.documents-tree-empty,
.documents-empty {
    padding: 35px;
    color: var(--muted);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: 20px;
    text-align: center;
}

/* Responsive */

@media (max-width: 1000px) {
    .docs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .documents-post-list-head {
        align-items: stretch;
        flex-direction: column;
    }

    .documents-post-thumbnail {
        width: 100%;
        height: 180px;
    }

    .documents-post-open {
        justify-content: center;
    }

    .documents-post-full-body {
        padding: 15px;
    }
}

@media (max-width: 650px) {
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .doc-card {
        min-height: 0;
        padding: 21px;
    }

    .documents-dialog {
        width: calc(100% - 16px);
        max-height: 94vh;
        border-radius: 18px;
    }

    .documents-dialog-panel {
        max-height: 94vh;
    }

    .documents-dialog-header,
    .documents-dialog-body {
        padding-left: 17px;
        padding-right: 17px;
    }

    .documents-dialog-toolbar {
        align-items: stretch;
        flex-direction: column;
        padding-right: 17px;
        padding-left: 17px;
    }

    .documents-dialog-search,
    .documents-dialog-actions {
        width: 100%;
    }

    .documents-dialog-actions button {
        flex: 1;
    }

    .documents-dialog-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .documents-dialog-title h2 {
        font-size: 18px;
        white-space: normal;
    }

    .documents-tree-content {
        padding-left: 12px;
    }

    .documents-material-main {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .documents-material-info {
        width: calc(100% - 76px);
    }

    .documents-material-action {
        width: 100%;
        padding-left: 71px;
    }

    .documents-post-preview {
        padding: 12px;
    }
}






.documents-material-title {
    display: inline;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    overflow: hidden;
    color: var(--ink);
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    text-overflow: ellipsis;
    cursor: pointer;
}

button.documents-material-title:hover,
a.documents-material-title:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

.documents-file-preview {
    padding: 12px;
    background: var(--surface-muted);
    border-top: 1px solid var(--line);
}

.documents-file-preview[hidden] {
    display: none !important;
}

.documents-file-viewer {
    width: 100%;
    height: min(72vh, 820px);
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.documents-file-viewer iframe {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--white);
    border: 0;
}

.documents-file-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 4px 0;
    color: var(--muted);
    font-size: 12px;
}

.documents-file-preview-footer a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--secondary-dark);
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 650px) {
    .documents-file-viewer {
        height: 65vh;
    }

    .documents-file-preview {
        padding: 7px;
    }

    .documents-file-preview-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}






/* Блокировка страницы */

html.documents-page-locked {
    overflow: hidden;
}

body.documents-page-locked {
    position: fixed;
    width: 100%;
    overflow: hidden;
}

/* Внутри панели размещается полноэкранный слой */

.documents-dialog-panel {
    position: relative;
}

.documents-dialog.is-document-view {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
}

.documents-dialog.is-document-view .documents-dialog-panel {
    height: 100dvh;
    max-height: none;
}

/* Полноэкранный просмотр */

.document-viewer-layer {
    position: absolute;
    z-index: 50;
    inset: 0;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    background: #20272c;
}

.document-viewer-layer[hidden] {
    display: none !important;
}

.document-viewer-header {
    display: flex;
    min-height: 62px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 16px;
    color: var(--white);
    background: #162027;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.document-viewer-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.document-viewer-heading h2 {
    overflow: hidden;
    margin: 0;
    color: var(--white);
    font-size: 17px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-viewer-format {
    flex: 0 0 auto;
    padding: 6px 9px;
    color: var(--white);
    background: var(--primary);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 900;
}

.document-viewer-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.document-viewer-original,
.document-viewer-close {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.document-viewer-original {
    display: none !important;
}

.document-viewer-original {
    color: var(--white);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
}

.document-viewer-close {
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
}

.document-viewer-close:hover {
    background: var(--primary-dark);
}

.document-viewer-body {
    position: relative;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
    background: #30383e;
}

.document-viewer-body iframe {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--white);
    border: 0;
}

.document-viewer-loading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--white);
    background: #30383e;
    font-size: 14px;
    font-weight: 700;
}

.document-viewer-loading[hidden] {
    display: none !important;
}

.document-viewer-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, .22);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: documentViewerSpin .8s linear infinite;
}

@keyframes documentViewerSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 700px) {
    .document-viewer-header {
        min-height: 58px;
        gap: 8px;
        padding: 7px 9px;
    }

    .document-viewer-heading {
        flex: 1;
    }

    .document-viewer-heading h2 {
        font-size: 14px;
    }



    .document-viewer-close {
        width: 42px;
        padding: 0;
        justify-content: center;
        font-size: 0;
    }

    .document-viewer-close span {
        font-size: 20px;
    }
}


/*============end page documents=================================================*/

/*-----------------page contacts------------------------------*/
.feedback-page {
    --feedback-primary: var(--primary, #ff665b);
    --feedback-primary-dark: var(--primary-dark, #f05249);
    --feedback-secondary: var(--secondary, #2f855a);
    --feedback-secondary-dark: var(--secondary-dark, #246b48);
    --feedback-accent: var(--accent, #ff9b20);
    --feedback-ink: var(--ink, #183b2b);
    --feedback-muted: var(--muted, var(--muted));
    --feedback-line: var(--line, #d9e8dd);
    --feedback-soft: var(--soft, #eef8f1);
    --feedback-shadow: var(--shadow-soft, 0 14px 34px rgba(var(--shadow-rgb), .07));
    color: var(--feedback-ink);
}

.feedback-page *,
.feedback-page *::before,
.feedback-page *::after {
    box-sizing: border-box;
}

.feedback-hero .crumb {
    display: flex;
    align-items: center;
    gap: 9px;
}

.feedback-hero .crumb a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.feedback-hero .crumb a:hover {
    color: var(--feedback-primary);
}

.feedback-section {
    padding-top: 54px;
    padding-bottom: 88px;
    background:
        radial-gradient(circle at 6% 8%, rgba(255, 155, 32, .08), transparent 22rem),
        radial-gradient(circle at 96% 35%, rgba(var(--secondary-rgb), .08), transparent 25rem),
        var(--white);
}

.feedback-success {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid rgba(var(--secondary-rgb), .22);
    border-radius: 22px;
    background: linear-gradient(135deg, var(--surface-soft), var(--white));
    box-shadow: var(--feedback-shadow);
}

.feedback-success-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    color: var(--white);
    background: var(--feedback-secondary);
}

.feedback-success-icon svg {
    width: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feedback-success h2,
.feedback-success p {
    margin: 0;
}

.feedback-success h2 {
    font-size: clamp(20px, 2vw, 25px);
}

.feedback-success p {
    margin-top: 6px;
    color: var(--feedback-muted);
}

.feedback-success-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    margin-top: 13px;
}

.feedback-success-phones span {
    color: var(--feedback-muted);
}

.feedback-success-phones a {
    color: var(--feedback-secondary-dark);
    font-weight: 800;
    text-decoration: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(290px, .76fr) minmax(0, 1.24fr);
    gap: 26px;
    align-items: stretch;
}

.contact-card,
.feedback-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--feedback-shadow);
}

.contact-card {
    padding: clamp(28px, 3.2vw, 44px);
    color: var(--white);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .18), transparent 17rem),
        linear-gradient(145deg, var(--feedback-secondary), var(--feedback-secondary-dark));
}

.contact-card::after {
    position: absolute;
    right: -65px;
    bottom: -75px;
    width: 190px;
    height: 190px;
    content: '';
    border: 28px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

.contact-card-eyebrow,
.feedback-card-head > span,
.questions-head > div > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card-eyebrow::before,
.feedback-card-head > span::before,
.questions-head > div > span::before {
    width: 24px;
    height: 3px;
    content: '';
    border-radius: 20px;
    background: currentColor;
}

.contact-card h2,
.feedback-card h2,
.questions-head h2 {
    margin: 10px 0 0;
    color: inherit;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.12;
}

.contact-card-intro {
    max-width: 34rem;
    margin: 13px 0 0;
    color: rgba(255, 255, 255, .82);
    line-height: 1.65;
}

.contact-list {
    display: grid;
    gap: 16px;
    margin-top: 34px;
}

.contact-item {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(5px);
}

.contact-item-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--feedback-secondary-dark);
    background: var(--white);
}

.contact-item-icon svg,
.contact-card-note svg {
    width: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-item-label {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-item p,
.contact-phone {
    overflow-wrap: anywhere;
    margin: 0;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.contact-phone:hover {
    color: #fff4df;
}

.contact-card-empty {
    color: rgba(255, 255, 255, .85);
}

.contact-card-note {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    line-height: 1.55;
}

.contact-card-note svg {
    flex: 0 0 20px;
    width: 20px;
}

.feedback-card {
    padding: clamp(28px, 3.2vw, 44px);
    border: 1px solid var(--feedback-line);
    background: var(--white);
}

.feedback-card-head > span,
.questions-head > div > span {
    color: var(--feedback-primary);
}

.feedback-card-head h2,
.questions-head h2 {
    color: var(--feedback-ink);
}

.feedback-card-head p {
    margin: 10px 0 0;
    color: var(--feedback-muted);
}

.feedback-form {
    display: grid;
    gap: 18px;
    margin-top: 29px;
}

.feedback-field {
    min-width: 0;
}

.feedback-field label {
    display: block;
    margin: 0 0 8px;
    color: var(--feedback-ink);
    font-size: 13px;
    font-weight: 800;
}

.feedback-field .form-control {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 14px 17px;
    border: 1px solid var(--feedback-line);
    border-radius: 15px;
    outline: none;
    color: var(--feedback-ink);
    background: var(--surface-soft);
    box-shadow: none;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.feedback-field textarea.form-control {
    min-height: 148px;
    resize: vertical;
}

.feedback-field .form-control::placeholder {
    color: #909aa4;
}

.feedback-field .form-control:hover {
    border-color: var(--line-strong);
    background: var(--white);
}

.feedback-field .form-control:focus {
    border-color: var(--feedback-secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(var(--secondary-rgb), .11);
}

.feedback-field .form-control.is-invalid {
    border-color: var(--feedback-primary);
}

.invalid-feedback {
    display: block;
    margin-top: 7px;
    color: var(--feedback-primary-dark);
    font-size: 13px;
}

.feedback-captcha {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
}

.feedback-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-top: 4px;
}

.feedback-form-footer p {
    max-width: 390px;
    margin: 0;
    color: var(--feedback-muted);
    font-size: 12px;
    line-height: 1.5;
}

.feedback-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 13px 25px;
    border: 0;
    border-radius: 15px;
    color: var(--white);
    background: var(--feedback-primary);
    box-shadow: 0 11px 23px rgba(255, 102, 91, .24);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.feedback-submit:hover {
    transform: translateY(-2px);
    background: var(--feedback-primary-dark);
    box-shadow: 0 14px 27px rgba(255, 102, 91, .31);
}

.feedback-submit:focus-visible,
.contact-phone:focus-visible,
.feedback-hero .crumb a:focus-visible {
    outline: 3px solid rgba(255, 155, 32, .48);
    outline-offset: 3px;
}

.feedback-submit span {
    font-size: 19px;
}

.form-messages:empty {
    display: none;
}

.questions-section {
    margin-top: clamp(56px, 7vw, 90px);
}

.questions-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.questions-head strong {
    display: grid;
    width: 51px;
    height: 51px;
    place-items: center;
    border: 1px solid var(--feedback-line);
    border-radius: 17px;
    color: var(--feedback-secondary-dark);
    background: var(--feedback-soft);
    font-size: 17px;
}

.questions-list {
    display: grid;
    gap: 18px;
}

.question-card {
    overflow: hidden;
    border: 1px solid var(--feedback-line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(var(--shadow-rgb), .055);
}

.question-message,
.answer-message {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 17px;
    padding: clamp(20px, 2.6vw, 30px);
}

.comment-avatar,
.director-avatar {
    display: grid;
    width: 54px;
    height: 54px;
    overflow: hidden;
    place-items: center;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(145deg, var(--feedback-accent), #ffba58);
    font-size: 20px;
    font-weight: 900;
}

.director-avatar {
    background: linear-gradient(145deg, var(--feedback-secondary), var(--feedback-secondary-dark));
}

.director-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.question-meta,
.answer-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.question-meta h3,
.answer-meta h3 {
    margin: 0;
    color: var(--feedback-ink);
    font-size: 17px;
}

.question-meta > div > span {
    display: block;
    margin-top: 3px;
    color: var(--feedback-muted);
    font-size: 12px;
}

.question-meta time,
.answer-meta time {
    color: var(--feedback-muted);
    font-size: 12px;
    white-space: nowrap;
}

.question-content h4 {
    margin: 17px 0 5px;
    color: var(--feedback-ink);
    font-size: 17px;
    line-height: 1.45;
}

.question-content > p,
.answer-content > p {
    margin: 0;
    color: var(--feedback-muted);
    line-height: 1.7;
    white-space: pre-line;
}

.answer-message {
    position: relative;
    margin: 0 17px 17px 84px;
    border: 1px solid rgba(var(--secondary-rgb), .15);
    border-radius: 20px;
    background: linear-gradient(135deg, var(--feedback-soft), var(--surface-soft));
}

.answer-message::before {
    position: absolute;
    top: -10px;
    left: 29px;
    width: 18px;
    height: 18px;
    content: '';
    transform: rotate(45deg);
    border-top: 1px solid rgba(var(--secondary-rgb), .15);
    border-left: 1px solid rgba(var(--secondary-rgb), .15);
    background: var(--feedback-soft);
}

.answer-badge {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--feedback-secondary-dark);
    background: rgba(var(--secondary-rgb), .12);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.answer-content > p {
    margin-top: 13px;
    color: var(--text-muted);
}

.answer-pending {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 26px 22px 94px;
    color: var(--feedback-muted);
    font-size: 12px;
}

.answer-pending span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--feedback-accent);
    box-shadow: 0 0 0 4px rgba(255, 155, 32, .14);
}

.questions-empty {
    padding: 42px 25px;
    border: 1px dashed var(--feedback-line);
    border-radius: 24px;
    text-align: center;
    background: var(--surface);
}

.questions-empty h3,
.questions-empty p {
    margin: 0;
}

.questions-empty p {
    margin-top: 8px;
    color: var(--feedback-muted);
}

.feedback-page .pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .feedback-section {
        padding-top: 34px;
        padding-bottom: 60px;
    }

    .feedback-success {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 18px;
        border-radius: 18px;
    }

    .feedback-success-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    .contact-card,
    .feedback-card {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .contact-card h2,
    .feedback-card h2,
    .questions-head h2 {
        font-size: 27px;
    }

    .contact-item {
        grid-template-columns: 43px minmax(0, 1fr);
        padding: 14px;
    }

    .contact-item-icon {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .feedback-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .feedback-submit {
        width: 100%;
    }

    .questions-head {
        align-items: center;
    }

    .questions-head strong {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .question-message,
    .answer-message {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 18px;
    }

    .comment-avatar,
    .director-avatar {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 16px;
    }

    .question-meta,
    .answer-meta {
        display: block;
    }

    .question-meta time,
    .answer-meta time {
        display: block;
        margin-top: 7px;
    }

    .answer-message {
        margin: 0 12px 14px 28px;
    }

    .answer-pending {
        margin-left: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feedback-page *,
    .feedback-page *::before,
    .feedback-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
/*----------------end contacts-------------------------------*/

@media (max-width: 1200px) {
    .ach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .ach-layout {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }
}

@media (max-width: 560px) {
    .ach-grid {
        grid-template-columns: 1fr;
    }

    .ach {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
}


@media (max-width: 520px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .person {
        width: 100%;
        max-width: 380px;
        height: 450px;
        max-height: 450px;
        margin: 0 auto;
    }

    .person-photo {
        height: 330px;
    }
}
