:root {
  --site-blue: #354fd5;
  --site-blue-dark: #263ebc;
  --site-ink: #202842;
  --site-muted: #68738b;
  --site-line: #e4e8f2;
  --site-surface: #ffffff;
  --site-page: #f7f8fc;
  --site-radius: 16px;
  --site-shadow: 0 14px 40px rgba(31, 48, 100, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.page {
  margin: 0;
  background: var(--site-page);
  color: var(--site-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.page a {
  color: var(--site-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page a:hover {
  color: var(--site-blue-dark);
}

#page {
  min-height: 100vh;
  overflow: hidden;
}

#masthead {
  position: relative;
  z-index: 5;
  background: var(--site-surface);
  border-bottom: 1px solid var(--site-line);
  box-shadow: 0 4px 18px rgba(31, 48, 100, 0.04);
}

#masthead .main-title.bhf-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#masthead .elementor-48 > .e-con {
  padding: 0 28px;
}

#masthead .elementor-48 > .e-con > .e-con-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  min-height: 104px;
  margin: 0 auto;
}

#masthead .elementor-widget-site-logo {
  flex: 0 0 auto;
  width: auto;
  max-width: 210px;
}

#masthead .hfe-site-logo-img {
  display: block;
  width: min(190px, 100%);
  height: auto;
}

#masthead .elementor-widget-icon-list {
  width: auto;
  margin: 0;
}

#masthead .elementor-element-5497f1f {
  display: none !important;
}

#masthead .elementor-element-6b93b85a {
  display: block !important;
}

#masthead .elementor-icon-list-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

#masthead .elementor-icon-list-item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

#masthead .elementor-icon-list-icon {
  display: inline-flex;
  color: var(--site-blue);
}

#masthead .elementor-icon-list-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ue-simple-popup-trigger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 0;
  border-radius: 9px;
  background: var(--site-blue);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(53, 79, 213, 0.2);
  transition: background-color 160ms ease, transform 160ms ease;
}

.ue-simple-popup-trigger:hover {
  transform: translateY(-1px);
  background: var(--site-blue-dark);
}

#content {
  padding: 52px 24px 72px;
}

#content > .ast-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
}

#primary,
#main,
.entry-content {
  width: 100%;
  margin: 0;
}

.entry-content > .elementor {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(224, 229, 241, 0.8);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.entry-content .elementor > .e-con-boxed > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(24px, 4vw, 52px);
  row-gap: 18px;
  width: 100%;
  max-width: 100%;
}

.entry-content .elementor-widget-heading,
.entry-content .elementor-widget-divider {
  grid-column: 1 / -1;
}

.entry-content .elementor-widget-image {
  width: 100% !important;
  max-width: none !important;
}

.entry-content .elementor-widget-heading {
  margin-bottom: 8px;
}

.entry-content .elementor-widget-heading h1,
.entry-content .elementor-widget-heading h2,
.entry-content .elementor-widget-heading h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.entry-content .elementor-widget-divider {
  margin: 0 0 20px;
}

.entry-content .elementor-widget-divider .elementor-divider-separator {
  border-top-color: var(--site-blue);
  opacity: 0.65;
}

.entry-content .elementor-widget-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(31, 48, 100, 0.12);
}

.entry-content .elementor-widget-text-editor,
.entry-content .elementor-widget-text-editor p {
  color: #46516a;
  font-size: 17px;
  line-height: 1.8;
}

.entry-content .elementor-widget-text-editor p {
  margin: 0 0 18px;
}

.entry-content .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.entry-content .elementor-widget-button .elementor-button {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 9px;
  background: var(--site-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.entry-content .elementor-widget-button .elementor-button:hover {
  background: var(--site-blue-dark);
}

#contacts {
  padding: 48px 24px;
  background: #eef1ff;
}

#contacts > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

#contacts > .e-con-inner > .e-con {
  padding: 28px;
  border: 1px solid #e0e5ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 48, 100, 0.06);
}

#contacts h4 {
  margin: 0;
  color: var(--site-ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.025em;
}

#contacts .elementor-icon-list-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

#contacts .elementor-icon-list-item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-ink);
  font-weight: 600;
  text-decoration: none;
}

#colophon {
  padding: 24px;
  background: #202b4d;
  color: #fff;
  text-align: center;
}

#colophon .elementor-183 > .e-con {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 32px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

#colophon .hfe-site-logo-img {
  display: block;
  width: 145px;
  height: auto;
}

#colophon,
#colophon a,
#colophon .elementor-heading-title a,
#colophon .hfe-copyright-wrapper {
  color: #fff;
}

#colophon .elementor-widget-heading {
  margin: 0;
  font-size: 14px;
}

.ue-simple-popup .wpcf7-form {
  display: grid;
  gap: 14px;
}

.ue-simple-popup .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.ue-simple-popup .wpcf7-form-control-wrap input[type="tel"],
.ue-simple-popup .wpcf7-form-control-wrap select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d8deeb;
  border-radius: 8px;
  background: #fff;
  color: var(--site-ink);
  font: inherit;
}

.ue-simple-popup .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #59647b;
  font-size: 13px;
  line-height: 1.5;
}

.ue-simple-popup .wpcf7-acceptance input {
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.ue-simple-popup .wpcf7-submit {
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--site-blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ue-simple-popup .wpcf7-submit:hover {
  background: var(--site-blue-dark);
}

.ue-simple-popup .wpcf7-response-output {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 760px) {
  body.page {
    font-size: 16px;
  }

  #masthead .elementor-48 > .e-con {
    padding: 0 18px;
  }

  #masthead .elementor-48 > .e-con > .e-con-inner {
    min-height: 82px;
    gap: 12px;
  }

  #masthead .elementor-widget-site-logo {
    max-width: 145px;
  }

  #masthead .hfe-site-logo-img {
    width: 145px;
  }

  #masthead .elementor-widget-icon-list:nth-of-type(2) {
    display: none;
  }

  #masthead .elementor-icon-list-item a {
    font-size: 13px;
  }

  .ue-simple-popup-trigger {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }

  #content {
    padding: 28px 14px 42px;
  }

  .entry-content > .elementor {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .entry-content .elementor > .e-con-boxed > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }

  .entry-content .elementor-widget-heading h1,
  .entry-content .elementor-widget-heading h2,
  .entry-content .elementor-widget-heading h3 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .entry-content .elementor-widget-text-editor,
  .entry-content .elementor-widget-text-editor p {
    font-size: 16px;
  }

  #contacts {
    padding: 30px 14px;
  }

  #contacts > .e-con-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #contacts > .e-con-inner > .e-con {
    padding: 22px;
  }

  #colophon .elementor-183 > .e-con {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  #masthead .elementor-48 > .e-con > .e-con-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #masthead .elementor-widget-site-logo {
    max-width: 125px;
  }

  #masthead .hfe-site-logo-img {
    width: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
