.team-catalog {
  --tc-text: #222;
  --tc-muted: #999;
  --tc-body: #333;
  --tc-teal: #0a7364;
  --tc-blue: #308bb6;
  --tc-sky: #65bce6;
  --tc-orange: #e3701e;
  --tc-bg: #f3f6f5;
  --tc-line: #dfe0e1;
  --tc-tag: #f3f6f5;
  background: #fff;
  color: var(--tc-text);
  font-family: Montserrat, Arial, sans-serif;
  padding: 24px 0 72px;
}

.team-catalog__wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.team-catalog__crumbs {
  margin-bottom: 24px;
  color: var(--tc-muted);
  font-size: 14px;
}

.team-catalog__crumbs a {
  color: var(--tc-muted);
  text-decoration: none;
}

.team-catalog__title {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #1c1c1c;
}

.team-catalog__lead {
  margin: -16px 0 40px;
  color: #333;
  font-size: 20px;
  line-height: 1.4;
  max-width: 760px;
}

.team-catalog__help {
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}

.team-catalog__help-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tc-body);
}

.team-catalog__chips,
.team-catalog__work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-catalog__chip,
.team-catalog__work-tabs button {
  border: 1px solid transparent;
  background: var(--tc-bg);
  color: #3c434a;
  border-radius: 999px;
  padding: 8px 14px;
  font: 500 14px/1.2 Montserrat, Arial, sans-serif;
  cursor: pointer;
}

.team-catalog__chip:hover {
  background: #fff;
  border-color: var(--tc-teal);
  color: var(--tc-teal);
}

.team-catalog__chip.is-active,
.team-catalog__work-tabs button.is-active {
  background: #1d2b29;
  color: #fff;
  border-color: #1d2b29;
}

.team-catalog__filters-bar {
  background: var(--tc-bg);
  padding: 24px 0;
  margin-bottom: 24px;
}

.team-catalog__filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px 16px;
  align-items: end;
}

.team-catalog__field > span {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
  color: var(--tc-body);
  line-height: 1.2;
}

.team-catalog__field select,
.tc-name input {
  width: 100%;
  height: 56px;
  border: 1px solid transparent;
  border-radius: 40px;
  background: #fff;
  padding: 0 48px 0 24px;
  font: 400 16px/1.4 Montserrat, Arial, sans-serif;
  color: var(--tc-body);
  appearance: none;
}

.team-catalog__field select:focus,
.tc-name input:focus {
  outline: none;
  border-color: var(--tc-teal);
}

.team-catalog__field select {
  background-image: url("assets/icon-caret.svg");
  background-position: calc(100% - 22px) center;
  background-size: 16px;
  background-repeat: no-repeat;
}

.tc-name {
  position: relative;
}

.tc-name__toggle {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48px;
  border: 0;
  background: transparent url("assets/icon-caret.svg") center/16px no-repeat;
  cursor: pointer;
}

.tc-name__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(23, 40, 40, 0.12);
  padding: 12px 16px;
}

.tc-name__letter {
  padding: 10px 0 4px;
  color: var(--tc-muted);
  font-size: 12px;
  font-weight: 700;
}

.tc-name__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 8px;
  padding: 8px 0;
  font: 400 15px/1.3 Montserrat, Arial, sans-serif;
  cursor: pointer;
  color: var(--tc-body);
}

.tc-name__item:hover {
  color: var(--tc-teal);
}

.tc-name__item.is-hidden,
.tc-name__letter.is-hidden {
  display: none;
}

.team-catalog__reset {
  height: 56px;
  border: 0;
  background: transparent;
  color: var(--tc-orange);
  font: 400 12px/1 Montserrat, Arial, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 4px 4px;
  align-self: end;
}

.team-catalog .is-mob,
.team-catalog__reset-extra {
  display: none;
}

.team-catalog__count {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--tc-text);
}

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

.tc-card {
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.tc-card__photo {
  position: relative;
  height: 280px;
  background: #eef1f3;
  overflow: hidden;
}

.tc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tc-card__exp {
  position: absolute;
  left: 4px;
  top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border-radius: 100px;
  padding: 3px 16px 3px 3px;
}

.tc-card__exp-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0a7364 center/contain no-repeat;
  flex: 0 0 40px;
}

