/* css/izgotovlenie.css */

/* ─── НАВИГАЦИЯ: 4 карточки ─── */
.izg-nav { padding: 40px 0 0; }

.izg-nav__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 32px;
}

.izg-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.izg-navcard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  padding: 28px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  text-align: center;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.izg-navcard:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.izg-navcard__icon {
  width: 56px;
  height: 56px;
  background: var(--surface);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  transition: background .18s;
}

.izg-navcard:hover .izg-navcard__icon { background: #ffe5e5; }

.izg-navcard__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ─── ПЕРСОНАЛИЗАЦИЯ: 8 карточек ─── */
.izg-pers { padding: 40px 0 48px; }

.izg-pers__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 32px;
}

.izg-pers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.izg-perscard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.izg-perscard:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.izg-perscard__img {
  width: 100%;
  background: var(--surface);
  overflow: hidden;
  transition: background .18s;
}

.izg-perscard__img img {
  width: 100%;
  height: auto;
  display: block;
}

.izg-perscard:hover .izg-perscard__img { background: #f5f5f5; }

.izg-perscard__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  padding: 14px 16px 16px;
  text-align: center;
}

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .izg-nav__grid  { grid-template-columns: repeat(2, 1fr); }
  .izg-pers__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .izg-nav__grid  { grid-template-columns: repeat(2, 1fr); }
  .izg-pers__grid { grid-template-columns: repeat(2, 1fr); }
}
