/* Детальные страницы чек-апов MAGclinic */
.checkup-page {
  padding: 12px 16px 76px;
  color: var(--color-black-text, #1b1b26);
}

.checkup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin: 22px 0 48px;
  padding: clamp(24px, 4vw, 52px);
  border-radius: 24px;
  background: #f0f5f6;
}

.checkup-hero__copy { max-width: 680px; }
.checkup-page .breadcrumbs { margin-bottom: 18px; }
.checkup-hero h1 {
  margin: 0 0 16px;
  color: #1b2545;
  font-family: var(--ff-heading, Arial, sans-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.checkup-lead {
  max-width: 58ch;
  margin: 0;
  color: #3b3d4a;
  font-size: 18px;
  line-height: 1.6;
}
.checkup-age {
  display: inline-flex;
  margin: 22px 0 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: #1b2545;
  font-size: 15px;
  font-weight: 700;
}
.checkup-price-box { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; }
.checkup-price-label { display: block; margin-bottom: 4px; color: #4a4d5b; font-size: 14px; }
.checkup-price {
  color: #e22554;
  font-family: var(--ff-heading, Arial, sans-serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.checkup-price-unit { font-size: 0.62em; }
.checkup-book {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 0 24px;
  border-radius: 999px;
  background: #e22554;
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}
.checkup-book:hover { background: #bd1743; transform: translateY(-1px); }
.checkup-book:focus-visible { outline: 3px solid #1b2545; outline-offset: 3px; }
.checkup-poster {
  width: min(100%, 350px);
  justify-self: center;
  margin: 0;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(27, 37, 69, 0.12);
}
.checkup-poster img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 470px;
  border-radius: 12px;
  object-fit: contain;
}

.checkup-composition { margin: 0 0 28px; padding: 0; }
.checkup-composition > h2 {
  margin: 0 0 8px;
  color: #1b2545;
  font-family: var(--ff-heading, Arial, sans-serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.2;
}
.checkup-composition__intro { margin: 0 0 26px; color: #525563; line-height: 1.6; }
.checkup-sections { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.checkup-section {
  grid-column: span 6;
  padding: 24px 26px;
  border: 1px solid #dce4e8;
  border-radius: 16px;
  background: #fff;
}
.checkup-section--wide { grid-column: span 12; }
.checkup-section--compact { grid-column: span 5; }
.checkup-section h3 {
  margin: 0 0 14px;
  color: #e22554;
  font-family: var(--ff-heading, Arial, sans-serif);
  font-size: 21px;
  line-height: 1.3;
}
.checkup-section ul,
.checkup-bonus ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 9px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checkup-section li,
.checkup-bonus li { position: relative; padding-left: 20px; line-height: 1.45; }
.checkup-section li::before,
.checkup-bonus li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #e22554;
  content: "";
}
.checkup-bonus { margin: 28px 0; padding: 22px 26px; border-radius: 16px; background: #eaf4fb; }
.checkup-bonus h2 {
  margin: 0 0 14px;
  color: #1b2545;
  font-family: var(--ff-heading, Arial, sans-serif);
  font-size: 22px;
}
.checkup-bonus ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.checkup-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 26px 0;
  border-top: 1px solid #dce4e8;
}
.checkup-contact p { max-width: 60ch; margin: 0; color: #444755; line-height: 1.6; }
.checkup-contact .checkup-book { flex: none; margin: 0; }
.checkup-note { margin: 14px 0 0; color: #686b76; font-size: 13px; line-height: 1.5; }

@media (max-width: 780px) {
  .checkup-page { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .checkup-hero { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 16px; padding: 24px; }
  .checkup-poster { grid-row: 2; width: min(100%, 310px); }
  .checkup-sections { grid-template-columns: minmax(0, 1fr); }
  .checkup-section,
  .checkup-section--wide,
  .checkup-section--compact { grid-column: 1; }
  .checkup-contact { align-items: flex-start; flex-direction: column; }
  .checkup-contact .checkup-book { width: 100%; }
  body.check-up .contact-fab { display: none; }
}

@media (min-width: 600px) and (max-width: 780px) {
  .checkup-sections .checkup-section--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .checkup-page { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .checkup-hero { padding: 20px; border-radius: 18px; }
  .checkup-lead { font-size: 16px; }
  .checkup-section { padding: 20px; }
  .checkup-section ul { grid-template-columns: minmax(0, 1fr); }
  .checkup-hero .checkup-book { width: 100%; }
}

@media (max-width: 379px) {
  .checkup-sections .checkup-section--wide ul { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .checkup-book { transition: none; }
}
