/* ==========================================================================
   GET A QUOTE — page styles
   Layers on top of /css/style.css (do not duplicate shared rules)
   ========================================================================== */

/* ---------- compact page hero ---------- */

.page-hero {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 200px 0 84px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.06;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.page-hero-sub {
  color: var(--steel);
  margin-top: 22px;
  max-width: 40em;
}

/* ---------- layout ---------- */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.quote-form-title { margin-bottom: 20px; }

.quote-form-intro {
  color: var(--steel);
  max-width: 36em;
  margin-bottom: 44px;
}

.quote-form-intro a {
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.quote-form-intro a:hover { color: var(--white); border-color: var(--white); }

/* ---------- form ---------- */

.form-row { margin-bottom: 26px; }

.form-row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.form-field { display: flex; flex-direction: column; }

.form-field label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.form-field label span { color: var(--teal); }

.form-field input,
.form-field select,
.form-field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  padding: 15px 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(169, 176, 177, 0.6); }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: rgba(255, 255, 255, 0.28); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(91, 174, 182, 0.22);
  background: var(--charcoal-2);
}

.form-field textarea { resize: vertical; min-height: 160px; }

/* custom select arrow */

.select-wrap { position: relative; }

.select-wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-70%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  pointer-events: none;
}

.select-wrap select { padding-right: 48px; cursor: pointer; }

.select-wrap select:invalid,
.select-wrap select option[value=""] { color: rgba(169, 176, 177, 0.9); }

.select-wrap select option { background: var(--charcoal); color: var(--white); }

/* ---------- actions + confirmation ---------- */

.form-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.form-hint { color: var(--steel); font-size: 14px; max-width: 24em; line-height: 1.6; }

.form-hint a {
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.form-hint a:hover { color: var(--white); border-color: var(--white); }

.form-confirm {
  margin-top: 34px;
  border: 1px solid var(--teal);
  background: rgba(91, 174, 182, 0.08);
  padding: 22px 26px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.7;
}

.form-confirm strong { color: var(--teal); font-weight: 500; }

.form-confirm a { color: var(--teal); border-bottom: 1px solid var(--teal); }
.form-confirm a:hover { color: var(--white); border-color: var(--white); }

/* ---------- aside: contact card + highlights ---------- */

.quote-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card,
.highlights-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: clamp(30px, 3.4vw, 44px);
}

.contact-card .eyebrow,
.highlights-card .eyebrow { margin-bottom: 16px; }

.contact-card-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-card address {
  font-style: normal;
  color: var(--steel);
  margin-bottom: 24px;
}

.contact-lines { list-style: none; }

.contact-lines li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}

.contact-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
}

.contact-lines a { transition: color 0.3s ease; }
.contact-lines a:hover { color: var(--teal); }

.contact-emergency { color: var(--teal); }
.contact-emergency:hover { color: var(--white) !important; }

.contact-lines li span:not(.contact-label) { color: var(--steel); }
.contact-lines li a { color: var(--white); }
.contact-lines li a.contact-emergency { color: var(--teal); }

/* highlights */

.highlights-list { list-style: none; }

.highlights-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.highlights-list li:first-child { border-top: 0; padding-top: 4px; }

.highlight-value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--white);
}

.highlight-value a {
  border-bottom: 1px solid var(--teal);
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.highlight-value a:hover { color: var(--teal); }

.highlight-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
}

.highlights-list img { height: 52px; width: auto; align-self: flex-start; object-fit: contain; margin-bottom: 4px; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside {
    flex-direction: row;
    align-items: stretch;
  }
  .quote-aside > div { flex: 1; }
}

@media (max-width: 820px) {
  .page-hero { padding: 160px 0 64px; }
  .quote-aside { flex-direction: column; }
  .form-row-split { grid-template-columns: 1fr; }
}

/* ---------- captcha row ---------- */

#qfSubmit[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-actions .form-hint { flex-basis: 100%; }
