/* css/loyalnost.css */

/* ─── HERO ─── */
.loy-hero { padding: 40px 0 0; }

.loy-hero__card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 40%;
  min-height: 480px;
}

.loy-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.loy-hero__body {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.loy-hero__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.loy-hero__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 12px;
}

.loy-hero__text:last-of-type { margin-bottom: 32px; }

.loy-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── КОМУ НУЖНА ─── */
.loy-who { padding: 40px 0 0; }

.loy-who__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 48px 56px;
}

.loy-who__title {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.loy-who__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 680px;
}

.loy-who__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.loy-who__tag {
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* ─── ТРИ МОДЕЛИ ─── */
.loy-models { padding: 40px 0 0; }

.loy-models__title {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 24px;
}

.loy-models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.loy-model-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

.loy-model-card:hover {
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-2px);
}

.loy-model-card__icon {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
  transition: background .18s;
  flex-shrink: 0;
}

.loy-model-card:hover .loy-model-card__icon { background: #ffe5e5; }

.loy-model-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.loy-model-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.loy-model-card__pros {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}

.loy-model-card__pro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}

.loy-model-card__pro::before {
  content: '';
  width: 18px;
  height: 18px;
  background: #ffe5e5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23FF0000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.loy-model-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  text-decoration: none;
}

.loy-model-card__link:hover { text-decoration: underline; }

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .loy-hero__card      { grid-template-columns: 1fr; }
  .loy-hero__img       { height: 280px; order: -1; }
  .loy-hero__body      { padding: 36px 32px; }
  .loy-who__card       { padding: 36px 32px; }
  .loy-models__grid    { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .loy-hero__body      { padding: 28px 24px; }
  .loy-who__card       { padding: 28px 24px; }
  .loy-model-card      { padding: 28px 24px; }
  .loy-hero__btns .btn { width: 100%; justify-content: center; text-align: center; }
}