.tc-card__exp-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1;
}

.tc-card__exp-text small {
  color: var(--tc-muted);
  font-size: 11px;
}

.tc-card__exp-text strong {
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.tc-card__dots {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-card__dots i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
}

.tc-card__dots img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.tc-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.tc-card__rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.tc-card__star {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--tc-orange);
}

.tc-card__star img {
  width: 16px;
  height: 16px;
}

.tc-card__star b {
  font-weight: 400;
  color: var(--tc-orange);
}

.tc-card__rating a,
.tc-card__reviews {
  color: var(--tc-teal);
  text-decoration: underline;
}

.tc-card__name {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
}

.tc-card__name a {
  color: inherit;
  text-decoration: none;
}

.tc-card__post {
  margin: 0;
  color: var(--tc-body);
  font-size: 14px;
  line-height: 1.6;
}

.tc-card__post em {
  font-style: italic;
  color: var(--tc-teal);
}

.tc-card__helps,
.tc-card__where {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-card__helps-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--tc-body);
  line-height: 1.4;
}

.tc-card__helps p,
.tc-card__where p {
  margin: 0;
  color: var(--tc-body);
  font-size: 14px;
  line-height: 1.4;
}

.tc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tc-card__tags span {
  background: var(--tc-tag);
  color: var(--tc-teal);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1;
}

.tc-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: auto;
}

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 999px;
  padding: 0 16px;
  font: 700 14px/1 Montserrat, Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--tc-blue);
  text-align: center;
}

.tc-btn--fill {
  background: var(--tc-blue);
  color: #fff;
}

.tc-btn--line {
  background: #fff;
  color: var(--tc-blue);
}

.tc-btn--light {
  background: var(--tc-sky);
  border-color: var(--tc-sky);
  color: #fff;
  font-size: 16px;
  min-width: 276px;
  padding: 22px 32px;
}

.team-catalog__more-wrap {
  display: flex;
  justify-content: center;
  margin: 32px 0 8px;
}

.team-catalog__more {
  min-width: 252px;
  min-height: 60px;
  border-radius: 999px;
  border: 1.5px solid var(--tc-teal);
  background: #fff;
  color: var(--tc-teal);
  font: 600 16px/1 Montserrat, Arial, sans-serif;
  cursor: pointer;
}

.team-catalog__empty {
  margin-top: 16px;
  color: #66707a;
}

.team-catalog__banner {
  margin-top: 48px;
  background:
    linear-gradient(159deg, #1d2b29 0%, #0b433b 50%, #1d2b29 100%),
    linear-gradient(90deg, #0b433b, #0b433b);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.team-catalog__banner h2 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}

.team-catalog__banner p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.4;
  max-width: 695px;
}

.team-catalog__faq,
.team-catalog__reviews,
.team-catalog__works {
  margin-top: 64px;
}

.team-catalog__faq h2,
.team-catalog__reviews h2,
.team-catalog__works h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  color: #222;
}

.tc-faq {
  border-bottom: 1px solid var(--tc-line);
}

.tc-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 20px 0;
  font: 600 18px/1.35 Montserrat, Arial, sans-serif;
  color: #1d2b29;
  cursor: pointer;
}

.tc-faq__q i {
  width: 40px;
  height: 40px;
  border: 1.5px solid #c5ced3;
  border-radius: 50%;
  position: relative;
  flex: 0 0 40px;
}

.tc-faq__q i:before,
.tc-faq__q i:after {
  content: "";
  position: absolute;
  background: #1d2b29;
  left: 12px;
  right: 12px;
  top: 19px;
  height: 1.5px;
}

.tc-faq.is-open .tc-faq__q i:after {
  display: none;
}

.tc-faq__q i:after {
  transform: rotate(90deg);
}

.tc-faq__a {
  display: none;
  padding: 0 48px 18px 0;
  color: #4d565e;
  font-size: 16px;
  line-height: 1.5;
}

.tc-faq.is-open .tc-faq__a {
  display: block;
}

.team-catalog__reviews-head {
  margin-bottom: 24px;
}

.team-catalog__reviews-head p {
  margin: 8px 0 0;
  color: #8f9295;
  font-size: 18px;
}

