/* Compact homepage only. Other pages and widths above the phone breakpoint retain their layout. */
.home-compact .mobile-more{ display:none; }
@media (max-width:560px){
  .home-compact{ --radius:18px; --radius-lg:22px; }
  .home-compact .section{ padding:28px 0; }
  .home-compact .section--tight-bottom{ padding-bottom:16px; }
  .home-compact #about{ padding-top:16px; }
  .home-compact .section__head{ margin-bottom:20px; }
  .home-compact h1{ font-size:2rem; line-height:1.08; }
  .home-compact h2{ font-size:1.6rem; line-height:1.13; }
  .home-compact .lead{ font-size:1rem; line-height:1.5; }
  .home-compact .eyebrow{ margin-bottom:8px; }
  .home-compact .hero{ padding:20px 0 26px; }
  .home-compact .hero__grid{ gap:22px; }
  .home-compact .hero__badge{ padding:6px 10px; margin-bottom:12px; font-size:.75rem; }
  .home-compact .hero__sub{ font-size:1rem; line-height:1.5; margin-bottom:14px; }
  .home-compact .hero__actions{ gap:10px; margin-bottom:14px; }
  .home-compact .hero__actions .btn{ min-height:44px; padding:11px 14px; font-size:.875rem; }
  .home-compact .hero__chips{ gap:8px 14px; }
  .home-compact .hero__chip{ font-size:.8125rem; gap:6px; }
  .home-compact .hero__caption-title{ font-size:1.25rem; line-height:1.25; }
  .home-compact .trust__item{ padding:16px 10px; }
  .home-compact .trust__ic{ width:34px; height:34px; margin-bottom:8px; border-radius:10px; }
  .home-compact .trust__ic svg{ width:20px; height:20px; }
  .home-compact .trust__t{ font-size:1.35rem; }
  .home-compact .trust__s{ margin-top:6px; font-size:.8125rem; }
  .home-compact .loc__grid{ gap:12px; margin-bottom:20px; }
  .home-compact .loc{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; column-gap:8px; row-gap:9px; padding:16px; }
  .home-compact .loc__tag,.home-compact .loc__status{ width:fit-content; max-width:100%; margin:0; padding:4px 7px; font-size:.6875rem; line-height:1.35; letter-spacing:.015em; }
  .home-compact .loc__status{ justify-self:end; }
  .home-compact .loc h3,.home-compact .loc__row{ grid-column:1/-1; margin:0; }
  .home-compact .loc h3{ font-size:1.05rem; line-height:1.3; }
  .home-compact .loc__row{ font-size:.875rem; line-height:1.45; gap:8px; }
  .home-compact .loc .btn{ min-width:0; min-height:44px; margin:3px 0 0!important; padding:10px 8px; font-size:.8125rem; line-height:1.25; white-space:normal; }
  .home-compact .map #map{ height:270px; }
  .home-compact .maplegend{ display:none; }
  .home-compact .cta{ padding:24px 20px; text-align:left; }
  .home-compact .cta h2{ font-size:1.45rem; line-height:1.18; }
  .home-compact .cta p{ font-size:.9375rem; line-height:1.5; }
  .home-compact .cta__actions{ margin-top:16px; gap:10px; justify-content:flex-start; }
  .home-compact .cta__actions .btn{ min-height:44px; padding:11px 14px; font-size:.875rem; }
  .home-compact .about__grid{ gap:20px; padding-bottom:0; }
  .home-compact .about__grid::after{ content:none; }
  .home-compact .about__media{ padding-bottom:6px; }
  .home-compact .about__media::after{
    content:""; position:absolute; left:0; right:0; bottom:0; height:6px;
    border-radius:999px; pointer-events:none; z-index:1;
    background:linear-gradient(90deg,var(--graphite) 0 30%,var(--brand) 36% 64%,var(--accent) 70% 100%);
  }
  .home-compact .about__media img{ max-height:220px; width:auto; max-width:100%; object-fit:contain; }
  .home-compact .checklist{ gap:9px; margin-top:16px; }
  .home-compact .checklist li{ gap:8px; font-size:.9375rem; line-height:1.45; }
  .home-compact .fgrid{ gap:10px; }
  .home-compact .feat,.home-compact .feat--feature{ padding:14px; gap:10px; }
  .home-compact .feat__ic,.home-compact .feat__ic--lg{ width:32px; height:32px; border-radius:9px; }
  .home-compact .feat__ic svg,.home-compact .feat__ic--lg svg{ width:19px; height:19px; }
  .home-compact .feat h3{ font-size:1rem; line-height:1.25; margin:1px 0 5px; }
  .home-compact .feat p{ font-size:.875rem; line-height:1.45; }
  .home-compact .feat__tag{ padding:3px 7px; font-size:.625rem; letter-spacing:.03em; }
  .home-compact .price__grid{ gap:16px; }
  .home-compact .price{ padding:18px; }
  .home-compact .price h3{ font-size:1.125rem; }
  .home-compact .price .desc{ min-height:0; margin-bottom:6px; font-size:.875rem; }
  .home-compact .price .amount{ font-size:1.85rem; margin:8px 0 2px; }
  .home-compact .price ul{ margin:10px 0 14px; gap:6px; }
  .home-compact .price ul li{ font-size:.875rem; line-height:1.4; }
  .home-compact .price .btn{ min-height:44px; padding:10px 14px; font-size:.875rem; }
  .home-compact .price__note{ margin-top:18px; font-size:.875rem; line-height:1.45; }
  .home-compact .pricebook{ gap:10px; }
  .home-compact .pricegroup__head{ min-height:56px; gap:9px; padding:12px; }
  .home-compact .pricegroup__head .ic{ width:30px; height:30px; border-radius:8px; }
  .home-compact .pricegroup__head .ic svg{ width:18px; height:18px; }
  .home-compact .pricegroup__head h3{ font-size:.9375rem; line-height:1.25; }
  .home-compact .pricetable td{ padding:12px; font-size:.875rem; }
  .home-compact #doctors .docs__grid{ grid-template-columns:minmax(0,1fr); gap:10px; }
  .home-compact #doctors .doc{ display:grid; grid-template-columns:88px minmax(0,1fr); }
  .home-compact #doctors .doc__photo{ aspect-ratio:auto; height:100%; min-height:124px; }
  .home-compact #doctors .doc__body{ padding:12px; }
  .home-compact #doctors .doc__body h3{ font-size:.9375rem; line-height:1.25; }
  .home-compact #doctors .doc__role{ font-size:.8125rem; line-height:1.4; }
  .home-compact #doctors .doc__exp{ max-width:100%; margin-top:7px; padding:4px 8px; font-size:.75rem; line-height:1.3; }
  .home-compact #doctors .doc__more{ opacity:1; transform:none; margin-top:7px; font-size:.8125rem; }
  .home-compact #doctors [data-mobile-preview="doctors"]:not([data-mobile-expanded="true"]) > .doc:nth-child(n+7),
  .home-compact #vk [data-mobile-preview="news"]:not([data-mobile-expanded="true"]) > .news:nth-child(n+3){ display:none; }
  .home-compact .mobile-more:not([hidden]){ display:flex; justify-content:center; width:100%; min-height:46px; margin-top:16px; padding:12px; white-space:normal; font-size:.9375rem; }
  .home-compact .faq{ gap:9px; }
  .home-compact .faq details{ padding:0 15px; }
  .home-compact .faq summary{ min-height:52px; padding:14px 0; font-size:.9375rem; line-height:1.4; gap:10px; }
  .home-compact .faq summary .q{ gap:9px; }
  .home-compact .faq summary .q b{ font-size:1rem; }
  .home-compact .faq .a{ padding:0 0 16px; font-size:.9375rem; line-height:1.5; }
  /* A disclaimer is flowing prose, not separate flex columns for text and phone. */
  .home-compact .pricebook__note{
    display:block; position:relative; margin:0; padding:14px 14px 14px 39px;
    font-size:.875rem; line-height:1.5; overflow-wrap:anywhere;
  }
  .home-compact .pricebook__note svg{ position:absolute; left:14px; top:16px; width:16px; height:16px; margin:0; }
  .home-compact .pricebook__note a{ display:inline; white-space:nowrap; }
  .home-compact .reviews__wrap{ display:grid; grid-template-columns:minmax(0,1fr) 44px 44px; gap:8px; }
  .home-compact .reviews__track{
    grid-column:1/-1; grid-row:1; min-width:0; width:100%;
    grid-auto-columns:calc(100% - 28px); gap:12px; padding:2px 0 12px;
    scroll-padding-inline:0; overscroll-behavior-x:contain;
  }
  .home-compact .review{ margin:0; padding:16px; }
  .home-compact .review p{ font-size:.9375rem; line-height:1.5; }
  .home-compact .review .stars{ margin-bottom:10px; font-size:.9375rem; }
  .home-compact .review__src{ top:16px; right:16px; padding:3px 8px; font-size:.6875rem; }
  .home-compact .review__who{ margin-top:auto; padding-top:12px; gap:10px; }
  .home-compact .review__ava{ width:36px; height:36px; }
  .home-compact .review__who b{ font-size:.875rem; }
  .home-compact .review__who b + span{ font-size:.75rem; }
  .home-compact .reviews__arrow{
    display:grid; position:static; grid-row:2; width:44px; height:44px;
    transform:none; font-size:1.5rem; box-shadow:none;
  }
  .home-compact .reviews__arrow--prev{ grid-column:2; }
  .home-compact .reviews__arrow--next{ grid-column:3; }
  .home-compact .reviews__arrow:hover{ transform:none; }
  .home-compact .reviews__wrap::after{
    content:'Листайте отзывы'; grid-column:1; grid-row:2; align-self:center;
    color:var(--muted); font-size:.8125rem;
  }
  .home-compact .reviews__foot{ display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-top:16px; }
  .home-compact .reviews__foot .btn{ width:100%; min-height:44px; padding:11px 12px; font-size:.875rem; white-space:normal; text-align:center; }
  .home-compact .news__grid{ gap:14px; }
  .home-compact .news__media{ aspect-ratio:16/8; }
  .home-compact .news__body{ padding:16px; gap:8px; }
  .home-compact .news__text{ font-size:.9375rem; line-height:1.5; }
  .home-compact .news__more{ min-height:44px; display:flex; align-items:center; padding-top:0; }
  .home-compact .news__foot{ margin-top:20px; }
  .home-compact .footer{ padding-top:30px; }
  .home-compact .footer__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px 14px; }
  .home-compact .footer__brand,.home-compact .footer__grid > div:last-child{ grid-column:1/-1; }
  .home-compact .footer h4{ margin-bottom:10px; }
}
