@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --base: #f0ede6;
  --ink: #3a3a3a;
  --muted: #999;
  --line: #d5d1c9;
  --soft-line: #e8e4de;
  --panel: #fff;
  --bottom: #faf7f2;
  --green: #7d9e8d;
  --green-soft: #c5d5cc;
  --accent: #c97a4b;
  --accent-dark: #b56c3e;
  --error: #dc3545;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--base);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.embed-root {
  width: 100%;
}

.customer-layout {
  padding: 48px 24px;
}

.customer-form-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.customer-form-card[hidden] {
  display: none;
}

.is-hidden {
  display: none !important;
}

.customer-form-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-col {
  min-width: 0;
  padding: 36px 32px;
  border-right: 1px solid var(--soft-line);
  background: var(--panel);
}

.customer-col:last-child {
  border-right: 0;
}

.step-num {
  margin-bottom: 6px;
  color: var(--green-soft);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.step-title {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}

.field {
  margin-bottom: 14px;
}

.field label,
.field-section-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.03em;
}

.field-section-label {
  margin-bottom: 10px;
  margin-top: 18px;
}

.field-section-label:first-of-type {
  margin-top: 0;
}

.interest-label {
  margin-top: 22px;
}

.req {
  color: var(--accent);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input:not([type]),
select,
textarea {
  width: 100%;
  min-height: 39px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(125, 158, 141, 0.12);
}

textarea {
  min-height: 126px;
  resize: vertical;
}

.field-help {
  margin: -1px 0 8px;
  color: #7c766f;
  font-size: 10px;
  font-style: italic;
  line-height: 1.45;
}

select {
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237D9E8D' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.radio-group,
.check-group {
  margin-top: 4px;
}

.radio-item,
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.radio-item input,
.check-item input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  accent-color: var(--green);
}

.item-label {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.recaptcha-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 32px 0;
  border-top: 1px solid var(--soft-line);
  background: var(--bottom);
}

.g-recaptcha,
.g-recaptcha > div {
  width: 304px !important;
  height: 78px !important;
}

.g-recaptcha iframe {
  max-height: 78px;
}

.g-recaptcha-response {
  display: none !important;
}

.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 32px;
  border-top: 1px solid var(--soft-line);
  background: var(--bottom);
}

.privacy {
  max-width: 500px;
  margin: 0;
  color: #9a938c;
  font-size: 11px;
  line-height: 1.5;
}

.submit-btn {
  flex: 0 0 auto;
  min-width: 216px;
  padding: 13px 32px;
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
}

.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 122, 75, 0.2);
}

.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.error-text,
.status {
  color: var(--error);
  font-size: 14px;
  text-align: center;
}

.status {
  min-height: 24px;
  padding: 0 32px 16px;
  background: var(--bottom);
}

.success-card {
  background: var(--panel);
}

.success-content {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px 52px;
}

.success-message h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.18;
}

.success-message p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #6d6863;
  font-size: 15px;
  line-height: 1.65;
}

@media screen and (max-width: 900px) {
  .customer-layout {
    padding: 24px 14px;
  }

  .customer-form-cols {
    grid-template-columns: 1fr;
  }

  .customer-col {
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .customer-col:last-child {
    border-bottom: 0;
  }

  .form-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }

  .success-content {
    min-height: 300px;
  }

  .success-message {
    padding: 36px 22px;
  }

  .success-message h1 {
    font-size: 28px;
  }
}

@media screen and (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step-num {
    font-size: 52px;
  }

  .form-bottom,
  .recaptcha-wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
}