.team-catalog__reviews-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--tc-blue);
  text-decoration: none;
  font-weight: 600;
}

.team-catalog__reviews-frame {
  height: 560px;
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.team-catalog__reviews-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.team-catalog__work-tabs {
  margin-bottom: 20px;
}

.team-catalog__work-tabs button {
  background: #fff;
  border: 1px solid var(--tc-line);
}

.team-catalog__work-slider {
  position: relative;
}

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

.tc-work-nav {
  position: absolute;
  top: 180px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #d5d6d9;
  border-radius: 50%;
  background: #fff url("assets/icon-arrow-left.svg") center/16px no-repeat;
  box-shadow: 0 8px 24px rgba(23, 40, 40, 0.16);
  cursor: pointer;
}

.tc-work-nav--prev {
  left: -12px;
}

.tc-work-nav--next {
  right: -12px;
  border-color: #0b433b;
  background: #0b433b url("assets/icon-arrow-right.svg") center/16px no-repeat;
  box-shadow: none;
}

.tc-work {
  border: 1px solid var(--tc-line);
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tc-work.is-hidden {
  display: none;
}

.tc-work__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.tc-work__photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  background: #eee;
}

.tc-work__cat {
  color: var(--tc-teal);
  font-size: 14px;
  font-weight: 500;
}

.tc-work__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
}

.tc-work__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.tc-work__meta span {
  color: #8f9295;
}

