.greystone-enquiry {
  --gpe-ink: #122126;
  --gpe-ink-soft: #26383d;
  --gpe-gold: #96712c;
  --gpe-gold-dark: #72531c;
  --gpe-cream: #f4f1e9;
  --gpe-white: #ffffff;
  --gpe-muted: #647176;
  --gpe-line: #d9d7d0;
  --gpe-error: #a12a2a;
  --gpe-success: #2f6e4e;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  width: 100%;
  min-height: 720px;
  margin: 0;
  color: var(--gpe-ink);
  background: var(--gpe-white);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.greystone-enquiry,
.greystone-enquiry * {
  box-sizing: border-box;
}

.greystone-enquiry a {
  color: inherit;
}

.greystone-enquiry .intro-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(58px, 8vw, 120px) clamp(24px, 6vw, 92px);
  color: var(--gpe-white);
  background:
    linear-gradient(135deg, rgba(18, 33, 38, .98), rgba(18, 33, 38, .87)),
    radial-gradient(circle at 15% 20%, var(--gpe-gold), transparent 38%);
}

.greystone-enquiry .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: #d8bc7e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.greystone-enquiry .eyebrow::before {
  width: 42px;
  height: 2px;
  background: currentColor;
  content: "";
}

.greystone-enquiry #greystone-enquiry-title {
  max-width: 760px;
  margin: 0;
  color: inherit;
  font-size: clamp(42px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}

.greystone-enquiry .intro-panel > p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 1.7vw, 22px);
}

.greystone-enquiry .trust-list {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .88);
  list-style: none;
  font-size: 14px;
}

.greystone-enquiry .trust-list li::before {
  margin-right: 10px;
  color: #d8bc7e;
  content: "✓";
  font-weight: 800;
}

.greystone-enquiry .form-panel {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: clamp(32px, 5vw, 70px);
  background: var(--gpe-white);
}

.greystone-enquiry .form-panel > * {
  width: 100%;
  max-width: 620px;
  margin-right: auto;
  margin-left: auto;
}

.greystone-enquiry .progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
  color: var(--gpe-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.greystone-enquiry .progress-track {
  height: 5px;
  margin-bottom: 36px;
  overflow: hidden;
  background: #e9e6df;
}

.greystone-enquiry .progress-bar {
  width: 25%;
  height: 100%;
  background: var(--gpe-gold);
  transition: width .25s ease;
}

.greystone-enquiry .step {
  display: none;
}

.greystone-enquiry .step.active {
  display: block;
}

.greystone-enquiry .step h2 {
  margin: 0 0 8px;
  color: var(--gpe-ink);
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.greystone-enquiry .step-intro {
  margin: 0 0 28px;
  color: var(--gpe-muted);
}

.greystone-enquiry fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.greystone-enquiry legend,
.greystone-enquiry label.question {
  display: block;
  margin-bottom: 11px;
  color: var(--gpe-ink);
  font-size: 15px;
  font-weight: 800;
}

.greystone-enquiry .field {
  margin-bottom: 25px;
}

.greystone-enquiry .choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.greystone-enquiry .choice {
  position: relative;
  min-height: 58px;
}

.greystone-enquiry .choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.greystone-enquiry .choice label {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--gpe-line);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: border-color .15s, background .15s, color .15s;
}

.greystone-enquiry .choice input:checked + label {
  border-color: var(--gpe-ink);
  color: var(--gpe-white);
  background: var(--gpe-ink);
}

.greystone-enquiry .choice input:focus-visible + label {
  outline: 3px solid rgba(150, 113, 44, .35);
  outline-offset: 2px;
}

.greystone-enquiry input[type="text"],
.greystone-enquiry input[type="email"],
.greystone-enquiry input[type="tel"],
.greystone-enquiry textarea,
.greystone-enquiry select {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--gpe-line);
  border-radius: 0;
  color: var(--gpe-ink);
  background: var(--gpe-white);
  font: inherit;
}

.greystone-enquiry textarea {
  min-height: 120px;
  resize: vertical;
}

.greystone-enquiry input:focus,
.greystone-enquiry textarea:focus,
.greystone-enquiry select:focus {
  border-color: var(--gpe-gold-dark);
  outline: 3px solid rgba(150, 113, 44, .22);
}

.greystone-enquiry .helper {
  display: block;
  margin-top: 7px;
  color: var(--gpe-muted);
  font-size: 12px;
}

.greystone-enquiry .consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--gpe-ink-soft);
  font-size: 13px;
}

.greystone-enquiry .consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gpe-gold-dark);
}

.greystone-enquiry .consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.greystone-enquiry .error-summary {
  display: none;
  margin: 0 0 20px;
  padding: 11px 13px;
  border-left: 3px solid var(--gpe-error);
  color: var(--gpe-error);
  background: #fff0f0;
  font-size: 13px;
  font-weight: 700;
}

.greystone-enquiry .error-summary.visible {
  display: block;
}

.greystone-enquiry .actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
}

.greystone-enquiry button {
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--gpe-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.greystone-enquiry button:focus-visible {
  outline: 3px solid rgba(150, 113, 44, .4);
  outline-offset: 2px;
}

.greystone-enquiry button:disabled {
  cursor: wait;
  opacity: .68;
}

.greystone-enquiry .primary {
  color: var(--gpe-white);
  background: var(--gpe-ink);
}

.greystone-enquiry .primary:hover:not(:disabled) {
  background: var(--gpe-ink-soft);
}

.greystone-enquiry .secondary {
  color: var(--gpe-ink);
  background: transparent;
}

.greystone-enquiry .secondary[hidden] {
  display: none;
}

.greystone-enquiry .success-panel {
  display: none;
  padding: 30px 0;
}

.greystone-enquiry .success-panel.visible {
  display: block;
}

.greystone-enquiry .success-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--gpe-white);
  background: var(--gpe-success);
  font-size: 27px;
  font-weight: 800;
}

.greystone-enquiry .success-panel h2 {
  margin: 0 0 14px;
  color: var(--gpe-ink);
  font-size: 36px;
  line-height: 1.08;
}

.greystone-enquiry .success-panel p {
  color: var(--gpe-muted);
}

@media (max-width: 980px) {
  .greystone-enquiry {
    grid-template-columns: 1fr;
  }

  .greystone-enquiry .intro-panel {
    min-height: 460px;
  }

  .greystone-enquiry .form-panel {
    padding-top: 54px;
    padding-bottom: 70px;
  }
}

@media (max-width: 620px) {
  .greystone-enquiry .intro-panel {
    min-height: 400px;
    padding: 58px 22px;
  }

  .greystone-enquiry .form-panel {
    padding: 38px 20px 60px;
  }

  .greystone-enquiry .choices {
    grid-template-columns: 1fr;
  }

  .greystone-enquiry .actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .greystone-enquiry button {
    width: 100%;
  }
}
