.sab-advantages {
  --sab-adv-red: #f44145;
  --sab-adv-ink: #4a4a5a;
  --sab-adv-muted: #6c7180;
  width: 100%;
  max-width: 100%;
  padding: var(--sab-adv-pad-top, 96rem) 0 var(--sab-adv-pad-bottom, 96rem);
  background: #fff;
  color: var(--sab-adv-ink);
  font-family: "Gilroy", Arial, sans-serif;
  box-sizing: border-box;
}

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

.sab-advantages__inner {
  position: relative;
  width: min(calc(100% - 64rem), 1580rem);
  margin-inline: auto;
}

.sab-advantages__inner::after { content: none; }

.sab-advantages__title,
.sab-advantages__subtitle,
.sab-advantages__grid {
  position: relative;
  z-index: 1;
}

.sab-advantages__title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font: inherit;
  font-size: var(--sab-adv-title-size, 54rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.sab-advantages__subtitle {
  max-width: 720rem;
  margin: 18rem 0 0;
  color: #4a4a5a;
  font-size: 36rem;
  line-height: 1.35;
}

.sab-advantages__grid {
  display: grid;
  grid-template-columns: 540rem 18rem repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 182rem);
  gap: 18rem;
  margin-top: 28rem;
}

.sab-advantages__card:nth-child(1) { grid-column: 3; grid-row: 1; }
.sab-advantages__card:nth-child(2) { grid-column: 4; grid-row: 1; }
.sab-advantages__card:nth-child(3) { grid-column: 3; grid-row: 2; }
.sab-advantages__card:nth-child(4) { grid-column: 4; grid-row: 2; }
.sab-advantages__card:nth-child(5) { grid-column: 3; grid-row: 3; }
.sab-advantages__card:nth-child(6) { grid-column: 4; grid-row: 3; }

.sab-advantages__card {
  display: grid;
  grid-template-columns: 58rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18rem;
  align-content: center;
  min-width: 0;
  margin: 0;
  padding: 24rem 26rem;
  border: 1rem solid #eceef2;
  border-radius: 18rem;
  background: #fff;
  box-shadow: 0 18rem 42rem rgba(20, 24, 38, 0.08);
}

.sab-advantages__icon {
  grid-row: 1 / span 2;
  align-self: start;
  width: 54rem;
  height: 54rem;
  object-fit: contain;
}

.sab-advantages__card h3 {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0 24rem;
  font-size: 19.6rem;
  font-weight: 700;
  line-height: 1.23;
}

.sab-advantages__card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 11rem;
  width: 24rem;
  height: 2rem;
  border-radius: 3rem;
  background: var(--sab-adv-red);
}

.sab-advantages__card p {
  min-width: 0;
  margin: 0;
  color: #4a4a5a;
  font-size: 15.5rem;
  line-height: 1.35;
}

.sab-advantages__economy {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-width: 0;
  margin: 0;
  padding: 34rem 34rem 36rem;
  overflow: hidden;
  border-radius: 20rem;
  background-color: #1a082d;
  background-image:
    linear-gradient(180deg, rgba(19, 6, 37, 0.99) 0%, rgba(34, 9, 52, 0.97) 43%, rgba(42, 7, 51, 0.38) 69%, rgba(19, 2, 27, 0.12) 100%),
    var(--sab-adv-economy-image);
  background-position: center, center bottom;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  box-shadow: 0 18rem 42rem rgba(20, 24, 38, 0.08);
  color: #fff;
}

.sab-advantages__badge {
  display: inline-flex;
  align-items: center;
  min-height: 31rem;
  padding: 6rem 15rem 5rem;
  border-radius: 999rem;
  background: #f44145;
  font-size: 13rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.sab-advantages__economy h3 {
  max-width: 440rem;
  margin: 31rem 0 0;
  font-size: 37rem;
  font-weight: 700;
  line-height: 1.12;
}

.sab-advantages__economy-text {
  max-width: 455rem;
  margin: 27rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17rem;
  line-height: 1.42;
}

.sab-advantages__economy-note {
  position: relative;
  max-width: 465rem;
  margin: 25rem 0 0;
  padding-left: 34rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14.5rem;
  line-height: 1.35;
}

.sab-advantages__economy-note::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2rem;
  display: grid;
  place-items: center;
  width: 23rem;
  height: 23rem;
  border: 2rem solid var(--sab-adv-red);
  border-radius: 50%;
  color: var(--sab-adv-red);
  font-size: 13rem;
  font-weight: 800;
  line-height: 1;
}


