html {
  scroll-behavior: smooth;
  --background: #ffffff;
  --foreground: #171717;
}

* {
  box-sizing: border-box;
}

h1 {
  font-family: "Montserrat";
  font-weight: 400;
  font-size: 62px;
  line-height: 1.2em;
  letter-spacing: -0.05em;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  font-family: "Inter";
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

.universal-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

ul {
  list-style-type: none;
}

.custom-phone-input .special-label {
  display: none !important;
}

.main-contacts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 48px 72px;
  max-width: 1200px;
  width: 100%;
}

.main-contacts-container > h2 {
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 56px;
}

.main-contacts__content {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  border-radius: 30px;
  padding: 60px 60px;
  gap: 40px;
}

.main-contacts__form {
  margin: 0 auto;
  max-width: 600px;
  padding: 30px;
  border-radius: 20px;
  background: #f4f4f4;
}

.main-contacts__form > span {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.main-contacts__illustration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  border-radius: 30px;
}

.accent-button,
.secondary-button {
  background-color: #212121;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  outline: 0;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-family: Inter;
  line-height: 14px;
  font-weight: 400;
  border: 1px solid transparent;
}

.accent-button:hover {
  background-color: #333333;
}
.accent-button:active {
  background-color: #444444;
}

.secondary-button {
  background-color: transparent;
  border: 1px solid #212121;
  color: #212121;
}

.secondary-button:hover {
  background-color: #dbdbdb;
}

.secondary-button:active {
  background-color: #c6c6c6;
}

@media (max-width: 748px) {
  .main-contacts-container {
    padding: 32px 24px 72px;
  }
}

@media (max-width: 480px) {
  .main-contacts-container {
    padding: 32px 0 72px;
  }

  .main-contacts-container > h2 {
    padding: 0 20px;
  }

  .main-contacts__content {
    padding: 20px;
    border-radius: 0;
  }

  .main-contacts__form {
    padding: 20px;
  }
}
