/* css/kp.css */

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

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

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

.kp-hero__img-wrap {
  flex: 0 0 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kp-hero__img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  object-fit: contain;
}

.kp-hero__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
  max-width: 760px;
}

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

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

.kp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  max-width: 540px;
}

.kp-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
  border-bottom: 1px solid var(--border);
}

.kp-list li:last-child { border-bottom: none; padding-bottom: 0; }

.kp-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ─── СТАТИСТИКА ─── */
.kp-stat { padding: 16px 0 0; }

.kp-stat__card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 56px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.kp-stat__number {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
}

.kp-stat__text {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
  max-width: 520px;
}

/* ─── БЛОК С ФОТО (зеркало callback) ─── */
.kp-promo { padding: 16px 0 0; }

.kp-promo__card {
  background: var(--white);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  overflow: hidden;
}

.kp-promo__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 40px 52px;
  gap: 12px;
}

.kp-promo__photo {
  width: 200px;
  height: 240px;
  border-radius: var(--r-md);
  object-fit: cover;
  object-position: top center;
  display: block;
}

.kp-promo__caption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.kp-promo__caption strong {
  color: var(--ink);
  font-weight: 600;
}

.kp-promo__body { padding: 52px 56px; }

.kp-promo__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}

.kp-promo__sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.kp-promo__fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 12px;
}

.kp-promo__input {
  flex: 1 1 200px;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}

.kp-promo__input:focus { border-color: var(--red); }
.kp-promo__input::placeholder { color: #b0b0b0; }

.kp-promo__direct-phone {
  display: block;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 4px;
  transition: opacity .15s;
}

.kp-promo__direct-phone:hover { opacity: .8; }

.kp-promo__direct-email {
  display: block;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 20px;
  transition: color .15s;
}

.kp-promo__direct-email:hover { color: var(--ink); }

.kp-promo__divider {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.kp-promo__agree {
  font-size: 12px;
  color: var(--muted);
}

.kp-promo__agree a { color: var(--muted); text-decoration: underline; }

/* ─── КОНТАКТЫ И АДРЕС ─── */
.kp-contacts { padding: 16px 0 40px; }

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

.kp-phone {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
  margin-bottom: 4px;
  text-decoration: none;
  transition: opacity .15s;
}

.kp-phone:hover { opacity: .8; }

.kp-phone-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.kp-phone2 {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color .15s;
}

.kp-phone2:hover { color: var(--red); }

.kp-link {
  display: block;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .15s;
}

.kp-link:hover { color: var(--ink); }

.kp-contacts__btns { margin-top: 24px; }

.kp-addr-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.kp-addr-block { margin-bottom: 20px; }
.kp-addr-block:last-child { margin-bottom: 0; }

.kp-addr-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.kp-addr-text {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .kp-hero__card   { padding: 36px 32px; gap: 32px; }
  .kp-hero__img-wrap { flex: 0 0 180px; }
  .kp-stat__card   { padding: 32px 36px; gap: 28px; }
  .kp-promo__body  { padding: 36px 32px; }
  .kp-contacts__card { padding: 36px 32px; }
}

@media (max-width: 860px) {
  .kp-promo__card     { align-items: start; }
  .kp-promo__person   { grid-column: 1; grid-row: 1; flex-direction: column; align-items: flex-start; padding: 28px 0 0 24px; gap: 0; }
  .kp-promo__photo    { width: 90px; height: 110px; }
  .kp-promo__caption  { display: none; }
  .kp-promo__body     { display: contents; }
  .kp-promo__title    { grid-column: 2; grid-row: 1; align-self: center; font-size: clamp(18px, 4vw, 24px); padding: 28px 24px 0 16px; margin-bottom: 0; }
  .kp-promo__rest     { grid-column: 1 / -1; grid-row: 2; padding: 16px 24px 28px; }
}

@media (max-width: 700px) {
  .kp-stat__card { flex-direction: column; gap: 16px; align-items: flex-start; }
  .kp-contacts__card { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .kp-hero__card     { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .kp-hero__img-wrap { flex: none; align-self: center; width: 140px; }
  .kp-hero__btns .btn { width: 100%; justify-content: center; }
  .kp-contacts__card { padding: 28px 24px; }
  .kp-promo__fields  { flex-direction: column; }
  .kp-promo__input   { flex: 1 1 100%; }
}
