/* css/cardholder.css */

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

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

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

.cph-hero__img-wrap {
  flex: 0 0 52%;
  max-width: 560px;
}

.cph-hero__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transform: scaleX(-1);
}

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

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

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

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

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

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

/* ─── КАРТХОЛДЕРЫ ─── */
.cph-holders { padding: 0 0 40px; }

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

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

.cph-holders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.cph-holder {
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
}

.cph-holder__img-wrap {
  width: 100%;
  height: 180px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cph-holder__img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.cph-holder__body { padding: 20px 22px 22px; }

.cph-holder__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.cph-holder__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cph-holder__spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cph-holder__spec:last-child { border-bottom: none; padding-bottom: 0; }
.cph-holder__spec-name { color: var(--muted); }
.cph-holder__spec-val  { color: var(--ink); font-weight: 600; text-align: right; }

/* ─── ТАБЛИЦА ЦЕН КАРТХОЛДЕРОВ ─── */
.cph-price-block { margin-top: 36px; }

.cph-price-block__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.cph-table-wrap { overflow-x: auto; }

.cph-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.cph-table th {
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.cph-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.cph-table tr:last-child td { border-bottom: none; }

.cph-table td:not(:first-child),
.cph-table th:not(:first-child) { text-align: right; }

.cph-table__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── КАРДПАКИ ─── */
.cph-pack { padding: 0 0 40px; }

.cph-pack__card {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--r-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.cph-pack__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cph-pack__title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
}

.cph-pack__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border-radius: 6px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.cph-pack__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cph-pack__feats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.cph-pack__feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}

.cph-pack__feat::before {
  content: '';
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.cph-pack__img-wrap img { width: 100%; height: auto; display: block; }

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .cph-hero__card     { padding: 36px 32px; gap: 32px; flex-direction: column; }
  .cph-hero__img-wrap { flex: none; width: 100%; max-width: 380px; margin: 0 auto; }
  .cph-holders__card  { padding: 36px 32px; }
  .cph-pack__card     { padding: 36px 32px; }
}

@media (max-width: 700px) {
  .cph-holders__grid { grid-template-columns: 1fr; }
  .cph-pack__card    { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cph-hero__card    { padding: 28px 24px; }
  .cph-hero__btns    { flex-direction: column; }
  .cph-hero__btns .btn { width: 100%; text-align: center; }
  .cph-holders__card { padding: 28px 24px; }
  .cph-pack__card    { padding: 28px 24px; }
}
