.menu-toggle { display: none; }
[data-m="svc"] { container-type: inline-size; height: 100%; }
[data-m="svc"] > span:nth-child(2) { font-size: clamp(16px, 7.6cqi, 24px) !important; }
.hero-stats > div > div:first-child { font-size: clamp(23px, 2.35vw, 34px) !important; white-space: nowrap; }
.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-track > div { width: auto !important; min-width: 0; scroll-snap-align: start; }
#calc [data-m="card"], .careers-card { overflow-wrap: anywhere; }
.schedule-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)) !important; }
.schedule-field { min-width: 0; }
.schedule-popup { position: static !important; width: min(100%, 360px) !important; margin: 0 !important; }
#calc input, #calc textarea { min-width: 0; max-width: 100%; }
.footer-brand { font-size: clamp(36px, 14vw, 220px) !important; }
.privacy-content h1 { font-size: clamp(25px, 5vw, 50px) !important; hyphens: manual; overflow-wrap: anywhere; }
@media (max-width: 1099px) {
  header .menu-toggle {
    position: relative; display: grid; place-items: center;
    width: 44px; height: 44px; flex: none; padding: 0;
    border: 1px solid #647174; border-radius: 50%;
    background: #182023; color: white; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 16px; height: 2px; background: currentColor; }
  .menu-toggle::before, .menu-toggle::after { content: ''; position: absolute; }
  .menu-toggle::before { transform: translateY(-5px); }
  .menu-toggle::after { transform: translateY(5px); }
  #site-menu { display: none !important; }
  #site-menu[data-open="true"] {
    position: absolute; top: 100%; right: 16px; left: 16px; margin-left: auto;
    display: grid !important; width: min(280px, calc(100% - 32px)); gap: 0 !important;
    max-height: calc(100dvh - 84px); overflow-y: auto; padding: 8px;
    border: 1px solid #495457; border-radius: 18px; background: #182023;
  }
  #site-menu a { padding: 12px 16px; }
}
@media (max-width: 1023px) {
  .hero-photo [data-m="hero-img"] { aspect-ratio: 16/10 !important; }
  .hero-photo [data-m="float-l"] { left: 12px !important; }
  .hero-photo [data-m="float-r"] { right: 12px !important; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 720px), (max-height: 550px) {
  [data-m="proc"] { position: relative !important; top: auto !important; }
  .floating-order { display: none !important; }
}
@media (max-width: 720px) {
  header > div { gap: 8px !important; padding-inline: 16px !important; }
  header > div > div:last-child { gap: 8px !important; }
  #top, section[id]:not(#reviews), section[data-screen-label="Guarantees"], #contacts { padding-inline: clamp(14px, 4vw, 24px) !important; }
  .review-track { grid-auto-columns: 100%; }
  .hero-photo [data-m="hero-img"] { aspect-ratio: 4/3 !important; }
  .privacy-content { padding: 48px clamp(16px, 4vw, 24px) 64px !important; }
}
@media (max-width: 440px) {
  header > div > a:first-child { gap: 6px !important; }
  header > div > a:first-child > span:first-child { width: 26px !important; height: 26px !important; }
  header > div > a:first-child > span:last-child { font-size: 17px !important; }
  header a[href="#calc"], .privacy-header a:last-child { padding-inline: 14px !important; }
  .hero-photo { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero-photo [data-m^="float-"] { position: static !important; max-width: 100% !important; box-shadow: none !important; }
  .hero-photo [data-m="float-r"] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
  .hero-photo [data-m="float-r"] > div:last-child { font-size: 18px !important; margin: 0 !important; }
  #top h1 { font-size: clamp(31px, 9.8vw, 42px) !important; }
  section h2 { font-size: clamp(24px, 7.2vw, 32px) !important; }
  #top a[href="#calc"], #top a[href="#prices"] { justify-content: center; width: 100%; padding: 16px !important; }
  .hero-stats { gap: 16px !important; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important; }
  [data-m="proc"] > div:last-child > div:first-child { font-size: 23px !important; }
  #prices [data-reveal]:has(.price-value), #calc [data-m="card"], .careers-card { padding: 18px !important; }
  .price-value { font-size: clamp(32px, 9.6vw, 42px) !important; }
  .popular-price { position: static !important; align-self: flex-start; margin-bottom: 8px; }
  .area-panel, .schedule-popup { padding: 12px !important; }
  .area-panel label { font-size: 28px !important; }
  .area-panel input[type="range"] { margin-inline: 0; }
  [data-m="card"] > div:has([data-m="show-sm"]) { flex-wrap: wrap; }
  #calc [data-m="formnav"] button { min-width: 0; }
}
@media (max-width: 340px) {
  header > div { padding-inline: 10px !important; }
  header > div > a:first-child > span:last-child { font-size: 15px !important; }
  header > div > div:last-child { gap: 5px !important; }
  header a[href="#calc"] { padding-inline: 10px !important; }
  .review-track > div { padding: 20px !important; }
}
.estimate-lines span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .estimate-lines > div { display: grid !important; gap: 4px !important; }
  .estimate-lines span:last-child { text-align: left !important; }
}