/* 768px+ keeps the desktop composition; only mobile switches layout. */

@media (max-width: 767px) {
  .sab-advantages {
    padding-top: var(--sab-adv-pad-top-m, 58rem);
    padding-bottom: var(--sab-adv-pad-bottom-m, 58rem);
  }

  .sab-advantages__inner {
    width: calc(100% - 32rem);
  }

  .sab-advantages__inner::after {
    display: none;
  }

  .sab-advantages__title {
    max-width: 100%;
    font-size: var(--sab-adv-title-size-m, 30rem);
    line-height: 1.08;
  }

  .sab-advantages__subtitle {
    max-width: 330rem;
    margin-top: 13rem;
    font-size: 16rem;
    line-height: 1.35;
  }

  .sab-advantages__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    column-gap: 10rem;
    row-gap: 12rem;
    margin-top: 24rem;
  }

  .sab-advantages__card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .sab-advantages__card {
    display: block;
    min-height: 205rem;
    padding: 18rem 15rem;
    border-radius: 14rem;
  }

  .sab-advantages__icon {
    width: 39rem;
    height: 39rem;
    margin-bottom: 13rem;
  }

  .sab-advantages__card h3 {
    padding-bottom: 21rem;
    font-size: 15rem;
    line-height: 1.2;
  }

  .sab-advantages__card h3::after {
    bottom: 10rem;
    width: 21rem;
  }

  .sab-advantages__card p {
    font-size: 12.8rem;
    line-height: 1.36;
  }

  /* On mobile the six triggers intentionally come first; the economy card follows them. */
  .sab-advantages__economy {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 470rem;
    padding: 24rem 20rem 26rem;
    border-radius: 16rem;
    background-color: #1a082d;
    background-image:
      linear-gradient(180deg, rgba(19, 6, 37, 0.99) 0%, rgba(34, 9, 52, 0.97) 48%, rgba(42, 7, 51, 0.42) 72%, rgba(19, 2, 27, 0.14) 100%),
      var(--sab-adv-economy-image);
    background-position: center, center bottom;
    background-size: cover, 100% auto;
    background-repeat: no-repeat;
  }

  .sab-advantages__badge {
    min-height: 27rem;
    padding: 5rem 12rem 4rem;
    font-size: 10.5rem;
  }

  .sab-advantages__economy h3 {
    max-width: 300rem;
    margin-top: 23rem;
    font-size: 28rem;
  }

  .sab-advantages__economy-text {
    max-width: 310rem;
    margin-top: 19rem;
    font-size: 15rem;
  }

  .sab-advantages__economy-note {
    max-width: 305rem;
    margin-top: 18rem;
    padding-left: 31rem;
    font-size: 12.5rem;
  }

  .sab-advantages__economy-note::before {
    width: 21rem;
    height: 21rem;
    font-size: 12rem;
  }
}

@media (max-width: 339px) {
  .sab-advantages__grid {
    grid-template-columns: 1fr;
  }

  .sab-advantages__card {
    min-height: 0;
  }

  .sab-advantages__economy {
    grid-column: 1;
  }
}
.sab-advantages__title span { color: #f44145; }
.sab-advantages__economy h3 span { color: #f44145; font-size: 1.32em; font-weight: 800; }


@media (min-width: 768px) {
  .sab-advantages__title {
    max-width: 1124rem !important;
    color: #4a4a5a !important;
    font-size: var(--sab-adv-title-size, 46.7rem) !important;
    font-weight: 700 !important;
    line-height: 1.336 !important;
  }

  .sab-advantages__subtitle {
    font-size: 25.6rem !important;
  }
}
