/* Simple quote fields for the unpublished draft. */
[data-quote-form] .form-grid,
[data-quote-form] .lead-form-grid {
  align-items: start;
  gap: 20px 18px;
}

[data-quote-form] label {
  display: flex;
  flex-direction: column;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

[data-quote-form] .field-label,
[data-quote-form] .form-grid label > span:first-child {
  align-items: center;
  min-height: 20px;
  margin: 0;
  color: #06264b;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

[data-quote-form] .field-label small {
  color: #5a6b7a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

[data-quote-form] input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]),
[data-quote-form] select {
  box-sizing: border-box;
  flex: none;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 0 13px;
  border: 1px solid #70808e;
  border-radius: 0;
  background-color: #fff;
  color: #172b3d;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

[data-quote-form] textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 116px;
  padding: 13px;
  border: 1px solid #70808e;
  border-radius: 0;
  background: #fff;
  color: #172b3d;
  font-size: 16px;
  font-weight: 400;
  resize: vertical;
}

[data-quote-form] input[type="file"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  padding: 13px;
  border: 1px dashed #70808e;
  border-radius: 0;
  background: #fff;
  color: #5a6b7a;
  font-size: 14px;
  font-weight: 400;
}

[data-quote-form] .form-hint {
  color: #5a6b7a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

[data-quote-form] .form-wide,
[data-quote-form] .simple-form-wide {
  grid-column: 1 / -1;
}

[data-quote-form] .lead-form-head {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 0;
  border: 0;
}

[data-quote-form] .lead-form-head > span,
[data-quote-form] .simple-reply-note {
  display: block;
  margin: 10px 0 0;
  color: #516277;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

[data-quote-form] .form-heading {
  display: block;
}

[data-quote-form] .lead-consent {
  margin: 13px 0 0;
  color: #516277;
  font-size: 12px;
  line-height: 1.5;
}

#south-surrey-patio-quote-form > .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 520px) {
  [data-quote-form] .form-grid,
  [data-quote-form] .lead-form-grid,
  #south-surrey-patio-quote-form > .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

/* Quote page: direct contact details beside a separate estimate card. */
.quote-page,
.quote-page .quote-page-main,
.quote-page .quote-page-section {
  background: #fff;
}

.quote-page .quote-page-section {
  min-height: 0;
  padding-top: 156px;
  padding-bottom: 80px;
}

.quote-page .lead-shell {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
  width: min(100%, 1160px);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.quote-page .contact-info {
  display: block;
  min-width: 0;
  padding: 12px 0 0;
  background: transparent;
  color: var(--navy);
}

.quote-page .contact-info .section-kicker {
  margin: 0 0 14px;
  color: var(--aqua-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .09em;
}

.quote-page .contact-info h1 {
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.08;
}

.quote-page .contact-info > p:not(.section-kicker) {
  max-width: 440px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.quote-page .contact-info-list {
  margin: 26px 0 0;
}

.quote-page .contact-info-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.quote-page .contact-info-row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 20px;
  text-transform: uppercase;
}

.quote-page .contact-info-row svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--aqua-dark);
}

.quote-page .contact-info-row dd {
  margin: 5px 0 0 30px;
}

.quote-page .contact-info-value {
  display: block;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.quote-page a.contact-info-value {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  color: var(--aqua-dark);
}

.quote-page a.contact-info-value:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.quote-page .contact-info-row dd p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.quote-page .lead-form {
  padding: 28px;
  border: 1px solid #d7e0e6;
  border-radius: 8px;
  background: #fff;
}

.quote-page #quote-form .lead-form-head h2 {
  font-size: clamp(25px, 2.3vw, 30px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.quote-page #quote-form .lead-form-head > span {
  max-width: 440px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.quote-page #quote-form input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]),
.quote-page #quote-form select,
.quote-page #quote-form textarea {
  border-color: #8a9dab;
  border-radius: 4px;
}

.quote-page #quote-form .lead-form-submit {
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  margin-top: 24px;
  border: 0;
  border-radius: 5px;
  background: var(--aqua);
  color: var(--navy-deep);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.quote-page #quote-form .lead-form-submit:hover {
  background: #62d1e7;
}

.quote-page #quote-form .lead-form-submit:disabled {
  cursor: wait;
  opacity: .7;
}

@media (max-width: 800px) {
  .quote-page .quote-page-section {
    padding-top: 116px;
    padding-bottom: 52px;
  }
  .quote-page .lead-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .quote-page .contact-info { padding-top: 0; }
  .quote-page .contact-info-list { margin-top: 14px; }
  .quote-page .contact-info-row { padding: 14px 0; }
}

@media (max-width: 520px) {
  .quote-page .quote-page-section { padding-left: 20px; padding-right: 20px; }
  .quote-page .contact-info-value { font-size: 17px; }
  .quote-page .lead-form { padding: 22px 18px; }
}
