html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.content {
  opacity: 1 !important;
}

.preloader,
.on-load-bg,
.dark-on-scroll,
.overlay,
.hidden,
.hidden-hero {
  display: none !important;
  opacity: 1 !important;
}

.hero-image-scale,
.hero-image-scale.home,
.hero-image-scale.faq,
.hero-signature,
.bottom-word,
.hero-subtitle,
.hero-inner-text,
.hero-dot,
.button-box,
.about-hero-text,
.hero-link-title,
.cateogry-link.white,
.navbar,
[style*="opacity:0"],
[style*="translate3d"] {
  opacity: 1 !important;
  transform: none !important;
}

.site-nav-button {
  display: none;
}

.site-nav-menu {
  display: flex !important;
  flex-direction: row;
  align-items: center;
}

.site-slider-mask {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.site-slide {
  flex: 0 0 min(100%, 420px);
  scroll-snap-align: start;
}

.site-slider-arrow-left,
.site-slider-arrow-right,
.site-slider-nav {
  display: none !important;
}

.accordion-content {
  height: auto !important;
  overflow: visible !important;
}

@media screen and (max-width: 991px) {
  .site-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav-menu {
    display: none !important;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 16px;
    padding: 16px 0 0;
  }

  .site-nav-menu.is-open {
    display: flex !important;
  }

  .site-slider-mask {
    gap: 16px;
  }

  .site-slide {
    flex-basis: 88%;
  }
}

.calculator-page {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 56px;
}

.calc-intro {
  margin-bottom: 20px;
}

.calc-section-label {
  color: #4f5f74;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
}

.calc-card,
.calc-table-wrap,
.calc-cta-band {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f4 100%);
  border: 1px solid #d8d2c8;
  border-radius: 28px;
  box-shadow: 0 20px 44px #16171a0d;
}

.calc-card-title {
  letter-spacing: -.03em;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.15;
}

.calc-card-copy,
.calc-note-list,
.calc-table-section .subtitle {
  color: #4f4b45;
}

.calc-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 22px;
  align-items: start;
  display: grid;
}

.calc-card {
  padding: 24px;
}

.calc-card-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  display: flex;
}

.calc-form {
  display: block;
}

.calc-fieldset {
  border: 1px solid #d8d2c8;
  border-radius: 22px;
  margin: 0 0 16px;
  padding: 18px;
}

.calc-fieldset legend {
  color: #1f2430;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.calc-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}

.calc-field,
.calc-salary-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field-full {
  grid-column: 1 / -1;
}

.calc-field span {
  color: #1f2430;
  font-size: 14px;
  font-weight: 600;
}

.calc-field input,
.calc-field select {
  border: 1px solid #cfc8be;
  background-color: #fff;
  color: #1f2430;
  border-radius: 14px;
  width: 100%;
  min-height: 56px;
  margin-bottom: 0;
  padding: 14px 16px;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.calc-field input:focus,
.calc-field select:focus {
  border-color: #203959;
  outline: none;
  box-shadow: 0 0 0 4px #20395914;
}

.calc-field input::placeholder {
  color: #8a8277;
}

.calc-salary-fields {
  margin-top: 18px;
}

.calc-salary-field {
  display: none;
}

.calc-salary-field.is-active {
  display: flex;
}

.calc-feedback {
  border-radius: 14px;
  min-height: 24px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}

.calc-feedback.is-error {
  color: #7d1d1d;
  background-color: #fff0ef;
  border: 1px solid #f0cdc9;
  padding: 12px 14px;
}

.calc-feedback.is-success {
  color: #203959;
  background-color: #edf4fb;
  border: 1px solid #d1dfef;
  padding: 12px 14px;
}

.calc-actions {
  gap: 12px;
  display: flex;
}

.calc-btn {
  border: 1px solid #1f2430;
  background-color: #fff;
  color: #1f2430;
  letter-spacing: .02em;
  border-radius: 18px;
  min-height: 48px;
  padding: 12px 22px;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}

.calc-btn:hover {
  transform: translateY(-1px);
}

.calc-btn-primary {
  background-color: #1f2430;
  color: #fff;
}

.calc-btn-primary:hover {
  background-color: #203959;
  border-color: #203959;
}

.calc-result-card {
  position: sticky;
  top: 112px;
}

.calc-status-pill {
  color: #4f5f74;
  background-color: #edf4fb;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.calc-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  display: grid;
}

.calc-summary-item {
  background-color: #f7f4ef;
  border-radius: 18px;
  min-height: 96px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-label {
  color: #6a6258;
  font-size: 12px;
  line-height: 1.35;
}

.calc-summary-item strong {
  color: #1f2430;
  font-size: 18px;
  line-height: 1.2;
}

.calc-breakdown {
  border-top: 1px solid #ddd6cb;
  border-bottom: 1px solid #ddd6cb;
  padding-top: 10px;
  padding-bottom: 10px;
}

.calc-result-row {
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
}

.calc-result-row span {
  color: #4f4b45;
}

.calc-result-row strong {
  color: #1f2430;
  white-space: nowrap;
}

.calc-total-box {
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 16px;
  display: flex;
}

.calc-total-box span {
  color: #1f2430;
  font-size: 16px;
  font-weight: 700;
}

.calc-total-box strong {
  color: #1f2430;
  font-size: 34px;
  line-height: 1;
}

.calc-note-box {
  background-color: #f7f4ef;
  border-radius: 22px;
  margin-top: 20px;
  padding: 18px;
}

.calc-note-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.calc-note-list {
  margin-bottom: 0;
  padding-left: 20px;
}

.calc-whatsapp-link {
  margin-top: 20px;
}

.calc-result-card.is-empty .calc-whatsapp-link {
  opacity: .9;
}

.calc-cta-band {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  display: flex;
}

@media screen and (max-width: 991px) {
  .calculator-page {
    padding-top: 12px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-card {
    position: static;
  }

  .calc-card,
  .calc-cta-band {
    padding: 24px;
  }

  .calc-cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .calc-field-grid,
  .calc-summary-grid {
    grid-template-columns: 1fr;
  }

  .calc-card-title {
    font-size: 23px;
  }

  .calc-result-row,
  .calc-total-box,
  .calc-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-result-row strong {
    white-space: normal;
  }

  .calc-total-box strong {
    font-size: 30px;
  }

}

@media screen and (max-width: 479px) {
  .calc-card,
  .calc-cta-band {
    border-radius: 22px;
    padding: 20px;
  }

  .calc-fieldset {
    border-radius: 18px;
    padding: 18px;
  }
}
