.page-contact .section-estimate {
  padding: 84px 0 118px;
  background: #f6f8fb;
}

.page-contact .premium-form-layout {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact .premium-canvas-desk {
  width: 100%;
  margin: 0 auto;
  padding: 48px;
  background: #ffffff;
  border: 1px solid #e3e9ef;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.045);
}

.page-contact .estimate-form-single {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-contact .canvas-header {
  padding-bottom: 28px;
  border-bottom: 1px solid #e7edf3;
  text-align: left;
}

.page-contact .canvas-header .eyebrow {
  display: none;
}

.page-contact .canvas-header h2 {
  margin: 0;
  color: #111827;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.28;
}

.page-contact .canvas-header p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #667085;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.72;
  word-break: keep-all;
}

.page-contact .premium-row-grid,
.page-contact .estimate-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.page-contact .premium-field,
.page-contact .contact-section__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-contact .contact-section__field--full {
  grid-column: 1 / -1;
}

.page-contact .estimate-form__section {
  display: grid;
  gap: 18px;
}

.page-contact .estimate-form__section + .estimate-form__section {
  padding-top: 4px;
}

.page-contact .estimate-form__section-title {
  margin: 0;
  color: #101828;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.36;
}

.page-contact .estimate-form__section-title i {
  display: none;
}

.page-contact .premium-field label,
.page-contact .contact-section__field label {
  color: #344054;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.35;
}

.page-contact .premium-field .required-mark,
.page-contact .contact-section__field label span,
.page-contact .required {
  margin-left: 2px;
  color: #d92d20;
}

.page-contact .premium-field input[type="text"],
.page-contact .premium-field input[type="email"],
.page-contact .premium-field input[type="tel"],
.page-contact .premium-field input[type="number"],
.page-contact .premium-field input[type="date"],
.page-contact .premium-field select,
.page-contact .premium-field textarea,
.page-contact .contact-section__field input[type="text"],
.page-contact .contact-section__field input[type="email"],
.page-contact .contact-section__field input[type="tel"],
.page-contact .contact-section__field input[type="number"],
.page-contact .contact-section__field input[type="date"],
.page-contact .contact-section__field select,
.page-contact .contact-section__field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  color: #101828;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.page-contact .premium-field input[type="text"],
.page-contact .premium-field input[type="email"],
.page-contact .premium-field input[type="tel"],
.page-contact .premium-field input[type="number"],
.page-contact .premium-field input[type="date"],
.page-contact .premium-field select,
.page-contact .contact-section__field input[type="text"],
.page-contact .contact-section__field input[type="email"],
.page-contact .contact-section__field input[type="tel"],
.page-contact .contact-section__field input[type="number"],
.page-contact .contact-section__field input[type="date"],
.page-contact .contact-section__field select {
  height: 52px;
  padding: 0 15px;
}

.page-contact .premium-field textarea,
.page-contact .contact-section__field textarea {
  height: 148px;
  padding: 14px 15px;
  line-height: 1.65;
  resize: vertical;
}

.page-contact .premium-field input::placeholder,
.page-contact .premium-field textarea::placeholder,
.page-contact .contact-section__field input::placeholder,
.page-contact .contact-section__field textarea::placeholder {
  color: #98a2b3;
}

.page-contact .premium-field input:hover,
.page-contact .premium-field select:hover,
.page-contact .premium-field textarea:hover,
.page-contact .contact-section__field input:hover,
.page-contact .contact-section__field select:hover,
.page-contact .contact-section__field textarea:hover {
  border-color: #b8c2cf;
}

.page-contact .premium-field input:focus,
.page-contact .premium-field select:focus,
.page-contact .premium-field textarea:focus,
.page-contact .contact-section__field input:focus,
.page-contact .contact-section__field select:focus,
.page-contact .contact-section__field textarea:focus {
  background: #ffffff;
  border-color: #008eff;
  box-shadow: 0 0 0 4px rgba(0, 142, 255, 0.1);
}

.page-contact .premium-field-stack {
  display: grid;
  gap: 10px;
}

.page-contact .premium-phone-wrapper {
  display: grid;
  grid-template-columns: 0.72fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.page-contact .premium-phone-wrapper input {
  text-align: center;
}

.page-contact .phone-separator {
  color: #98a2b3;
  font-size: 14px;
  font-weight: 700;
}

.page-contact .premium-file-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.page-contact .premium-file-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.page-contact .premium-file-row:focus-within {
  border-color: #008eff;
  box-shadow: 0 0 0 4px rgba(0, 142, 255, 0.1);
}

.page-contact .premium-file-row .file-number {
  color: #344054;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.page-contact .premium-file-input {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: #667085;
  font-size: 13px;
  cursor: pointer;
  outline: none;
}

.page-contact .premium-field-note {
  margin: 4px 0 0;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.58;
}

.page-contact .file-attachment-divider {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid #e7edf3;
}

.page-contact .agree-scroll-box,
.page-contact .estimate-form__privacy-box {
  width: 100%;
  height: 128px;
  overflow-y: auto;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e3e9ef;
  border-radius: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.68;
  word-break: keep-all;
}

.page-contact .agree-scroll-box::-webkit-scrollbar,
.page-contact .estimate-form__privacy-box::-webkit-scrollbar {
  width: 6px;
}

.page-contact .agree-scroll-box::-webkit-scrollbar-track,
.page-contact .estimate-form__privacy-box::-webkit-scrollbar-track {
  background: transparent;
}

.page-contact .agree-scroll-box::-webkit-scrollbar-thumb,
.page-contact .estimate-form__privacy-box::-webkit-scrollbar-thumb {
  background: #c9d3df;
  border-radius: 999px;
}

.page-contact .premium-check-label,
.page-contact .estimate-form__privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 2px;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
  user-select: none;
}

.page-contact .premium-check-label input[type="checkbox"],
.page-contact .estimate-form__privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid #c9d3df;
  border-radius: 5px;
  accent-color: #008eff;
  cursor: pointer;
}

