/* Phone layouts follow the supplied SmileTrip mobile reference. */
.mobile-catalog-intro, .filter-label--mobile { display: none; }

@media (min-width: 761px) and (max-width: 1020px) {
  .service-card h3 { overflow-wrap: anywhere; }
}

@media (max-width: 760px) {
  body[data-page="home"] main > section:not(.hero) { display: none; }
  body[data-page="home"] .hero {
    height: max(640px, calc(100svh - 124px));
    min-height: 640px;
    background-image: var(--site-hero-mobile);
    background-position: 20% center;
  }
  body[data-page="home"] .hero::before {
    background: linear-gradient(90deg, rgba(5, 30, 65, .82), rgba(5, 30, 65, .34) 63%, rgba(5, 30, 65, .06)), linear-gradient(0deg, rgba(5, 26, 56, .57), transparent 48%);
  }
  body[data-page="home"] .hero__inner { height: 100%; min-height: 640px; }
  body[data-page="home"] .hero__content { min-height: 100%; display: flex; flex-direction: column; align-items: stretch; padding: 28px 16px 24px; }
  body[data-page="home"] .hero h1 { max-width: 340px; margin: 0 0 12px; font-size: clamp(25px, 7.2vw, 28px); line-height: 1.12; letter-spacing: -.7px; }
  body[data-page="home"] .hero-description-mobile { max-width: 330px; margin: 0 0 16px; font-size: 13.5px; line-height: 1.35; }
  body[data-page="home"] .trust-list { width: 100%; max-width: none; display: grid; grid-template-columns: 1fr; gap: 5px; margin: 0 0 18px; }
  body[data-page="home"] .trust-list > span { display: flex; min-height: 28px; gap: 10px; font-size: 12px; line-height: 1.25; }
  body[data-page="home"] .trust-list > span > span { display: inline; min-height: 0; padding: 0; background: none; box-shadow: none; }
  body[data-page="home"] .trust-list i { width: 28px; height: 28px; flex: none; border-radius: 8px; }
  body[data-page="home"] .trust-list .icon { width: 20px; height: 20px; }
  body[data-page="home"] .estimate-button { margin-top: auto; min-height: 52px; height: auto; padding: 12px 10px; font-size: 14px; line-height: 1.3; }
  body[data-page="home"] .social-buttons--hero { flex: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
  body[data-page="home"] .social-buttons--hero .social { min-height: 80px; padding: 9px 3px; gap: 5px; }
  body[data-page="home"] .social-buttons--hero .social .icon { width: 27px; height: 27px; }
  body[data-page="home"] .social-buttons--hero .social b { font-size: 13px; line-height: 1.2; }
  body[data-page="home"] .social-buttons--hero .social small { font-size: 11px; line-height: 1.3; }

  body[data-page="prices"], body[data-page="reviews"] { background: #fff; }
  body[data-page="prices"] .prices-hero { min-height: 0; margin: 0; background: #fff; }
  body[data-page="prices"] .prices-hero__inner { min-height: 0; display: block; padding: 19px 16px 0; }
  body[data-page="prices"] .prices-hero__content { max-width: none; padding: 0; }
  body[data-page="prices"] .prices-hero__content > h1,
  body[data-page="prices"] .prices-hero__content > p,
  body[data-page="prices"] .prices-aside,
  body[data-page="prices"] .prices-footer { display: none; }
  body[data-page="prices"] .mobile-catalog-intro { display: block; }
  body[data-page="prices"] .mobile-catalog-intro h1 { margin: 0 0 7px; color: #0c193d; font-size: 26px; line-height: 1.12; letter-spacing: -.65px; font-weight: 800; }
  body[data-page="prices"] .mobile-catalog-intro p { margin: 0; color: #647080; font-size: 14px; line-height: 1.4; }
  body[data-page="prices"] .prices-catalog { padding: 0 16px 12px; }
  body[data-page="prices"] .price-filters { gap: 2px; margin: 12px -16px 9px; padding: 0 16px 3px; background: #fff; }
  body[data-page="prices"] .price-filters button { min-height: 34px; padding: 7px 10px; color: #334259; font-size: 11px; font-weight: 500; order: 5; }
  body[data-page="prices"] .price-filters button[data-filter="all"] { order: 0; }
  body[data-page="prices"] .price-filters button[data-filter="implant"] { order: 1; }
  body[data-page="prices"] .price-filters button[data-filter="crowns"] { order: 2; }
  body[data-page="prices"] .price-filters button[data-filter="veneers"] { order: 3; }
  body[data-page="prices"] .price-filters button[data-filter="caries"] { order: 4; }
  body[data-page="prices"] .price-filters button.active { color: #fff; }
  body[data-page="prices"] .filter-label--desktop { display: none; }
  body[data-page="prices"] .filter-label--mobile { display: inline; }
  body[data-page="prices"] .price-list { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 0; }
  body[data-page="prices"] .price-card { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; min-height: 82px; border: 0; border-radius: 0; background: #fff; box-shadow: none; overflow: visible; }
  body[data-page="prices"] .price-card[hidden] { display: none; }
  body[data-page="prices"] .price-card > img { width: 88px; height: 82px; object-fit: cover; border-radius: 7px; }
  body[data-page="prices"] .price-card__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 10px 32px 10px 15px; }
  body[data-page="prices"] .price-card h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.3; letter-spacing: -.15px; }
  body[data-page="prices"] .price-card h3 small { font-size: 11px; }
  body[data-page="prices"] .price-card strong { color: #a5273e; font-size: 17px; line-height: 1.25; }
  body[data-page="prices"] .price-benefits { display: none; }
  body[data-page="prices"] .price-more { position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 30px; height: 44px; min-height: 44px; margin: 0; padding: 0; transform: translateY(-50%); border: 0; border-radius: 5px; color: #1e6780; background: transparent; }
  body[data-page="prices"] .price-more .icon { display: none; }
  body[data-page="prices"] .price-more::after { content: ''; width: 7px; height: 7px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }

  body[data-page="reviews"] .reviews-hero { margin: 0; min-height: 0; background: #fff; }
  body[data-page="reviews"] .reviews-hero::before { display: none; }
  body[data-page="reviews"] .reviews-hero__inner { min-height: 0; display: block; padding: 20px 16px 12px; }
  body[data-page="reviews"] .reviews-hero__content { max-width: none; padding: 0; }
  body[data-page="reviews"] .reviews-hero h1 { margin: 0 0 8px; color: #0c193d; font-size: 25px; line-height: 1.15; letter-spacing: -.75px; }
  body[data-page="reviews"] .reviews-hero h1 span { color: inherit; }
  body[data-page="reviews"] .reviews-hero p { max-width: none; margin: 0; color: #647080; font-size: 14px; line-height: 1.4; }
  body[data-page="reviews"] .reviews-hero .trust-list--page,
  body[data-page="reviews"] .reviews-aside,
  body[data-page="reviews"] .review-filters,
  body[data-page="reviews"] .process-band { display: none; }
  body[data-page="reviews"] .reviews-catalog { padding: 0 16px 8px; }
  body[data-page="reviews"] .review-items { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
  body[data-page="reviews"] .review-item { display: grid; grid-template-columns: 86px minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 15px; min-height: 156px; padding: 16px 0 21px; border: 0; border-top: 1px solid #eef1f3; border-radius: 0; box-shadow: none; background: #fff; }
  body[data-page="reviews"] .review-item[hidden] { display: none; }
  body[data-page="reviews"] .review-item__media { display: block; grid-column: 1; grid-row: 1 / 4; }
  body[data-page="reviews"] .review-item__client { height: auto; border-radius: 6px; }
  body[data-page="reviews"] .review-item__client img { width: 86px; height: 105px; object-fit: cover; object-position: center top; border-radius: 6px; }
  body[data-page="reviews"] .review-item__cases,
  body[data-page="reviews"] .review-item__meta time,
  body[data-page="reviews"] .review-tags { display: none; }
  body[data-page="reviews"] .review-item__meta { grid-column: 2; grid-row: 1; display: block; margin: 2px 0 0; }
  body[data-page="reviews"] .review-item__meta h3 { font-size: 14px; line-height: 1.3; }
  body[data-page="reviews"] .review-item .stars { grid-column: 2; grid-row: 2; margin: 3px 0 0; color: #e4b61b; font-size: 18px; line-height: 1.2; letter-spacing: 1px; }
  body[data-page="reviews"] .review-item p { grid-column: 2; grid-row: 3; min-height: 0; margin: 5px 0 0; color: #647080; font-size: 13px; line-height: 1.4; }
}

@media (max-width: 370px) {
  body[data-page="home"] .hero__content { padding: 24px 14px 16px; }
  body[data-page="home"] .hero h1 { font-size: 25px; }
  body[data-page="home"] .hero-description-mobile { font-size: 12px; line-height: 1.35; margin-bottom: 14px; }
  body[data-page="home"] .trust-list { margin-bottom: 16px; }
  body[data-page="home"] .trust-list > span { font-size: 11.5px; }
  body[data-page="home"] .trust-list > span, body[data-page="home"] .trust-list i { min-height: 26px; height: 26px; }
  body[data-page="home"] .trust-list i { width: 26px; }
  body[data-page="home"] .estimate-button { min-height: 48px; font-size: 12px; }
  body[data-page="home"] .social-buttons--hero { margin-top: 12px; }
  body[data-page="home"] .social-buttons--hero .social { min-height: 76px; }
  body[data-page="prices"] .mobile-catalog-intro h1 { font-size: 24px; }
  body[data-page="prices"] .price-card { grid-template-columns: 82px minmax(0, 1fr); }
  body[data-page="prices"] .price-card > img { width: 82px; height: 78px; }
  body[data-page="prices"] .price-card__body { padding-left: 13px; padding-right: 26px; }
  body[data-page="prices"] .price-card h3 { font-size: 13px; }
  body[data-page="prices"] .price-card strong { font-size: 16px; }
  body[data-page="reviews"] .reviews-hero h1 { font-size: 23px; }
  body[data-page="reviews"] .review-item { grid-template-columns: 78px minmax(0, 1fr); column-gap: 13px; }
  body[data-page="reviews"] .review-item__client img { width: 78px; height: 96px; }
  body[data-page="reviews"] .review-item__meta h3 { font-size: 13px; }
  body[data-page="reviews"] .review-item p { font-size: 12px; }
}
