/* Get a Quote page (PbootCMS contenttpl) */

:root {
  --qt-bg: #f6f8fc;
  --qt-text: #0f172a;
  --qt-muted: #64748b;
  --qt-border: rgba(15, 23, 42, 0.12);
  --qt-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --qt-blue: #00327e;
}

body.page-quote {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--qt-text);
  background: var(--qt-bg);
}

@media (min-width: 1600px) {
  body.page-quote {
    zoom: min(1.75, max(1, 100vw / 1760));
  }
}

.page-quote .container {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: clamp(12px, 3vw, 32px);
  padding-right: clamp(12px, 3vw, 32px);
}

@media (min-width: 1200px) {
  .page-quote .container {
    max-width: 75%;
  }
}

/* ---------- Hero ---------- */
.qt-hero {
  position: relative;
  padding-top: calc(var(--landing-header-height, 80px) + clamp(28px, 3.2vw, 56px));
  padding-bottom: clamp(24px, 3vw, 48px);
  background:
    radial-gradient(900px 500px at 70% 30%, rgba(0, 50, 126, 0.14) 0%, rgba(0, 50, 126, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #edf0f7 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.qt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.45);
  pointer-events: none;
}

.qt-hero > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .qt-hero {
    min-height: 240px;
  }
}

.qt-breadcrumb {
  font-size: clamp(13px, 1vw, 15px);
  color: rgba(255, 255, 255, 0.85);
}

.qt-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.qt-breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.qt-title {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 12px 28px rgba(2, 6, 23, 0.45);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.15;
}

.qt-subtitle {
  margin: 10px 0 0;
  max-width: 62rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
}

/* ---------- Layout ---------- */
.qt-section {
  padding-top: calc(var(--landing-header-height, 80px) + clamp(26px, 3.2vw, 56px));
  padding-bottom: clamp(26px, 3.2vw, 56px);
}

.qt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2.4vw, 28px);
  align-items: start;
}

@media (min-width: 1024px) {
  .qt-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.qt-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.qt-card__inner {
  padding: clamp(16px, 2.2vw, 22px);
}

.qt-h2 {
  margin: 0;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 900;
  letter-spacing: 0.01em;
}

.qt-lead {
  margin: 10px 0 0;
  color: var(--qt-muted);
  line-height: 1.7;
}

.qt-divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 14px 0 16px;
}

.qt-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--qt-muted);
}

.qt-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.qt-list i {
  color: var(--qt-blue);
  margin-top: 2px;
}

.qt-mini {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(15, 23, 42, 0.16);
}

.qt-mini__k {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111827;
}

.qt-mini__v {
  margin-top: 8px;
  display: inline-block;
  color: var(--qt-muted);
  text-decoration: none;
  word-break: break-word;
}

.qt-mini__v:hover {
  color: var(--qt-blue);
}

/* ---------- Form ---------- */
.qt-form {
  margin: 0;
}

.qt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 680px) {
  .qt-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.qt-field {
  display: grid;
  gap: 8px;
}

.qt-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111827;
}

.qt-input,
.qt-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qt-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.qt-input:focus,
.qt-textarea:focus {
  border-color: rgba(0, 50, 126, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 50, 126, 0.14);
}

/* ---------- Custom dropdown (non-native select) ---------- */
.qt-select {
  position: relative;
}

.qt-select__btn {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  background: #fff;
  color: var(--qt-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qt-select__btn:focus-visible {
  border-color: rgba(0, 50, 126, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 50, 126, 0.14);
  outline: none;
}

.qt-select__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  flex: 1 1 auto;
  color: #111827;
}

.qt-select__chev {
  flex: 0 0 auto;
  font-size: 12px;
  opacity: 0.7;
}

.qt-select__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.qt-select__search {
  padding: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
}

.qt-select__search-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.qt-select__search-input:focus {
  border-color: rgba(0, 50, 126, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 50, 126, 0.12);
}

.qt-select__list {
  max-height: 45vh;
  overflow: auto;
  padding: 6px;
}

.qt-select__opt {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 10px;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.qt-select__opt:hover,
.qt-select__opt:focus-visible {
  background: rgba(0, 50, 126, 0.08);
  color: var(--qt-blue);
  outline: none;
}

.qt-select__empty {
  padding: 10px 10px;
  color: var(--qt-muted);
  font-size: 13px;
}

.qt-select.is-disabled .qt-select__btn,
.qt-select__btn:disabled {
  cursor: not-allowed;
  color: rgba(15, 23, 42, 0.45);
  background: rgba(15, 23, 42, 0.03);
}

.qt-select.is-disabled .qt-select__value {
  color: rgba(15, 23, 42, 0.45);
}

.qt-captcha {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
}

.qt-captcha__img {
  width: 140px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  cursor: pointer;
}

.qt-submit {
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0, 50, 126, 1) 0%, rgba(0, 37, 94, 1) 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 50, 126, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.qt-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 50, 126, 0.28);
}

.qt-submit:focus-visible {
  outline: 3px solid rgba(0, 50, 126, 0.35);
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .qt-captcha {
    grid-template-columns: 1fr;
  }

  .qt-captcha__img {
    width: 100%;
  }
}

