/* ===========================================================
   Get a Quote — single-screen page (header + form, no scrolling)
   =========================================================== */

html, body.quote-page {
  height: 100%;
}

body.quote-page {
  overflow: hidden;
}

.quote-main {
  margin-top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2vh, 22px) 24px;
  overflow: hidden;
}

.quote-shell {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(16px, 2.6vw, 40px);
  align-items: stretch;
  transform-origin: center center;
  animation: quoteIn 0.5s ease both;
}

@keyframes quoteIn {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- Left info panel ---- */

.quote-info {
  background: linear-gradient(160deg, var(--color-bg-card), var(--color-bg-soft));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vh, 30px) clamp(18px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(6px, 1.1vh, 12px);
}

.quote-info .eyebrow { margin-bottom: 2px; }

.quote-info h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin-bottom: 4px;
}

.quote-info-lead {
  color: var(--color-text-dim);
  font-size: clamp(0.82rem, 1.4vh, 0.95rem);
  margin-bottom: clamp(8px, 1.6vh, 16px);
  max-width: 42ch;
}

.quote-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(6px, 1.1vh, 11px) 0;
  border-top: 1px solid var(--color-border);
}
.quote-contact-row:first-of-type { border-top: none; }

.quote-contact-row .ic {
  width: clamp(30px, 4vh, 38px);
  height: clamp(30px, 4vh, 38px);
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote-contact-row .ic svg { width: 16px; height: 16px; }

.quote-contact-row strong {
  display: block;
  font-size: 0.68rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.quote-contact-row .val {
  color: var(--color-text);
  font-weight: 500;
  font-size: clamp(0.8rem, 1.4vh, 0.92rem);
}

/* ---- Right form panel ---- */

.quote-form-panel {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vh, 30px) clamp(18px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.6vh, 16px);
}

.quote-form-panel .form-grid {
  gap: clamp(10px, 1.6vw, 18px);
  margin-bottom: 0;
}

.quote-form-panel .field label {
  font-size: 0.78rem;
}

.quote-form-panel .field input,
.quote-form-panel .field select,
.quote-form-panel .field textarea {
  padding: clamp(8px, 1.4vh, 12px) 14px;
  font-size: 0.88rem;
}

.quote-form-panel .field textarea {
  min-height: clamp(44px, 6vh, 64px);
  resize: none;
}

.quote-form-panel .form-actions {
  margin-top: 2px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quote-form-panel .form-actions .btn {
  padding: clamp(10px, 1.6vh, 14px) 24px;
}

.quote-form-panel .form-note {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* ---- Toast confirmation (overlay, doesn't affect layout height) ---- */

.quote-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(140%);
  background: var(--color-bg-card);
  border: 1px solid rgba(0, 255, 221, 0.4);
  color: var(--color-teal);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  max-width: 90vw;
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 600;
  transition: transform 0.35s ease;
}
.quote-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ---- Responsive: allow the page to breathe / scroll on very small screens ---- */

@media (max-width: 900px), (max-height: 640px) {
  body.quote-page { overflow: auto; }
  .quote-main { height: auto; min-height: calc(100dvh - var(--header-h)); overflow: visible; padding: 28px 20px; }
  .quote-shell { grid-template-columns: 1fr; }
}
