/* SMARTREMONT contact controls. Shared by every page. */
html { scroll-padding-top: calc(var(--sr-header-h) + 20px); }
.sr-menu-open { overflow: hidden; }
.sr-header { z-index: 1000; }
.sr-header .sr-header__inner {
  grid-template-columns: 190px minmax(0, 1fr) auto;
  column-gap: 22px;
}
.sr-header .sr-header__brand,
.sr-header .sr-header__brand img { width: 190px; }
.sr-header .sr-header__nav { gap: clamp(12px, 1.1vw, 18px); }
.sr-header .sr-header__nav a { font-size: 13px; }
.sr-contact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.sr-contact-actions .sr-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 9px;
  min-width: 44px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: #f2f0ec;
  background: #242528;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  letter-spacing: -.015em;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .18s, border-color .18s, transform .18s;
}
.sr-contact-actions .sr-contact-link--phone {
  color: #1a1b1d;
  background: #eee9df;
  border-color: #eee9df;
  font-variant-numeric: tabular-nums;
}
.sr-contact-actions .sr-contact-link--whatsapp {
  color: #96e9b3;
  background: #192c24;
  border-color: #345e48;
}
.sr-contact-actions .sr-contact-link--telegram {
  color: #9bd8ff;
  background: #192a38;
  border-color: #345c79;
}
.sr-contact-link .sr-contact-icon {
  display: block;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
}
.sr-contact-actions .sr-contact-link:focus-visible {
  outline: 2px solid #e7cfaa;
  outline-offset: 4px;
}
.sr-contact-actions .sr-contact-link:active { transform: translateY(1px); }
.sr-contact-actions--header { justify-self: end; }
.sr-contact-actions--header .sr-contact-link { height: 46px; }
.sr-contact-actions--header .sr-contact-link--phone { padding-inline: 13px; font-size: 14px; }
.sr-contact-actions--header .sr-contact-link--whatsapp,
.sr-contact-actions--header .sr-contact-link--telegram { width: 44px; padding: 10px; }
.sr-contact-actions--header .sr-contact-link--whatsapp .sr-contact-icon { width: 20px; height: 20px; flex-basis: 20px; }
.sr-contact-actions--header .sr-contact-link--telegram .sr-contact-icon { width: 21px; height: 21px; flex-basis: 21px; }
.sr-contact-actions--section { flex-wrap: wrap; margin-top: 22px; }
.sr-contact-actions--section .sr-contact-link { flex: 1 1 130px; min-height: 50px; }
.sr-contact-actions--footer { flex-wrap: wrap; }
.sr-contact-actions--footer .sr-contact-link { font-size: 13px; padding-inline: 12px; }
.footer__links > .sr-contact-actions { margin-top: 10px; }
.sr-header .sr-mobile-menu {
  max-height: calc(100dvh - var(--sr-header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
}
@media (hover: hover) {
  .sr-contact-actions .sr-contact-link--phone:hover { background: #fff8eb; border-color: #fff8eb; }
  .sr-contact-actions .sr-contact-link--whatsapp:hover { background: #244633; border-color: #5a9d72; }
  .sr-contact-actions .sr-contact-link--telegram:hover { background: #223f55; border-color: #598eb3; }
}
@media (max-width: 1400px) {
  body { padding-top: var(--sr-header-h) !important; }
  .sr-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
  }
  .sr-header .sr-header__inner { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 18px; }
  .sr-header .sr-header__nav { display: none; }
  .sr-header .sr-header__toggle { display: block; width: 84px; min-height: 44px; z-index: 1; cursor: pointer; }
  .sr-header .sr-mobile-menu {
    display: none;
    position: fixed !important;
    top: var(--sr-header-h) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1 !important;
  }
  .sr-header .sr-mobile-menu.is-open { display: block; }
}
@media (max-width: 700px) {
  :root { --sr-header-h: calc(124px + env(safe-area-inset-top, 0px)); }
  .sr-header .sr-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 64px 60px;
    column-gap: 16px;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .sr-header .sr-header__brand,
  .sr-header .sr-header__brand img { width: 178px; height: 50px; }
  .sr-header .sr-header__toggle { grid-column: 2; grid-row: 1; width: 80px; }
  .sr-contact-actions--header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    justify-self: stretch;
    width: 100%;
    padding-top: 3px;
  }
  .sr-contact-actions--header .sr-contact-link { height: 44px; min-width: 0; }
  .sr-contact-actions--header .sr-contact-link--phone { padding-inline: 8px; font-size: 15px; }
  .sr-header .sr-mobile-menu { padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
  body > main > .hero:first-child { padding-top: 44px; }
  .sr-contact-actions--footer { gap: 8px; width: 100%; max-width: 380px; }
  .sr-contact-actions--footer .sr-contact-link--phone { flex-basis: 100%; }
  .sr-contact-actions--footer .sr-contact-link--whatsapp,
  .sr-contact-actions--footer .sr-contact-link--telegram { flex: 1 1 120px; }
}
@media (max-width: 359px) {
  .sr-header .sr-header__brand,
  .sr-header .sr-header__brand img { width: 158px; }
  .sr-header .sr-header__toggle { width: 72px; }
  .sr-contact-actions--header .sr-contact-link--phone { font-size: 13px; gap: 6px; padding-inline: 5px; }
  .sr-contact-actions--header .sr-contact-link--phone .sr-contact-icon { width: 16px; height: 16px; flex-basis: 16px; }
}
@media (max-height: 500px) and (min-width: 701px) {
  .sr-header .sr-mobile-menu a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .sr-contact-actions .sr-contact-link { transition: none; }
}
