/* Approved concept 1: offer -> explanation -> action; the real team supports it.
   Only the frozen home hero is restyled. The rest of the migrated site is intact. */
body .cesi-home-hero {
  --hero-ink: #0c142a;
  --hero-muted: #556174;
  --hero-cta: #c94c48;
  --hero-line: #e7e8ec;
  box-sizing: border-box;
  width: calc(100% - 112px);
  max-width: 1400px;
  /* The preserved site header is fixed and does not reserve flow space. */
  margin: 140px auto 0;
  color: var(--hero-ink);
}

.cesi-home-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 552fr) minmax(0, 720fr);
  gap: 56px;
  align-items: center;
}

.cesi-home-hero__offer { min-width: 0; }

body .cesi-home-hero .cesi-home-hero__title {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hero-ink) !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
  text-wrap: initial;
}

body .cesi-home-hero .cesi-home-hero__intro {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 26px 0 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 30px 12px !important;
}

body .cesi-home-hero__intro > p {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 510px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--hero-muted) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.43 !important;
}

body .cesi-home-hero__intro > a {
  --cesi-button-art: none !important;
  --cesi-button-art-size: 0 0 !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 23px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid transparent !important;
  border-radius: 15px !important;
  background-color: var(--hero-cta) !important;
  background-image: linear-gradient(#b8423e, #b8423e) !important;
  background-size: 0 100% !important;
  background-position: left center !important;
  background-repeat: no-repeat !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  white-space: nowrap;
  text-align: center !important;
  text-decoration: none !important;
  transform: none !important;
}

body .cesi-home-hero__intro > a::after,
body .cesi-home-hero__intro > a::before { content: none !important; }

body .cesi-home-hero__intro > a:last-of-type {
  padding-inline: 20px !important;
  border-color: #d4d8df !important;
  background-color: #fff !important;
  background-image: linear-gradient(#fff1ef, #fff1ef) !important;
  color: var(--hero-ink) !important;
  font-weight: 500 !important;
}

body .cesi-home-hero .cesi-home-hero__note {
  margin: 16px 0 0 !important;
  color: var(--hero-muted) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

body .cesi-home-hero__photo {
  position: relative;
  height: 556px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
}

body .cesi-home-hero .cesi-home-hero__image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
}

.cesi-home-hero__proof {
  display: grid;
  grid-template-columns: 1fr 1.13fr 1.13fr 1.5fr;
  gap: 32px;
  margin-top: 40px;
  padding-block: 24px;
  border-block: 1px solid var(--hero-line);
}

body .cesi-home-hero .cesi-home-hero__fact {
  position: static !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 17px !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

body .cesi-home-hero__fact > img {
  display: block !important;
  flex: 0 0 30px;
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  object-fit: contain !important;
}

body .cesi-home-hero__fact > p {
  width: auto !important;
  margin: 0 !important;
  color: var(--hero-ink) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.32 !important;
}

.cesi-home-hero__fact[href]:hover > p { text-decoration: underline; text-decoration-color: #ff706b; text-underline-offset: 4px; }
.cesi-home-hero a:focus-visible { outline: 3px solid #c94c48 !important; outline-offset: 4px !important; }
.cesi-home-hero ::selection { background: #ffd5d2; color: var(--hero-ink); }

@media (hover: hover) and (pointer: fine) {
  body.cesi-enhancements .cesi-home-hero .cesi-home-hero__intro > a:hover:not(:disabled) {
    background-color: #b8423e !important;
    background-size: 100% 100% !important;
    color: #fff !important;
  }
  body.cesi-enhancements .cesi-home-hero .cesi-home-hero__intro > a:last-of-type:hover:not(:disabled) {
    background-color: #fff1ef !important;
    border-color: #e4aaa5 !important;
    color: var(--hero-ink) !important;
  }
}

@media (min-width: 761px) and (max-height: 800px) {
  body .cesi-home-hero { margin-top: 128px; }
  body .cesi-home-hero .cesi-home-hero__title { font-size: 43px !important; }
  body .cesi-home-hero__intro > p { font-size: 17px !important; }
  body .cesi-home-hero .cesi-home-hero__intro { margin-top: 22px !important; gap: 24px 12px !important; }
  body .cesi-home-hero__photo { height: 456px; }
  .cesi-home-hero__proof { margin-top: 28px; padding-block: 20px; }
  body .cesi-home-hero__fact > p { font-size: 15px !important; }
}

@media (min-width: 761px) and (max-width: 1279px) {
  body .cesi-home-hero { width: calc(100% - 64px); }
  .cesi-home-hero__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  body .cesi-home-hero .cesi-home-hero__title { font-size: 42px !important; }
  body .cesi-home-hero__intro > p { font-size: 17px !important; }
  body .cesi-home-hero .cesi-home-hero__intro { gap: 18px 10px !important; }
  body .cesi-home-hero__intro > a { padding-inline: 16px !important; font-size: 15px !important; min-height: 50px !important; }
  body .cesi-home-hero__intro > a:last-of-type { min-height: 34px !important; border-radius: 0 !important; border-color: transparent transparent #b5bcc6 !important; padding-inline: 0 !important; }
  .cesi-home-hero__proof { gap: 20px; }
  body .cesi-home-hero__fact > p { font-size: 15px !important; }
  body .cesi-home-hero .cesi-home-hero__fact { gap: 12px !important; }
  body .cesi-home-hero__fact > img { flex-basis: 26px; width: 26px !important; height: 26px !important; }
}

@media (max-width: 760px) {
  body .cesi-home-hero { width: calc(100% - 40px); margin-top: 128px; }
  .cesi-home-hero__main { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body .cesi-home-hero .cesi-home-hero__title { font-size: clamp(30px, 9.7vw, 42px) !important; line-height: 1.06 !important; }
  body .cesi-home-hero .cesi-home-hero__intro { margin-top: 22px !important; gap: 20px !important; }
  body .cesi-home-hero__intro > p { max-width: none !important; font-size: 17px !important; line-height: 1.42 !important; }
  body .cesi-home-hero__intro > a { width: 100% !important; font-size: 16px !important; min-height: 56px !important; white-space: normal; }
  body .cesi-home-hero__intro > a:last-of-type { width: auto !important; min-height: 30px !important; padding: 0 0 4px !important; margin-inline: auto !important; border-radius: 0 !important; border-color: transparent transparent #b5bcc6 !important; }
  body .cesi-home-hero .cesi-home-hero__note { font-size: 13px !important; margin-top: 16px !important; }
  body .cesi-home-hero__photo { height: clamp(280px, 88vw, 440px); }
  .cesi-home-hero__proof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; margin-top: 28px; padding-block: 24px; }
  body .cesi-home-hero .cesi-home-hero__fact { gap: 10px !important; align-items: flex-start !important; }
  body .cesi-home-hero__fact > img { flex-basis: 22px; width: 22px !important; height: 22px !important; }
  body .cesi-home-hero__fact > p { font-size: 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body .cesi-home-hero a { transition: none !important; }
}

@media (max-width: 639px) {
  body .cesi-home-hero { margin-top: 104px; }
}
