html {
  scroll-behavior: smooth;
}

body.ck-quick-contact-active {
  padding-bottom: 88px;
}

.ck-lead-status {
  clear: both;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #d8b889;
  border-radius: 8px;
  background: #fff8ed;
  color: #4d3a24;
  font-size: 14px;
  line-height: 1.45;
}

.ck-lead-status.is-error {
  border-color: #c36d52;
  background: #fff2ed;
  color: #77381f;
}

.ck-quick-contact {
  position: fixed;
  z-index: 2147483000;
  right: 20px;
  bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(184, 120, 40, .35);
  border-radius: 999px;
  background: rgba(255, 250, 243, .96);
  box-shadow: 0 12px 34px rgba(86, 58, 27, .18);
  backdrop-filter: blur(10px);
}

.ck-quick-contact.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.ck-quick-contact a,
.ck-quick-contact button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #d7b98c;
  padding: 0 18px;
  color: #2f241b;
  font: 700 14px/1.1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ck-quick-contact button {
  border-color: #b5751d;
  background: linear-gradient(135deg, #f4b750, #a96213);
  color: #fff;
}

.ck-quick-contact a {
  display: inline-flex;
  align-items: center;
  background: #fff;
}

form[data-ck-lead-ready="1"] input,
form[data-ck-lead-ready="1"] textarea,
form[data-ck-lead-ready="1"] select {
  max-width: 100%;
}

form[data-ck-lead-ready="1"] button[type="submit"],
form[data-ck-lead-ready="1"] input[type="submit"],
form[data-ck-lead-ready="1"] #submit-lyb {
  min-height: 44px;
}

form[data-ck-lead-ready="1"] button[disabled],
form[data-ck-lead-ready="1"] input[disabled] {
  opacity: .72;
  cursor: progress;
}

.ck-contact-heading {
  margin: 0 0 14px;
}

.ck-form-wrap {
  padding: 0 15px;
}

.ck-inline-contact-form {
  width: 100%;
  margin: 0;
  padding: 24px;
  border: 1px solid #d7b98c;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(77, 55, 32, .08);
}

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

.ck-form-field {
  margin: 0 0 16px;
}

.ck-form-field label {
  display: block;
  margin: 0 0 7px;
  color: #2f241b;
  font: 700 15px/1.3 Arial, Helvetica, sans-serif;
}

.ck-form-field label span {
  color: #b5751d;
}

.ck-form-field input,
.ck-form-field select,
.ck-form-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #d7b98c;
  border-radius: 5px;
  background: #fff;
  color: #2f241b;
  padding: 10px 12px;
  font: 16px/1.35 Arial, Helvetica, sans-serif;
}

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

.ck-form-field textarea::placeholder {
  color: #776452;
}

.ck-form-field input:focus,
.ck-form-field select:focus,
.ck-form-field textarea:focus {
  outline: 2px solid #d69431;
  outline-offset: 1px;
  border-color: #d69431;
}

.ck-form-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(135deg, #f2b655, #b36a17);
  color: #fff !important;
  font: 800 16px/1 Arial, Helvetica, sans-serif;
  text-transform: none;
  box-shadow: 0 10px 22px rgba(125, 74, 18, .18);
}

.ck-form-submit:hover,
.ck-form-submit:focus {
  filter: brightness(1.04);
  color: #fff !important;
}

.ck-form-note {
  margin: 12px 0 0;
  color: #5f4b39;
  font-size: 14px;
  line-height: 1.55;
}

.ck-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ck-form-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7b98c;
  border-radius: 5px;
  background: #fffdf8;
  color: #2f241b;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  body.ck-quick-contact-active {
    padding-bottom: 150px;
  }

  .ck-quick-contact {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    padding: 9px;
  }

  .ck-quick-contact .ck-quick-primary {
    grid-column: 1 / -1;
  }

  .ck-quick-contact a,
  .ck-quick-contact button {
    width: 100%;
    justify-content: center;
    padding: 0 12px;
    font-size: 14px;
  }

  #frm-contact-us,
  #contact-form {
    scroll-margin-top: 18px;
  }

  body.ck-contact-page #main-content > .container > .row > .section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: both;
    display: flex;
    flex-direction: column;
  }

  body.ck-contact-page #main-content > .container > .row > .section > aside,
  body.ck-contact-page #main-content > .container > .row > .section > .ck-contact-panel {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
  }

  body.ck-contact-page .ck-contact-panel {
    order: 1;
  }

  body.ck-contact-page aside {
    order: 2;
    margin-top: 24px;
  }

  .ck-form-wrap {
    padding: 0;
  }

  .ck-inline-contact-form {
    padding: 18px;
  }

  .ck-form-grid,
  .ck-form-actions {
    grid-template-columns: 1fr;
  }

  .ck-form-field input,
  .ck-form-field select,
  .ck-form-field textarea {
    font-size: 16px;
  }
}
