.work-page {
  background: #041918;
  color: #fff;
}

.work-page .container {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
}

/* HERO */
.work-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 24%, rgba(29,161,255,.18), transparent 32%),
    radial-gradient(circle at 8% 70%, rgba(85,214,234,.08), transparent 34%),
    linear-gradient(135deg,#041918 0%,#07131d 100%);
}

.work-hero__grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 70px;
  align-items: center;
}

.work-label,
.work-section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #55d6ea;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.work-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.045em;
}

.work-hero p {
  max-width: 650px;
  margin: 0;
  color: rgba(243,244,244,.78);
  font-size: 18px;
  line-height: 1.7;
}

.work-hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.work-hero__features div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
}

.work-hero__features strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
}

.work-hero__features span {
  display: block;
  color: rgba(243,244,244,.68);
  font-size: 14px;
  line-height: 1.5;
}

.work-hero__visual {
  display: flex;
  justify-content: center;
}

.work-screen {
  width: 100%;
  max-width: 440px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.work-screen span {
  display: block;
  max-width: 300px;
  color: #fff;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -.03em;
}

.work-screen__chart {
  height: 190px;
  margin-top: 28px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, transparent 12%, rgba(85,214,234,.5) 13%, transparent 15%),
    linear-gradient(180deg, rgba(85,214,234,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.08);
}

/* FORM */
.work-form-section {
  padding: 48px 0 95px;
}

.work-form {
  max-width: 1100px !important;
  margin: 0 auto;
  padding: 44px ;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

/* STEPS */
.work-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.work-steps div {
  position: relative;
  text-align: center;
  color: rgba(255,255,255,.45);
}

.work-steps div::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 30px);
  width: calc(100% - 60px);
  height: 1px;
  background: rgba(255,255,255,.18);
}

.work-steps div:last-child::after {
  display: none;
}

.work-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-weight: 400;
}

.work-steps .is-active {
  color: #fff;
}

.work-steps .is-active span {
  background: #104959;
  border-color: rgba(85,214,234,.7);
  box-shadow: 0 0 0 5px rgba(85,214,234,.1);
}

.work-steps small {
  display: block;
  font-size: 13px;
}

/* PANELS */
.work-step-panel {
  display: none;
}

.work-step-panel.is-active {
  display: block;
  animation: workFadeIn .28s ease both;
}

@keyframes workFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.work-form label,
.work-field p {
  display: block;
  margin: 0 0 18px;
  color: #fff;
  font-weight: 400;
  font-size: 15px;
}

.work-form input[type="text"],
.work-form input[type="email"],
.work-form input[type="url"],
.work-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.045);
  color: #fff;
  outline: none;
  font: inherit;
  box-sizing: border-box;
}

.work-form input::placeholder,
.work-form textarea::placeholder {
  color: rgba(255,255,255,.38);
}

.work-form textarea {
  min-height: 120px;
  resize: vertical;
}

.work-form input:focus,
.work-form textarea:focus {
  border-color: rgba(85,214,234,.7);
  box-shadow: 0 0 0 3px rgba(85,214,234,.11);
}

.work-field {
  margin: 24px 0;
}

.work-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,.82);
  font-weight: 400 !important;
  line-height: 1.4;
}

.work-field input,
.work-legal input {
  margin: 0;
  accent-color: #55d6ea;
}

.work-legal {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.78) !important;
}

/* BUTTONS */
.work-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,#166074,#104959);
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(16,73,89,.28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.work-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(16,73,89,.34);
}

.work-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: none;
}

.work-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* TOAST */
.work-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(390px, calc(100% - 32px));
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  color: #041918;
  border: 1px solid rgba(16,73,89,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  animation: workToastIn .35s ease both;
}

.work-toast strong {
  display: block;
  margin-bottom: 6px;
  color: #104959;
  font-size: 18px;
  font-weight: 400;
}

.work-toast p {
  margin: 0;
  color: rgba(24,24,24,.72);
  font-size: 14px;
  line-height: 1.6;
}

.work-toast--error strong {
  color: #9f1d1d;
}

.work-toast__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(16,73,89,.08);
  color: #041918;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@keyframes workToastIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .work-hero__grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-hero__visual {
    justify-content: flex-start;
  }

  .work-hero__features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-form {
    padding: 34px 24px;
  }
}

@media (max-width: 640px) {
  .work-page .container {
    width: min(100% - 28px, 1440px);
    padding:0px !important;
  }

  .work-hero {
    padding: 92px 0 56px;
  }

  .work-hero h1 {
    font-size: 36px;
  }

  .work-hero p {
    font-size: 16px;
  }

  .work-form-section {
    padding: 30px 0 70px;
  }

  .work-form {
    padding: 26px 18px;
    border-radius: 22px;
  }

  .work-steps {
    gap: 8px;
    margin-bottom: 32px;
  }

  .work-steps div::after {
    display: none;
  }

  .work-steps span {
    width: 34px;
    height: 34px;
  }

  .work-steps small {
    font-size: 11px;
  }

  .work-actions {
    flex-direction: column;
  }

  .work-btn {
    width: 100%;
  }

  .work-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .work-hero h1 {
    font-size: 31px;
  }

  .work-screen {
    padding: 22px;
    border-radius: 22px;
  }

  .work-screen span {
    font-size: 21px;
  }

  .work-screen__chart {
    height: 120px;
  }
}