/* Contact-details pop-up opened by every CTA on the SK-01 offer page.
   Classes are namespaced (lead-modal-*) so they never touch the offer page's own styles. */

.lead-modal {
  width: min(440px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  background: #f3fbfb;
  color: #252827;
  box-shadow: 0 24px 60px rgba(47, 13, 25, .35);
}

.lead-modal::backdrop {
  background: rgba(47, 13, 25, .72);
}

.lead-modal[open] {
  animation: lead-modal-in .18s ease-out;
}

@keyframes lead-modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal[open] { animation: none; }
}

/* Older in-app browsers without <dialog>.showModal() */
.lead-modal.is-fallback {
  position: fixed;
  z-index: 1000;
  inset: 16px;
  height: fit-content;
}

.lead-modal-body {
  position: relative;
  padding: 34px 22px 24px;
  background-image: radial-gradient(rgba(114, 201, 207, .22) .8px, transparent .8px);
  background-size: 17px 17px;
}

.lead-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2f0d19;
  font: 400 30px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.lead-modal-close:focus-visible {
  outline: 3px solid #2f0d19;
  outline-offset: 0;
}

.lead-modal-title {
  margin: 0 36px 0 0;
  color: #000000;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.08;
  text-transform: uppercase;
}

.lead-modal-highlight {
  padding: 0 .08em .04em;
  background: #c9366a;
  color: #ffffff;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lead-modal-lead {
  margin: 16px 0 0;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.lead-modal-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.lead-modal-field label {
  display: block;
  margin-bottom: 7px;
  color: #2f0d19;
  font: 700 14px/1.2 "DM Sans", sans-serif;
  letter-spacing: .01em;
}

.lead-modal-field input {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1.5px solid #6f9395;
  border-radius: 12px;
  background: #ffffff;
  color: #252827;
  font: 500 17px/1.3 "DM Sans", sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

.lead-modal-field input:focus {
  border-color: #c9366a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 54, 106, .2);
}

.lead-modal-submit {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  padding: 14px 17px;
  border: 0;
  border-radius: 12px;
  background: #c9366a;
  color: #ffffff;
  font: 700 16px/1.2 "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}

.lead-modal-submit:disabled {
  opacity: .7;
  cursor: progress;
}

/* Spam trap: invisible to people, filled in by bots */
.lead-modal-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-modal-submit span:last-child {
  font-size: 23px;
  line-height: 1;
}

.lead-modal-submit:focus-visible {
  outline: 3px solid #2f0d19;
  outline-offset: 3px;
}

.lead-modal-fine {
  margin: 0;
  color: #56605f;
  font: 400 14px/1.45 "DM Sans", sans-serif;
  text-align: center;
}
