.menu-dropdown__toggle::after {
  background-image: url('../images/list-icon.svg');
}
.bottom-button::after {
  background-image: url('../images/bottom-icon.svg');
  width: 20px;
  height: 20px;
}
.expanded .bottom-button::after {
  transform: rotate(-180deg);
}

.form-preloader.hidden,
.error-msg.hide {
  display: none !important;
}

/* Keep form-bg clipped inside the form column (do NOT unlock hero overflow) */
.hero .hero-container {
  overflow: hidden;
}
.hero .hero-wrap .right {
  overflow: hidden;
  position: relative;
}
.hero .hero-wrap form .input-wrapper,
.leadform .iti {
  overflow: visible !important;
}

.leadform .iti {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  position: relative;
  z-index: 20;
  margin: 16px auto;
}

.leadform .iti input.iti__tel-input,
.leadform .iti input[type="tel"] {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.leadform .iti__country-container {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100%;
  pointer-events: none;
}

.leadform .iti__selected-country,
.leadform .iti__selected-country-primary {
  pointer-events: auto;
  width: auto;
  height: 100%;
}

.leadform .iti__selected-dial-code {
  color: #000 !important;
}

.iti__country-name,
.iti__dial-code,
.iti--container .iti__country-name,
.iti--fullscreen-popup .iti__country-name {
  color: #000 !important;
}

.iti__country.iti__highlight .iti__country-name,
.iti__country.iti__active .iti__country-name {
  color: #000 !important;
}

.leadform .iti--inline-dropdown .iti__dropdown-content {
  pointer-events: auto;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 4px 0 0 !important;
  box-sizing: border-box !important;
  z-index: 50;
  background: #fff !important;
  color: #111 !important;
}

.leadform .iti__search-input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  color: #111 !important;
  background: #fff !important;
  margin: 0 !important;
}

.leadform .iti__country-list {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 180px;
  white-space: normal !important;
  color: #111 !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

.leadform .iti__country,
.leadform .iti__country-name,
.leadform .iti__dial-code {
  color: #111 !important;
}

.leadform .iti__country.iti__highlight,
.leadform .iti__country:hover {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #111 !important;
}

.leadform .iti__country.iti__highlight .iti__country-name,
.leadform .iti__country.iti__highlight .iti__dial-code,
.leadform .iti__country:hover .iti__country-name,
.leadform .iti__country:hover .iti__dial-code {
  color: #111 !important;
}

/* Footer: one row, vertically centered */
@media (min-width: 900px) {
  .site-footer .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .site-footer .footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
  }

  .site-footer .footer-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin: 0;
  }

  .site-footer .footer-nav a {
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
  }
}

@media (min-width: 1200px) {
  .site-footer .footer-nav {
    gap: 40px;
  }
}

/* Dark block-list: white text needs dark gradient (was inline in static HTML) */
.block-list.dark-bg {
  background: radial-gradient(50% 36% at 50% 50%, #1c85fb 0%, #2a2c34 100%);
}
.block-list.dark-bg h2,
.block-list.dark-bg .step-title {
  color: #fbfbfb;
}
.block-list.dark-bg .right-text,
.block-list.dark-bg .right-text p {
  color: #ffffff;
}
.block-list.dark-bg .list-block {
  background: rgba(255, 255, 255, 0.1);
  color: #f2f2f7;
  border-color: transparent;
}
.block-list.dark-bg .list-block p {
  color: inherit;
}
.block-list.dark-bg .list-bottom-text {
  color: #f2f2f7;
}

/* Fixed header must stick to the viewport (not a transformed/overflow parent) */
.page-holder {
  overflow: visible !important;
  display: block !important;
  height: auto !important;
}

#wrapper {
  display: block !important;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
  transform: none;
  filter: none;
  perspective: none;
}

header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  z-index: 1000 !important;
  background: #22242f !important;
  transform: none !important;
  box-sizing: border-box;
}

/* WP admin bar: keep header fully visible below it */
html.admin-bar header,
body.admin-bar header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  html.admin-bar header,
  body.admin-bar header {
    top: 46px !important;
  }
}

/* Avoid double offset: hero already has top padding for the fixed header.
   Extra main padding-top created the white gap under the header. */
.index-page main,
.index-page main#main {
  padding-top: 0 !important;
}

@media (min-width: 1100px) {
  body:not(.index-page) main {
    padding-top: 82px;
  }
}

@media (max-width: 768px) {
  header .container {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 12px 16px !important;
    box-sizing: border-box;
  }

  header .logo-link {
    margin: 0;
    min-width: 0;
  }

  header .logo-link span {
    font-size: 20px;
  }

  /* Rating must not overflow onto the form below */
  .hero .hero-wrap .rating {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 10px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 0 4px;
    position: relative;
    z-index: 1;
  }

  .hero .hero-wrap .rating > img {
    flex: 0 0 auto;
  }

  .hero .hero-wrap .rating > div {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
  }

  .hero .hero-wrap .rating span {
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero .hero-wrap .right {
    position: relative;
    z-index: 2;
    clear: both;
  }
}