.tc-work__more {
  margin-top: auto;
  color: var(--tc-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.team-catalog__work-all {
  margin-top: 24px;
  text-align: center;
}

.team-catalog__work-all a {
  color: var(--tc-teal);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 980px) {
  .team-catalog__filters,
  .team-catalog__grid,
  .team-catalog__work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-catalog__reset {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .team-catalog__banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 24px;
  }

  .team-catalog__title,
  .team-catalog__banner h2 {
    font-size: 28px;
  }

  .team-catalog__lead,
  .team-catalog__banner p {
    font-size: 16px;
  }
}

@media (max-width: 700px) {
  .team-catalog {
    padding: 8px 0 40px;
  }

  .team-catalog .is-desk {
    display: none;
  }

  .team-catalog .is-mob,
  .team-catalog__reset-extra {
    display: inline;
  }

  .team-catalog__wrap {
    width: calc(100% - 20px);
  }

  .team-catalog__crumbs {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1;
  }

  .team-catalog__title {
    margin: 0 0 16px;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 600;
  }

  .team-catalog__lead {
    margin: 0 0 24px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
  }

  .team-catalog__help {
    padding: 16px;
    margin-bottom: 0;
    gap: 12px;
  }

  .team-catalog__help-label {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.2;
    color: #1f1f1f;
  }

  .team-catalog__chips {
    gap: 5px;
  }

  .team-catalog__chip,
  .team-catalog__work-tabs button {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 400;
  }

  .team-catalog__work-tabs button {
    background: #f3f6f5;
    border-color: transparent;
    color: #8f9295;
  }

  .team-catalog__chip.is-active,
  .team-catalog__work-tabs button.is-active {
    background: #0b433b;
    border-color: #0b433b;
    color: #fff;
  }

  .team-catalog__filters-bar {
    margin: 32px 0 0;
    padding: 20px 0;
  }

  .team-catalog__filters {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-catalog__field > span {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.2;
  }

  .team-catalog__field select,
  .tc-name input {
    height: auto;
    min-height: 52px;
    padding: 16px 40px 16px 20px;
    font-size: 14px;
    line-height: 1.4;
  }

  .team-catalog__reset {
    height: auto;
    justify-self: start;
    padding: 0;
    font-size: 12px;
  }

  .team-catalog__count {
    margin: 32px 0 24px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
  }

  .team-catalog__grid,
  .team-catalog__work-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tc-card__photo {
    height: 210px;
  }

  .tc-card__exp {
    left: 5px;
    top: 5px;
    gap: 3px;
    padding: 3px 12px 3px 3px;
  }

  .tc-card__exp-ico {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    background-size: 16px;
  }

  .tc-card__exp-text {
    gap: 4px;
  }

  .tc-card__exp-text small {
    font-size: 9px;
    line-height: 1;
  }

  .tc-card__exp-text strong {
    font-size: 16px;
    line-height: 1;
  }

  .tc-card__dots {
    top: 5px;
    right: 5px;
    gap: 5px;
  }

  .tc-card__dots i {
    width: 30px;
    height: 30px;
    padding: 7px;
  }

  .tc-card__dots img {
    width: 16px;
    height: 16px;
  }

  .tc-card__body {
    padding: 20px;
    gap: 10px;
  }

  .tc-card__helps {
    margin-top: 10px;
  }

  .tc-card__where {
    margin-top: 6px;
  }

  .tc-card__actions {
    margin-top: 10px;
  }

  .tc-card__rating {
    font-size: 12px;
    gap: 10px;
  }

  .tc-card__star img {
    width: 14px;
    height: 14px;
  }

  .tc-card__name {
    font-size: 16px;
    line-height: 1.3;
  }

  .tc-card__post {
    font-size: 12px;
    line-height: 1.6;
  }

  .tc-card__helps p,
  .tc-card__where p,
  .tc-card__helps-label,
  .tc-card__tags span {
    font-size: 12px;
    line-height: 1.4;
  }

  .tc-card__helps,
  .tc-card__where {
    gap: 8px;
  }

  .tc-card__actions {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }

  .tc-card__actions .tc-btn {
    min-height: 0;
    padding: 20px 8px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .team-catalog__more {
    min-width: 0;
    width: min(260px, 100%);
    min-height: 0;
    margin-top: 8px;
    padding: 22px 24px;
    font-size: 14px;
    font-weight: 700;
    border-width: 2px;
    border-color: #308bb6;
    color: #308bb6;
  }

  .team-catalog__banner {
    margin-top: 64px;
    padding: 20px;
    gap: 40px;
    align-items: stretch;
  }

  .team-catalog__banner h2 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
  }

  .team-catalog__banner p {
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
  }

  .team-catalog__banner .tc-btn--light {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 22px 24px;
    font-size: 14px;
  }

  .team-catalog__faq,
  .team-catalog__reviews,
  .team-catalog__works {
    margin-top: 64px;
  }

  .team-catalog__faq h2,
  .team-catalog__reviews h2,
  .team-catalog__works h2 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
  }

  .tc-faq__q {
    padding: 0;
    font-size: 16px;
    line-height: 1.3;
    color: #333;
    font-weight: 600;
  }

  .tc-faq.is-open .tc-faq__q {
    color: #0a7364;
  }

  .tc-faq.is-open .tc-faq__q span {
    text-decoration: underline;
  }

  .tc-faq__q i {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border: 0;
    background: #f3f6f5;
  }

  .tc-faq.is-open .tc-faq__q i {
    background: #fff;
    border: 1px solid #0a7364;
  }

  .tc-faq__q i:before,
  .tc-faq__q i:after {
    left: 10px;
    right: 10px;
    top: 15px;
    background: #0a7364;
  }

  .tc-faq__a {
    padding: 12px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }

  .tc-faq {
    padding-bottom: 12px;
    border-bottom: 0;
  }

  .team-catalog__reviews-head p {
    font-size: 16px;
    line-height: 1.4;
    color: #666;
  }

  .team-catalog__reviews-frame {
    height: 420px;
  }

  .team-catalog__work-tabs {
    gap: 5px;
  }

  .team-catalog__work-grid {
    gap: 0;
  }

  .tc-work {
    padding: 20px;
    gap: 16px;
  }

  .tc-work__photos {
    gap: 2px;
  }

  .tc-work__photos img {
    height: 150px;
    border-radius: 15px;
  }

  .tc-work__cat,
  .tc-work__meta,
  .tc-work__more {
    font-size: 12px;
    line-height: 1.4;
  }

  .tc-work__title {
    font-size: 16px;
    line-height: 1.3;
  }

  .tc-work-nav {
    width: 32px;
    height: 32px;
    top: 79px;
    background-size: 12px;
    box-shadow: none;
  }

  .team-catalog__work-slider {
    overflow: hidden;
  }

  .tc-work-nav--prev {
    left: 8px;
  }

  .tc-work-nav--next {
    right: 8px;
  }
}
