/* css/gotovye.css */

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

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

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

.gtr-hero__img-wrap {
  flex: 0 0 48%;
  max-width: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gtr-hero__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
}

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

.gtr-hero__sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

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

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

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

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

/* ─── BENEFITS ─── */
.gtr-benefits {
  padding: 0 0 40px;
}

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

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

.gtr-benefit {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.gtr-benefit__icon {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.gtr-benefit__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.gtr-benefit__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── CASE ─── */
.gtr-case {
  padding: 0 0 40px;
}

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

.gtr-case__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

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

.gtr-case__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 680px;
}

.gtr-case__result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.gtr-case__result-item {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 20px 24px;
}

.gtr-case__result-item--bad .gtr-case__result-val {
  color: var(--red);
}

.gtr-case__result-val {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.gtr-case__result-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.gtr-case__conclusion {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  padding-left: 18px;
  border-left: 3px solid var(--red);
}

/* ─── STEPS ─── */
.gtr-steps {
  padding: 0 0 40px;
}

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

.gtr-steps__flow {
  display: flex;
  align-items: stretch;
}

.gtr-steps__arr {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--muted);
}

.gtr-step {
  flex: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gtr-step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 12px;
  flex-shrink: 0;
}

.gtr-step__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
}

.gtr-step__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── PRICE ─── */
.gtr-price {
  padding: 0 0 40px;
}

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

.gtr-price__left {
  text-align: center;
  padding-right: 48px;
  border-right: 1px solid var(--border);
}

.gtr-price__val {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.gtr-price__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.gtr-price__title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
}

.gtr-price__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.gtr-price__text:last-child { margin-bottom: 0; }

/* ─── HOW TO ─── */
.gtr-howto {
  padding: 0 0 40px;
}

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

.gtr-howto__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 28px;
}

.gtr-howto__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gtr-howto__block {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px 28px 28px 24px;
  border-left: 3px solid var(--red);
}

.gtr-howto__block-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .08em;
  margin-bottom: 6px;
}

.gtr-howto__block-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.gtr-howto__block-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── PROMO (kp-promo, страница gotovye) ─── */
.gtr-promo-wrap { padding: 0 0 40px; }

.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__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__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__agree {
  font-size: 12px;
  color: var(--muted);
}

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

/* ─── АДАПТИВ ─── */
@media (max-width: 900px) {
  .gtr-hero__card     { padding: 36px 32px; gap: 32px; flex-direction: column; }
  .gtr-hero__img-wrap { flex: none; width: 100%; min-height: 220px; }

  .gtr-benefits__grid { grid-template-columns: repeat(2, 1fr); }

  .gtr-case__card     { padding: 36px 32px; }
  .gtr-case__result   { grid-template-columns: 1fr; }

  .gtr-steps__flow    { flex-direction: column; gap: 0; }
  .gtr-steps__arr     { align-self: center; width: auto; padding: 4px 0;
                        transform: rotate(90deg); }
  .gtr-step           { flex-direction: row; gap: 16px; align-items: flex-start; }
  .gtr-step__icon     { margin-bottom: 0; }

  .gtr-howto__card    { padding: 36px 32px; }
  .gtr-howto__grid    { grid-template-columns: 1fr; }

  .gtr-price__card    { grid-template-columns: 1fr; gap: 24px; padding: 36px 32px; }
  .gtr-price__left    { border-right: none; padding-right: 0;
                        border-bottom: 1px solid var(--border); padding-bottom: 24px;
                        text-align: left; display: flex; align-items: baseline; gap: 12px; }

  .kp-promo__body     { padding: 36px 32px; }
}

@media (max-width: 860px) {
  .kp-promo__card     { align-items: start; }
  .kp-promo__person   { padding: 28px 0 0 24px; align-items: flex-start; gap: 0; }
  .kp-promo__photo    { width: 90px; height: 110px; }
  .kp-promo__caption  { display: none; }
  .kp-promo__body     { padding: 28px 24px 28px 16px; }
}

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

  .gtr-benefits__grid { grid-template-columns: 1fr; }

  .gtr-case__card     { padding: 28px 24px; }

  .gtr-howto__card    { padding: 28px 24px; }

  .gtr-price__card    { padding: 28px 24px; }
  .gtr-price__action .btn { width: 100%; text-align: center; }

  .kp-promo__fields   { flex-direction: column; }
  .kp-promo__input    { flex: 1 1 100%; }
  .kp-promo__fields .btn { width: 100%; }
}
