/* ============ Talk to Sales modal ============ */
.sales-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
}
.sales-modal.open { display: flex; animation: smFade 0.25s ease; }
@keyframes smFade { from { opacity: 0; } to { opacity: 1; } }

.sales-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sales-card {
  position: relative;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 48px);
  background: #f8f6f1;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  animation: smIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes smIn {
  from { transform: translateY(16px) scale(0.985); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.sales-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,0.06);
  color: #111;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sales-close:hover { background: rgba(0,0,0,0.12); transform: rotate(90deg); }
.sales-close svg { width: 16px; height: 16px; }

/* Left rail */
.sales-left {
  padding: 32px 28px;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.sales-left-top .sales-brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.sales-left-top h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 14px;
  color: #fff;
}
.sales-left-top h3 em { font-style: italic; color: #c8ff00; }
.sales-left-top p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.sales-proof {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.sales-proof-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sales-proof-num {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 22px;
  color: #c8ff00;
  line-height: 1;
}
.sales-proof-txt {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.35;
}

/* Right: form */
.sales-right {
  padding: 36px 36px 32px;
  overflow-y: auto;
}
.sales-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
  font-weight: 600;
  margin-bottom: 10px;
}
.sales-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 8px;
  color: #111;
}
.sales-sub {
  font-size: 14px;
  line-height: 1.55;
  color: #555;
  margin: 0 0 22px;
}

.sales-form { display: flex; flex-direction: column; gap: 14px; }
.sales-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sales-field { display: flex; flex-direction: column; gap: 6px; }
.sales-field label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.01em;
}
.sales-field label .req { color: #c8ff00; }
.sales-field input,
.sales-field select,
.sales-field textarea {
  width: 100%;
  border: 1px solid #dcd7cc;
  background: #fff;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sales-field textarea { resize: vertical; min-height: 84px; }
.sales-field input:focus,
.sales-field select:focus,
.sales-field textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}
.sales-field.error input,
.sales-field.error select,
.sales-field.error textarea {
  border-color: #d14343;
  box-shadow: 0 0 0 3px rgba(209, 67, 67, 0.12);
}
.sales-field .err-msg {
  font-size: 12px;
  color: #d14343;
  display: none;
}
.sales-field.error .err-msg { display: block; }

.sales-submit {
  margin-top: 6px;
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}
.sales-submit:hover { background: #000; transform: translateY(-1px); }
.sales-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.sales-fine {
  font-size: 12px;
  color: #777;
  margin: 8px 0 0;
  line-height: 1.5;
  text-align: center;
}
.sales-fine a { color: #111; text-decoration: underline; }

/* Success state */
.sales-success {
  display: none;
  text-align: center;
  padding: 24px 8px 8px;
}
.sales-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #c8ff00;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sales-success .check svg { width: 32px; height: 32px; color: #111; }
.sales-success h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 10px;
  color: #111;
}
.sales-success p {
  color: #555;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 20px;
}
.sales-success .btn-done {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.sales-modal.success .sales-form,
.sales-modal.success .sales-sub,
.sales-modal.success .sales-title,
.sales-modal.success .sales-eyebrow { display: none; }
.sales-modal.success .sales-success { display: block; }

/* Mobile */
@media (max-width: 720px) {
  .sales-modal { padding: 0; align-items: stretch; }
  .sales-card {
    grid-template-columns: 1fr;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .sales-left { display: none; }
  .sales-right { padding: 24px 20px 24px; }
  .sales-row { grid-template-columns: 1fr; }
}
