/* =========================================================
   DISCUSS A PROJECT PAGE
   Page-specific rules only.
   The shared landing-page stylesheet remains the visual base.
   ========================================================= */


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-current {
  color: var(--ink) !important;
}


/* =========================================================
   HERO
   ========================================================= */

.project-contact-hero {
  grid-template-columns: minmax(0, 900px);
  min-height: 680px;
  align-content: start;
}

.project-contact-hero-inner {
  width: 100%;
  max-width: 900px;
}

.project-contact-hero h1 {
  line-height: 1.04;
  padding-bottom: 0.08em;
}

.project-contact-hero .gradient-text {
  padding-bottom: 0.2em;
}

.project-contact-hero-copy {
  max-width: 760px;

  color: var(--ink);

  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
}

.project-contact-tags {
  max-width: 720px;
  justify-content: flex-start;
}

.project-contact-eyebrow {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-bottom: 22px;
  padding: 7px 11px;

  border: 1px solid rgba(95, 41, 199, 0.12);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(14, 210, 218, 0.10),
      rgba(95, 41, 199, 0.10)
    );

  color: var(--violet);

  font-family: "Manrope", sans-serif;

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}


/* =========================================================
   PROJECT CONTACT
   ========================================================= */

.project-contact {
  padding-top: var(--section-gap);
}

.project-contact-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(500px, 1.15fr);

  gap: 72px;

  align-items: start;
}


/* =========================================================
   LEFT — CONTACT INTRO
   ========================================================= */

.project-contact-intro {
  position: sticky;
  top: 32px;
}

.project-contact-intro > h2 {
  max-width: 580px;

  margin-bottom: 22px;

  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.project-contact-intro > p {
  max-width: 560px;

  margin-bottom: 34px;

  color: var(--muted);

  font-size: clamp(1.1rem, 1.2vw, 1.4rem);
  line-height: 1.6;
}


/* =========================================================
   GUIDANCE
   ========================================================= */

.contact-guidance {
  display: flex;
  flex-direction: column;

  border-top: 1px solid var(--line);
}

.contact-guidance-item {
  display: grid;

  grid-template-columns:
    40px
    minmax(0, 1fr);

  gap: 16px;

  padding: 22px 0;

  border-bottom: 1px solid var(--line);
}

.contact-guidance-number {
  display: grid;

  width: 34px;
  height: 34px;

  place-items: center;

  border: 1px solid rgba(17, 20, 27, 0.12);
  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 4px 12px rgba(17, 20, 27, 0.05);

  font-family: "Manrope", sans-serif;

  font-size: 0.64rem;
  font-weight: 800;
}

.contact-guidance-item strong {
  display: block;

  margin-bottom: 5px;

  font-family: "Manrope", sans-serif;

  font-size: 1rem;
}

.contact-guidance-item p {
  max-width: 470px;

  margin: 0;

  color: var(--muted);

  font-size: 0.94rem;
  line-height: 1.55;
}


/* =========================================================
   FORM SHELL
   ========================================================= */

.project-form-shell {
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(14, 210, 218, 0.025),
      rgba(95, 41, 199, 0.035)
    ),
    #fff;

  box-shadow:
    0 18px 52px rgba(38, 31, 71, 0.09);
}

.project-form-top {
  display: flex;

  align-items: start;
  justify-content: space-between;

  gap: 24px;

  padding:
    34px
    36px
    28px;

  border-bottom: 1px solid var(--line);
}

.project-form-kicker {
  margin-bottom: 10px;

  color: var(--violet);

  font-family: "Manrope", sans-serif;

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.12em;
}

.project-form-top h2 {
  margin-bottom: 0;

  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.08;
}

.required-note {
  flex: 0 0 auto;

  padding-top: 3px;

  color: #9398a2;

  font-size: 0.72rem;
  font-weight: 700;
}


/* =========================================================
   FORM
   ========================================================= */

.project-form {
  padding:
    30px
    36px
    36px;
}

.form-row {
  margin-bottom: 22px;
}

.form-row-two {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: flex;
  align-items: center;

  gap: 6px;

  margin-bottom: 8px;

  color: var(--ink);

  font-size: 0.82rem;
  font-weight: 800;
}

.form-field label > span:not(.optional-label) {
  color: var(--violet);
}

.optional-label {
  margin-left: auto;

  color: #9a9fa8;

  font-size: 0.68rem;
  font-weight: 600;
}


