/* Начало блока: Первый экран корпоративного сайта */
.page-corporate-sites .dev-hero h1 {
  max-width: 940px;
}

.page-corporate-sites #structure,
.page-corporate-sites #process,
.page-corporate-sites #faq,
.page-corporate-sites #contact {
  scroll-margin-top: 104px;
}

.page-corporate-sites .section {
  padding-top: clamp(72px, 7vw, 100px);
  padding-bottom: clamp(72px, 7vw, 100px);
}

.corp-browser-canvas {
  min-height: 360px;
  padding: 34px;
}

.corp-system-map {
  position: relative;
  display: grid;
  min-height: 290px;
  place-items: center;
  border:
    1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

.corp-system-map::before,
.corp-system-map::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 140, 255, 0.55), transparent);
  content: "";
  transform: translate(-50%, -50%);
}

.corp-system-map::after {
  width: 1px;
  height: 78%;
  background: linear-gradient(transparent, rgba(86, 230, 255, 0.48), transparent);
}

.corp-system-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  border: 1px solid rgba(0, 140, 255, 0.36);
  border-radius: 43% 57% 55% 45% / 46% 42% 58% 54%;
  background:
    radial-gradient(circle at 68% 26%, rgba(0, 140, 255, 0.22), transparent 34%),
    #0b1117;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.34), 0 0 48px rgba(0, 140, 255, 0.14);
}

