/* ==================================================
   COOKIE DEVS
   START YOUR PROJECT
   ================================================== */

.start-project {
  background: #111111;
  color: #ffffff;
}

/* ==================================================
   HEADING
   ================================================== */

.start-project-heading {
  max-width: 980px;
  margin-bottom: 90px;
}

.start-project-eyebrow {
  margin-bottom: 22px;

  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.start-project-heading h2 {
  max-width: 940px;

  color: #ffffff;

  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.95;

  letter-spacing: -0.065em;
}

.start-project-heading h2 span {
  display: block;

  color: rgba(255, 255, 255, 0.42);
}

.start-project-description {
  max-width: 700px;

  margin-top: 30px;

  color: rgba(255, 255, 255, 0.62);

  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

/* ==================================================
   LAYOUT
   ================================================== */

.start-project-layout {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.72fr)
    minmax(0, 1.28fr);

  gap: clamp(60px, 8vw, 120px);

  align-items: start;
}

/* ==================================================
   LEFT INFORMATION
   ================================================== */

.start-project-info {
  position: sticky;
  top: 140px;
}

.start-project-info-label {
  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.42);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.start-project-info h3 {
  max-width: 460px;

  color: #ffffff;

  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.98;

  letter-spacing: -0.055em;
}

.start-project-info h3 span {
  display: block;

  color: rgba(255, 255, 255, 0.42);
}

.start-project-info-copy {
  max-width: 480px;

  margin-top: 24px;

  color: rgba(255, 255, 255, 0.58);

  font-size: 15px;
  line-height: 1.65;
}

/* ==================================================
   INFO POINTS
   ================================================== */

.start-project-info-points {
  margin-top: 44px;

  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.start-project-info-point {
  display: grid;

  grid-template-columns:
    40px
    minmax(0, 1fr);

  gap: 18px;

  padding-block: 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.start-project-info-point span {
  color: rgba(255, 255, 255, 0.35);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.08em;
}

.start-project-info-point p {
  color: rgba(255, 255, 255, 0.76);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* ==================================================
   REASSURANCE
   ================================================== */

.start-project-reassurance {
  margin-top: 34px;

  padding: 22px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-medium);
}

.start-project-reassurance-label {
  margin-bottom: 8px;

  color: #ffffff;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.start-project-reassurance > p:last-child {
  color: rgba(255, 255, 255, 0.5);

  font-size: 12px;
  line-height: 1.6;
}

/* ==================================================
   FORM
   ================================================== */

.start-project-form-wrap {
  min-width: 0;
}

.project-form {
  padding: clamp(28px, 4vw, 48px);

  background: #ffffff;
  color: var(--color-text);

  border-radius: var(--radius-large);
}

.form-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 30px 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  margin-bottom: 10px;

  color: var(--color-text);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.form-field label > span[aria-hidden="true"] {
  color: var(--color-text-muted);
}

.form-optional {
  margin-left: 6px;

  color: var(--color-text-muted);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==================================================
   INPUTS
   ================================================== */

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  padding: 15px 16px;

  background: var(--color-surface-soft);
  color: var(--color-text);

  border: 1px solid var(--color-border);
  border-radius: 10px;

  font-size: 15px;
  line-height: 1.5;

  outline: none;

  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-field input,
.form-field select {
  min-height: 52px;
}

.form-field textarea {
  resize: vertical;

  min-height: 110px;
}

.form-field select {
  cursor: pointer;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--color-border-strong);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: #ffffff;

  border-color: var(--color-text);

  box-shadow: 0 0 0 1px var(--color-text);
}

.form-field textarea::placeholder,
.form-field input::placeholder {
  color: var(--color-text-muted);
}

.form-field-help {
  margin-top: 9px;

  color: var(--color-text-muted);

  font-size: 11px;
  line-height: 1.55;
}

/* ==================================================
   FORM FOOTER
   ================================================== */

.project-form-footer {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 32px;

  align-items: center;

  margin-top: 38px;
  padding-top: 30px;

  border-top: 1px solid var(--color-border);
}

.project-form-footer > p {
  max-width: 520px;

  color: var(--color-text-muted);

  font-size: 11px;
  line-height: 1.6;
}

.project-form-footer > p a {
  color: var(--color-text);

  font-weight: 700;

  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==================================================
   SUBMIT
   ================================================== */

.project-form-submit {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;

  min-width: 230px;
  min-height: 58px;

  padding-inline: 22px;

  background: var(--color-text);
  color: #ffffff;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.project-form-submit span:last-child {
  font-size: 18px;

  transition: transform var(--transition-fast);
}

.project-form-submit:hover {
  background: #2a2a2a;
}

.project-form-submit:hover span:last-child {
  transform: translateX(4px);
}

.project-form-submit:active {
  transform: scale(0.985);
}

/* ==================================================
   PROJECT FORM
   SECURITY + STATUS
   ================================================== */

/* Honeypot field — invisible to real users */

.form-honeypot {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);

  white-space: nowrap;
}

/* ==================================================
   FORM STATUS
   ================================================== */

.project-form-status {
  margin-top: 20px;

  font-size: 0.95rem;
  line-height: 1.5;
}

.project-form-status[data-state="success"] {
  color: #16794f;
}

.project-form-status[data-state="error"] {
  color: #b42318;
}

/* ==================================================
   SUBMITTING STATE
   ================================================== */

.project-form-submit:disabled {
  cursor: not-allowed;

  opacity: 0.65;
}

/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1024px) {
  .start-project-layout {
    gap: 54px;
  }
}

/* ==================================================
   SMALL TABLET
   ================================================== */

@media (max-width: 820px) {
  .start-project-heading {
    margin-bottom: 64px;
  }

  .start-project-layout {
    grid-template-columns: 1fr;

    gap: 58px;
  }

  .start-project-info {
    position: static;
  }

  .start-project-info-copy {
    max-width: 620px;
  }
}

/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 640px) {
  .start-project-heading {
    margin-bottom: 52px;
  }

  .start-project-heading h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .start-project-description {
    font-size: 17px;
  }

  .start-project-info h3 {
    font-size: 38px;
  }

  .project-form {
    padding: 26px 20px;

    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;

    gap: 24px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .project-form-footer {
    grid-template-columns: 1fr;

    gap: 24px;
  }

  .project-form-submit {
    width: 100%;
  }
}

/* ==================================================
   REDUCED MOTION
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .project-form-submit,
  .project-form-submit span {
    transition: none;
  }

  .project-form-submit:hover span:last-child {
    transform: none;
  }

  .project-form-submit:active {
    transform: none;
  }
}
