/* COOPERATION / CONTACT SECTION */

.cooperation-section {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
  background: #0a0a0a;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cooperation-section::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -220px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(229, 90, 0, 0.13), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.cooperation-section .container {
  position: relative;
  z-index: 2;
}

.cooperation-head {
  max-width: 920px;
  margin-bottom: 48px;
}

.cooperation-head h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.cooperation-head p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.cooperation-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

/* STEPS */

.cooperation-steps {
  display: grid;
  gap: 12px;
}

.cooperation-step {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.cooperation-step span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(229, 90, 0, 0.1);
  border: 1px solid rgba(229, 90, 0, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cooperation-step h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.24rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.cooperation-step p {
  max-width: 460px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
  line-height: 1.55;
}

.cooperation-step:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 90, 0, 0.36);
  background: #151515;
}

/* FORM CARD */

.cooperation-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(229, 90, 0, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.cooperation-card__head h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.cooperation-card__head p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.6;
}

.cooperation-form {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.cooperation-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cooperation-field {
  display: grid;
  gap: 9px;
}

.cooperation-field span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cooperation-field input,
.cooperation-field select,
.cooperation-field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.48);
  color: #ffffff;
  padding: 0 17px;
  font: inherit;
  outline: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.cooperation-field textarea {
  min-height: 118px;
  padding: 15px 17px;
  resize: vertical;
}

.cooperation-field input::placeholder,
.cooperation-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.cooperation-field input:focus,
.cooperation-field select:focus,
.cooperation-field textarea:focus {
  border-color: rgba(229, 90, 0, 0.78);
  background: rgba(10, 10, 10, 0.68);
  box-shadow: 0 0 0 4px rgba(229, 90, 0, 0.1);
}

.cooperation-field select {
  appearance: none;
  cursor: pointer;
}

.cooperation-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  font-weight: 850;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.cooperation-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(229, 90, 0, 0.22);
}

.cooperation-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}

/* TABLET */

@media (max-width: 1080px) {
  .cooperation-section {
    padding: 82px 0;
  }

  .cooperation-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cooperation-card {
    padding: 30px;
  }
}

/* MOBILE */

@media (max-width: 680px) {
  .cooperation-section {
    padding: 64px 0;
  }

  .cooperation-head {
    margin-bottom: 30px;
  }

  .cooperation-head h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    line-height: 1.08;
  }

  .cooperation-head p {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .cooperation-steps {
    gap: 10px;
  }

  .cooperation-step {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
  }

  .cooperation-step span {
    width: 42px;
    height: 42px;
    font-size: 0.68rem;
  }

  .cooperation-step h3 {
    font-size: 1.02rem;
  }

  .cooperation-step p {
    margin-top: 7px;
    font-size: 0.8rem;
    line-height: 1.42;
  }

  .cooperation-card {
    padding: 22px;
    border-radius: 26px;
  }

  .cooperation-card__head h3 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .cooperation-card__head p {
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .cooperation-form {
    margin-top: 24px;
    gap: 14px;
  }

  .cooperation-form__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cooperation-field span {
    font-size: 0.66rem;
  }

  .cooperation-field input,
  .cooperation-field select,
  .cooperation-field textarea {
    min-height: 50px;
    border-radius: 15px;
    font-size: 0.92rem;
  }

  .cooperation-field textarea {
    min-height: 104px;
  }

  .cooperation-submit {
    min-height: 52px;
    font-size: 0.9rem;
  }
}

/* COOPERATION STEPS REVEAL */

.cooperation-step--reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.cooperation-step--reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cooperation-step--reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.cooperation-step--reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.cooperation-step--reveal:nth-child(3) {
  transition-delay: 0.25s;
}

.cooperation-step--reveal:nth-child(4) {
  transition-delay: 0.35s;
}

/* COOPERATION RANDOM ORANGE SVG BACKGROUND */

.cooperation-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cooperation-pattern__icon {
  position: absolute;
  display: block;
  width: var(--icon-size, 60px);
  height: var(--icon-size, 60px);
  left: var(--icon-left, 0px);
  top: var(--icon-top, 0px);
  opacity: var(--icon-opacity, 0.12);
  transform: rotate(var(--icon-rotate, 0deg));
  object-fit: contain;

  filter:
    brightness(0)
    saturate(100%)
    invert(57%)
    sepia(98%)
    saturate(1731%)
    hue-rotate(360deg)
    brightness(103%)
    contrast(105%)
    drop-shadow(0 0 18px rgba(255, 138, 0, 0.24));
}

@media (max-width: 680px) {
  .cooperation-pattern__icon {
    opacity: calc(var(--icon-opacity, 0.12) * 0.72);
  }
}

.field-error {
  min-height: 14px;
  color: #ff6b5f;
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 700;
}

.cooperation-field.is-error input,
.cooperation-field.is-error select,
.cooperation-field.is-error textarea {
  border-color: rgba(255, 80, 64, 0.9);
  background: rgba(255, 80, 64, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 80, 64, 0.08);
}

.cooperation-field.is-success input,
.cooperation-field.is-success select,
.cooperation-field.is-success textarea {
  border-color: rgba(70, 200, 120, 0.65);
}

.cooperation-note.is-error {
  color: #ff6b5f;
}

.cooperation-note.is-success {
  color: #62d991;
}

.cooperation-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}