.site-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.site-quote-modal.is-open {
  display: flex;
}

.site-quote-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
  color: #fff;
  padding: 2.1rem 1.9rem 1.65rem;
}

.site-quote-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.site-quote-modal__close:hover,
.site-quote-modal__close:focus {
  border-color: var(--blue, #29b6f6);
  color: #fff;
  outline: none;
}

.site-quote-modal__kicker {
  display: block;
  color: var(--blue, #29b6f6);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  margin: 0 2.5rem 0.7rem 0;
  text-transform: uppercase;
}

.site-quote-modal__title {
  color: var(--white, #f5f3ef);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.25rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0 2.5rem 0.65rem 0;
}

.site-quote-modal__intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 1.05rem;
}

.site-quote-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.site-quote-field {
  display: grid;
  gap: 0.35rem;
}

.site-quote-field label {
  color: var(--muted, rgba(255, 255, 255, 0.78));
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-quote-field input,
.site-quote-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-quote-field textarea {
  min-height: 92px;
  resize: vertical;
}

.site-quote-field input::placeholder,
.site-quote-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.site-quote-field input:focus,
.site-quote-field textarea:focus {
  border-color: var(--blue, #29b6f6);
  box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.18);
  background: rgba(0, 0, 0, 0.58);
}

.site-quote-submit {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--blue, #29b6f6);
  color: var(--black, #050505);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-top: 0.15rem;
  padding: 0.95rem 1rem;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.site-quote-submit:hover,
.site-quote-submit:focus {
  background: var(--blue-bright, #56c8ff);
  outline: none;
  transform: translateY(-1px);
}

.site-quote-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.site-quote-consent,
.site-quote-microcopy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.site-quote-microcopy {
  color: rgba(255, 255, 255, 0.7);
}

.site-quote-status {
  display: none;
  border: 1px solid rgba(41, 182, 246, 0.35);
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.5;
  padding: 0.75rem 0.85rem;
  text-align: center;
}

.site-quote-status.is-visible {
  display: block;
}

.site-quote-status.is-success {
  background: rgba(41, 182, 246, 0.12);
}

.site-quote-status.is-error {
  background: rgba(255, 82, 82, 0.1);
  border-color: rgba(255, 82, 82, 0.35);
}

body.site-quote-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .site-quote-modal {
    align-items: flex-start;
    padding: 0.75rem;
    overflow: auto;
  }

  .site-quote-modal__dialog {
    max-height: none;
    padding: 1.65rem 1.15rem 1.35rem;
  }

  .site-quote-form {
    gap: 0.75rem;
  }

  .site-quote-field input,
  .site-quote-submit {
    min-height: 48px;
  }

  .site-quote-field textarea {
    min-height: 84px;
  }
}
