.contacts-intro {
  padding-top: clamp(26px, 3.4vw, 52px);
  padding-bottom: 0;
}

.contacts-intro h1 { max-width: 760px; }
.contacts-intro p { max-width: 680px; }

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .72fr);
  gap: 20px;
  align-items: stretch;
}

.contacts-panel,
.contacts-accent,
.contacts-brief {
  border-radius: 30px;
}

.contacts-panel {
  min-width: 0;
  padding: clamp(26px, 3.2vw, 50px);
  background: #fff;
  display: grid;
  gap: clamp(26px, 3vw, 46px);
}

.contacts-panel h2,
.contacts-accent h2,
.contacts-brief__intro h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 62px);
  line-height: .98;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.contact-list { display: grid; gap: 8px; }

.contact-row {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(92px, .45fr) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #f4f4f4;
  color: #141414;
  text-decoration: none;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1), background-color 240ms cubic-bezier(.22, 1, .36, 1);
}

.contact-row span {
  color: rgba(20, 20, 20, .58);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.035em;
}

.contact-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-row i {
  font-size: 22px;
  font-style: normal;
  transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
}

.contact-row:hover { background: #ececea; transform: translateY(-2px); }
.contact-row:hover i { transform: translateX(4px); }
.contact-row:active { transform: translateY(0) scale(.995); }

.contacts-accent {
  min-height: 100%;
  padding: clamp(26px, 3.2vw, 50px);
  background: #bffe08;
  color: #141414;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 54px;
}

.contacts-accent > div { display: grid; gap: 20px; }
.contacts-accent p,
.contacts-brief__intro p {
  max-width: 510px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -.04em;
}

.contacts-accent__cta {
  width: fit-content;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 60px;
  background: #141414;
  color: #faf9fd;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.05em;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 220ms ease, transform 220ms cubic-bezier(.22, 1, .36, 1);
}

.contacts-accent__cta span { transition: transform 220ms cubic-bezier(.22, 1, .36, 1); }
.contacts-accent__cta:hover { filter: brightness(1.22); transform: translateY(-2px); }
.contacts-accent__cta:hover span { transform: translateX(4px); }
.contacts-accent__cta:active { transform: scale(.985); }

.contacts-brief {
  scroll-margin-top: 120px;
  padding: 10px;
  background: #141414;
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 10px;
}

.contacts-brief__intro,
.contacts-brief__form {
  min-width: 0;
  border-radius: 22px;
  padding: clamp(26px, 3.2vw, 48px);
}

.contacts-brief__intro {
  color: #faf9fd;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}

.contacts-brief__intro p { color: rgba(250, 249, 253, .64); }

.contacts-brief__form {
  min-height: 650px;
  overflow: visible;
  background: #fff;
  display: flex;
}

.contacts-form { min-height: 100%; }
.contacts-form .project-form__submit { margin-top: 12px; }
.contacts-form__success { min-height: 100%; }
.contacts-brief [hidden] { display: none !important; }

@media (max-width: 1000px) {
  .contacts-grid { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); }
  .contacts-brief { grid-template-columns: 1fr; }
  .contacts-brief__intro { min-height: 250px; }
}

@media (max-width: 760px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-panel,
  .contacts-accent,
  .contacts-brief { border-radius: 25px; }
  .contacts-accent { min-height: 360px; }
  .contacts-accent__cta { width: 100%; }
  .contacts-brief__form { min-height: 0; padding: 24px 14px; }
  .contacts-brief__intro { min-height: 230px; padding: 28px 22px; }
  .contacts-form .project-form__grid { grid-template-columns: 1fr; gap: 12px; }
  .contacts-form .project-field--full { grid-column: auto; }
  .contacts-form .project-field input,
  .contacts-form .project-field select,
  .contacts-form .project-select__trigger { height: 56px; font-size: 16px; }
  .contacts-form .project-field textarea,
  .contacts-form .project-select__option { font-size: 16px; }
  .contact-row { grid-template-columns: 1fr auto; min-height: 76px; gap: 5px 14px; }
  .contact-row span { grid-column: 1; }
  .contact-row strong { grid-column: 1; white-space: normal; }
  .contact-row i { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 430px) {
  .contacts-panel,
  .contacts-accent { padding: 22px; }
  .contacts-panel h2,
  .contacts-accent h2,
  .contacts-brief__intro h2 { font-size: clamp(32px, 10vw, 44px); }
  .contact-row { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-row,
  .contact-row i,
  .contacts-accent__cta,
  .contacts-accent__cta span { transition: none !important; }
}
