.osago-price {
  margin: 96px 0;
}

.osago-price-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== VIEWPORT ===== */
.osago-viewport {
  overflow: hidden;
  width: 100%;
}

/* ===== TRACK ===== */
.osago-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

/* ===== CARD ===== */
.osago-card {
  flex: 0 0 85%;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  min-height: 220px;
  position: relative;

  display: flex;
  flex-direction: column;

  opacity: 0.35;
  transform: scale(0.95);
  transition: all 0.35s ease;
}

.osago-card.active {
  opacity: 1;
  transform: scale(1);
}

/* × between cards (mobile) */
.osago-card.active::after {
  content: "×";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: 24px;
  color: #9aa9bc;
}

/* last card — no × */
.osago-card:last-child.active::after {
  display: none;
}

/* ===== CARD CONTENT ===== */
.osago-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;

  font-weight: 400;
  font-size: 16px;
  color: #0f1e2e;

  column-gap: 12px;
}

.osago-head span:first-child {
  line-height: 1.35;
}

/* short code */
.osago-code {
  font-size: 24px;
  font-weight: 700;
  color: #1e88e5;
  line-height: 1;
  white-space: nowrap;
}

/* ===== VALUES ===== */
.osago-values {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.osago-value {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.osago-value:first-child {
  align-items: flex-start;
  text-align: left;
}

.osago-value:last-child {
  align-items: flex-end;
  text-align: right;
}

.osago-value-label {
  font-size: 14px;
  color: #7a8aa0;
}

.osago-value-number {
  font-size: 20px;
  font-weight: 700;
  color: #0f1e2e;
}

/* ===== NAV ===== */
.osago-mobile-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.osago-mobile-nav button {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: #c6d4e5;
  cursor: pointer;
}

.osago-mobile-nav button.active {
  background: #1e88e5;
}

/* ===== DESKTOP ===== */
@media (min-width: 561px) {
  .osago-viewport {
    overflow: visible;
  }

  .osago-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 40px;
    transform: none !important;
  }

  /* ⬅ КЛЮЧЕВОЕ: оставляем flex */
  .osago-card {
    opacity: 1;
    transform: none;
    min-height: 240px; /* чуть больше воздуха */
  }

  /* ⬅ значения снова прижаты вниз */
  .osago-values {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .osago-card::after {
    content: "×";
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa9bc;
  }

  .osago-card:nth-child(4n)::after {
    display: none;
  }

  .osago-mobile-nav {
    display: none;
  }
}
