.contact {
  margin-bottom: 120px;
}

.contact > .container {
  padding-top: 120px;
}

.contact__content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0 20px;
}

.contact__info > .footer__contact {
  color: #1d183b;
  font-size: 24px;
  font-weight: 500;
}

.contact__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.contact__info-img {
  margin-bottom: 40px;
}

.footer__contact-subtitle {
  margin: 0 0 40px 0;
}

.contact__group {
  margin-bottom: 40px;
  width: 100%;
  padding-right: 20px;
}

.contact__input {
  border: none;
  border-bottom: 1px solid #1d183b;
  color: #1d183b;
  background: transparent;
  width: 100%;
  height: 37px;
  font-size: 24px;
  font-weight: 500;
}

.contact__input::placeholder {
  font-size: 24px;
  font-weight: 500;
  color: #a0a0a0; 
  opacity: 1; /* Это сделает текст бледным (40% яркости) */
}

.contact__button {
  width: fit-content;
  height: 65px;
  padding: 0 40px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact__checkbox {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 0 9px;
  font-size: 20px;
}

.contact__checkbox a {
  border-bottom: 1px solid #1d183b;
}

.contact__checkbox-input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.contact__checkbox-input p {
  line-height: 1;
}

.contact__checkbox-label {
  line-height: 1;
}

/*  Popup на странице Contact*/
.popup {
  display: none;
  max-width: 784px;
  width: 100%;
  height: min-content;
  background: #fff;
  color: #1d183b;
  padding: 34px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s;
  -moz-transition: opacity 0.3s ease, visibility 0.3s;
  -ms-transition: opacity 0.3s ease, visibility 0.3s;
  -o-transition: opacity 0.3s ease, visibility 0.3s;
}

.popup.show {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 1;
  visibility: visible;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  filter: drop-shadow(5px 6px 100rem black);
  -webkit-filter: drop-shadow(5px 6px 100rem black);
}

.popup p {
  font-size: 20px;
}

.popup p:nth-child(3) {
  margin: 15px 0;
}

.popup__text {
  text-transform: uppercase;
  font-size: 32px;
  color: #1d183b;
  margin-bottom: 25px;
}

.popup__close-btn {
  width: 138px;
  height: 46px;
  font-size: 20px;
  font-weight: 700;
}
/* Стили для тройного инпута габаритов */
.contact__dimensions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.contact__dimensions .contact__input {
  text-align: center; /* Текст (буквы L, W, H) по центру ячейки */
  padding: 0 5px;
}

.contact__dimensions-sep {
  font-size: 20px;
  color: #1d183b;
  opacity: 0.6;
}

/* Убираем стрелочки у инпутов типа number */
.contact__dimensions input[type="number"]::-webkit-outer-spin-button,
.contact__dimensions input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.contact__dimensions input[type="number"] {
  -moz-appearance: textfield;
}