/* Illustrations and photo treatments added after the initial layout. */
.brand-mark {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #eaf8ff;
}
.brand-mark img { display: block; width: 100%; height: 100%; }
.nav-square { background: #f4faff; }
.nav-square svg { opacity: 1; width: 25px; height: 25px; }
.nav-square.outline { background: #fff; }

.hero-portrait { margin-top: clamp(150px, 18vw, 280px); }
.hero-facts { margin-bottom: 145px; }
.fact-icon { background: #f5fbff; color: #168ddd; }

.service-picture { background: #e2f3ff; }
.service-picture > img {
  opacity: 1;
  object-position: center 46%;
  display: block;
}
.picture-label { border: 1px solid #dfedf6; }
.service-details > div > svg {
  box-sizing: content-box;
  padding: 12px;
  background: #edf8ff;
  border-radius: 14px;
  width: 26px;
  height: 26px;
}

.steps { padding-top: 115px; }
.step-message,
.step-document { background: radial-gradient(circle at 50% 35%, #f0f9ff 0, #fff 52%); }
.message-art { height: 360px; }
.chat-photo {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  width: 255px;
  height: 285px;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 34px;
  background: #d5efff;
  box-shadow: 0 23px 43px rgba(19, 86, 133, .19);
}
.chat-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.message-art .bubble-left { top: 88px; left: 2%; z-index: 1; }
.message-art .bubble-right { top: 197px; right: 2%; z-index: 1; color: #557993; }

.step-document .step-art { height: 390px; position: relative; }
.document-visual {
  position: absolute;
  left: 50%;
  top: 25px;
  width: 390px;
  height: 265px;
  transform: translateX(-50%) rotate(-5deg);
  border-radius: 48px;
  background: linear-gradient(135deg, #dff4ff, #afdfff);
  box-shadow: 0 20px 35px rgba(20, 104, 161, .12);
}
.document-visual::before,
.document-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(28, 148, 220, .3);
}
.document-visual::before { width: 24px; height: 24px; top: -26px; right: -35px; }
.document-visual::after { width: 10px; height: 10px; bottom: -30px; left: -20px; }
.document-card {
  position: absolute;
  left: 30px;
  top: 35px;
  width: 365px;
  height: 224px;
  transform: rotate(7deg);
  border: 1px solid #d9ebf7;
  border-radius: 27px;
  background: #fff;
  box-shadow: 0 24px 38px rgba(24, 78, 119, .18);
}
.document-card::before {
  content: "ILXOMJON AVTOMUALLIM";
  position: absolute;
  top: 21px;
  left: 25px;
  color: #087fd2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.document-photo {
  position: absolute;
  left: 25px;
  top: 60px;
  width: 110px;
  height: 132px;
  overflow: hidden;
  border-radius: 17px;
  background: #dcf1ff;
}
.document-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.document-lines { position: absolute; left: 160px; top: 78px; display: grid; gap: 19px; }
.document-lines i { display: block; width: 150px; height: 11px; border-radius: 20px; background: #d7e9f5; }
.document-lines i:nth-child(2) { width: 120px; }
.document-lines i:nth-child(3) { width: 86px; }
.document-seal {
  position: absolute;
  right: 25px;
  bottom: 20px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #168cdb;
}
.document-seal svg { width: 31px; height: 31px; }
.step-document .floating-icon { top: 62px; right: 17%; }

.group { padding: 180px 0 220px; }
.faq { padding: 115px 0 180px; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr);
  gap: 48px;
  align-items: center;
  padding: 50px 35px 125px;
}
.contact h2 { font-size: clamp(43px, 4.4vw, 65px); }
.contact-copy > p:not(.eyebrow) { color: #7693aa; font-size: 17px; max-width: 620px; }
.contact-photo {
  height: 425px;
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 40px;
  background: #dbf0ff;
  box-shadow: 0 25px 50px rgba(17, 74, 112, .16);
  transform: rotate(2deg);
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.site-footer { min-height: 225px; }

@media (max-width: 900px) {
  .hero-portrait { margin-top: 175px; }
  .steps { padding-top: 85px; }
  .contact { grid-template-columns: 1fr; padding: 35px 20px 105px; gap: 20px; }
  .contact-photo { height: 380px; width: min(100%, 620px); margin-inline: auto; }
}
@media (max-width: 600px) {
  .nav-square svg { width: 18px; height: 18px; }
  .hero-portrait { margin-top: 130px; }
  .hero-facts { margin-bottom: 90px; }
  .service-picture > img { object-position: center 38%; }
  .steps { padding-top: 65px; }
  .step-message { min-height: 465px; }
  .message-art { height: 280px; }
  .chat-photo { width: 137px; height: 160px; top: 35px; border-width: 5px; border-radius: 22px; }
  .message-art .bubble-left { top: 4px; left: 0; max-width: 165px; }
  .message-art .bubble-right { top: 202px; right: 0; }
  .step-document .step-art { height: 270px; }
  .document-visual { width: 230px; height: 165px; top: 22px; border-radius: 27px; }
  .document-card { left: 15px; top: 20px; width: 225px; height: 145px; border-radius: 18px; }
  .document-card::before { top: 13px; left: 14px; font-size: 6px; }
  .document-photo { left: 14px; top: 37px; width: 68px; height: 90px; border-radius: 10px; }
  .document-lines { left: 100px; top: 51px; gap: 12px; }
  .document-lines i { width: 90px; height: 7px; }
  .document-lines i:nth-child(2) { width: 70px; }
  .document-lines i:nth-child(3) { width: 52px; }
  .document-seal { width: 30px; height: 30px; right: 13px; bottom: 10px; }
  .document-seal svg { width: 20px; height: 20px; }
  .step-document .floating-icon { top: 65px; right: 0; }
  .group { padding: 130px 0 135px; }
  .faq { padding: 65px 0 110px; }
  .contact { padding: 10px 5px 85px; }
  .contact h2 { font-size: clamp(34px, 9vw, 47px); }
  .contact-copy > p:not(.eyebrow) { font-size: 13px; }
  .contact-photo { height: 275px; border-width: 6px; border-radius: 26px; }
  .site-footer { min-height: 175px; }
}
