:root {
  color-scheme: light;
  --ink: #0b1115;
  --ink-soft: #161d22;
  --paper: #ffffff;
  --paper-soft: #f2f4f3;
  --blue-wash: #e8f3f8;
  --signal-wash: #f1f6de;
  --muted: #657078;
  --line: #dce1e3;
  --accent: #438fbe;
  --accent-dark: #286f9b;
  --accent-soft: #dceef8;
  --signal: #d5f36b;
  --danger: #9f3535;
  --radius: 8px;
  --header-height: 68px;
  font-family: Inter, "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

.container {
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  padding: 9px 20px;
  background: var(--signal);
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 17, 21, 0.26);
  color: #fff;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(11, 17, 21, 0.94);
  box-shadow: 0 10px 30px rgba(4, 9, 12, 0.15);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 850;
}

.brand-mark {
  display: block;
  width: 31px;
  height: 38px;
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark img {
  width: auto;
  max-width: none;
  height: 38px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
}

.desktop-nav a {
  position: relative;
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 1px;
  background: var(--signal);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-call {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  transition: border-color 160ms ease, background 160ms ease;
}

.header-call::after {
  content: "↗";
  color: var(--signal);
  font-size: 15px;
}

.header-call:hover,
.header-call:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.11);
}

.header-call span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.header-call strong {
  font-size: 14px;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--ink);
  background-image: url("/hero-workshop.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(4, 9, 12, 0.34);
  content: "";
}

.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 12, 0.45);
  content: "";
}

.hero-word {
  position: absolute;
  right: -8px;
  bottom: -42px;
  color: transparent;
  font-size: 218px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  padding-top: 86px;
  padding-bottom: 28px;
}

.overline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--signal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.overline::before {
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  content: "";
}

.overline.dark {
  color: var(--accent-dark);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 5vw, 70px);
  font-weight: 850;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-description {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 780;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--signal);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e1fa89;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(11, 17, 21, 0.44);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.button-outline {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--ink);
}

