/* Approved mobile direction A: BAZA, industrial black and yellow. */
.header-back,
.mobile-action-bar,
.hero-price,
.hero-subtitle-mobile,
.service-title-full,
.home-catalog-link {
  display: none;
}
.scene-photo {
  height: 100%;
  overflow: hidden;
  background: #f5f4ef;
}
.equipment-grid > .empty-state {
  grid-column: 1 / -1;
}
.scene-photo .reference-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.scene-photo img {
  position: absolute;
  max-width: none;
  width: 175.154%;
  left: -75.154%;
  top: -26.56%;
  height: 500%;
}
.service-page {
  padding-top: 28px;
  padding-bottom: 48px;
}
.service-page h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}
.service-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.service-page-photo {
  height: 360px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
}
.service-page-price {
  font-family: var(--heading);
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.service-page-price.on-request {
  font-size: 32px;
}
.service-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 16px;
  font-size: 16px;
}
.service-facts li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.service-facts .icon {
  width: 30px;
  height: 30px;
  background: var(--yellow);
  border-radius: 50%;
  color: #fff;
  padding: 3px;
}
.service-page-description {
  color: #626262;
  font-size: 16px;
  line-height: 1.7;
}
.service-page-order {
  display: flex;
  width: 100%;
  font-size: 22px;
  min-height: 56px;
  margin-top: 24px;
}
.service-load {
  border-top: 1px solid #d5d5d5;
  padding-top: 22px;
  margin-top: 24px;
}
.service-load h2 {
  font-size: 25px;
}
.service-load ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 18px 0 8px;
}
.service-load li {
  background: #edf0f3;
  padding: 12px;
  font-size: 14px;
  border-radius: 5px;
}
.request-page {
  padding-top: 36px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.request-page-content,
.request-page-help,
.service-page-info {
  min-width: 0;
}
.request-page h1 {
  font-size: clamp(36px, 4.5vw, 50px);
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.request-page-intro {
  font-size: 16px;
  margin-bottom: 28px;
}
.request-page .form-stack {
  gap: 22px;
}
.request-page .form-stack > label {
  font-size: 16px;
  font-weight: 400;
}
.request-page .form-stack input:not([type="checkbox"]),
.request-page .form-stack select {
  min-height: 56px;
  border-color: #c7cbd0;
}
.request-page .form-stack textarea {
  min-height: 120px;
  border-color: #c7cbd0;
}
.request-page .form-stack .check-label {
  font-size: 14px;
  color: var(--text);
  gap: 12px;
}
.request-page .check-label input {
  width: 22px;
  height: 22px;
  margin-top: 0;
}
.request-page [type="submit"] {
  min-height: 56px;
  font-size: 23px;
}
.request-page [type="submit"] .icon {
  display: none;
}
.request-page-call {
  border-top: 1px solid #555;
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
}
.request-page-call p {
  margin: 0 0 10px;
  font-size: 16px;
}
.request-page-call a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  font-family: var(--heading);
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700;
}
.request-page-call .icon {
  width: 30px;
  height: 30px;
}
.request-page-help {
  background: #f7f7f7;
  padding: 30px;
}
.request-page-help h2 {
  margin-bottom: 18px;
}
.request-page-help p {
  font-size: 15px;
  color: #626262;
}

/* Service detail layout matching the supplied desktop reference. */
@media (min-width: 961px) {
  .service-page > .breadcrumbs { display: none; }
  .service-page h1 { font-size: 56px; line-height: 1.15; margin-bottom: 24px; }
  .service-page-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
  .service-page-photo { height: 360px; }
  .service-page-info { padding-top: 0; }
  .service-facts li { align-items: center; }
  .service-facts .icon { flex-shrink: 0; }
  .service-page-description { margin: 24px 0 0; }
  .service-load { margin-top: 24px; padding-top: 22px; }
  .service-load ul { margin: 18px 0 18px; }
  .service-load .text-link { font-size: 12px; }
  .service-page-order { margin-top: 38px; min-height: 56px; }
}

@media (max-width: 960px) {
  .service-page-layout {
    gap: 24px;
  }
  .service-page-photo {
    height: 300px;
  }
  .request-page {
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
  }
  .request-page-help {
    display: none;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  body.is-request,
  body.is-missing {
    padding-bottom: 0;
  }
  .header-inner {
    height: 72px;
    gap: 16px;
  }
  .site-header .logo {
    width: 114px;
  }
  .site-header .logo b {
    font-style: normal;
    font-size: 36px;
    letter-spacing: -1px;
  }
  .site-header .logo span {
    font-size: 12px;
    letter-spacing: 1.6px;
    margin-top: 3px;
  }
  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
  }
  .header-phone > .icon {
    display: block;
    width: 29px;
    height: 29px;
  }
  .header-phone > span {
    display: none;
  }
  .main-nav {
    max-height: calc(100dvh - 72px);
  }
  .menu-toggle .icon {
    width: 29px;
    height: 29px;
  }
  .is-service .header-inner,
  .is-request .header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }
  .is-service .header-back,
  .is-request .header-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
  }
  .header-back .icon {
    transform: rotate(180deg);
    width: 28px;
    height: 28px;
  }
  .is-service .site-header .logo,
  .is-request .site-header .logo {
    margin: auto;
  }
  .is-service .menu-toggle,
  .is-service .main-nav,
  .is-request .menu-toggle,
  .is-request .main-nav {
    display: none;
  }
  .is-service .header-phone,
  .is-request .header-phone {
    margin: 0;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 24px;
    background: #fff;
  }
  .hero-inner,
  .hero-copy {
    display: contents;
  }
  .hero:after,
  .hero-stats,
  .hero-subtitle-desktop,
  .hero-checks li:first-child,
  .hero-actions .outline {
    display: none;
  }
  .hero h1 {
    order: 1;
    margin: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    font-size: clamp(37px, 12vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.8px;
  }
  .hero h1 em {
    color: var(--yellow);
  }
  .hero-subtitle {
    order: 2;
    margin: 12px 16px 0;
    font-size: 16px;
    font-weight: 400;
  }
  .hero-subtitle-mobile {
    display: inline;
  }
  .hero-photo {
    order: 3;
    position: static;
    z-index: auto;
    height: clamp(200px, 58vw, 290px);
    margin-top: 14px;
    width: 100%;
  }
  .hero-price {
    display: block;
    order: 4;
    margin: 14px 16px 0;
    font-family: var(--heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
  }
  .hero-checks {
    order: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 14px 16px 18px;
    font-size: 14px;
  }
  .hero-checks li {
    gap: 8px;
  }
  .hero-checks .icon {
    width: 26px;
    height: 26px;
    padding: 2px;
    color: white;
    background: var(--yellow);
    border-radius: 50%;
  }
  .hero-actions {
    order: 6;
    display: block;
    margin: 0 16px 24px;
  }
  .hero-actions .primary {
    width: 100%;
    font-size: 22px;
    min-height: 54px;
  }
  .hero-actions .icon {
    display: none;
  }
  .is-home .section:first-child {
    border-top: 1px solid #d1d1d1;
    padding-top: 20px;
  }
  .is-home .section:first-child .text-link {
    display: none;
  }
  .is-home .section-title h2 {
    font-size: 27px;
  }
  .home-equipment-grid {
    gap: 12px;
  }
  .home-equipment-grid .service-card,
  .home-equipment-grid .service-card:nth-child(n + 5) {
    grid-column: span 6;
  }
  .home-equipment-grid .service-card-body {
    padding: 12px;
  }
  .home-equipment-grid .service-card-title {
    font-size: 21px;
    margin-bottom: 8px;
  }
  .home-equipment-grid .service-card p {
    font-size: 14px;
    line-height: 1.45;
  }
  .home-equipment-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
  .service-title-short {
    display: none;
  }
  .service-title-full {
    display: inline;
  }
  .service-image {
    aspect-ratio: var(--service-image-ratio, 1.82);
  }
  .service-card-bottom {
    border: 0;
    padding-top: 0;
    gap: 4px;
    flex-wrap: nowrap;
  }
  .service-card-bottom .price {
    min-width: 0;
    flex: 1;
  }
  .service-card .price {
    font-family: var(--heading);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.2;
  }
  .service-card .price.on-request {
    font-family: var(--body);
    text-transform: none;
    font-size: 16px;
    font-weight: 700;
  }
  .order-link {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 8px;
    justify-content: center;
    flex-shrink: 0;
  }
  .order-link span {
    display: none;
  }
  .order-link .icon {
    width: 25px;
    height: 25px;
  }
  .home-catalog-link {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 16px;
    border: 1px solid #c7cbd0;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
  }
  .is-catalog .page-heading {
    background: #fff;
    border: 0;
    padding: 24px 0 0;
  }
  .is-catalog .page-heading .breadcrumbs,
  .is-catalog .page-heading p {
    display: none;
  }
  .is-catalog .page-heading h1 {
    font-size: clamp(38px, 11vw, 48px);
  }
  .is-catalog .page-heading h1 em {
    color: var(--text);
  }
  .is-catalog .page-body {
    padding-top: 20px;
  }
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 6px;
  }
  .filter-button {
    flex-shrink: 0;
    background: #edf0f3;
    font-size: 14px;
    border: 0;
    min-height: 50px;
    padding: 12px 22px;
  }
  .filter-button.active {
    background: var(--yellow);
  }
  .catalog-grid .service-card,
  .catalog-grid .service-card:nth-child(n + 5) {
    grid-column: 1 / -1;
  }
  .catalog-grid .service-image {
    aspect-ratio: var(--service-image-ratio, 2.6);
  }
  .catalog-grid .service-card-title {
    font-size: 27px;
  }
  .catalog-grid .service-card-body {
    padding: 14px 16px;
  }
  .catalog-grid .service-card p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 6px;
  }
  .catalog-grid .service-card .price {
    font-size: 28px;
  }
  .catalog-grid .service-card .price.on-request {
    font-size: 20px;
  }
  .mobile-action-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    z-index: 30;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--black);
    border-top: 1px solid #ffffff33;
  }
  .mobile-action-bar .primary {
    flex: 1;
    min-width: 0;
    min-height: 52px;
    font-size: 22px;
    padding: 10px 14px;
  }
  .mobile-call {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b7b7b7;
    border-radius: 4px;
    width: 52px;
    height: 52px;
    color: #fff;
    flex-shrink: 0;
  }
  .mobile-call .icon {
    width: 28px;
    height: 28px;
  }
  .is-request .mobile-action-bar,
  .is-missing .mobile-action-bar,
  body:has(dialog[open]) .mobile-action-bar {
    display: none;
  }
  .toast {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
  .is-request .toast {
    bottom: max(16px, env(safe-area-inset-bottom));
  }
  .service-page {
    padding-top: 20px;
    padding-bottom: 28px;
  }
  .service-page .breadcrumbs {
    margin-bottom: 22px;
    font-size: 14px;
    color: #626262;
  }
  .service-page h1 {
    font-size: clamp(36px, 11vw, 48px);
    margin-bottom: 20px;
    letter-spacing: -0.7px;
  }
  .service-page-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .service-page-photo {
    height: auto;
    aspect-ratio: var(--service-image-ratio, 1.6);
    margin: 0 -16px;
    border: 0;
    border-radius: 0;
  }
  .service-page-price {
    font-size: 44px;
    margin-bottom: 24px;
  }
  .service-page-price.on-request {
    font-size: 34px;
  }
  .service-facts {
    gap: 18px;
    font-size: 16px;
    margin-bottom: 24px;
  }
  .service-page-order {
    display: none;
  }
  .is-service .mobile-action-bar {
    background: white;
    border-color: var(--line);
  }
  .is-service .mobile-call {
    display: none;
  }
  .service-load h2 {
    font-size: 27px;
  }
  .request-page {
    padding-top: 26px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    display: block;
  }
  .request-page h1 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.12;
    color: var(--text);
  }
  .request-page-intro {
    margin-bottom: 26px;
  }
  .request-page .optional {
    display: none;
  }
  .is-request .site-footer {
    display: none;
  }
}

@media (max-width: 620px) {
  .home-bottom .reviews-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 92%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .home-bottom .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .home-bottom .reviews-grid > .review-card {
    scroll-snap-align: start;
    min-width: 0;
    min-height: 210px;
  }
}
