/* css/barcode.css */

/* ─── HERO ─── */
.bc-hero {
  background: var(--surface);
  padding: 40px 0;
}

.bc-hero__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.bc-hero__body { flex: 1 1 0; min-width: 0; }

.bc-hero__img-wrap { flex: 0 0 54%; max-width: 580px; }
.bc-hero__img-wrap img { width: 100%; height: auto; display: block; }

.bc-hero__title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

.bc-hero__sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bc-hero__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-hero__list li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.bc-hero__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

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

/* ─── ВИДЫ ШТРИХ-КОДОВ ─── */
.bc-types { padding: 0 0 40px; }

.bc-types__head {
  margin-bottom: 28px;
}

.bc-types__title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--ink);
}

.bc-types__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bc-type-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-type-card__img-wrap {
  width: 230px;
  height: 120px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-type-card__img-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

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

.bc-type-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.bc-type-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  background: var(--surface);
  border-radius: 6px;
  padding: 3px 8px;
  align-self: flex-start;
}

/* ─── ПРЕИМУЩЕСТВА ─── */
.bc-adv { padding: 0 0 40px; }

.bc-adv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bc-adv-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
}

.bc-adv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 16px;
}

.bc-adv-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.bc-adv-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── КАК ЗАКАЗАТЬ ─── */
.bc-how { padding: 0 0 40px; }

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

.bc-how__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 32px;
}

.bc-how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.bc-how__item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-how__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bc-how__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bc-how__list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.bc-how__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .bc-hero__card     { padding: 36px 32px; gap: 32px; flex-direction: column; }
  .bc-hero__img-wrap { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
  .bc-how__card      { padding: 36px 32px; }
  .bc-types__grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .bc-how__grid { grid-template-columns: 1fr; gap: 24px; }
  .bc-adv__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .bc-types__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 560px) {
  .bc-hero__card  { padding: 28px 24px; }
  .bc-how__card   { padding: 28px 24px; }
  .bc-hero__btns  { flex-direction: column; }
  .bc-hero__btns .btn { width: 100%; text-align: center; }
  .bc-types__grid { grid-template-columns: 1fr; gap: 12px; }
  .bc-adv__grid   { grid-template-columns: 1fr; }
}
