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

.contacts-page {
  padding: 104px 0 104px;
}

.contacts__box {
  background: linear-gradient(150deg, #eef5fb 0%, #dce9f5 55%, #d0e2f2 100%);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.contacts__title {
  font-family: 'Abril Fatface', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0d2640;
  margin: 0 0 32px;
}

.contacts__company {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 28px;
}

.contacts__company-name {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0d2640;
  margin: 0 0 10px !important;
  line-height: 1.2;
}

.contacts__company p {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a3050;
  margin: 0;
  line-height: 1.6;
}

.contacts__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #0d2640;
  text-decoration: none;
  transition: color 180ms ease;
}

.contacts__link svg { flex-shrink: 0; color: #0d2640; }
.contacts__link:hover { color: #3a7cc5; }

.contacts__intro {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #1a3050;
  margin: 0 0 24px;
}

.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contacts__field { margin: 0; }

.contacts__field input[type="text"],
.contacts__field input[type="tel"],
.contacts__field input[type="email"] {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: none;
  background: #ffffff;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #0d2640;
  outline: none;
}

.contacts__field textarea {
  width: 100%;
  min-height: 100px;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: #ffffff;
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #0d2640;
  outline: none;
  resize: vertical;
}

.contacts__field input::placeholder,
.contacts__field textarea::placeholder {
  color: rgba(13,38,64,.35);
}

.contacts__field input:focus,
.contacts__field textarea:focus {
  box-shadow: 0 0 0 2px rgba(13,38,64,.12);
}

.contacts__note {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #1a3050;
  margin: 0;
}

.contacts__note a {
  color: #0d2640;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts__btn {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 14px;
  background: rgba(140, 185, 230, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #0d2640;
  cursor: pointer;
  transition: background 180ms ease;
}

.contacts__btn:hover {
  background: rgba(140, 185, 230, 0.9);
}

.contacts__errors {
  background: rgba(226, 75, 74, 0.1);
  border: 1px solid rgba(226, 75, 74, 0.3);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 4px;
}

.contacts__errors p {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 13px;
  color: #a32d2d;
  margin: 0;
}

.contacts__success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 40px 0;
}

.contacts__success h3 {
  font-family: 'Abril Fatface', serif;
  font-size: 24px;
  font-weight: 400;
  color: #0d2640;
  margin: 0;
}

.contacts__success p {
  font-family: 'Noto Sans', system-ui, sans-serif;
  font-size: 14px;
  color: rgba(13,38,64,.5);
  margin: 0;
}

@media (max-width: 860px) {
  .contacts__box {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .contacts-page {
    padding: 48px 0 48px;
  }

  .contacts__box {
    border-radius: 18px;
    padding: 28px 20px;
  }

  .contacts__title {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 24px;
  }

  .contacts__field input[type="text"],
  .contacts__field input[type="tel"],
  .contacts__field input[type="email"] {
    height: 46px;
    border-radius: 12px;
  }

  .contacts__field textarea {
    border-radius: 12px;
  }

  .contacts__btn {
    height: 48px;
    border-radius: 12px;
  }
}