.guarantee-page-shell {
  width: 100%;
  color: #292929;
  background: #ffffff;
}

.guarantee-page .page-header {
  position: relative;
  z-index: 2;
  padding-top: 36px;
  padding-bottom: 0;
}

.guarantee-page .page-header__container {
  max-width: 1440px;
  padding: 0 80px;
}

.guarantee-page .page-header__back {
  margin-bottom: 0;
}

.guarantee-page .page-header__title {
  display: none;
}

.guarantee-hero {
  position: relative;
  width: 100%;
  min-height: 381px;
  aspect-ratio: 1440 / 381;
  overflow: hidden;
  background:
    linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 33%, rgba(255, 255, 255, 0.52) 58%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
}

.guarantee-hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guarantee-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.98) 34%, rgba(255, 255, 255, 0.55) 58%, rgba(255, 255, 255, 0) 100%);
}

.guarantee-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.guarantee-hero__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 80px 56px;
}

.guarantee-hero__title {
  width: min(778px, 68vw);
  margin: 0 0 12px;
  color: #292929;
  font-family: 'Raleway', sans-serif;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 54px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
}

.guarantee-hero__description {
  width: 630px;
  max-width: 48vw;
  margin: 0;
  color: #292929;
  font-family: 'Raleway', sans-serif;
  font-feature-settings: 'pnum' on, 'lnum' on;
  font-variant-numeric: proportional-nums lining-nums;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0;
}

.guarantee-content {
  padding: 160px 80px 120px;
}

.guarantee-content__container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.guarantee-section {
  display: grid;
  grid-template-columns: 630px 650px;
  gap: 0;
  align-items: start;
  width: 1280px;
  height: 616px;
  background: #f9f9fa;
  border-radius: 24px;
}

.guarantee-section + .guarantee-exclusions,
.guarantee-exclusions + .guarantee-section {
  margin-top: 160px;
}

.guarantee-section--reversed {
  grid-template-columns: 650px 630px;
}

.guarantee-section--reversed .guarantee-section__intro {
  order: 2;
}

.guarantee-section--reversed .guarantee-section__text-card {
  order: 1;
}

.guarantee-section__intro,
.guarantee-section__text-card {
  box-sizing: border-box;
  height: 616px;
  border-radius: 24px;
}

.guarantee-section__intro {
  position: relative;
  z-index: 1;
  width: 630px;
  overflow: hidden;
  padding: 28px 58px;
  color: #ffffff;
}

.guarantee-section__intro--rose-1 {
  background: #fe7250;
}

.guarantee-section__intro--rose-2 {
  background: #fe8e73;
}

.guarantee-section__intro--rose-3 {
  background: #feaa96;
}

.guarantee-section__mark {
  position: absolute;
  top: -40px;
  left: -156px;
  z-index: 0;
  display: block;
  width: 700px;
  height: auto;
  object-fit: fill;
  pointer-events: none;
}

.guarantee-section__intro--rose-2 .guarantee-section__mark {
  top: -48px;
  left: 87px;
  width: 710px;
  height: auto;
}

.guarantee-section__intro--rose-3 .guarantee-section__mark {
  top: -38px;
  left: -162px;
  width: 670px;
  height: auto;
}

.guarantee-section__card-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
}

.guarantee-section__text-card {
  position: relative;
  width: 650px;
  overflow: hidden;
  padding: 24px;
  background: transparent;
  color: #292929;
  border-radius: 0;
}

.guarantee-section__text-toggle {
  display: none;
}

.guarantee-section__text-card p {
  margin: 0 0 18px;
  color: #42424c;
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0;
}

.guarantee-section__text-card p:last-child {
  margin-bottom: 0;
}

.guarantee-section__text-card b,
.guarantee-section__text-card strong {
  color: #292929;
  font-weight: 700;
}

.guarantee-exclusions {
  width: 1280px;
  min-height: 412px;
  text-align: center;
}

.guarantee-exclusions__title {
  margin: 0 0 80px;
  color: #42424c;
  font-family: 'Raleway', sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
}

.guarantee-exclusions__grid {
  display: grid;
  grid-template-columns: repeat(3, 400px);
  gap: 20px;
  align-items: start;
  width: 1240px;
  margin: 0 auto;
}

.guarantee-exclusions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 400px;
  min-height: 278px;
}

