@charset "UTF-8";

.book-layout-page {
  --layout-ink: #343434;
  --layout-muted: #696969;
  --layout-warm: #fff9e8;
  --layout-coral: #fff0ed;
}

.service-detail--kompyuternaya-verstka .service-detail__picture {
  object-fit: cover;
  padding: 0;
  background: #fff9e8;
}

.book-layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.book-layout-card {
  min-height: 235px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #e5dbd6;
  border-radius: 0 30px 30px 30px;
  background: #fff;
}

.book-layout-card__label {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.book-layout-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.book-layout-card p {
  margin-bottom: 0;
  color: var(--layout-muted);
  line-height: 1.58;
}

.book-layout-includes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.book-layout-includes h2,
.book-layout-price h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.8vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.book-layout-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.book-layout-checks li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid #ece5e1;
  color: var(--layout-muted);
  line-height: 1.48;
}

.book-layout-checks li::before {
  content: "✓";
  position: absolute;
  top: 0.8rem;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.book-layout-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: 0 48px 48px 48px;
  background: var(--layout-warm);
}

.book-layout-price p {
  color: var(--layout-muted);
  line-height: 1.5;
}

.book-layout-price__note {
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  background: #fff;
}

.book-layout-price__note strong,
.book-layout-price__note span {
  display: block;
}

.book-layout-price__note strong {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

.book-layout-price__note span {
  color: var(--layout-muted);
  line-height: 1.5;
}

.book-layout-source {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.book-layout-source article {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-top: 3px solid #ffd2cc;
  background: #fff;
}

.book-layout-source h3 {
  margin-bottom: 1rem;
}

.book-layout-source ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
  color: var(--layout-muted);
  line-height: 1.65;
}

.book-layout-source li + li {
  margin-top: 0.35rem;
}

.book-layout-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.book-layout-services article {
  padding: 1.5rem;
  border: 1px solid #e2d8d3;
  border-radius: 0 24px 24px 24px;
}

.book-layout-services h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.book-layout-services p {
  margin-bottom: 0;
  color: var(--layout-muted);
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .book-layout-includes,
  .book-layout-price {
    grid-template-columns: 1fr;
  }

  .book-layout-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .book-layout-grid,
  .book-layout-checks,
  .book-layout-source,
  .book-layout-services {
    grid-template-columns: 1fr;
  }

  .book-layout-card {
    min-height: auto;
  }

  .book-layout-price {
    border-radius: 0 30px 30px 30px;
  }
}
