.inquiry-page {
  min-height: 100vh;
  color: var(--white);
  background: var(--ink);
}

.inquiry-header {
  position: relative;
  background: rgba(7, 24, 22, 0.92);
  backdrop-filter: blur(16px);
}

.contact-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.contact-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-nav a:hover,
.contact-nav a:focus-visible {
  color: var(--white);
}

.contact-nav .contact-nav-phone {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 999px;
}

.contact-nav .contact-nav-phone:hover,
.contact-nav .contact-nav-phone:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.contact-nav .contact-nav-phone:active {
  transform: scale(0.97);
}

.inquiry-main {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 89px);
  padding: clamp(58px, 7vw, 96px) 0;
}

.inquiry-grid {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(104, 246, 206, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 246, 206, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.inquiry-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.inquiry-glow-one {
  top: -260px;
  right: -220px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(104, 246, 206, 0.13), transparent 68%);
}

.inquiry-glow-two {
  bottom: -340px;
  left: -280px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(95, 140, 255, 0.1), transparent 68%);
}

.inquiry-layout {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  align-items: start;
  gap: clamp(58px, 8vw, 112px);
}

.inquiry-intro {
  position: sticky;
  top: 56px;
  padding-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 54px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--acid);
}

.inquiry-intro h1 {
  max-width: 610px;
  margin: 28px 0 28px;
  font-size: clamp(55px, 6.2vw, 88px);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.inquiry-intro h1 em {
  display: block;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  -webkit-text-stroke: 1.25px var(--acid);
}

.inquiry-lede {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.7;
}

.direct-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.direct-contact > div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.direct-contact span {
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.direct-contact a {
  overflow-wrap: anywhere;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.form-card {
  padding: clamp(28px, 4vw, 48px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.26);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--dark-line);
}

.form-heading p {
  margin: 0 0 8px;
  color: #32665b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.form-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.form-heading > span {
  max-width: 135px;
  color: #667671;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.inquiry-form {
  display: grid;
  gap: 22px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #263d38;
  font-size: 14px;
  font-weight: 750;
}

.form-field label > span {
  color: #75847f;
  font-size: 12px;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--ink);
  background: #f7faf5;
  border: 1px solid #cad5d0;
  border-radius: 11px;
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #8aa098;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: #32665b;
  box-shadow: 0 0 0 4px rgba(50, 102, 91, 0.11);
}

.form-field textarea::placeholder {
  color: #87938f;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #50615c;
  font-size: 13px;
  line-height: 1.5;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: #32665b;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 4px;
}

.form-submit {
  min-width: 185px;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  box-shadow: 0 12px 32px rgba(111, 146, 31, 0.16);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: #ddff8f;
}

.form-submit-row p {
  max-width: 190px;
  margin: 0;
  color: #72807c;
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.form-submit-row p a {
  color: #32665b;
  font-weight: 700;
}

.inquiry-footer {
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.45);
  background: #04110f;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

.inquiry-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.thank-you-main {
  display: grid;
  min-height: calc(100vh - 89px);
  place-items: center;
  padding: 70px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(104, 246, 206, 0.12), transparent 34%),
    var(--ink);
}

.thank-you-card {
  width: min(680px, calc(100vw - 30px));
  padding: clamp(38px, 7vw, 76px);
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.26);
}

.thank-you-mark {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin: 0 auto 28px;
  color: var(--ink);
  background: var(--acid);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.thank-you-card > p {
  max-width: 520px;
  margin: 24px auto 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.thank-you-actions .button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
}

.thank-you-actions .button-secondary:hover,
.thank-you-actions .button-secondary:focus-visible {
  color: var(--ink);
  background: var(--white);
}

@media (max-width: 980px) {
  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .inquiry-intro {
    position: static;
  }

  .inquiry-intro h1 {
    max-width: 720px;
  }

  .inquiry-lede {
    max-width: 650px;
  }

  .direct-contact {
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  .contact-nav > a:not(.contact-nav-phone) {
    display: none;
  }

  .contact-nav .contact-nav-phone {
    padding: 9px 13px;
    font-size: 13px;
  }

  .inquiry-main {
    min-height: auto;
    padding: 40px 0 62px;
  }

  .back-link {
    margin-bottom: 38px;
  }

  .inquiry-intro h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .inquiry-lede {
    font-size: 16px;
  }

  .direct-contact,
  .form-row {
    grid-template-columns: 1fr;
  }

  .direct-contact {
    margin-top: 34px;
  }

  .form-card {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .form-heading,
  .form-submit-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-heading > span,
  .form-submit-row p {
    max-width: none;
    text-align: left;
  }

  .form-submit {
    width: 100%;
  }

  .inquiry-footer > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
