:root {
  --salym-red: #a10101;
  --salym-dark-red: #860000;
  --salym-page-gutter: 18px;
}

.salym-mobile-only {
  display: none;
}

@media screen and (max-width: 980px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    min-width: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    background: #fff;
  }

  .salym-mobile-only {
    display: block;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  #rec3000561101,
  #rec3001934901,
  #rec3002159201 {
    display: none !important;
  }

  .salym-mobile-hero {
    width: 100%;
    padding: 30px var(--salym-page-gutter) 28px;
    color: #000;
    background: #fff;
  }

  .salym-mobile-hero__inner {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  .salym-mobile-hero__title,
  .salym-mobile-hero__subtitle {
    margin: 0;
    font-weight: 700;
    line-height: 1.06;
  }

  .salym-mobile-hero__title {
    color: #c80000;
    font-size: clamp(2rem, 9vw, 2.25rem);
  }

  .salym-mobile-hero__subtitle {
    margin-top: 4px;
    font-size: clamp(1.5rem, 6.5vw, 1.75rem);
  }

  .salym-mobile-hero__visual {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    border-radius: 10px;
    background: #fff;
  }

  .salym-mobile-hero__photo {
    display: block;
    width: 100%;
    height: auto;
  }

  .salym-mobile-hero__list {
    position: absolute;
    top: 50%;
    left: 2%;
    display: grid;
    width: 49%;
    gap: clamp(3px, 1.3vw, 9px);
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    list-style: none;
    font-size: clamp(0.75rem, 3.85vw, 1.0625rem);
    font-weight: 700;
    line-height: 1.15;
  }

  .salym-mobile-hero__list li {
    position: relative;
    min-height: 18px;
    padding-left: 23px;
  }

  .salym-mobile-hero__list li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border: 2px solid var(--salym-red);
    border-radius: 50%;
    color: var(--salym-red);
    content: "✓";
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
  }

  .salym-call-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 10px;
    color: #fff !important;
    background: var(--salym-red);
    font-size: clamp(1.125rem, 5.2vw, 1.375rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .salym-mobile-hero__call {
    width: 100%;
    margin-top: 18px;
  }

  #rec3053925601 {
    padding: 0 var(--salym-page-gutter) 28px;
  }

  #rec3053925601 .t603__container {
    display: flex;
    width: calc(100% + 10px);
    flex-wrap: wrap;
    max-width: 730px;
    min-height: 0;
    margin: -5px -5px 0;
    padding: 0;
  }

  #rec3053925601 .t603__tile,
  #rec3053925601 .t603__tile_25 {
    display: block;
    width: 50%;
    min-width: 0;
    flex: 0 0 50%;
    padding: 5px;
  }

  #rec3053925601 .t603__blockimg {
    overflow: hidden;
    border-radius: 10px;
    background-size: cover !important;
  }

  .salym-mobile-benefits {
    padding: 4px var(--salym-page-gutter) 32px;
    background: #fff;
  }

  .salym-mobile-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
  }

  .salym-mobile-benefit {
    display: flex;
    min-width: 0;
    min-height: 116px;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    flex-direction: column;
    padding: 14px 6px 12px;
    border-radius: 10px;
    background: #f5f5f5;
    text-align: center;
  }

  .salym-mobile-benefit img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
  }

  .salym-mobile-benefit span {
    display: block;
    margin-top: 9px;
    color: #000;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  #rec3240243601 {
    box-sizing: border-box;
    padding: 0 16px 28px;
  }

  #rec3240243601 .t-container_100,
  #rec3240243601 .t-width_100 {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

  #dg2gis-wrap-70000001060724166 {
    width: 100% !important;
    max-width: 528px;
  }

  #rec2846758801,
  #rec2846758801 .t117,
  #rec2846758801 .t-width_100,
  #rec2846758801 .t117_map,
  #rec2846758801 .t-map {
    width: 100% !important;
    max-width: 100% !important;
  }

  #rec2846758801 .t117_map,
  #rec2846758801 .t-map {
    height: 300px !important;
  }

  .salym-mobile-contact {
    padding: 30px var(--salym-page-gutter) 32px;
    background: var(--salym-dark-red);
    color: #fff;
    text-align: center;
  }

  .salym-mobile-contact__inner {
    max-width: 520px;
    margin: 0 auto;
  }

  .salym-mobile-contact__title {
    margin: 0;
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
  }

  .salym-mobile-contact__phone {
    display: inline-block;
    margin-top: 12px;
    color: #fff !important;
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
  }

  .salym-mobile-contact__call {
    width: 100%;
    margin-top: 18px;
    border: 2px solid #fff;
  }

  .salym-sticky-call {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: flex;
    min-width: 148px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 24px;
    border-radius: 10px;
    color: #fff !important;
    background: var(--salym-red);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .salym-call-button:focus-visible,
  .salym-sticky-call:focus-visible,
  .salym-mobile-contact__phone:focus-visible {
    outline: 3px solid #2015ff;
    outline-offset: 3px;
  }
}

@media screen and (max-width: 359px) {
  :root {
    --salym-page-gutter: 16px;
  }

  .salym-mobile-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .salym-mobile-benefit:last-child {
    width: calc(50% - 5px);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media screen and (min-width: 981px) {
  .salym-sticky-call {
    display: none;
  }
}
