body.service-popup-open {
  overflow: hidden;
}

.service-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.service-popup.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 31, 0.72);
  backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.28s ease;
}

.service-popup.is-active .service-popup__overlay {
  opacity: 1;
  backdrop-filter: blur(6px);
}

.service-popup__content {
  position: relative;
  z-index: 2;

  /* was: width: min(920px, 100%); */
  width: min(1100px, calc(100% - 40px));

  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);

  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-popup.is-active .service-popup__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-popup.is-closing .service-popup__content {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.service-popup.is-closing .service-popup__overlay {
  opacity: 0;
  backdrop-filter: blur(0);
}

.service-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #08243f;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(8, 36, 63, 0.18);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.service-popup__close:hover {
  transform: rotate(90deg) scale(1.05);
  background: #f3f7fa;
}

.service-popup__image {
  min-height: 430px;
  background: #ddeaf3;
}

.service-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-popup__text {
  padding: 60px 44px;
}

.service-popup__text h3 {
  margin-bottom: 12px;
  color: #08243f;
  font-size: 34px;
  line-height: 1.15;
}

.service-popup__text h4 {
  position: relative;
  display: inline-block;
  margin-bottom: 34px;
  padding-bottom: 18px;
  color: #0877c9;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.service-popup__text h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: #0877c9;
  opacity: 0.35;
}

.service-popup__text p {
  margin-top: 0;
  color: #526173;
  font-size: 16px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .service-popup__content {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .service-popup__image {
    min-height: 260px;
  }

  .service-popup__text {
    padding: 34px 24px;
  }

  .service-popup__text h3 {
    font-size: 28px;
  }

  .service-popup__text h4 {
    margin-bottom: 28px;
    padding-bottom: 14px;
    font-size: 16px;
  }

  .service-popup__text p {
    font-size: 15px;
    line-height: 1.75;
  }
}

body.portfolio-popup-open {
  overflow: hidden;
}

.portfolio-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.portfolio-popup.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 31, 0.72);
  backdrop-filter: blur(0);
  opacity: 0;
  transition:
    opacity 0.28s ease,
    backdrop-filter 0.28s ease;
}

.portfolio-popup.is-active .portfolio-popup__overlay {
  opacity: 1;
  backdrop-filter: blur(6px);
}

