.home-about {
  width: 100%;
  background: var(--surface-muted);
  padding:
    clamp(1rem, 2.6vw, 1.8rem)
    clamp(1rem, 6vw, 5rem)
    clamp(1rem, 3vw, 2rem);
}

.home-about__top {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  gap: clamp(0.75rem, 1.8vw, 1.2rem);
  align-items: start;
}

.home-about__top-left,
.home-about__top-right {
  min-width: 0;
}

.home-about__top-right {
  min-height: 100%;
}

.home-about__logo-wrap {
  margin: 0;
  line-height: 0;
}

.home-about__logo {
  width: clamp(9rem, 14vw, 13rem);
  height: auto;
  display: block;
}

.home-about__intro {
  margin: clamp(0.5rem, 1.1vw, 0.85rem) 0 0;
  font-size: clamp(0.73rem, 0.9vw, 0.84rem);
  line-height: 1.48;
  color: var(--text-secondary);
  max-width: 62ch;
}

.home-about__team-photo {
  margin-top: clamp(0.62rem, 1.4vw, 1rem);
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.home-about__faq {
  background: var(--surface-muted);
  color: var(--text-primary);
  border: none;
  min-height: 100%;
  padding: clamp(0.74rem, 1.55vw, 1.08rem) clamp(0.7rem, 1.45vw, 1rem);
  box-sizing: border-box;
}

.home-about__faq-title {
  margin: 0;
  font-size: clamp(1.52rem, 2.55vw, 2.08rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.home-about__faq-list {
  margin-top: clamp(0.7rem, 1.6vw, 1rem);
}

.home-about__faq-item {
  border-top: 1px solid #d9d9d9;
}

.home-about__faq-item:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.home-about__faq-heading {
  margin: 0;
}

.home-about__faq-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: clamp(0.48rem, 1vw, 0.68rem) 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.45rem, 0.9vw, 0.7rem);
  align-items: baseline;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.home-about__faq-toggle:focus-visible {
  outline: 1px solid #9b9b9b;
  outline-offset: 2px;
}

.home-about__faq-icon {
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  line-height: 1;
  color: var(--text-primary);
}

.home-about__faq-question {
  font-size: clamp(0.92rem, 1.26vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
}

.home-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.34s ease,
    opacity 0.24s ease;
}

.home-about__faq-answer p {
  margin: 0;
  padding: 0 0 clamp(0.62rem, 1.3vw, 0.9rem) calc(clamp(1rem, 1.4vw, 1.25rem) + clamp(0.45rem, 0.9vw, 0.7rem));
  font-size: clamp(0.68rem, 0.84vw, 0.8rem);
  line-height: 1.58;
  color: #4a4a4a;
  max-width: 68ch;
}

.home-about__faq-item.is-open .home-about__faq-answer {
  max-height: 16rem;
  opacity: 1;
}

.home-about__faq-item.is-open .home-about__faq-question,
.home-about__faq-item.is-open .home-about__faq-icon {
  color: var(--site-accent);
}

.home-about__faq-item.is-open .home-about__faq-answer p {
  color: var(--site-accent);
}

.home-about__faq-item.is-open .home-about__faq-icon {
  transform: rotate(45deg);
}

.home-about__bottom {
  margin-top: clamp(0.8rem, 1.9vw, 1.3rem);
}

.home-about__track-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
}

.home-about__track-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.home-about__track-wrap--dragging {
  cursor: grabbing;
}

.home-about__track {
  width: max-content;
  display: flex;
  gap: clamp(0.55rem, 1.4vw, 0.9rem);
  will-change: transform;
  animation: homeAboutTrackMove 40s linear infinite;
}

.home-about__track-wrap:hover .home-about__track,
.home-about__track-wrap:focus-within .home-about__track,
.home-about__track-wrap--manual .home-about__track {
  animation-play-state: paused;
}

.home-about__card {
  flex: 0 0 auto;
  width: clamp(16.5rem, 26vw, 22rem);
  min-height: clamp(11rem, 18vw, 14.5rem);
  background: #ececeb;
  border: 1px solid #e1e1e1;
  padding: clamp(0.7rem, 1.2vw, 0.95rem);
  box-sizing: border-box;
}

.home-about__card--photo {
  padding: 0;
}

.home-about__card-photo {
  width: 100%;
  height: 100%;
  min-height: clamp(11rem, 18vw, 14.5rem);
  object-fit: cover;
  display: block;
}

.home-about__card-title {
  margin: 0;
  font-size: clamp(0.92rem, 1.25vw, 1.1rem);
  font-weight: 600;
  line-height: 1.22;
  color: #1e1e1e;
}

.home-about__card-text {
  margin: clamp(0.52rem, 1vw, 0.75rem) 0 0;
  font-size: clamp(0.68rem, 0.85vw, 0.76rem);
  line-height: 1.5;
  color: #606060;
}

.home-about__card--map {
  background: #e8e8e6;
  padding: 0;
}

.home-about__map-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(11rem, 18vw, 14.5rem);
  overflow: hidden;
  border: none;
}

.home-about__map-shell::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(235, 235, 233, 0.18);
}

.home-about__map-canvas {
  width: 100%;
  height: 100%;
  min-height: clamp(11rem, 18vw, 14.5rem);
}

.home-about__map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.home-about__card--text {
  border: none;
  background: transparent;
}

.home-about__map-canvas .ymaps-2-1-79-map {
  filter: saturate(0.4) contrast(0.95) brightness(1.03);
}

.home-about__map-canvas--error {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.75rem;
}

@keyframes homeAboutTrackMove {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .home-about {
    padding:
      0.65rem
      clamp(0.75rem, 3.3vw, 1rem)
      1.05rem;
  }

  .home-about__top {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .home-about__logo {
    width: clamp(7.2rem, 30vw, 9.2rem);
  }

  .home-about__intro {
    margin-top: 0.4rem;
    font-size: 0.64rem;
    line-height: 1.35;
  }

  .home-about__team-photo {
    margin-top: 0.45rem;
  }

  .home-about__faq {
    padding: 0.62rem 0.6rem;
  }

  .home-about__faq-title {
    font-size: clamp(1.2rem, 5vw, 1.66rem);
  }

  .home-about__faq-toggle {
    padding: 0.52rem 0;
    gap: 0.45rem;
  }

  .home-about__faq-question {
    font-size: clamp(0.78rem, 3.7vw, 0.9rem);
  }

  .home-about__faq-answer p {
    padding-bottom: 0.5rem;
    font-size: 0.64rem;
    line-height: 1.4;
  }

  .home-about__bottom {
    margin-top: 0.62rem;
  }

  .home-about__track {
    gap: 0.45rem;
    animation-duration: 32s;
  }

  .home-about__card {
    width: clamp(10rem, 58vw, 13rem);
    min-height: clamp(6.5rem, 32vw, 8rem);
    padding: 0.55rem;
  }

  .home-about__card-photo {
    min-height: clamp(6.5rem, 32vw, 8rem);
  }

  .home-about__card-title {
    font-size: 0.84rem;
  }

  .home-about__card-text {
    margin-top: 0.44rem;
    font-size: 0.62rem;
    line-height: 1.32;
  }

  .home-about__map-shell,
  .home-about__map-canvas {
    min-height: clamp(6.5rem, 32vw, 8rem);
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-about__track {
    animation: none;
  }
}
