/* Section 9: Contact command center. */

.contact-command {
  overflow-x: clip;
  background: #020304;
  color: #fff;
  isolation: isolate;
}

.contact-command::before,
.contact-command::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.contact-command::before {
  z-index: 2;
  background:
    radial-gradient(circle at 82% 27%, rgba(233, 29, 37, 0.2), transparent 25%),
    radial-gradient(ellipse at 19% 38%, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.14) 45%, transparent 68%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0 35%, rgba(0, 0, 0, 0.54) 59%, rgba(0, 0, 0, 0.44) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 38%, rgba(0, 0, 0, 0.44) 100%);
}

.contact-command::after {
  z-index: 3;
  background:
    radial-gradient(circle at 33% 66%, rgba(233, 29, 37, 0.14), transparent 20%),
    radial-gradient(circle at 88% 52%, rgba(233, 29, 37, 0.18), transparent 28%);
  mix-blend-mode: screen;
  opacity: 0.75;
}

.contact-command__bg,
.contact-command__floor,
.contact-command__signal {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.contact-command__bg,
.contact-command__floor {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-command__bg {
  z-index: 0;
  opacity: 0.34;
  filter: brightness(0.58) contrast(1.1) saturate(0.86);
}

.contact-command__floor {
  z-index: 1;
  opacity: 0.9;
  object-position: center bottom;
}

.contact-command__signal {
  top: 210px;
  right: 0;
  z-index: 4;
  width: min(820px, 58vw);
  height: auto;
  opacity: 0.48;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(233, 29, 37, 0.28));
  animation: contactSignalDrift 10s ease-in-out infinite alternate;
}

.contact-command__stage {
  position: relative;
  z-index: 5;
  left: 50%;
  width: 1536px;
  height: 1024px;
  transform: translateX(-50%);
  transform-origin: top center;
}

@media (min-width: 1361px) and (max-height: 1010px) {
  .contact-command {
    min-height: 100vh;
  }

  .contact-command__stage {
    height: min(1024px, 100vh);
    transform: translateX(-50%) scale(0.93);
  }
}

@media (min-width: 1361px) and (max-height: 960px) {
  .contact-command__stage {
    transform: translateX(-50%) scale(0.88);
  }
}

.contact-command__brand {
  position: absolute;
  top: 39px;
  left: 42px;
  display: inline-flex;
  width: 193px;
}

.contact-command__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-command__copy {
  position: absolute;
  top: 178px;
  left: 56px;
  width: 445px;
}

.contact-command h2 {
  margin: 0 0 28px;
  font-family: var(--vl-display);
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.96;
}

.contact-command h2 > .contact-command__title-line {
  display: block;
  color: #fff;
}

.contact-command h2 .contact-command__title-line--accent {
  color: var(--vl-red-bright);
}

.contact-command__lead {
  width: 405px;
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 18px;
  line-height: 1.47;
}

.contact-command__routes {
  display: grid;
  gap: 16px;
  margin-top: 64px;
}

.contact-route {
  appearance: none;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 116px;
  padding: 20px 24px 20px 19px;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.contact-route__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.038);
  color: var(--vl-red-bright);
  font-size: 34px;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.015);
}

.contact-route .vl-card__title,
.contact-route .vl-card__text {
  display: block;
}

.contact-route .vl-card__title {
  font-size: 20px;
  line-height: 1.08;
}

.contact-route .vl-card__text {
  font-size: 15px;
  line-height: 1.38;
}

.contact-route__arrow {
  color: var(--vl-red-bright);
  font-size: 25px;
}

.contact-command__secure {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: 300px;
  margin: 60px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.52;
}

.contact-command__secure i {
  display: grid;
  place-items: center;
  width: 29px;
  height: 34px;
  color: var(--vl-red-bright);
  font-size: 28px;
}

.contact-command__right {
  position: absolute;
  top: 50px;
  left: 624px;
  width: 820px;
}

.contact-form {
  min-height: 712px;
  padding: 42px 48px 35px;
}

.contact-form::before {
  position: absolute;
  top: 100px;
  right: -160px;
  width: 620px;
  height: 210px;
  background: url("../../section-9-contact/via-logos-contact-command-center-assets/assets/sprites/contact_command_sprite_red_signal_lines_transparent.png?v=202606110318") center / contain no-repeat;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.contact-form__head,
.contact-form__grid,
.contact-field,
.contact-form__submit,
.contact-form__status {
  position: relative;
  z-index: 1;
}

.contact-form__head {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}

.contact-form__head-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  border: 1px solid rgba(233, 29, 37, 0.42);
  border-radius: 50%;
  background: rgba(233, 29, 37, 0.13);
  color: var(--vl-red-bright);
  font-size: 33px;
  box-shadow: 0 0 28px rgba(233, 29, 37, 0.17), inset 0 0 22px rgba(233, 29, 37, 0.08);
}

.contact-form__head .vl-card__title {
  font-size: 26px;
  line-height: 1.05;
}

.contact-form__head .vl-card__text {
  font-size: 15px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 25px;
}

.contact-field {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.contact-field b {
  color: var(--vl-red-bright);
}

.contact-field small {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
}

.contact-field--full {
  margin-top: 25px;
}

.contact-form__honeypot {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0.01;
}

.contact-field__control {
  position: relative;
  display: block;
  margin-top: 12px;
}

.contact-field__control > i {
  position: absolute;
  top: 50%;
  left: 19px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  transform: translateY(-50%);
  pointer-events: none;
}

.contact-field__control--textarea > i {
  top: 20px;
  transform: none;
}

.contact-field__control--select > i {
  right: 19px;
  left: auto;
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.23);
  color: #fff;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 18px 0 46px;
}