.portfolio-popup__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 40px));
  max-height: 90vh;
  overflow: hidden;

  display: grid;
  grid-template-columns: 0.9fr 1.2fr;

  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);

  opacity: 0;
  transform: translateY(28px) scale(0.94);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-popup.is-active .portfolio-popup__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-popup.is-closing .portfolio-popup__content {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.portfolio-popup.is-closing .portfolio-popup__overlay {
  opacity: 0;
  backdrop-filter: blur(0);
}

.portfolio-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #08243f;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(8, 36, 63, 0.18);
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.portfolio-popup__close:hover {
  transform: rotate(90deg) scale(1.05);
  background: #f3f7fa;
}

.portfolio-popup__image {
  min-height: 500px;
  background: #ddeaf3;
}

.portfolio-popup__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-popup__text {
  padding: 56px 44px;
  overflow-y: auto;
}

.portfolio-popup__text h3 {
  margin-bottom: 14px;
  color: #08243f;
  font-size: 34px;
  line-height: 1.15;
}

.portfolio-popup__text > p {
  margin-bottom: 30px;
  color: #526173;
  font-size: 16px;
  line-height: 1.75;
}

.portfolio-popup__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-popup__features li {
  padding: 18px;
  border-radius: 18px;
  background: #f4f8fb;
  border: 1px solid rgba(8, 36, 63, 0.08);
}

.portfolio-popup__features h4 {
  margin-bottom: 8px;
  color: #0877c9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-popup__features p {
  margin: 0;
  color: #08243f;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

@media (max-width: 900px) {
  .portfolio-popup__content {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .portfolio-popup__image {
    min-height: 260px;
  }

  .portfolio-popup__text {
    padding: 34px 24px;
  }

  .portfolio-popup__text h3 {
    font-size: 28px;
  }

  .portfolio-popup__features {
    grid-template-columns: 1fr;
  }
}

.owner-section {
  padding: 90px 0;
  background: #f6f9fc;
}

.owner-section__row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.owner-section__row--reverse .owner-section__content {
  order: 1;
}

.owner-section__row--reverse .owner-section__media {
  order: 2;
}

/* Text */

.owner-section__content {
  max-width: 760px;
}

.owner-section__content h2 {
  margin: 0 0 12px;
  color: #08243f;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.owner-section__content h3 {
  margin: 0 0 10px;
  color: #0877c9;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 800;
}

.owner-section__position {
  display: block;
  margin-bottom: 24px;
  color: #526173;
  font-size: 15px;
  font-weight: 700;
}

.owner-section__description {
  margin-bottom: 28px;
  color: #526173;
  font-size: 16px;
  line-height: 1.85;
}

.owner-section__description p {
  margin: 0;
}

.owner-section__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 999px;
  background: #0877c9;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: 0.25s ease;
}

.owner-section__linkedin i {
  font-size: 18px;
}

.owner-section__linkedin:hover {
  background: #065e9f;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Photos */

.owner-section__media {
  position: relative;
  min-height: 560px;
}

.owner-section__photo-main {
  width: 82%;
  height: 500px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 28px;
  background: #dceaf3;
  box-shadow: 0 24px 60px rgba(8, 36, 63, 0.14);
}

.owner-section__photo-main img,
.owner-section__photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-section__photo-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48%;
  height: 260px;
  overflow: hidden;
  border: 10px solid #f6f9fc;
  border-radius: 24px;
  background: #dceaf3;
  box-shadow: 0 20px 45px rgba(8, 36, 63, 0.16);
}

/* Responsive */

@media (max-width: 991px) {
  .owner-section {
    padding: 70px 0;
  }

  .owner-section__row {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .owner-section__row--reverse .owner-section__content {
    order: 2;
  }

  .owner-section__row--reverse .owner-section__media {
    order: 1;
  }

  .owner-section__media {
    min-height: 500px;
  }

  .owner-section__photo-main {
    height: 440px;
  }

  .owner-section__photo-small {
    height: 220px;
  }
}

@media (max-width: 575px) {
  .owner-section {
    padding: 55px 0;
  }

  .owner-section__media {
    min-height: 410px;
  }

  .owner-section__photo-main {
    width: 88%;
    height: 360px;
    border-radius: 22px;
  }

  .owner-section__photo-small {
    width: 50%;
    height: 170px;
    border-width: 7px;
    border-radius: 18px;
  }

  .owner-section__content h2 {
    font-size: 34px;
  }

  .owner-section__content h3 {
    font-size: 23px;
  }

  .owner-section__description {
    font-size: 15px;
    line-height: 1.8;
  }
}

.contact-info-section {
  padding: 95px 0;
  background: #ffffff;
}

.contact-info-section__box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(135deg, #08243f 0%, #0b3f68 100%);
  box-shadow: 0 28px 80px rgba(8, 36, 63, 0.18);
}

.contact-info-section__box::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.contact-info-section__box::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(8, 119, 201, 0.25);
}

.contact-info-section__content,
.contact-info-section__cards {
  position: relative;
  z-index: 2;
}

.contact-info-section__pretitle {
  display: inline-block;
  margin-bottom: 14px;
  color: #70c7ff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-info-section__content h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-info-section__content p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.8;
}

.contact-info-section__cards {
  display: grid;
  gap: 16px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.contact-info-card:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.contact-info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(112, 199, 255, 0.16);
  color: #70c7ff;
  font-size: 22px;
}

.contact-info-card__text small {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.contact-info-card__text strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 800;
}

.contact-info-card__arrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  transition: 0.25s ease;
}

.contact-info-card:hover .contact-info-card__arrow {
  transform: translate(2px, -2px);
  color: #70c7ff;
}

@media (max-width: 991px) {
  .contact-info-section {
    padding: 70px 0;
  }

  .contact-info-section__box {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 38px;
  }
}

@media (max-width: 575px) {
  .contact-info-section {
    padding: 55px 0;
  }

  .contact-info-section__box {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .contact-info-section__content h2 {
    font-size: 34px;
  }

  .contact-info-card {
    grid-template-columns: 48px 1fr;
    min-height: auto;
    padding: 16px;
  }

  .contact-info-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
  }

  .contact-info-card__arrow {
    display: none;
  }

  .contact-info-card__text strong {
    font-size: 15px;
  }
}

.contact-info-section__action {
  margin-top: 22px;
}

.contact-info-section__modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #70c7ff;
  color: #08243f;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-info-section__modal-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

body.contact-modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.contact-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(8, 119, 201, 0.22),
      transparent 32%
    ),
    rgba(3, 16, 28, 0.78);
  backdrop-filter: blur(8px);
}

.contact-modal__box {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 40px));
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal.is-active .contact-modal__box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-modal.is-closing .contact-modal__box {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 36, 63, 0.08);
  border-radius: 50%;
  background: #ffffff;
  color: #08243f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(8, 36, 63, 0.14);
  transition: 0.22s ease;
}

