/* Mobile service cards and footer: load after all other site CSS. */
@media (max-width: 860px) {
  .header-phone {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: 0 0 44px; color: #192128;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23192128' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72l.4 2.8a2 2 0 0 1-.57 1.72l-1.27 1.27a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 1.72-.57l2.8.4A2 2 0 0 1 22 16.9z'/%3E%3C/svg%3E") no-repeat center;
    font-size: 0;
  }
  .header-phone::before { content: none; }
  .header-phone span { font-size: 0; }
  body .service-grid { display: flex; flex-direction: column; gap: 0; }
  body .service-grid .service-card {
    position: relative; display: grid; grid-template-columns: minmax(80px, 30%) minmax(0, 1fr);
    gap: 16px; align-items: start; min-height: 0; height: auto; padding: 18px 0;
    border: 0; border-bottom: 1px solid #d9d6ce; border-radius: 0;
    overflow: visible; background: transparent; color: #192128;
  }
  body .service-grid .service-card:first-child { border-top: 1px solid #d9d6ce; }
  body .service-grid .service-card img {
    position: static; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
    object-fit: cover; filter: none; border-radius: 2px; transform: none;
  }
  body .service-grid .service-card-body {
    position: static; inset: auto; display: flex; flex-direction: column; min-width: 0;
    gap: 5px; padding: 0; background: none; color: #192128;
  }
  body .service-grid .service-card-body small {
    display: block; color: #9a7f54; font: 400 20px/1.2 Georgia, serif; letter-spacing: 0;
  }
  body .service-grid .service-card-body strong {
    display: block; margin: 0; color: #192128; font: 400 19px/1.25 Georgia, serif;
    max-width: none; overflow-wrap: anywhere;
  }
  body .service-grid .service-card-body > span {
    display: block; margin: 0; max-width: none; opacity: 1;
    color: #525852; font: 400 13px/1.55 var(--sans, Arial, sans-serif);
    overflow-wrap: anywhere;
  }
  body .service-grid .service-card-body i { display: none; }
  body .site-footer { background: #f8f7f4; color: #192128; padding-top: 0; }
  body .footer-top { padding-top: 40px; padding-bottom: 32px; }
  body .footer-visit { text-align: left; align-items: flex-start; }
  body .footer-visit h2 { color: #192128; line-height: 1.2; }
  body .footer-visit-contacts { color: #525852; font-size: 15px; line-height: 1.65; }
  body .footer-visit-contacts a { color: #192128; min-height: 44px; overflow-wrap: anywhere; }
  body .footer-visit .button { width: 100%; max-width: none; min-height: 52px; justify-content: center; border-radius: 3px; gap: 12px; }
  body .footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }
  body .footer-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #192128 !important; color: #f8f7f4 !important; box-shadow: none; }
  body .footer-socials a svg { width: 20px; height: 20px; }
  body .footer-visit-photo { max-height: none; }
  body .footer-visit-photo img { max-height: none; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
  body .footer-bottom-band { background: #f8f7f4; color: #525852; padding-bottom: env(safe-area-inset-bottom, 0px); }
  body .footer-bottom { color: #525852; font-size: 12px; line-height: 1.6; padding-block: 20px 24px; }
  body .footer-bottom span { color: inherit; }
}
@media (max-width: 350px) {
  body .service-grid .service-card { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
  body .service-grid .service-card-body strong { font-size: 18px; }
}
