/* ── Advantages Section ──────────────────────────── */

.advantagesSection {
  background: #fff;
  padding: 100px max(50px, calc((100% - 1440px) / 2)) 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.advantagesSection .header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}

.advantagesSection .title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
}

.advantagesSection .sectionTag {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2865BA;
}

.advantagesSection .heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #201e1f;
}

.advantagesSection .headingBlue {
  color: #397de3;
}

.advantagesSection .headerText {
  width: 543px;
  flex-shrink: 0;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #60666b;
  text-align: right;
}

.advantagesSection .content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.advantagesSection .row {
  display: flex;
  gap: 10px;
}

.advantagesSection .card {
  position: relative;
  display: flex;
  align-items: center;
  height: 300px;
  padding: 0 20px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  --num-color: #dfdad2;
  --title-color: #201e1f;
  --desc-color: #60666b;
}

.advantagesSection .cardTall {
  height: 400px;
}

.advantagesSection .cardBlue {
  background: #002b68;
  width: 440px;
  flex: 0 0 440px;
  --num-color: rgba(255, 255, 255, 0.2);
  --title-color: #fff;
  --desc-color: rgba(255, 255, 255, 0.75);
}

.advantagesSection .cardOrange {
  background: #dd0020;
  flex: 1 1 0;
  --num-color: rgba(255, 255, 255, 0.2);
  --title-color: #fff;
  --desc-color: rgba(255, 255, 255, 0.75);
}

.advantagesSection .cardBeige {
  background: #edf0f4;
  flex: 1 1 0;
}

.advantagesSection .cardPhoto {
  flex: 1 1 0;
  --num-color: rgba(223, 218, 210, 0.67);
  --title-color: #fff;
  --desc-color: #fff;
}

.advantagesSection .photo {
  flex: 1 1 0;
  border-radius: 20px;
  overflow: hidden;
}

.advantagesSection .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantagesSection .cardText {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px 0;
  flex: 1 1 0;
  min-width: 0;
}

.advantagesSection .cardTop {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advantagesSection .advNum {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 48px;
  color: var(--num-color);
}

.advantagesSection .advTitle {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--title-color);
  white-space: pre-line;
}

.advantagesSection .advDesc {
  max-width: 384px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--desc-color);
}

.advantagesSection .icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  z-index: 1;
}

.advantagesSection .curve01 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.advantagesSection .curve04 {
  position: absolute;
  left: -24%;
  top: -75%;
  width: 105%;
  height: auto;
  max-width: none;
  opacity: 0.4;
  transform: rotate(-12.43deg);
  pointer-events: none;
  z-index: 0;
}

.advantagesSection .cardBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.advantagesSection .cardBgGradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(10deg, rgba(0, 0, 0, 0.54) 15%, rgba(102, 102, 102, 0) 74%),
    rgba(0, 0, 0, 0.3);
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 885px) {
  .advantagesSection {
    padding: 60px 16px 0;
    gap: 30px;
  }

  .advantagesSection .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .advantagesSection .headerText {
    width: 100%;
    text-align: left;
  }

  .advantagesSection .heading {
    font-size: 24px;
    line-height: 26px;
    letter-spacing: -1px;
  }

  .advantagesSection .row {
    flex-direction: column;
  }

  .advantagesSection .card,
  .advantagesSection .photo {
    flex: none;
    width: 100%;
    height: 276px;
  }

  .advantagesSection .cardTall {
    height: 276px;
  }

  .advantagesSection .cardBlue {
    width: 100%;
  }

  .advantagesSection .card {
    padding: 0 10px;
  }

  .advantagesSection .cardText {
    padding: 20px 0;
  }
}
