/* КАРТОЧКА ИНФОРМАТИКИ — НОВЫЙ ДИЗАЙН */

.nav-info-card,
.nav-info-card * {
  box-sizing: border-box;
}

.nav-info-card {
  width: 25%;
  min-width: 260px;
  padding: clamp(14px, 1.4vw, 26px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.1vw, 20px);
  overflow: hidden;

  color: #10265f;
  font-family: Inter, Arial, sans-serif;

  background:
    radial-gradient(ellipse at 20% 15%, #ffffff 0%, transparent 45%),
    linear-gradient(145deg, #ffffff 0%, #f1f7ff 55%, #e9f2ff 100%);

  border: 1px solid #d4e7ff;
  border-radius: 24px;
  box-shadow:
    0 18px 45px #4c91e51c,
    inset 0 1px 0 #ffffff;
}

.nav-info-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-info-card__badge,
.nav-info-card__popular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 30px;
  font-size: clamp(10px, 0.7vw, 13px);
  font-weight: 750;
}

.nav-info-card__badge {
  color: #075cff;
  background: linear-gradient(135deg, #d9edff, #eff7ff);
  border: 1px solid #c3e0ff;
}

.nav-info-card__popular {
  color: #5930e8;
  background: linear-gradient(135deg, #eee6ff, #f8f3ff);
  border: 1px solid #e0d3ff;
}

.nav-info-card__art {
  min-height: clamp(125px, 10vw, 190px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.nav-info-card__glow {
  position: absolute;
  z-index: -1;
  width: 78%;
  height: 80%;
  border-radius: 50%;
  background: linear-gradient(135deg, #17d9ff, #1265ff 60%, #9a66ff);
  filter: blur(18px);
  opacity: 0.38;
}

.nav-info-card__laptop {
  width: 58%;
  aspect-ratio: 1.25;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  border: 3px solid #5de7ff;
  border-radius: 17px;
  background: linear-gradient(145deg, #092b88, #075cff 65%, #15d8ff);
  box-shadow: 0 12px 28px #0877ff55;
}

.nav-info-card__laptop span {
  display: grid;
  place-items: center;
  width: 78%;
  height: 66%;
  color: white;
  font-size: clamp(23px, 2.5vw, 46px);
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(145deg, #173bd4, #0c8fff);
  box-shadow: inset 0 0 16px #7ceaff55;
}

.nav-info-card__binary,
.nav-info-card__chip,
.nav-info-card__paper {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 12px;
  box-shadow: 0 8px 20px #176bff30;
}

.nav-info-card__binary {
  left: 3%;
  top: 27%;
  padding: 9px;
  color: white;
  background: linear-gradient(145deg, #08d8f7, #0875ff);
  font-size: clamp(10px, 0.85vw, 15px);
  font-weight: 800;
  line-height: 1.35;
  transform: rotate(-8deg);
}

.nav-info-card__chip {
  top: 7%;
  right: 13%;
  width: 42px;
  height: 42px;
  color: white;
  font-size: 26px;
  background: linear-gradient(145deg, #0be0f4, #0875ff);
}

.nav-info-card__paper {
  right: 7%;
  bottom: 6%;
  width: 39px;
  height: 52px;
  color: #168aff;
  font-size: 28px;
  background: #fff;
  border: 1px solid #d8eaff;
  transform: rotate(8deg);
}

.nav-info-card__intro h2 {
  margin: 0 0 6px;
  color: #0b1b4b;
  font-size: clamp(23px, 1.8vw, 34px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.8px;
  overflow-wrap: anywhere;
}

.nav-info-card__intro h3 {
  margin: 0 0 10px;
  color: #1766d8;
  font-size: clamp(15px, 1.15vw, 22px);
  line-height: 1.25;
}

.nav-info-card__intro p {
  margin: 0;
  color: #6378a8;
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.55;
}

.nav-info-card__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.nav-info-card__feature {
  min-width: 0;
  padding: 12px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  border: 1px solid #d9e8ff;
  border-radius: 15px;
  background: #ffffffa8;
}

.nav-info-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size:


24px;
  font-weight: 800;
}

.nav-info-card__feature--blue .nav-info-card__icon {
  color: #0765ff;
  background: linear-gradient(135deg, #d9f1ff, #b5dcff);
}

.nav-info-card__feature--purple .nav-info-card__icon {
  color: #6d32f5;
  background: linear-gradient(135deg, #f0ddff, #d9c2ff);
}

.nav-info-card__feature--green .nav-info-card__icon {
  color: #08ad5b;
  background: linear-gradient(135deg, #d8ffeb, #b2f8d5);
}

.nav-info-card__feature strong {
  color: #10265f;
  font-size: clamp(11px, 0.85vw, 15px);
}

.nav-info-card__feature small {
  color: #697eaa;
  font-size: clamp(9px, 0.7vw, 12px);
  line-height: 1.35;
}

.nav-info-card__progress {
  padding: 13px;
  border: 1px solid #d4e6ff;
  border-radius: 16px;
  background: #ffffffa6;
}

.nav-info-card__progress-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #10265f;
  font-size: 14px;
  font-weight: 800;
}

.nav-info-card__progress-title > span {
  color: #0877ff;
  font-size: 21px;
}

.nav-info-card__progress-title strong {
  margin-left: auto;
  color: #10265f;
  font-size: 17px;
}

.nav-info-card__track {
  height: 10px;
  overflow: hidden;
  border-radius: 20px;
  background: #dce9ff;
}

.nav-info-card__fill {
  width: 34%;
  height: 100%;
  border-radius: inherit;
 background: linear-gradient(90deg, #16b978, #36d99a);
}

.nav-info-card__progress > small {
  display: block;
  margin-top: 8px;
  color: #6378a8;
  font-size: 11px;
}

.nav-info-card__button {
  min-height: 54px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 800;
  border-radius: 15px;
  background: linear-gradient(110deg, #0965ff, #087dff 55%, #673dff);
  box-shadow: 0 10px 24px #176bff30;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-info-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px #176bff45;
}

.nav-info-card__arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #075cff;
  background: white;
  border-radius: 50%;
  font-size: 24px;
}

/* Узкие экраны */
@media(max-width: 1100px) {
  .nav-info-card {
    width: 100%;
    min-width: 0;
  }

  .nav-info-card__intro h2 {
    font-size: clamp(24px, 5vw, 34px);
  }
}

@media(max-width: 420px) {
  .nav-info-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-info-card__features {
    gap: 5px;
  }

  .nav-info-card__feature {
    padding: 9px 3px;
  }

  .nav-info-card__icon {
    width: 34px;
    height: 34px;
  }
}
.nav-info-card__art {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.5 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-info-card__illustration {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* Финальная настройка карточки информатики */

.nav-info-card,
.nav-info-card * {
  box-sizing: border-box;
}

.nav-info-card {
  width: min(100%, 540px);
  min-width: 0;
  padding: 20px;
  gap: 16px;
  border-radius: 22px;
}

.nav-info-card__top {
  gap: 8px;
}

.nav-info-card__art {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  min-height: 0;
}

.nav-info-card__intro h2 {
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.nav-info-card__intro h3 {
  font-size: 19px;
}

.nav-info-card__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.nav-info-card__feature {
  padding: 12px 5px;
  border-radius: 14px;
}

.nav-info-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
}

.nav-info-card__icon svg,
.nav-info-card__progress-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

.nav-info-card__progress-icon {
  display: inline-flex;
  color: #0877ff;
}

.nav-info-card__progress-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-info-card__progress-title strong {
  margin-left: auto;
}

.nav-info-card__fill {
  width: 0;
}

.nav-info-card__button {
  width: 100%;
  min-height: 58px;
}

@media(max-width: 600px) {
  .nav-info-card {
    width: 100%;
    padding: 15px;
  }

  .nav-info-card__intro h2 {
    font-size: 25px;
  }
}















