.quote-page {
  background: var(--wasatch-surface);
}

.quote-kicker {
  margin: 0 0 10px;
  color: #ffc4ad;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-kicker--dark {
  color: var(--wasatch-orange-dark);
}

.quote-hero {
  color: var(--wasatch-white);
  background: var(--wasatch-ink);
}

.quote-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: end;
  padding-block: clamp(60px, 9vw, 110px);
}

.quote-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.quote-hero__inner > div > p:last-child {
  max-width: 750px;
  margin: 24px 0 0;
  color: #dbe3ea;
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.quote-hero__steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.quote-hero__steps li {
  display: flex;
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.quote-hero__steps span {
  color: var(--wasatch-orange);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.quote-content {
  padding-block: clamp(48px, 8vw, 100px);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.quote-sidebar {
  position: sticky;
  top: 160px;
  padding: 28px;
  border-top: 4px solid var(--wasatch-orange);
  border-radius: 0 0 14px 14px;
  background: var(--wasatch-white);
  box-shadow: var(--wasatch-shadow);
}

.quote-sidebar h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.15;
}

.quote-sidebar ul {
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--wasatch-slate);
}

.quote-sidebar li + li {
  margin-top: 11px;
}

.quote-sidebar__contact {
  display: grid;
  gap: 5px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--wasatch-border);
}

.quote-sidebar__contact a {
  color: var(--wasatch-orange-dark);
  font-size: 1.05rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.quote-form-panel {
  min-width: 0;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--wasatch-border);
  border-radius: 16px;
  background: var(--wasatch-white);
  box-shadow: 0 20px 55px rgba(23, 33, 43, 0.1);
}

.quote-form-panel .gform_heading {
  margin-bottom: 36px;
}

.quote-form-panel .gform_title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.05;
}

.quote-form-panel .gsection {
  margin-top: 24px;
  padding: 24px 0 12px;
  border: 0;
  border-top: 1px solid var(--wasatch-border);
}

.quote-form-panel .gsection_title {
  margin: 0 0 6px;
  color: var(--wasatch-ink);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.quote-form-panel .gsection_description {
  color: var(--wasatch-muted);
}

.quote-form-panel .gfield_label,
.quote-form-panel .gform-field-label {
  margin-bottom: 8px;
  color: var(--wasatch-ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
}

.quote-form-panel .gform_required_legend {
  margin: 0;
  color: var(--wasatch-muted);
  font-size: 0.82rem;
}

.quote-form-panel .gfield_required_asterisk {
  margin-left: 3px;
  color: #c2410c;
  font-size: 1.05em;
  font-weight: 900;
}

.quote-form-panel input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.quote-form-panel select,
.quote-form-panel textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c7d0da;
  border-radius: 9px;
  color: var(--wasatch-ink);
  background: #fbfcfd;
  font: inherit;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.quote-form-panel input::placeholder,
.quote-form-panel textarea::placeholder {
  color: #8793a1;
}

.quote-form-panel textarea {
  min-height: 140px;
  max-height: 260px;
  resize: vertical;
}

.quote-form-panel select {
  cursor: pointer;
}

.quote-form-panel input:not([type="checkbox"]):not([type="radio"]):focus,
.quote-form-panel select:focus,
.quote-form-panel textarea:focus {
  border-color: var(--wasatch-focus);
  outline: 0;
  background: var(--wasatch-white);
  box-shadow: 0 0 0 4px rgba(29, 114, 184, 0.14);
}

.quote-form-panel .gfield_radio,
.quote-form-panel .gfield_checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.quote-form-panel .gchoice {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d5dce4;
  border-radius: 9px;
  background: #fbfcfd;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.quote-form-panel .gchoice:hover {
  border-color: #9aa8b7;
  background: var(--wasatch-white);
}

.quote-form-panel .gchoice:focus-within {
  border-color: var(--wasatch-focus);
  box-shadow: 0 0 0 3px rgba(29, 114, 184, 0.12);
}

.quote-form-panel input[type="radio"],
.quote-form-panel input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--wasatch-orange-dark);
}

.quote-form-panel .gchoice label {
  margin: 0;
  color: var(--wasatch-slate);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
}

.quote-form-panel .ginput_container_date {
  position: relative;
}

.quote-form-panel .ginput_container_date input {
  padding-right: 48px !important;
}

.quote-form-panel .ui-datepicker-trigger {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 21px !important;
  height: 21px !important;
  margin: 0 !important;
  opacity: 0.65;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 160ms ease;
}

.quote-form-panel .ui-datepicker-trigger:hover {
  opacity: 1;
}

.quote-form-panel input[type="file"] {
  min-height: auto !important;
  padding: 8px !important;
  border-style: dashed !important;
  background: #f8fafc !important;
}

.quote-form-panel input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  color: var(--wasatch-white) !important;
  background: var(--wasatch-slate) !important;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.quote-form-panel input[type="file"]::file-selector-button:hover {
  color: var(--wasatch-white) !important;
  background: var(--wasatch-orange-dark) !important;
  box-shadow: 0 4px 12px rgba(200, 63, 18, 0.2);
}

.quote-form-panel input[type="file"]:focus-visible {
  outline: 3px solid var(--wasatch-focus);
  outline-offset: 3px;
}

