html {
  scroll-behavior: smooth;
}

.slider__area-two .slider__bg-two {
  min-height: calc(100vh - 110px);
  padding: 54px 0;
}

.home-estimate-shell .row {
  justify-content: flex-start;
}

.home-estimate-panel {
  width: 100%;
  max-width: 480px;
  padding: 28px;
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(5px);
  font-family: var(--tg-body-font-family);
}

.home-estimate-panel .form-container {
  width: 100%;
  margin: 0;
}

.home-estimate-panel .form-title {
  max-width: 390px;
  margin: 0 0 17px;
  color: var(--tg-color-white-default);
  font-family: var(--tg-heading-font-family);
  font-size: clamp(25px, 2vw, 30px);
  font-weight: var(--tg-fw-bold);
  line-height: var(--tg-heading-line-height);
  text-align: left;
  text-transform: uppercase;
}

.home-estimate-panel .estimate-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  margin: 0;
}

.home-estimate-panel .estimate-form input,
.home-estimate-panel .estimate-form textarea,
.home-estimate-panel .estimate-form__captcha {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
}

.home-estimate-panel .estimate-form input,
.home-estimate-panel .estimate-form textarea {
  padding: 10px 16px;
  color: #17251d;
  font-family: var(--tg-body-font-family);
  font-size: 15px;
  font-weight: var(--tg-fw-regular);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.home-estimate-panel .estimate-form textarea {
  min-height: 72px;
  max-height: 130px;
  resize: vertical;
}

.home-estimate-panel .estimate-form input::placeholder,
.home-estimate-panel .estimate-form textarea::placeholder {
  color: #667085;
}

.home-estimate-panel .estimate-form input:focus,
.home-estimate-panel .estimate-form textarea:focus {
  border-color: #66a878;
  background: var(--tg-color-white-default);
  box-shadow: 0 0 0 3px rgba(102, 168, 120, 0.28);
}

.home-estimate-panel .estimate-form__captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 16px;
}

.home-estimate-panel .estimate-form__captcha-image {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 44px;
}

.home-estimate-panel .estimate-form__reload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-family: var(--tg-body-font-family);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .home-estimate-panel .estimate-form__reload:hover {
    background: #e7eee9;
  }
}

.home-estimate-panel .estimate-form__reload:active,
.home-estimate-panel .estimate-form__submit:active,
.home-estimate-actions .btn:active {
  transform: scale(0.97);
}

.home-estimate-panel .estimate-form__submit {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 24px;
  border: 1px solid #3d7b4d;
  border-radius: 0;
  background: var(--tg-theme-primary);
  color: var(--tg-color-white-default);
  font-family: var(--tg-heading-font-family);
  font-weight: var(--tg-fw-semi-bold);
  text-transform: uppercase;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease;
}

.home-estimate-panel .send:hover {
  border-color: #1d4f2b;
  background: #1d4f2b;
  color: var(--tg-color-white-default);
}

.home-estimate-panel .form-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 13px 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--tg-heading-font-family);
  font-size: 13px;
  font-weight: var(--tg-fw-bold);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.home-estimate-panel .form-separator::before,
.home-estimate-panel .form-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.home-estimate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.home-estimate-actions .btn {
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 0;
  font-family: var(--tg-heading-font-family);
  font-size: 12px;
  font-weight: var(--tg-fw-semi-bold);
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-color 180ms ease, border-color 180ms ease;
}

@media (max-width: 991.98px) {
  .home-estimate-shell .row {
    justify-content: center;
  }

  .home-estimate-panel {
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .slider__area-two .slider__bg-two {
    min-height: auto;
    padding: 42px 0;
  }

  .home-estimate-panel {
    max-width: none;
    padding: 23px 18px;
  }

  .home-estimate-panel .form-title {
    font-size: 23px;
  }
}

@media (max-width: 419.98px) {
  .home-estimate-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-estimate-panel .estimate-form__reload,
  .home-estimate-panel .estimate-form__submit,
  .home-estimate-actions .btn {
    transition: none;
  }
}