.guarantee-exclusions__image {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.guarantee-exclusions__text {
  width: 400px;
  min-height: 58px;
  margin: 0;
  color: #292929;
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 0;
}

@media (max-width: 1200px) {
  .guarantee-page .page-header__container,
  .guarantee-hero__content {
    padding-right: 40px;
    padding-left: 40px;
  }

  .guarantee-hero__title {
    font-size: 46px;
  }

  .guarantee-hero__description {
    font-size: 20px;
  }

  .guarantee-content {
    padding-right: 40px;
    padding-left: 40px;
  }

  .guarantee-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .guarantee-hero {
    min-height: clamp(426px, 113.6vw, 520px);
    aspect-ratio: auto;
    background: #ffffff;
  }

  .guarantee-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.9) 62%, #ffffff 76%);
  }

  .guarantee-hero__image {
    height: 100%;
    object-position: center top;
  }

  .guarantee-page .page-header {
    padding-top: 24px;
  }

  .guarantee-page .page-header__container,
  .guarantee-hero__content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .guarantee-hero__content {
    padding-top: clamp(222px, 59.2vw, 274px);
    padding-bottom: 32px;
  }

  .guarantee-hero__title,
  .guarantee-hero__description {
    width: 100%;
    max-width: none;
  }

  .guarantee-hero__title {
    margin-bottom: 12px;
    font-size: clamp(20px, 5.87vw, 24px);
    line-height: 130%;
  }

  .guarantee-hero__description {
    font-size: clamp(15px, 4.27vw, 18px);
    line-height: 150%;
    font-weight: 400;
  }

  .guarantee-content {
    padding: 64px 16px;
  }

  .guarantee-section,
  .guarantee-section--reversed {
    display: block;
    width: 100%;
    height: auto;
    background: transparent;
    border-radius: 0;
  }

  .guarantee-section--reversed .guarantee-section__intro,
  .guarantee-section--reversed .guarantee-section__text-card {
    order: initial;
  }

  .guarantee-section__intro,
  .guarantee-section__text-card {
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .guarantee-section__intro {
    --guarantee-mark-mobile-size: 280px;
    --guarantee-mark-mobile-x: 0px;
    --guarantee-mark-mobile-y: -15px;

    height: clamp(254px, 74.13vw, 278px);
    min-height: 0;
    padding: 0;
    border-radius: 16px 16px 0 0;
  }

  .guarantee-section__intro .guarantee-section__mark {
    top: 50%;
    left: 50%;
    width: var(--guarantee-mark-mobile-size);
    height: var(--guarantee-mark-mobile-size);
    transform: translate(
      calc(-50% + var(--guarantee-mark-mobile-x)),
      calc(-50% + var(--guarantee-mark-mobile-y))
    );
  }

  .guarantee-section__intro--rose-2 {
    --guarantee-mark-mobile-size: 280px;
    --guarantee-mark-mobile-x: 0px;
    --guarantee-mark-mobile-y: -15px;
  }

  .guarantee-section__intro--rose-3 {
    --guarantee-mark-mobile-size: 250px;
    --guarantee-mark-mobile-x: 0px;
    --guarantee-mark-mobile-y: -20px;
  }

  .guarantee-section__card-title,
  .guarantee-exclusions__title {
    font-size: 28px;
  }

  .guarantee-section__card-title {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    padding: 16px 16px 0;
    color: #42424c;
    background: #f9f9fa;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 0 #f9f9fa;
    font-size: clamp(22px, 5.87vw, 28px);
    line-height: 130%;
    text-align: center;
  }

  .guarantee-section__text-card {
    position: relative;
    z-index: 3;
    margin-top: -2px;
    padding: 10px 16px 16px;
    background: #f9f9fa;
    border-radius: 0 0 16px 16px;
  }

  .guarantee-section__text-clip {
    position: relative;
    max-height: 400px;
    overflow: hidden;
  }

  .guarantee-section__text-card--collapsible .guarantee-section__text-clip {
    padding-bottom: 58px;
  }

  .guarantee-section__text-card--open .guarantee-section__text-clip {
    max-height: none;
    padding-bottom: 58px;
  }

  .guarantee-section__text-card p {
    margin: 0;
    color: #42424c;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
  }

  .guarantee-section__text-card p + p {
    margin-top: 10px;
  }

  .guarantee-section__text-card b,
  .guarantee-section__text-card strong {
    font-weight: 600;
  }

  .guarantee-section__text-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(254, 114, 80, 0.45);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .guarantee-section__text-card--collapsible .guarantee-section__text-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .guarantee-section__text-toggle::after {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    background-color: #fe7250;
    -webkit-mask-image: url('data:image/svg+xml,%3Csvg%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20xmlns%3D%27http://www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E');
    mask-image: url('data:image/svg+xml,%3Csvg%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20xmlns%3D%27http://www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M6%209l6%206%206-6%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27/%3E%3C/svg%3E');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 22px 22px;
    mask-size: 22px 22px;
    transition: transform 0.24s ease;
  }

  .guarantee-section__text-card--open .guarantee-section__text-toggle::after {
    transform: rotate(180deg);
  }

  .guarantee-section__text-toggle:focus-visible {
    outline: 2px solid rgba(254, 114, 80, 0.5);
    outline-offset: 2px;
  }

  .guarantee-section + .guarantee-exclusions,
  .guarantee-exclusions + .guarantee-section {
    margin-top: 40px;
  }

  .guarantee-exclusions {
    width: 100%;
    min-height: 0;
  }

  .guarantee-exclusions__title {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 130%;
  }

  .guarantee-exclusions__grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin: 0;
  }

  .guarantee-exclusions__item {
    width: 100%;
    min-height: 0;
    padding: 0 10px;
  }

  .guarantee-exclusions__image {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }

  .guarantee-exclusions__text {
    width: 100%;
    max-width: 285px;
    min-height: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
  }
}