/* =========================================================
   INPUTS
   ========================================================= */

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  border: 1px solid #dfe1e7;
  border-radius: 13px;

  outline: none;

  background: #fff;
  color: var(--ink);

  font: inherit;

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.form-field input,
.form-field select {
  min-height: 52px;

  padding:
    0
    15px;
}

.form-field textarea {
  min-height: 180px;

  padding: 14px 15px;

  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9a9fa8;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #cdd0d7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(95, 41, 199, 0.58);

  box-shadow:
    0 0 0 4px rgba(95, 41, 199, 0.08);
}


/* =========================================================
   SELECT
   ========================================================= */

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "⌄";

  position: absolute;

  top: 50%;
  right: 16px;

  transform: translateY(-54%);

  color: #777d87;

  font-size: 1rem;
  font-weight: 800;

  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;

  padding-right: 42px;

  cursor: pointer;
}

.form-help {
  display: block;

  margin-top: 8px;

  color: #8a909a;

  font-size: 0.74rem;
  line-height: 1.45;
}


/* =========================================================
   FORM FOOTER
   ========================================================= */

.project-form-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin-top: 28px;
  padding-top: 24px;

  border-top: 1px solid var(--line);
}

.project-form-footer > p {
  max-width: 340px;

  margin: 0;

  color: #8a909a;

  font-size: 0.76rem;
  line-height: 1.5;
}

.form-submit {
  flex: 0 0 auto;

  gap: 14px;

  min-width: 205px;

  border: 0;

  background: var(--ink);
  color: #fff;

  box-shadow:
    0 12px 28px rgba(17, 20, 27, 0.16);

  cursor: pointer;
}

.form-submit span:last-child {
  font-size: 1rem;
}


/* =========================================================
   NEXT STEPS
   ========================================================= */

.next-steps {
  margin-top: var(--section-gap);
  padding-top: var(--section-split-gap);

  border-top: 1px solid var(--line);
}

