/* ============================================
   SALEM SECTION ("Сәлем, Қазақстан!")
   1. Title with gradient accent
   2. Full-width image
   3. Air Astana card — image background + overlaid copy
   4. Two partner cards
   5. Useful links list
   ============================================ */

.ssec {
  padding: 10rem 10rem;
}

.ssec__inner {
  width: 100%;
  max-width: 148rem;
  margin: 0 auto;
}

.ssec__title {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--color-white);
  margin: 0 0 5rem;
}

.ssec__title-accent {
  background: linear-gradient(90deg, #FF6B2D 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ============================================
   FULL-WIDTH IMAGE
   ============================================ */

.ssec__figure {
  margin: 0 0 3rem;
  border-radius: 2.4rem;
  overflow: hidden;
}

.ssec__figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   AIR ASTANA CARD — image background + copy
   ============================================ */

.airastana {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
  margin-bottom: 3rem;

  background: #0D1018 url('../../img/bridge2026/salem-sec2.png') center / cover no-repeat;
}

/* Scrim keeps the copy legible over the photo */
.airastana::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 26, 0.92) 0%,
    rgba(10, 14, 26, 0.75) 45%,
    rgba(10, 14, 26, 0.35) 100%
  );
}

.airastana__content {
  position: relative;
  z-index: 2;
  max-width: 86rem;
  padding: 6rem;
}

/* ── Logo row ── */

.airastana__logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.airastana__logo {
  height: 5.4rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ── Copy ── */

.airastana__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin: 0 0 2.4rem;
}

.airastana__text {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 3rem;
}

.airastana__subtitle {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0 0 1.2rem;
}

.airastana__routes {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 3.5rem;
}

.airastana__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 2rem 4.5rem;
  border-radius: 11.6rem;

  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-brand);
  color: var(--color-white);
  white-space: nowrap;

  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.airastana__btn:hover {
  transform: translateY(-0.1rem);
  box-shadow: 0 1rem 3rem rgba(255, 107, 45, 0.35);
  filter: brightness(1.05);
}

/* ============================================
   PARTNER CARDS — logo top, label bottom
   ============================================ */

.ssec__partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-bottom: 6rem;
}

.spartner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;

  min-height: 24rem;
  padding: 4rem;
  border-radius: 2.4rem;

  background: #121622;
  border: 0.1rem solid rgba(255, 255, 255, 0.08);

  transition: transform 0.25s ease, border-color 0.25s ease;
}

.spartner:hover {
  transform: translateY(-0.4rem);
  border-color: rgba(255, 255, 255, 0.2);
}

.spartner__logo {
  height: 12rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.spartner__label {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0;
}

/* ============================================
   USEFUL LINKS
   ============================================ */

.slinks__title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin: 0 0 3rem;
}

.slinks__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.slink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  padding: 2.4rem 3rem;
  border-radius: 1.6rem;

  background: #121622;
  border: 0.1rem solid rgba(255, 255, 255, 0.08);

  font-size: 2rem;
  font-weight: 500;
  color: var(--color-white);

  transition: background 0.2s ease, border-color 0.2s ease;
}

.slink:hover {
  background: #171C2B;
  border-color: rgba(255, 255, 255, 0.2);
}

.slink__icon {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  display: block;
  transition: transform 0.2s ease;
}

.slink:hover .slink__icon {
  transform: translateX(0.4rem);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
  .ssec {
    padding: 8rem 6rem;
  }

  .ssec__title {
    font-size: 5rem;
    margin-bottom: 4rem;
  }

  .airastana__content {
    max-width: 72rem;
    padding: 5rem;
  }

  .airastana__title {
    font-size: 2.8rem;
  }
}

@media (max-width: 900px) {
  .ssec__partners {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Scrim goes vertical since the copy now fills the width */
  .airastana::before {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 26, 0.7) 0%,
      rgba(10, 14, 26, 0.9) 60%,
      rgba(10, 14, 26, 0.95) 100%
    );
  }

  .airastana__content {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .ssec {
    padding: 6rem 3rem;
  }

  .ssec__title {
    font-size: 4.2rem;
    margin-bottom: 3rem;
  }

  .ssec__figure,
  .airastana {
    border-radius: 1.8rem;
  }

  .airastana__content {
    padding: 3.2rem 2.4rem;
  }

  .airastana__logos {
    gap: 2rem;
    margin-bottom: 2.8rem;
  }

  .airastana__logo {
    height: 4.2rem;
  }

  .airastana__title {
    font-size: 2.6rem;
    margin-bottom: 2rem;
  }

  .airastana__text,
  .airastana__routes {
    font-size: 2rem;
  }

  .airastana__subtitle {
    font-size: 2.2rem;
  }

  .airastana__btn {
    display: flex;
    width: 100%;
    padding: 2rem 3rem;
    font-size: 2rem;
  }

  .spartner {
    min-height: 0;
    gap: 3rem;
    padding: 3rem 2.4rem;
  }

  .spartner__logo {
    height: 5rem;
  }

  .spartner__label {
    font-size: 2.4rem;
  }

  .slinks__title {
    font-size: 3rem;
    margin-bottom: 2.4rem;
  }

  .slink {
    padding: 2.2rem 2.4rem;
    font-size: 2rem;
  }
}