.page-contact .blue-submit-wrap,
.page-contact .estimate-form__submit {
  display: flex;
  justify-content: flex-end;
  padding-top: 2px;
}

.page-contact .blue-submit-btn,
.page-contact .estimate-form__submit .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 52px;
  padding: 0 28px;
  background: #008eff;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.page-contact .blue-submit-btn:hover,
.page-contact .estimate-form__submit .button:hover {
  background: #0077d6;
  transform: translateY(-1px);
}

.page-contact .blue-submit-btn:active,
.page-contact .estimate-form__submit .button:active {
  transform: translateY(0);
}

.page-contact .blue-submit-btn:disabled,
.page-contact .estimate-form__submit .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.page-contact .form-message,
.page-contact .contact-section__message {
  margin: 0;
  padding: 13px 15px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.55;
}

.page-contact .form-message:empty,
.page-contact .contact-section__message:empty {
  display: none;
}

.page-contact .form-message.is-success,
.page-contact .contact-section__message.is-success {
  background: #effaf4;
  border-color: #bbf7d0;
  color: #047857;
}

.page-contact .form-message.is-error,
.page-contact .contact-section__message.is-error {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

@media (max-width: 991px) {
  .page-contact .section-estimate {
    padding: 64px 0 96px;
  }

  .page-contact .premium-canvas-desk {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .page-contact .section-estimate {
    padding: 42px 0 80px;
  }

  .page-contact .premium-form-layout {
    padding: 0 16px;
  }

  .page-contact .premium-canvas-desk {
    padding: 28px 18px;
    border-radius: 8px;
  }

  .page-contact .estimate-form-single {
    gap: 24px;
  }

  .page-contact .canvas-header {
    padding-bottom: 24px;
  }

  .page-contact .canvas-header h2 {
    font-size: 24px;
  }

  .page-contact .canvas-header p {
    font-size: 14px;
  }

  .page-contact .premium-row-grid,
  .page-contact .estimate-form__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-contact .premium-phone-wrapper {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 6px;
  }

  .page-contact .premium-file-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-contact .blue-submit-wrap,
  .page-contact .estimate-form__submit {
    justify-content: stretch;
  }

  .page-contact .blue-submit-btn,
  .page-contact .estimate-form__submit .button {
    width: 100%;
  }

  .page-contact .cd-quick__mobile-floating {
    display: none;
  }
}