.contact-modal__close:hover {
  transform: rotate(90deg);
  background: #f5f8fb;
}

/* Left side */

.contact-modal__side {
  position: relative;
  overflow: hidden;
  padding: 58px 44px;
  background: linear-gradient(
    145deg,
    #061f37 0%,
    #08243f 52%,
    #0b3f68 100%
  );
  color: #ffffff;
}

.contact-modal__side::before {
  content: "";
  position: absolute;
  right: -130px;
  top: -120px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(112, 199, 255, 0.12);
}

.contact-modal__side::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.contact-modal__side > * {
  position: relative;
  z-index: 2;
}

.contact-modal__pretitle {
  display: inline-block;
  margin-bottom: 18px;
  color: #70c7ff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-modal__side h2 {
  max-width: 380px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.contact-modal__side p {
  max-width: 410px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.8;
}

.contact-modal__alternatives {
  display: grid;
  gap: 12px;
}

.contact-modal__alternatives a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 14px 8px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.105);
  color: #ffffff;
  text-decoration: none;
  transition: 0.25s ease;
}

.contact-modal__alternatives a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(3px);
}

.contact-modal__alternatives i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(112, 199, 255, 0.14);
  color: #70c7ff;
  font-size: 18px;
}

.contact-modal__alternatives span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

/* Form side */

.contact-modal__form-side {
  position: relative;
  padding: 58px 46px;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.contact-modal__form {
  position: relative;
}

.contact-modal__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 14px;
}

.contact-modal__full {
  grid-column: 1 / -1;
}

.contact-modal__form .form-group {
  margin: 0;
}

.contact-modal__label {
  display: block;
  margin-bottom: 8px;
  color: #08243f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.contact-modal__input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(8, 36, 63, 0.12);
  border-radius: 14px;
  background: #f7fafc;
  color: #08243f;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-modal__input::placeholder {
  color: rgba(82, 97, 115, 0.62);
  font-weight: 500;
}

textarea.contact-modal__input {
  height: auto;
  min-height: 126px;
  padding-top: 15px;
  resize: vertical;
  line-height: 1.55;
}

.contact-modal__select {
  cursor: pointer;
}

.contact-modal__input:focus {
  border-color: #0877c9;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(8, 119, 201, 0.08);
}

.contact-modal__form .has-error .contact-modal__input {
  border-color: #d93025;
  background: #fffafa;
}

.contact-modal__error {
  display: block;
  min-height: 17px;
  margin-top: 6px;
  color: #d93025;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-modal__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: #08243f;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(8, 36, 63, 0.18);
  transition: 0.25s ease;
}

.contact-modal__submit:hover {
  background: #0877c9;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(8, 119, 201, 0.24);
}

.contact-modal__submit:disabled {
  cursor: not-allowed;
  transform: none;
  opacity: 0.8;
}

.contact-modal__loader {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  animation: contactSpin 0.8s linear infinite;
}

.contact-modal__loader.is-active {
  opacity: 1;
}

@keyframes contactSpin {
  to {
    transform: rotate(360deg);
  }
}

.contact-modal__result {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
}

.contact-modal__result.is-error {
  color: #d93025;
}

/* Success */

.contact-modal__success {
  display: none;
  padding: 54px 20px;
  text-align: center;
}

.contact-modal__success.is-active {
  display: block;
}

.contact-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(8, 119, 201, 0.1);
  color: #0877c9;
  font-size: 34px;
}

.contact-modal__success h3 {
  margin: 0 0 10px;
  color: #08243f;
  font-size: 32px;
  line-height: 1.1;
}

.contact-modal__success p {
  max-width: 420px;
  margin: 0 auto;
  color: #526173;
  font-size: 16px;
  line-height: 1.65;
}

/* Responsive */

@media (max-width: 991px) {
  .contact-modal__box {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .contact-modal__side,
  .contact-modal__form-side {
    padding: 40px 30px;
  }

  .contact-modal__side h2,
  .contact-modal__side p {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .contact-modal {
    padding: 12px;
  }

  .contact-modal__box {
    width: 100%;
    border-radius: 22px;
  }

  .contact-modal__side,
  .contact-modal__form-side {
    padding: 32px 20px;
  }

  .contact-modal__side h2 {
    font-size: 30px;
  }

  .contact-modal__fields {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .contact-modal__submit {
    width: 100%;
  }

  .contact-modal__close {
    top: 12px;
    right: 12px;
  }
}
