.tresl-hero {
  --bg: #1e6dd1;
  --accent: #f7b733;
  --text: #ffffff;
  --text-soft: #ffffff;
  --desc-color: #ffffff;
  --pill-stroke: rgba(255, 255, 255, 0.7);
  --main-cta-bg: #ffffff;
  --main-cta-text: #0d2c3e;
  --container-max: 1440px;
  --container-pad: max(32px, calc((100vw - var(--container-max)) / 2));
  --container-overflow: max(0px, calc((100vw - var(--container-max)) / 2));
  --hero-h: 620px;
  --circle-size: clamp(255px, 29vw, 419px);
  --circle-inset: clamp(130px, 14.8vw, 213px);
  --circle-right: calc(var(--container-overflow) + var(--circle-inset));
  --circle-cy: calc(var(--hero-h) / 2);
  --accent-size: clamp(625px, 71vw, 1024px);
  --accent-cx: calc(100% - var(--container-overflow));
  --accent-cy: calc(var(--hero-h) / 2);
  position: relative;
  width: 100%;
  min-height: var(--hero-h);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  transition: background 0.4s ease;
  isolation: isolate;
}
.tresl-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--accent-cx);
  right: 0;
  background: var(--accent);
  z-index: 1;
  transition: background 0.4s ease;
}
.tresl-hero__accent {
  position: absolute;
  top: 50%;
  left: var(--accent-cx);
  width: var(--accent-size);
  height: var(--accent-size);
  transform: translate(-50%, -50%);
  background: var(--accent);
  border-radius: 50%;
  z-index: 1;
  transition: background 0.4s ease;
}
.tresl-hero__content {
  position: relative;
  z-index: 3;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  min-height: var(--hero-h);
}
.tresl-hero__text {
  max-width: min(610px, 56%);
  padding-top: 0;
}
.tresl-hero__title {
  font-family:
    "Montserrat",
    "Inter",
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 700;
  line-height: 57px;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0 0 20px;
}
.tresl-hero__desc {
  color: var(--desc-color);
  font-family:
    "Lato",
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 0 0 26px;
  max-width: 480px;
}
.tresl-hero__tagline {
  color: var(--desc-color);
  font-family:
    "Lato",
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: -6px 0 12px;
}
.tresl-hero__extra {
  display: inline-block;
  margin-top: 10px;
  color: var(--desc-color);
  font-family:
    "Lato",
    system-ui,
    -apple-system,
    Arial,
    sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tresl-hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.tresl-hero__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    opacity 0.2s,
    background 0.2s;
}
.tresl-hero__btn:hover {
  transform: translateY(-1px);
}
.tresl-hero__btn--ghost {
  background: rgba(0, 0, 0, 0);
  color: var(--text);
  border: 1.5px solid var(--pill-stroke);
  padding: 13px 22px;
}
.tresl-hero__btn--solid,
.tresl-hero__btn--dark {
  background: var(--main-cta-bg);
  color: var(--main-cta-text);
}
.tresl-hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.tresl-hero__circle {
  position: absolute;
  top: 50%;
  right: var(--circle-right);
  transform: translateY(-50%);
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
  z-index: 2;
  pointer-events: auto;
}
.tresl-hero__photo {
  position: absolute;
  top: 50%;
  right: 0;
  width: 58%;
  height: auto;
  transform: translate(var(--photo-x, 0px), calc(-50% + var(--photo-y, 0px)));
  z-index: 2;
  pointer-events: none;
}
.tresl-hero__next {
  position: absolute;
  bottom: 24px;
  right: var(--container-pad);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.2;
  text-align: right;
  font-weight: 500;
}
.tresl-hero__next > span:first-child {
  max-width: 110px;
}
.tresl-hero__next-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tresl-hero__next-arrow svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1920px) {
  .tresl-hero {
    --container-max: 1600px;
    --circle-size: clamp(342px, 19.8vw, 432px);
    --circle-inset: clamp(150px, 9.5vw, 220px);
  }
  .tresl-hero__desc {
    font-size: 18px;
    max-width: 520px;
  }
  .tresl-hero__next {
    font-size: 12px;
    bottom: 38px;
  }
  .tresl-hero__next-arrow {
    width: 46px;
    height: 46px;
  }
  .tresl-hero__content {
    padding: 0 var(--container-pad);
  }
}
@media (min-width: 2200px) {
  .tresl-hero {
    --circle-inset: clamp(200px, 10vw, 280px);
  }
}
@media (max-width: 1024px) {
  .tresl-hero {
    --container-pad: 28px;
  }
  .tresl-hero__content {
    padding: 0 var(--container-pad);
  }
  .tresl-hero__text {
    max-width: 52%;
    position: relative;
    z-index: 3;
  }
  .tresl-hero__visual {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
  }
  .tresl-hero__circle {
    pointer-events: auto;
    --circle-cy: 50%;
  }
}
@media (max-width: 880px) {
  .tresl-hero {
    --container-pad: 24px;
    --circle-mobile: clamp(220px, 60vw, 300px);
    --mobile-bottom-pad: 130px;
    height: 100vh;
    min-height: 100vh;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .tresl-hero__content {
    padding: 100px var(--container-pad);
    margin-bottom: calc(var(--circle-mobile) + var(--mobile-bottom-pad));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 26px;
    position: relative;
    min-height: 0;
  }
  .tresl-hero__text {
    max-width: 100%;
    padding-top: 4px;
  }
  .tresl-hero__title {
    font-size: 40px;
    line-height: 41px;
    margin-bottom: 14px;
  }
  .tresl-hero__desc {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .tresl-hero__tagline {
    font-size: 16px;
  }
  .tresl-hero__extra {
    font-size: 16px;
  }
  .tresl-hero__actions {
    gap: 10px;
  }
  .tresl-hero__actions .tresl-hero__btn {
    flex: 1 1 100%;
  }
  .tresl-hero__visual {
    display: block;
    position: absolute;
    inset: auto 0 0 0;
    height: calc(var(--circle-mobile) + var(--mobile-bottom-pad));
    pointer-events: none;
    z-index: 3;
  }
  .tresl-hero__circle {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: var(--circle-mobile);
    height: var(--circle-mobile);
    pointer-events: auto;
  }
  .tresl-hero::before {
    display: none;
  }
  .tresl-hero__accent {
    width: 180vw;
    height: 180vw;
    top: auto;
    left: 50%;
    bottom: calc(var(--mobile-bottom-pad) + var(--circle-mobile) / 2 - 180vw);
    transform: translateX(-50%);
    z-index: 2;
  }
  .tresl-hero__next {
    bottom: 22px;
    right: 50%;
    transform: translateX(50%);
    font-size: 11px;
    z-index: 4;
  }
}
@media (max-width: 880px) {
  .tresl-hero--full {
    height: auto;
    min-height: 0;
    display: block;
  }
  .tresl-hero--full .tresl-hero__content {
    margin-bottom: 0;
    min-height: 0;
    padding: 100px var(--container-pad) 0;
  }
  .tresl-hero--full .tresl-hero__visual {
    position: relative;
    inset: auto;
    height: auto;
    text-align: center;
  }
  .tresl-hero--full .tresl-hero__photo {
    position: relative;
    top: auto;
    right: auto;
    width: 92%;
    max-width: 520px;
    margin: 12px auto -2px;
    transform: none;
  }
  .tresl-hero--full .tresl-hero__accent {
    width: 180vw;
    height: 180vw;
    top: auto;
    left: 50%;
    bottom: -120vw;
    transform: translateX(-50%);
  }
}
/* @media (max-width: 600px) {
  .elementor-page-1564 .tresl-hero__visual {
    display: none;
  }
} */
@media (max-width: 480px) {
  .tresl-hero {
    --container-pad: 16px;
    --circle-mobile: clamp(200px, 65vw, 260px);
    --mobile-bottom-pad: 120px;
  }
  .tresl-hero__content {
    padding: 100px var(--container-pad) 0;
    gap: 22px;
  }
  .tresl-hero__title {
    font-size: 32px;
    line-height: 33px;
  }
  .tresl-hero__desc {
    font-size: 15px;
  }
  .tresl-hero__tagline {
    font-size: 15px;
  }
  .tresl-hero__extra {
    font-size: 15px;
  }
  .tresl-hero__btn {
    font-size: 12px;
    padding: 12px 18px;
  }
  .tresl-hero__next-arrow {
    width: 36px;
    height: 36px;
  }
  .tresl-hero__next-arrow svg {
    width: 16px;
    height: 16px;
  }

  /* .elementor-page-1506 .tresl-hero__visual {
    display: none;
  } */
}

@media (max-width: 880px) {
  .tresl-hero {
    height: auto;
    min-height: 100vh;
  }
  .tresl-hero.tresl-hero--circle {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
  }
  .tresl-hero .tresl-hero__content {
    flex: 0 0 auto;
    margin: 0;
  }
  .tresl-hero .tresl-hero__visual {
    position: relative;
    inset: auto;
  }
}