.quote-form-panel .gform_button,
.quote-form-panel .gform_footer input[type="submit"] {
  min-height: 54px !important;
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 9px !important;
  color: var(--wasatch-white) !important;
  background: var(--wasatch-orange) !important;
  box-shadow: 0 8px 20px rgba(200, 63, 18, 0.2);
  font-size: 1rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.quote-form-panel .gform_button:hover,
.quote-form-panel .gform_footer input[type="submit"]:hover {
  background: var(--wasatch-orange-dark) !important;
  box-shadow: 0 10px 24px rgba(200, 63, 18, 0.28);
  transform: translateY(-1px);
}

.quote-form-panel .gform_button:focus-visible {
  outline: 3px solid var(--wasatch-focus);
  outline-offset: 3px;
}

.quote-form-panel .gfield_description {
  color: var(--wasatch-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.quote-form-panel .gfield_validation_message,
.quote-form-panel .gform_validation_errors {
  border-color: #b42318;
  border-radius: 9px;
  color: #8a1c13;
  background: #fff1f0;
}

.quote-form-panel .gfield_error input,
.quote-form-panel .gfield_error select,
.quote-form-panel .gfield_error textarea {
  border-color: #b42318;
}

body.page-template-page-request-a-quote .ui-datepicker,
body.page-template-page-request-a-quote .gform-theme-datepicker,
body.page-template-page-request-traffic-control-plan .ui-datepicker,
body.page-template-page-request-traffic-control-plan .gform-theme-datepicker {
  width: 310px;
  padding: 12px;
  border: 1px solid #d5dce4;
  border-radius: 12px;
  background: var(--wasatch-white);
  box-shadow: 0 18px 45px rgba(23, 33, 43, 0.2);
  font-family: inherit;
}

body.page-template-page-request-a-quote .ui-datepicker-header,
body.page-template-page-request-traffic-control-plan .ui-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--wasatch-white);
  background: var(--wasatch-ink);
}

body.page-template-page-request-a-quote .ui-datepicker-title,
body.page-template-page-request-traffic-control-plan .ui-datepicker-title {
  color: inherit;
  font-size: 0.92rem;
  font-weight: 800;
}

body.page-template-page-request-a-quote .ui-datepicker-prev,
body.page-template-page-request-a-quote .ui-datepicker-next,
body.page-template-page-request-traffic-control-plan .ui-datepicker-prev,
body.page-template-page-request-traffic-control-plan .ui-datepicker-next {
  top: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

body.page-template-page-request-a-quote .ui-datepicker-prev,
body.page-template-page-request-traffic-control-plan .ui-datepicker-prev {
  left: 8px;
}

body.page-template-page-request-a-quote .ui-datepicker-next,
body.page-template-page-request-traffic-control-plan .ui-datepicker-next {
  right: 8px;
}

body.page-template-page-request-a-quote .ui-datepicker-prev:hover,
body.page-template-page-request-a-quote .ui-datepicker-next:hover,
body.page-template-page-request-traffic-control-plan .ui-datepicker-prev:hover,
body.page-template-page-request-traffic-control-plan .ui-datepicker-next:hover {
  background: rgba(255, 255, 255, 0.14);
}

body.page-template-page-request-a-quote .ui-datepicker-calendar,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar {
  margin: 10px 0 0;
  border: 0;
}

body.page-template-page-request-a-quote .ui-datepicker-calendar th,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar th {
  padding: 7px 2px;
  color: var(--wasatch-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

body.page-template-page-request-a-quote .ui-datepicker-calendar td,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar td {
  padding: 2px;
  border: 0;
}

body.page-template-page-request-a-quote .ui-datepicker-calendar td a,
body.page-template-page-request-a-quote .ui-datepicker-calendar td span,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar td a,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar td span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: var(--wasatch-slate);
  background: transparent;
  font-weight: 700;
  text-align: center;
}

body.page-template-page-request-a-quote .ui-datepicker-calendar td a:hover,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar td a:hover {
  color: var(--wasatch-ink);
  background: #eef2f6;
}

body.page-template-page-request-a-quote .ui-datepicker-calendar .ui-datepicker-current-day a,
body.page-template-page-request-a-quote .ui-datepicker-calendar .ui-state-active,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar .ui-datepicker-current-day a,
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar .ui-state-active {
  color: var(--wasatch-white);
  background: var(--wasatch-orange-dark);
}

body.page-template-page-request-a-quote .ui-datepicker-calendar .ui-datepicker-today a:not(.ui-state-active),
body.page-template-page-request-traffic-control-plan .ui-datepicker-calendar .ui-datepicker-today a:not(.ui-state-active) {
  color: var(--wasatch-orange-dark);
  box-shadow: inset 0 0 0 1px var(--wasatch-orange);
}

.quote-form-notice {
  padding: 30px;
  border-left: 4px solid var(--wasatch-orange);
  background: var(--wasatch-surface);
}

.quote-form-notice h2 {
  margin-top: 0;
}

@media (max-width: 880px) {
  .quote-hero__inner,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .quote-form-panel {
    padding: 22px 18px;
  }
}