.contact-form select {
  appearance: none;
  padding-inline: 18px 48px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form textarea {
  min-height: 116px;
  padding: 15px 18px 32px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--vl-red-bright);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 4px rgba(233, 29, 37, 0.14);
}

.contact-form__count {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 500;
}

.contact-form__submit {
  margin-top: 25px;
  cursor: pointer;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  --vl-button-shadow: 0 24px 66px rgba(233, 29, 37, 0.36);
}

.contact-form__status {
  min-height: 18px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.contact-meeting {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) 244px;
  align-items: center;
  gap: 25px;
  min-height: 183px;
  margin-top: 25px;
  padding: 28px 47px 27px 25px;
}

.contact-meeting__pulse {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  color: #fff;
}

.contact-meeting__pulse img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: contactPulse 3s ease-in-out infinite;
}

.contact-meeting__pulse i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--vl-red-bright);
  font-size: 28px;
  box-shadow: 0 0 34px rgba(233, 29, 37, 0.8);
}

.contact-meeting__copy .vl-card__title {
  font-size: 25px;
  line-height: 1.05;
}

.contact-meeting__copy .vl-card__text {
  display: block;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.42;
}

.contact-meeting__link:hover,
.contact-meeting__link:focus-visible {
  --vl-button-fill-hover-bg: rgba(233, 29, 37, 0.88);
}

@media (max-width: 1560px) {
  .contact-command__stage {
      transform: translateX(-50%) scale(0.933);
    }
}

@media (max-width: 1480px) {
  .contact-command__stage {
      transform: translateX(-50%) scale(0.885);
    }
}

@media (max-width: 1360px) {
  .contact-command {
      padding: 48px;
    }

  .contact-command__signal {
      top: 250px;
      right: 0;
      width: min(820px, 100%);
      opacity: 0.32;
    }

  .contact-command__stage {
      left: auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 32px;
      width: min(100%, 1120px);
      height: auto;
      margin: 0 auto;
      transform: none;
    }

  .contact-command__brand,
    .contact-command__copy,
    .contact-command__right {
      position: relative;
      top: auto;
      left: auto;
      width: auto;
    }

  .contact-command__brand {
      width: 220px;
    }

  .contact-command__copy {
      max-width: 680px;
    }

  .contact-command__lead {
      width: auto;
      max-width: 560px;
    }

  .contact-command__routes {
      max-width: 560px;
    }

  .contact-command__right {
      max-width: 920px;
    }

  .contact-form {
      min-height: 0;
    }

  .contact-meeting {
      grid-template-columns: 126px minmax(0, 1fr) 220px;
      padding: 24px 30px 24px 22px;
    }

  .contact-meeting__pulse {
      width: 112px;
      height: 112px;
    }

  .contact-meeting__pulse i {
      width: 48px;
      height: 48px;
      font-size: 23px;
    }
}

@media (max-width: 1180px) {
  .contact-form__grid {
      grid-template-columns: minmax(0, 1fr);
    }

  .contact-meeting {
      grid-template-columns: 96px minmax(0, 1fr);
    }

  .contact-meeting__link {
      grid-column: 1 / -1;
      width: 100%;
    }
}

@media (max-width: 900px) {
  .contact-command {
      padding: 48px 24px 58px;
    }

  .contact-command__brand {
      width: 190px;
    }

  .contact-command h2 {
      font-size: clamp(48px, 13vw, 68px);
      letter-spacing: -1.7px;
    }

  .contact-command__lead {
      font-size: 16px;
    }

  .contact-route {
      grid-template-columns: 60px minmax(0, 1fr) 22px;
      gap: 16px;
      min-height: 104px;
      padding: 17px;
    }

  .contact-route__icon {
      width: 60px;
      height: 60px;
      font-size: 28px;
    }

  .contact-route .vl-card__title {
      font-size: 18px;
    }

  .contact-route .vl-card__text {
      font-size: 13.5px;
    }

  .contact-command__secure {
      width: auto;
      max-width: 340px;
    }

  .contact-form {
      padding: 28px 24px 26px;
    }

  .contact-form__head {
      align-items: flex-start;
      gap: 18px;
    }

  .contact-form__head-icon {
      width: 56px;
      height: 56px;
      font-size: 26px;
    }

  .contact-form__head .vl-card__title {
      font-size: 24px;
    }

  .contact-field--full {
      margin-top: 22px;
    }

  .contact-meeting {
      grid-template-columns: 82px minmax(0, 1fr);
      gap: 18px;
      padding: 22px;
    }

  .contact-meeting__pulse {
      width: 78px;
      height: 78px;
    }

  .contact-meeting__pulse i {
      width: 38px;
      height: 38px;
      font-size: 18px;
    }

  .contact-meeting__copy .vl-card__title {
      font-size: 22px;
    }
}

@media (max-width: 560px) {
  .contact-command__stage {
      gap: 28px;
    }

  .contact-command h2 {
      font-size: clamp(40px, 14vw, 54px);
    }

  .contact-route {
      grid-template-columns: 52px minmax(0, 1fr);
    }

  .contact-route__icon {
      width: 52px;
      height: 52px;
      font-size: 24px;
    }

  .contact-route__arrow {
      display: none;
    }

  .contact-form {
      padding: 24px 18px 22px;
    }

  .contact-form__head {
      display: grid;
    }

  .contact-form input,
    .contact-form select {
      height: 48px;
    }

  .contact-meeting {
      grid-template-columns: minmax(0, 1fr);
    }

  .contact-meeting__pulse {
      width: 92px;
      height: 92px;
    }

}
