
.hero-section.section-padding.about {
  /* контактный баннер чуть компактнее, чем на about */
  padding-top: 150px;
}

.hero-title-wrapper .hero-subtitle {
  max-width: 680px;
  opacity: .85;
}

/* изображения в баннере — небольшая “покачка” */
.about-hero-image-wrapper img {
  will-change: transform;
  transform-origin: center bottom;
  animation: floatY 6s ease-in-out infinite;
}
.about-hero-image-02 { animation-delay: .8s; }
.about-hero-image-03 { animation-delay: 1.6s; }

@keyframes floatY {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(-8px) }
}

/* ---------- Contacts cards ---------- */
.values-section .values-card-wrapper {
  /* на странице контактов карточек меньше — делаем более широкую сетку */
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991px) {
  .values-section .values-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .values-section .values-card-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ---------- Form block (CTA) ---------- */
.contact-form {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.contact-form .form-row {
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background-color: #04141c;
  border: 1.5px solid #ffffff1a;
  border-radius: 12px;
  color: var(--neutral-01);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .05s ease;
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ffffff80;
}

/* focus/valid states */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--theme-color-01);
  box-shadow: 0 0 0 4px rgba(211, 237, 5, .12);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
}

/* лёгкий feedback при клике */
.contact-form input:active,
.contact-form textarea:active {
  transform: translateY(1px);
}

/* privacy row */
.privacy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
  margin-top: 6px;
  line-height: 1.4;
}

.privacy-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--theme-color-01);
  border-radius: 4px;
}

/* submit button state */
#sendBtn[disabled],
#sendBtn[aria-disabled="true"] {
  filter: grayscale(0.25) brightness(0.9);
  opacity: .55;
  cursor: not-allowed;
}

#sendBtn:not([disabled]):hover .button-hover-line {
  left: 120%;
  transition: left .9s ease;
}

/* CTA art balance on small screens */
@media (max-width: 991px) {
  .cta-image-wrapper {
    margin-top: 12px;
  }
}

/* ---------- Micro interactions ---------- */
/* плавный ховер линка внутри карточек */
.values-subtitle a.single-footer-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.values-subtitle a.single-footer-link:hover {
  color: var(--theme-color-01);
}

/* ---------- Scroll-in animations (совместно с about.js) ---------- */
/* Начальные состояния */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

[data-animate="up"] { transform: translateY(28px); }
[data-animate="left"] { transform: translateX(-28px); }
[data-animate="right"] { transform: translateX(28px); }

/* Когда JS добавляет .in-view */
.in-view[data-animate],
[data-animate].in-view {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* Стагер появления для контейнера со множеством элементов */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-stagger].in-view > * {
  opacity: 1;
  transform: none;
}
[data-stagger].in-view > *:nth-child(1) { transition-delay: .0s; }
[data-stagger].in-view > *:nth-child(2) { transition-delay: .06s; }
[data-stagger].in-view > *:nth-child(3) { transition-delay: .12s; }
[data-stagger].in-view > *:nth-child(4) { transition-delay: .18s; }
[data-stagger].in-view > *:nth-child(5) { transition-delay: .24s; }
[data-stagger].in-view > *:nth-child(6) { transition-delay: .30s; }

/* ---------- Small polish ---------- */
.section-label + .section-title { margin-top: 6px; }
.section-title + .section-subtitle { margin-top: 8px; }
.contact-form .privacy-row + #privacyNote { margin-top: -4px; }

/* Уточняем spacing в контактных карточках */
.single-values-card .values-card-title-wrapper .values-title { margin-bottom: 4px; }

/* Улучшаем читаемость ссылок в тёмных блоках */
.single-values-card a.single-footer-link { color: var(--neutral-01); opacity: .85; }
.single-values-card a.single-footer-link:hover { opacity: 1; }