.next-steps-title {
  max-width: 850px;

  margin-bottom: 42px;

  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.next-steps-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.next-step {
  display: grid;

  grid-template-columns:
    40px
    minmax(0, 1fr);

  gap: 16px;

  min-width: 0;

  padding: 26px;

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  background: #fff;

  box-shadow:
    0 5px 14px rgba(17, 20, 27, 0.05);
}

.next-step-number {
  display: grid;

  width: 36px;
  height: 36px;

  place-items: center;

  border: 1px solid rgba(17, 20, 27, 0.12);
  border-radius: 50%;

  background: #fff;

  font-family: "Manrope", sans-serif;

  font-size: 0.64rem;
  font-weight: 800;

  box-shadow:
    0 4px 12px rgba(17, 20, 27, 0.04);
}

.next-step-content {
  min-width: 0;
}

.next-step-label {
  display: flex;
  align-items: center;

  min-height: 36px;

  margin-bottom: 11px;

  color: var(--violet);

  font-family: "Manrope", sans-serif;

  font-size: 0.76rem;
  font-weight: 800;

  line-height: 1.2;
  letter-spacing: 0.1em;
}

.next-step h3 {
  margin-bottom: 9px;

  font-size: 1.2rem;
  line-height: 1.18;
}

.next-step p {
  margin: 0;

  color: var(--muted);

  font-size: 0.94rem;
  line-height: 1.55;
}


/* =========================================================
   DIRECT CONTACT
   ========================================================= */

.direct-contact {
  margin-top: var(--section-gap);
  padding-top: var(--section-split-gap);
  padding-bottom: var(--section-split-gap);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.direct-contact-inner {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 60px;

  align-items: end;
}

.direct-contact h2 {
  max-width: 720px;

  margin-bottom: 0;

  font-size: clamp(2.3rem, 4vw, 4.4rem);
  line-height: 1.08;
}

.direct-email {
  display: inline-flex;
  align-items: center;

  gap: 18px;

  min-height: 50px;

  padding:
    0
    20px;

  border: 1px solid rgba(17, 20, 27, 0.12);
  border-radius: 999px;

  background: #fff;

  box-shadow:
    0 8px 22px rgba(17, 20, 27, 0.06);

  font-size: 0.88rem;
  font-weight: 800;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

  .direct-email:hover {
    transform: translateY(-2px);

    background: var(--ink);
    color: #fff;
  }

}


/* =========================================================
   FOOTER
   ========================================================= */

.project-contact + .footer {
  margin-top: 36px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .project-contact-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 640px;
  }

  .project-contact-hero-inner {
    max-width: 760px;
  }

  .project-contact-grid {
    grid-template-columns: minmax(0, 1fr);

    gap: 42px;
  }

  .project-contact-intro {
    position: static;
  }

  .contact-guidance {
    display: grid;

    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 14px;

    border-top: 0;
  }

  .contact-guidance-item {
    grid-template-columns: minmax(0, 1fr);

    gap: 12px;

    padding: 20px;

    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .contact-guidance-item p {
    max-width: none;
  }

  .next-steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .project-contact-hero {
    grid-template-columns: minmax(0, 1fr);

    min-height: auto;

    gap: 0;

    padding:
      112px
      18px
      56px;
  }

  .project-contact-hero-inner,
  .project-contact-hero h1,
  .project-contact-hero-copy {
    max-width: none;
  }

  .project-contact-hero h1 {
    line-height: 1.04;
    padding-bottom: 0.1em;
  }

  .project-contact-tags {
    max-width: none;
    justify-content: center;
  }

  .project-contact-eyebrow {
    margin-left: 10px;
    margin-bottom: 16px;

    font-size: 0.64rem;
  }


  /* Project contact */

  .project-contact {
    padding-top: var(--section-gap);
  }

  .project-contact-grid {
    gap: 32px;
  }

  .project-contact-intro > h2,
  .next-steps-title,
  .direct-contact h2 {
    font-size: clamp(2.05rem, 9.5vw, 2.65rem);
    line-height: 1.06;
  }

  .project-contact-intro > p {
    max-width: none;

    font-size: clamp(1.1rem, 1.2vw, 1.4rem);
    line-height: 1.62;
  }


  /* Guidance */

  .contact-guidance {
    grid-template-columns: minmax(0, 1fr);

    gap: 12px;
  }

  .contact-guidance-item {
    grid-template-columns:
      36px
      minmax(0, 1fr);

    gap: 14px;

    padding:
      18px
      0;

    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .contact-guidance-item:first-child {
    border-top: 1px solid var(--line);
  }

  .contact-guidance-number {
    width: 36px;
    height: 36px;

    font-size: 0.8rem;
  }

  .contact-guidance-item strong {
    font-size: 1rem;
  }

  .contact-guidance-item p {
    font-size: 0.92rem;
  }


  /* Form */

  .project-form-shell {
    border-radius: 20px;
  }

  .project-form-top {
    gap: 14px;

    padding:
      26px
      22px
      22px;
  }

  .project-form-top h2 {
    font-size: 1.65rem;
  }

  .required-note {
    font-size: 0.68rem;
  }

  .project-form {
    padding:
      24px
      22px
      26px;
  }

  .form-row-two {
    grid-template-columns: minmax(0, 1fr);

    gap: 20px;
  }

  .form-row {
    margin-bottom: 20px;
  }

  .form-field label {
    font-size: 0.8rem;
  }

  .form-field input,
  .form-field select {
    min-height: 50px;
  }

  .form-field textarea {
    min-height: 170px;
  }

  .project-form-footer {
    align-items: stretch;
    flex-direction: column;

    gap: 18px;
  }

  .project-form-footer > p {
    max-width: none;
  }

  .form-submit {
    width: 100%;
    min-width: 0;

    justify-content: space-between;
  }


  /* Next steps */

  .next-steps {
    margin-top: var(--section-gap);
    padding-top: var(--section-split-gap);
  }

  .next-steps-title {
    margin-bottom: 28px;
  }

  .next-steps-grid {
    gap: 14px;
  }

  .next-step {
    grid-template-columns:
      36px
      minmax(0, 1fr);

    gap: 14px;

    padding:
      21px
      22px;

    border-radius: 18px;
  }

  .next-step-number {
    width: 36px;
    height: 36px;

    font-size: 0.8rem;
  }

  .next-step-label {
    min-height: 36px;

    font-size: 1rem;
  }

  .next-step h3 {
    font-size: 1.2rem;
  }

  .next-step p {
    font-size: 0.92rem;
  }


  /* Direct contact */

  .direct-contact {
    margin-top: var(--section-gap);
    padding-top: var(--section-split-gap);
    padding-bottom: var(--section-split-gap);
  }

  .direct-contact-inner {
    grid-template-columns: minmax(0, 1fr);

    gap: 24px;
  }

  .direct-email {
    width: fit-content;
    max-width: 100%;

    justify-content: space-between;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

  .project-contact-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .project-form-top,
  .project-form {
    padding-right: 20px;
    padding-left: 20px;
  }

  .required-note {
    display: none;
  }

  .direct-email {
    width: 100%;
  }

}