/* Quote page — matches landing-page visual language */

.page-quote {
  padding-top: clamp(76px, 10vw, 96px);
}

.page-quote .qt-main {
  padding-bottom: 48px;
}

/* ---------- Hero ---------- */
.qt-hero {
  position: relative;
  margin: 0;
  color: #fff;
  background: #01032c;
  overflow: hidden;
}

.qt-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.qt-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 85% at 50% 30%, rgba(0, 12, 32, 0) 0%, rgba(0, 10, 28, 0.35) 100%),
    linear-gradient(180deg, rgba(2, 12, 34, 0.38) 0%, rgba(2, 14, 38, 0.58) 52%, rgba(1, 8, 28, 0.78) 100%);
  pointer-events: none;
}

.qt-hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(32px, 5vw, 56px) 0 clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qt-hero__crumb {
  margin: 0 0 12px;
  font-size: var(--lp-fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.qt-hero__crumb * {
  text-transform: uppercase !important;
}

.qt-hero__crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.qt-hero__crumb a:hover {
  text-decoration: underline;
}

.qt-hero__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.qt-hero__lead {
  margin: 0;
  max-width: 70ch;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Section headings ---------- */
.qt-section-head {
  text-align: center;
  margin-bottom: 0;
}

.qt-section-title {
  margin: 0 0 var(--lp-title-bar-gap);
  font-size: var(--lp-fs-h2);
  font-weight: 700;
  line-height: 1.25;
  color: #1f2937;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Layout ---------- */
.qt-grid {
  margin-top: var(--lp-bar-bottom);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--lp-gap);
  align-items: start;
}

@media (min-width: 1024px) {
  .qt-grid {
    align-items: stretch;
  }
}

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

.qt-card {
  padding: clamp(16px, 2.2vw, 24px);
  /* allow dropdown panels to escape the card */
  overflow: visible;
}

.qt-aside {
  height: 100%;
}

.qt-aside-card {
  padding: clamp(16px, 2.2vw, 24px);
  height: 100%;
}

/* ---------- Form ---------- */
.qt-form {
  display: grid;
  gap: 14px;
}

.qt-row {
  display: grid;
  gap: 12px;
}

.qt-row--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .qt-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.qt-field {
  border: 1px solid rgba(2, 6, 23, 0.10);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
  display: grid;
  gap: 6px;
}

.qt-field--hidden {
  display: none;
}

.qt-field:focus-within {
  border-color: rgba(11, 95, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(11, 95, 255, 0.12);
}

.qt-label {
  font-size: var(--lp-fs-sm);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(15, 23, 42, 0.72);
  text-transform: uppercase;
}

.qt-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #0b1220;
  font-size: var(--lp-fs-md);
  font-family: inherit;
}

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

/* ---------- Custom dropdown (qt-dd) ---------- */
.qt-dd {
  position: relative;
  width: 100%;
  z-index: 2;
}

.qt-dd.is-open {
  z-index: 5000;
}

.qt-dd__btn {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 2px;
  border: 0;
  background: transparent;
  color: #0b1220;
  font-size: var(--lp-fs-md);
  font-family: inherit;
  font-weight: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.qt-dd__btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.qt-dd__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0b1220;
}

.qt-dd__chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid rgba(17, 24, 39, 0.7);
  border-bottom: 2px solid rgba(17, 24, 39, 0.7);
  pointer-events: none;
  transition: transform 0.18s ease;
}

.qt-dd.is-open .qt-dd__chev {
  transform: translateY(-50%) rotate(225deg);
}

.qt-dd__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5001;
  padding: 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  max-height: min(320px, 52vh);
  overflow: auto;
  display: none;
}

.qt-dd.is-open .qt-dd__panel {
  display: block;
}

.qt-dd__opt {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 10px 10px;
  border-radius: 10px;
  color: #0f172a;
  font-size: var(--lp-fs-md);
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.qt-dd__opt:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.qt-dd__opt.is-active,
.qt-dd__opt[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
  color: #1d4ed8;
  font-weight: 700;
}


.qt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #f8fafc;
  color: #0f172a;
  font-size: var(--lp-fs-md);
  cursor: pointer;
  user-select: none;
}

.qt-chip input {
  accent-color: #2563eb;
}

.qt-checkgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.qt-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #f8fafc;
  color: #0f172a;
  font-size: var(--lp-fs-md);
  cursor: pointer;
}

.qt-check input {
  accent-color: #2563eb;
}

.qt-custom-grid {
  display: grid;
  gap: 12px;
}

.qt-subfield {
  display: grid;
  gap: 6px;
}

.qt-counter {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  color: #64748b;
  font-size: var(--lp-fs-sm);
  line-height: 1.4;
}

.qt-row--captcha {
  grid-template-columns: 160px 1fr;
  align-items: center;
}

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

.qt-captcha {
  width: 160px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(2, 6, 23, 0.10);
  object-fit: cover;
  cursor: pointer;
  background: #fff;
}

.qt-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: auto;
  min-width: 200px;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0b5fff 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.qt-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 95, 255, 0.24);
}

.qt-submit:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.qt-hidden {
  display: none;
}

/* ---------- Aside ---------- */
.qt-aside-title {
  margin: 0 0 12px;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.qt-aside-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.7;
  font-size: var(--lp-fs-md);
}

.qt-aside-list li + li {
  margin-top: 6px;
}

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

.qt-aside-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  font-size: var(--lp-fs-md);
  line-height: 1.6;
}

.qt-aside-meta__k {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.72);
}

.qt-aside-meta__v {
  color: #0f172a;
  word-break: break-word;
}

