.segment-home-layout {
  background: #fff;
}

.segment-home-layout .topbar,
.segment-home-layout .hero,
.segment-home-layout .quick {
  display: none;
}

.segment-home-layout .nav {
  position: relative;
  border-bottom: 1px solid #eceff4;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .03);
}

.segment-home-layout .nav .wrap {
  width: min(1510px, calc(100% - 56px));
  min-height: 104px;
  grid-template-columns: 214px 1fr auto;
  gap: 34px;
}

.segment-home-layout .brand img {
  width: 150px;
}

.segment-home-layout .menu {
  gap: 36px;
  font-size: 17px;
  font-weight: 900;
}

.segment-home-layout .nav .btn-red {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 18px 32px rgba(227, 6, 19, .18);
}

.segment-home-layout .dev-modal,
.segment-home-layout .floating-contact {
  display: none !important;
}

.profile-gateway {
  padding: 68px 0 46px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.profile-gateway .wrap {
  width: min(1510px, calc(100% - 56px));
  max-width: 1510px;
}

.profile-title {
  max-width: 1000px;
  margin: 0 auto 38px;
  text-align: center;
}

.profile-title h2 {
  margin: 0;
  color: #05070b;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.03;
  letter-spacing: 0;
}

.profile-title h2 strong,
.profile-title h2 span {
  color: var(--red);
}

.profile-title p {
  max-width: 700px;
  margin: 24px auto 0;
  color: #536071;
  font-size: 22px;
  line-height: 1.45;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.profile-card {
  --accent: var(--red);
  min-height: 532px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8ebf1;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 6, 19, .34);
  box-shadow: 0 28px 64px rgba(15, 23, 42, .11);
}

.profile-art {
  position: relative;
  width: 100%;
  min-height: 245px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
}

.profile-art img {
  width: 100%;
  max-height: 248px;
  object-fit: contain;
}

.profile-art::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 72px;
  height: 72px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  border: 1px solid #edf0f5;
  box-shadow: 0 13px 24px rgba(15, 23, 42, .10);
}

.profile-card .profile-icon {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin-top: -74px;
  margin-bottom: 34px;
  color: var(--red);
}

.profile-card .profile-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-card strong {
  display: block;
  color: #070a10;
  font-size: 23px;
  line-height: 1.14;
}

.profile-card strong::after {
  content: "";
  width: 34px;
  height: 3px;
  margin: 14px auto 0;
  display: block;
  border-radius: 99px;
  background: var(--red);
}

.profile-card em {
  min-height: 68px;
  margin: 14px auto 24px;
  display: block;
  color: #4d586a;
  font-style: normal;
  font-size: 16px;
  line-height: 1.48;
}

.profile-card b {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--red);
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid var(--red);
  border-radius: 7px;
  background: #fff;
}

@media (max-width: 1180px) {
  .segment-home-layout .nav .wrap {
    grid-template-columns: 160px 1fr auto;
    gap: 22px;
  }

  .segment-home-layout .menu {
    gap: 18px;
    flex-wrap: wrap;
  }

  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .segment-home-layout .nav .wrap {
    width: min(100% - 28px, 1510px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
    min-height: 0;
  }

  .segment-home-layout .nav .btn-red {
    width: 100%;
  }

  .segment-home-layout .menu {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .profile-gateway .wrap {
    width: min(100% - 28px, 1510px);
  }

  .profile-gateway {
    padding-top: 42px;
  }

  .profile-title p {
    font-size: 18px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    min-height: 490px;
  }
}