.hero-details {
  display: grid;
  width: 100%;
  max-width: 1180px;
  grid-template-columns: 1.35fr 1fr 1.15fr;
  gap: 0;
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-details div {
  display: grid;
  min-width: 0;
  gap: 6px;
  padding-right: 34px;
}

.hero-details div + div {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-details span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.hero-details strong {
  font-size: 14px;
  line-height: 1.45;
}

.hero-scroll {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.hero-scroll i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #fff;
  font-style: normal;
}

.home-visit-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 auto;
  padding: 16px 0;
  background: var(--signal);
  color: var(--ink);
}

.home-visit-inner {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 30px;
}

.home-visit-label {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-visit-copy {
  display: grid;
  gap: 3px;
  padding-left: 30px;
  border-left: 1px solid rgba(11, 17, 21, 0.28);
}

.home-visit-copy strong {
  font-size: 23px;
  line-height: 1.2;
}

.home-visit-copy span {
  color: rgba(11, 17, 21, 0.68);
  font-size: 13px;
}

.home-visit-price {
  font-size: 34px;
  white-space: nowrap;
}

.home-visit-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-visit-action:hover,
.home-visit-action:focus-visible {
  box-shadow: 0 12px 28px rgba(11, 17, 21, 0.22);
  transform: translateY(-2px);
}

.repair-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.repair-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.section-intro h2,
.section-heading h2,
.booking-section h2,
.contacts-section h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 820;
  line-height: 1.04;
  text-wrap: balance;
}

.section-lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.repair-types {
  border-top: 2px solid var(--ink);
}

.repair-type {
  display: grid;
  grid-template-columns: 72px 220px 1fr;
  align-items: start;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.repair-type > span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.repair-type h3,
.repair-type p {
  margin: 0;
}

.repair-type h3 {
  font-size: 20px;
}

.repair-type h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.repair-type h3 a:hover,
.repair-type h3 a:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.repair-type p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.repair-contact {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 0 94px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
}

.repair-contact strong {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.section {
  padding: 100px 0;
}

.services-section {
  background: var(--blue-wash);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 44px;
}

.section-heading > div:first-child {
  max-width: 760px;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 16px;
  padding: 8px 9px 8px 16px;
  border: 1px solid rgba(11, 17, 21, 0.16);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  transition: border-color 160ms ease, transform 160ms ease;
}

.section-cta strong {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.section-cta:hover,
.section-cta:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.catalog-search {
  display: block;
  width: min(360px, 100%);
}

.catalog-search input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(11, 17, 21, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  outline: none;
}

.catalog-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(67, 143, 190, 0.15);
}

.catalog-summary {
  min-height: 20px;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 13px;
}

.services-section .catalog-summary {
  margin-top: -18px;
}

.service-list {
  border-top: 2px solid var(--ink);
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.service-row {
  border-bottom: 1px solid rgba(11, 17, 21, 0.16);
  transition: background 160ms ease;
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.56);
}

.service-summary {
  display: grid;
  width: 100%;
  min-height: 86px;
  grid-template-columns: 58px minmax(0, 1fr) 180px 40px;
  align-items: center;
  gap: 22px;
  padding: 16px 18px 16px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

button.service-summary {
  cursor: pointer;
}

button.service-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.service-index {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.service-name {
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
}

.service-description {
  max-width: 800px;
  margin: -8px 232px 0 80px;
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-price {
  justify-self: end;
  font-size: 19px;
  font-weight: 830;
  white-space: nowrap;
}

.service-indicator {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(11, 17, 21, 0.2);
  border-radius: 50%;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.service-indicator:empty {
  border-color: transparent;
}

.products-section {
  background: var(--paper);
}

.products-heading {
  align-items: flex-end;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.catalog-navigation {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.catalog-results {
  min-width: 0;
}

.category-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
}

.category-filter-children {
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 22px;
  padding: 0 0 4px;
}

.category-filter button {
  display: grid;
  width: 100%;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  padding: 9px 10px 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.category-filter button > span {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.category-filter button small {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.category-filter button:hover,
.category-filter button:focus-visible {
  border-color: #aeb8bd;
}

.category-filter button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.category-filter button[aria-pressed="true"] small {
  background: var(--signal);
  color: var(--ink);
}

.category-filter-children button {
  width: auto;
  min-width: max-content;
  flex: 0 0 auto;
  grid-template-columns: auto 28px;
  background: var(--paper-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.product-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #aeb8bd;
  box-shadow: 0 18px 40px rgba(11, 17, 21, 0.09);
  outline: none;
  transform: translateY(-4px);
}

.product-image {
  display: flex;
  aspect-ratio: 1 / 0.86;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper-soft);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 320ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.035);
}

.product-image-empty {
  color: #8b9499;
  font-size: 12px;
}

.product-body {
  display: grid;
  min-height: 162px;
  grid-template-rows: auto 1fr auto;
  gap: 9px;
  padding: 17px;
}

.product-category {
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-name {
  display: block;
  margin: 0;
  font-size: 15px;
  font-weight: 740;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.product-price {
  font-size: 20px;
  font-weight: 850;
}

.product-dialog {
  width: min(960px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.product-dialog::backdrop {
  background: rgba(5, 10, 13, 0.72);
  backdrop-filter: blur(7px);
}

.product-dialog[open] {
  animation: product-dialog-in 180ms ease-out;
}

@keyframes product-dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-dialog-shell {
  position: relative;
}

.product-dialog-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.product-dialog-close:hover,
.product-dialog-close:focus-visible {
  border-color: var(--ink);
  outline: none;
}

.product-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 530px;
}

.product-dialog-image {
  display: flex;
  min-height: 480px;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: var(--paper-soft);
}

.product-dialog-image img {
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
}

.product-dialog-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 70px 46px 42px;
}

.product-dialog-category {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-dialog-content h2 {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.product-dialog-price {
  margin-top: 26px;
  font-size: 36px;
  line-height: 1;
}

.product-dialog-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-dialog-actions {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
  padding-top: 40px;
}

body.modal-open {
  overflow: hidden;
}

.catalog-pagination {
  display: grid;
  grid-template-columns: auto minmax(70px, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.catalog-pagination span {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.catalog-pagination button:disabled {
  cursor: default;
  opacity: 0.38;
  transform: none;
}

.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 420ms ease var(--reveal-delay, 0ms), transform 420ms ease var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-row,
.empty-state,
.error-state {
  grid-column: 1 / -1;
  padding: 30px 0;
  color: var(--muted);
  font-size: 15px;
}

.error-state {
  color: var(--danger);
}

.reviews-section {
  background: #fff;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
  align-items: end;
  gap: 86px;
}

.reviews-copy h2 {
  max-width: 620px;
  margin: 24px 0 0;
}

.reviews-copy > p:last-child {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.reviews-card {
  position: relative;
  display: grid;
  min-height: 290px;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  gap: 28px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.reviews-card::before {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 58px solid rgba(206, 255, 78, 0.1);
  border-radius: 50%;
  content: "";
}

.reviews-card:hover,
.reviews-card:focus-visible {
  box-shadow: 0 22px 48px rgba(11, 17, 21, 0.18);
  transform: translateY(-5px);
}

.reviews-source,
.reviews-score,
.reviews-meta,
.reviews-link {
  position: relative;
  z-index: 1;
}

.reviews-source {
  color: var(--signal);
  font-size: 16px;
  font-weight: 850;
}

.reviews-score {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.reviews-score strong {
  font-size: 58px;
  line-height: 0.82;
}

.reviews-score span {
  color: var(--signal);
  font-size: 17px;
  letter-spacing: 0;
}

.reviews-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.reviews-meta span + span::before {
  margin-right: 18px;
  color: rgba(255, 255, 255, 0.28);
  content: "·";
}

.reviews-link {
  display: flex;
  min-width: 190px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  justify-self: end;
  font-size: 14px;
  font-weight: 750;
}

.reviews-link b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  font-size: 17px;
}

.reviews-layout {
  margin-bottom: 54px;
}

.reviews-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.reviews-nav {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: border-color 160ms ease, transform 160ms ease;
}

.reviews-nav:hover:not(:disabled),
.reviews-nav:focus-visible:not(:disabled) {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.reviews-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.reviews-track {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.reviews-track .review-card {
  flex: 0 0 340px;
  min-height: 220px;
  scroll-snap-align: start;
}

.review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.review-card:hover {
  border-color: #aeb8bd;
  box-shadow: 0 16px 34px rgba(11, 17, 21, 0.08);
  transform: translateY(-3px);
}

.review-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--avatar-bg, var(--accent-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.review-who {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.review-name {
  overflow: hidden;
  font-size: 15px;
  font-weight: 730;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.review-count {
  color: var(--muted);
  font-size: 12px;
}

.review-rating {
  display: inline-flex;
  gap: 2px;
}

.review-rating svg {
  display: block;
  width: 16px;
  height: 16px;
}

.review-star-empty {
  fill: #e2e4e9;
}

.review-star-filled {
  fill: #f5a623;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.review-date {
  color: var(--muted);
  font-size: 12px;
}

.review-verified {
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 700;
}

.review-text {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}

.review-text.is-clamped {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.review-expand {
  align-self: flex-start;
  margin-top: 8px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.review-expand:hover,
.review-expand:focus-visible {
  text-decoration: underline;
}

.review-reply {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 10px;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.review-reply-title {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.review-reply p {
  margin: 0;
}

.booking-section {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(460px, 1.15fr);
  align-items: end;
  gap: 90px;
}

.booking-layout > div:first-child > p:last-child {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-action {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: end;
  gap: 5px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: #151c21;
  color: #fff;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.contact-action::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -18px;
  width: 132px;
  height: 132px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) rotate(-7deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.contact-action::after {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 18px;
  content: "↗";
  font-size: 22px;
}

.contact-action:hover,
.contact-action:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  transform: translateY(-4px);
}

.contact-action:hover::before,
.contact-action:focus-visible::before {
  opacity: 0.3;
  transform: translateY(-50%) rotate(0deg) scale(1.04);
}

.contact-action span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.contact-action strong {
  position: relative;
  z-index: 1;
  font-size: 19px;
  line-height: 1.25;
}

.contact-action-telegram {
  border-color: rgba(42, 171, 238, 0.54);
  background: linear-gradient(135deg, #17384b, #11242f);
}

.contact-action-telegram::before {
  background-image: url("/telegram-logo.svg");
  opacity: 0.23;
}

.contact-action-max {
  border-color: rgba(104, 101, 255, 0.58);
  background: linear-gradient(135deg, #242344, #171a2d);
  color: #fff;
}

.contact-action-max::before {
  background-image: url("/max-logo.svg");
  opacity: 0.24;
}

.contact-action-max span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-action-phone {
  border-color: rgba(59, 201, 67, 0.52);
  background: linear-gradient(135deg, #183820, #102719);
}

.contact-action-phone::before {
  background-image: url("/phone-logo.png");
  opacity: 0.22;
}

.contact-action-site {
  border-color: rgba(67, 143, 190, 0.5);
  background: linear-gradient(135deg, #182d39, #121f27);
}

.contact-action-site::before {
  right: 3px;
  width: 108px;
  background-image: url("/logo.png");
  background-position: left center;
  background-size: auto 132px;
  opacity: 0.3;
}

.contact-action-button {
  cursor: pointer;
  text-align: left;
}

.inquiry-panel {
  margin-top: 46px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--ink-soft);
}

.inquiry-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.inquiry-heading h3 {
  margin: 0;
  font-size: 30px;
}

.inquiry-close {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.inquiry-grid label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.inquiry-grid input,
.inquiry-grid select,
.inquiry-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: #0d1317;
  color: #fff;
  outline: none;
}

.inquiry-grid input:focus,
.inquiry-grid select:focus,
.inquiry-grid textarea:focus {
  border-color: var(--signal);
}

.inquiry-message {
  grid-column: 1 / -1;
}

.inquiry-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.inquiry-submit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.inquiry-submit p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.5;
}

.inquiry-submit p.is-success {
  color: #9be2b9;
  font-size: 14px;
}

.inquiry-submit p.is-error {
  color: #ff9d9d;
  font-size: 14px;
}

.contacts-section {
  background: var(--signal-wash);
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 96px;
}

.contact-details {
  display: grid;
  border-top: 2px solid var(--ink);
}

.contact-details > div {
  display: grid;
  gap: 8px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(11, 17, 21, 0.17);
}

.contact-details span {
  color: var(--muted);
  font-size: 12px;
}

.contact-details strong {
  font-size: 19px;
  line-height: 1.4;
}

.route-action {
  display: flex;
  width: min(100%, 440px);
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.route-action::after {
  content: "↗";
  font-size: 24px;
}

.route-action span {
  color: rgba(255, 255, 255, 0.54);
}

.route-action strong {
  margin-left: auto;
  color: #fff;
  font-size: 14px;
}

.route-action:hover,
.route-action:focus-visible {
  box-shadow: 0 16px 32px rgba(11, 17, 21, 0.16);
  transform: translateY(-3px);
}

.contacts-intro {
  max-width: 640px;
}

.contacts-intro .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(460px, 1.15fr);
  align-items: start;
  gap: 90px;
  margin-top: 46px;
}

.contacts-grid .contact-details {
  border-top-color: rgba(255, 255, 255, 0.28);
}

.contacts-grid .contact-details > div {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.contacts-grid .contact-details span {
  color: rgba(255, 255, 255, 0.5);
}

.contacts-grid .contact-details strong {
  color: #fff;
}

.contacts-grid .contact-details > div > a {
  transition: color 160ms ease;
}

.contacts-grid .contact-details > div > a:hover strong,
.contacts-grid .contact-details > div > a:focus-visible strong {
  color: var(--signal);
}

.contacts-grid .route-action {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: #151c21;
}

.contacts-grid .route-action:hover strong,
.contacts-grid .route-action:focus-visible strong {
  color: #fff;
}

.site-footer {
  padding: 36px 0;
  background: var(--ink-soft);
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-brand {
  font-size: 18px;
}

.mobile-actions {
  display: none;
}

@media (max-width: 1100px) {
  .container {
    width: min(100% - 48px, 1320px);
  }

  .hero h1 {
    font-size: 64px;
  }

  .catalog-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 24px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .booking-layout {
    gap: 54px;
  }

  .reviews-layout {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 64px;
  }

  .desktop-nav,
  .header-call {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .mobile-nav {
    padding: 0 24px 16px;
    background: var(--ink);
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

  .mobile-nav a {
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero {
    background-position: 58% center;
  }

  .hero-content {
    justify-content: flex-end;
  }

  .hero-scroll {
    display: none;
  }

  .home-visit-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 14px 24px;
  }

  .home-visit-label {
    grid-column: 1 / -1;
  }

  .home-visit-copy {
    padding-left: 0;
    border-left: 0;
  }

  .repair-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .booking-layout,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .reviews-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-actions {
    width: 100%;
  }

  .catalog-search {
    flex: 1 1 auto;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-navigation {
    position: static;
    margin-bottom: 20px;
  }

  .category-filter {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-filter button {
    width: auto;
    min-width: max-content;
    flex: 0 0 auto;
    grid-template-columns: auto 28px;
  }

  .category-filter-children {
    margin-bottom: 18px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1320px);
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero {
    background-position: 64% center;
  }

  .hero::before {
    background: rgba(4, 9, 12, 0.56);
  }

  .hero-content {
    padding-top: 76px;
    padding-bottom: 24px;
  }

  .hero-word {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-details {
    display: none;
  }

  .home-visit-strip {
    padding: 14px 0 78px;
  }

  .home-visit-inner {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
  }

  .home-visit-copy {
    grid-column: 1 / -1;
  }

  .home-visit-copy strong {
    font-size: 19px;
  }

  .home-visit-copy span {
    font-size: 12px;
    line-height: 1.35;
  }

  .home-visit-price {
    font-size: 30px;
  }

  .home-visit-action {
    display: none;
  }

  .repair-section,
  .section,
  .booking-section {
    padding: 72px 0;
  }

  .reviews-card {
    min-height: 330px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .reviews-score {
    justify-items: start;
  }

  .reviews-meta {
    flex-wrap: wrap;
  }

  .reviews-link {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .section-intro h2,
  .section-heading h2,
  .booking-section h2,
  .contacts-section h2 {
    font-size: 38px;
  }

  .repair-type {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .repair-type p {
    grid-column: 2;
  }

  .repair-contact {
    padding-left: 73px;
  }

  .section-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-cta {
    width: fit-content;
  }

  .service-summary {
    min-height: 0;
    grid-template-columns: 34px minmax(0, 1fr) auto 36px;
    gap: 12px;
    padding: 20px 0;
  }

  .service-description {
    margin: -5px 48px 0 46px;
    padding-bottom: 20px;
  }

  .service-price {
    font-size: 16px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reviews-toolbar {
    display: none;
  }

  .reviews-track .review-card {
    flex-basis: min(82vw, 320px);
  }

  .product-body {
    min-height: 150px;
    padding: 13px;
  }

  .product-dialog-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-dialog-image {
    min-height: 0;
    height: min(44vh, 360px);
    padding: 22px;
  }

  .product-dialog-content {
    padding: 30px 24px 24px;
  }

  .product-dialog-content h2 {
    margin-top: 12px;
    font-size: 25px;
  }

  .product-dialog-price {
    margin-top: 20px;
    font-size: 30px;
  }

  .product-dialog-actions {
    margin-top: 26px;
    padding-top: 0;
  }

  .booking-actions {
    gap: 8px;
  }

  .contact-action {
    min-height: 116px;
    padding: 16px;
  }

  .inquiry-panel {
    padding: 22px;
  }

  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-message {
    grid-column: auto;
  }

  .inquiry-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-actions {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 90;
    display: block;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(11, 17, 21, 0.9);
    box-shadow: 0 18px 40px rgba(11, 17, 21, 0.28);
    backdrop-filter: blur(18px);
  }

  .mobile-actions a {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 18px;
    border-radius: 6px;
    background: var(--signal);
    color: var(--ink);
    font-size: 14px;
    font-weight: 820;
  }

  .mobile-actions a::after {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    content: "↗";
    font-size: 16px;
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 20px;
  }

  .hero,
  .hero-content {
    min-height: 0;
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-visit-action {
    min-height: 44px;
    justify-content: space-between;
    padding: 0 14px;
  }

  .button {
    width: 100%;
  }

  .section-intro h2,
  .section-heading h2,
  .booking-section h2,
  .contacts-section h2 {
    font-size: 34px;
  }

  .repair-contact {
    padding-left: 0;
  }

  .service-summary {
    grid-template-columns: 27px minmax(0, 1fr) 34px;
  }

  .service-price {
    grid-column: 2;
    justify-self: start;
    color: var(--accent-dark);
  }

  .service-indicator {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .service-description {
    margin-right: 40px;
    margin-left: 39px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .product-image {
    height: 100%;
    min-height: 164px;
    aspect-ratio: auto;
  }

  .product-body {
    min-height: 164px;
  }

  .product-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .product-dialog-image {
    height: min(38vh, 300px);
  }

  .product-dialog-actions {
    grid-template-columns: 1fr;
  }

  .booking-actions {
    grid-template-columns: 1fr;
  }

  .contact-action {
    min-height: 92px;
  }

  .inquiry-heading h3 {
    font-size: 25px;
  }

  .catalog-pagination .button {
    width: auto;
    padding-inline: 14px;
  }

  .route-action strong {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}