.corp-system-core small {
  align-self: end;
  color: var(--accent);
  font-size: 8px;
  font-weight: 820;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.corp-system-core strong {
  align-self: start;
  font-size: 18px;
  line-height: 1.04;
  letter-spacing: -0.05em;
  text-align: center;
}

.corp-node {
  position: absolute;
  z-index: 3;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #858e98;
  background: rgba(7, 9, 11, 0.82);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.corp-node::before {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(0, 140, 255, 0.62);
  content: "";
  transform: translateY(-50%);
}

.corp-node-one {
  top: 14%;
  left: 8%;
}

.corp-node-one::before,
.corp-node-three::before {
  right: -24px;
}

.corp-node-two {
  top: 18%;
  right: 7%;
}

.corp-node-two::before,
.corp-node-four::before {
  left: -24px;
}

.corp-node-three {
  bottom: 14%;
  left: 9%;
}

.corp-node-four {
  right: 8%;
  bottom: 17%;
}
/* Конец блока: Первый экран корпоративного сайта */

/* Начало блока: Архитектура корпоративного сайта */
.corp-structure {
  overflow: hidden;
}

.corp-structure::before {
  position: absolute;
  right: -10%;
  bottom: 4%;
  width: 40vw;
  height: 40vw;
  border: 1px dashed rgba(0, 140, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.corp-architecture {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr repeat(2, 0.91fr);
  gap: 14px;
  margin-top: clamp(42px, 5vw, 70px);
}

.corp-architecture::before {
  position: absolute;
  top: -30px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 140, 255, 0.03));
  content: "";
}

.corp-architecture article {
  position: relative;
  display: flex;
  min-height: 196px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--dev-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 26px 70px rgba(35, 58, 75, 0.055);
}

.corp-architecture article::before {
  position: absolute;
  right: -20%;
  bottom: -34%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 140, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.corp-architecture-core {
  grid-row: span 2;
  min-height: 406px !important;
  color: white;
  background:
    radial-gradient(circle at 70% 25%, rgba(0, 140, 255, 0.2), transparent 32%),
    var(--dev-ink) !important;
  box-shadow: 0 34px 90px rgba(7, 17, 26, 0.18) !important;
}

.corp-architecture article:nth-child(4) {
  grid-column: 2 / 4;
}

.corp-architecture span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.corp-architecture h3 {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 38px 0 15px;
  font-size: clamp(27px, 2.6vw, 40px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.corp-architecture-core h3 {
  margin-top: 82px;
  font-size: clamp(38px, 3.8vw, 58px);
}

.corp-architecture-atom {
  position: absolute;
  top: 68px;
  left: 50%;
  width: 150px;
  height: 108px;
  opacity: 0.72;
  transform: translateX(-50%);
}

.corp-atom-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142px;
  height: 52px;
  border: 1px solid rgba(0, 140, 255, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.corp-atom-orbit::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #56e6ff;
  box-shadow: 0 0 14px rgba(86, 230, 255, 0.72);
  content: "";
  transform: translateY(-50%);
}

.corp-atom-orbit-two {
  transform: translate(-50%, -50%) rotate(60deg);
}

.corp-atom-orbit-three {
  transform: translate(-50%, -50%) rotate(-60deg);
}

.corp-atom-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(0, 140, 255, 0.8);
  transform: translate(-50%, -50%);
}

.corp-architecture p {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0;
  color: var(--dev-muted);
  font-size: 14px;
  line-height: 1.68;
}

.corp-architecture-core p {
  color: var(--muted);
}

.corp-architecture i {
  position: absolute;
  top: 34px;
  right: 34px;
  color: #8c98a3;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Конец блока: Архитектура корпоративного сайта */

/* Начало блока: Компактная форма корпоративного сайта */
.page-corporate-sites .contact-layout {
  grid-template-columns: minmax(390px, 0.95fr) minmax(520px, 1.05fr);
  gap: clamp(54px, 6vw, 96px);
}

.page-corporate-sites .contact-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(44px, 4.5vw, 70px);
  line-height: 0.95;
}

.page-corporate-sites .contact-copy > p:not(.eyebrow) {
  line-height: 1.55;
}

.page-corporate-sites .contact-direct {
  margin-top: 24px;
}

.page-corporate-sites .contact-form {
  gap: 14px;
  padding: clamp(24px, 2.8vw, 36px);
}

.page-corporate-sites .contact-form label {
  gap: 7px;
}

.page-corporate-sites .contact-form input:not([type="checkbox"]) {
  height: 50px;
}

.page-corporate-sites .contact-form textarea {
  min-height: 108px;
}
/* Конец блока: Компактная форма корпоративного сайта */

/* Начало блока: Срок и стоимость */
.corp-scope {
  overflow: hidden;
}

.corp-scope-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.55fr);
  align-items: end;
  gap: clamp(48px, 8vw, 130px);
}

.corp-scope-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.corp-scope-heading > p {
  margin: 0 0 7px;
  color: var(--dev-muted);
  font-size: 16px;
  line-height: 1.72;
}

.corp-scope-system {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(58px, 7vw, 95px);
}

.corp-scope-system::before {
  position: absolute;
  top: -30px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
}

.corp-scope-system article {
  position: relative;
  min-height: 310px;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid var(--dev-line);
  border-radius: 27px;
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 140, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.72);
}

.corp-scope-system article::after {
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px dashed rgba(0, 140, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.corp-scope-system span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.corp-scope-system h3 {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 75px 0 18px;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.057em;
}

.corp-scope-system p {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0;
  color: var(--dev-muted);
  font-size: 14px;
  line-height: 1.7;
}
/* Конец блока: Срок и стоимость */

/* Начало блока: Адаптивность */
@media (max-width: 1180px) {
  

  .corp-browser-canvas {
    min-height: 310px;
    padding: 26px;
  }

  .corp-system-map {
    min-height: 258px;
  }
}

@media (max-width: 900px) {
  .page-corporate-sites .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .corp-architecture-core {
    grid-row: auto;
    grid-column: 1 / 3;
    min-height: 390px !important;
  }

  .corp-architecture article:nth-child(4) {
    grid-column: 1 / 3;
  }

  .corp-scope-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  

  .corp-browser-canvas {
    min-height: 300px;
    padding: 18px;
  }

  .corp-system-map {
    min-height: 264px;
  }

  .corp-system-core {
    width: 132px;
    height: 132px;
  }

  .corp-node {
    padding: 7px 9px;
    font-size: 6px;
  }

  .corp-node-one,
  .corp-node-three {
    left: 4%;
  }

  .corp-node-two,
  .corp-node-four {
    right: 4%;
  }

  .corp-architecture,
  .corp-scope-system {
    grid-template-columns: 1fr;
  }

  .corp-architecture-core,
  .corp-architecture article:nth-child(4) {
    grid-column: 1;
    min-height: 320px !important;
  }

  .corp-architecture article {
    min-height: 196px;
  }

  .corp-architecture-core h3 {
    margin-top: 78px;
  }

  .corp-architecture-atom {
    top: 60px;
    transform: translateX(-50%) scale(0.86);
  }

  .corp-scope-system article {
    min-height: 285px;
  }
}

@media (max-height: 800px) and (min-width: 901px) {
  

  .page-corporate-sites .dev-hero-lead {
    margin-top: 20px;
  }

  .page-corporate-sites .dev-hero-actions {
    margin-top: 25px;
  }

  .corp-browser-canvas {
    min-height: 280px;
    padding: 24px;
  }

  .corp-system-map {
    min-height: 232px;
  }

  .corp-system-core {
    width: 132px;
    height: 132px;
  }
}
/* Конец блока: Адаптивность */
