:root {
  --ice: #e4e6e8;
  --sky: #a8aeb2;
  --glass: #6b7378;
  --glass-dark: #4a5256;
  --text: #2a3236;
  --muted: #6b7378;
  --line: rgba(90, 98, 104, 0.28);
  --white: rgba(255, 255, 255, 0.72);
  --page-max: 1440px;
  --page-pad: clamp(16px, 3vw, 38px);
}

* {
  box-sizing: border-box;
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-seo {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  border: 0;
  pointer-events: none;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  color: var(--text);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, #ffffff 0, transparent 42%),
    radial-gradient(circle at 80% 10%, #e2e4e6 0, transparent 35%),
    linear-gradient(180deg, #f2f3f4 0%, #e4e6e8 100%);
}

body.is-home {
  isolation: isolate;
  background-color: transparent;
  background-image: none;
}

body.is-home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #eceeef;
  background-image:
    linear-gradient(rgba(242, 243, 244, 0.5), rgba(242, 243, 244, 0.5)),
    url("../img/home-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  color: var(--glass-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.promo-banner {
  background: linear-gradient(90deg, #3d4a57 0%, #5a6570 100%);
  color: #fff;
}

.promo-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px var(--page-pad);
}

.promo-banner-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  min-width: 0;
}

.promo-banner-copy strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.promo-banner-copy span {
  opacity: 0.92;
}

.promo-banner-copy em {
  font-style: normal;
  opacity: 0.75;
  font-size: 0.92rem;
}

.promo-banner-link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #3d4a57;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.promo-banner-link:hover {
  background: #f3f5f7;
}

@media (max-width: 640px) {
  .promo-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .promo-banner-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .promo-banner-link {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.header-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 8px var(--page-pad);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(10px, 1.1vw, 16px);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin: 0;
  flex: 0 0 auto;
}

.brand img {
  height: clamp(48px, 5vw, 74px);
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(8px, 0.9vw, 14px);
  margin-left: 8px;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 0;
  border-bottom: 0;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--glass-dark);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #8a9196, var(--glass));
  color: #fff;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(90, 98, 104, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-cta--nav {
  display: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #4a5256, var(--text));
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(42, 50, 54, 0.28);
}

.header-end {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(10px, 1.25vw, 16px);
  margin-left: 0;
  margin-right: 0;
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header-phone {
  color: #2a2a2a;
  text-decoration: none;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1.15;
}

.header-phone:hover {
  color: var(--glass-dark);
}

.header-hours {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: #9aa0a6;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  text-align: right;
}

.header-apps {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 8px;
}

.header-apps--nav {
  display: none;
}

.header-apps .nav-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
}

.header-apps .nav-app img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.main-nav .header-apps .nav-app {
  border-bottom: 0;
}

.btn-glass {
  background: linear-gradient(180deg, #8a9196, var(--glass));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 17px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(90, 98, 104, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
}

.btn-glass:hover,
.btn-glass:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #4a5256, var(--text));
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(42, 50, 54, 0.36);
}

.btn-glass:hover::before,
.btn-glass:focus-visible::before {
  animation: btn-shine 0.7s ease forwards;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(90, 98, 104, 0.28);
  background: #fff;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--text);
  background: #fff;
}

.btn-clear {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(20, 22, 24, 0.18);
  animation: btn-clear-in 0.45s ease;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-clear::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.8s ease-in-out infinite;
}

.btn-clear::after {
  content: "×";
  margin-left: 8px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.35s ease;
}

.btn-clear:hover {
  color: #fff;
  background: #1f2629;
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(20, 22, 24, 0.28);
}

.btn-clear:hover::after {
  transform: rotate(90deg);
}

@keyframes btn-clear-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-block {
  width: 100%;
  margin-top: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 40px var(--page-pad) 72px;
}

.hero-logo {
  display: block;
  height: 160px;
  width: auto;
  margin: 0 0 18px;
}

.hero-mini h1,
.legal h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
}

.hero-mini p,
.legal p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.field-row .field {
  margin-bottom: 0;
}

.field-optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-row .field {
    margin-bottom: 12px;
  }
}

.field-input,
.field input:not([type="checkbox"]),
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font-size: 18px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--glass-dark) 50%),
    linear-gradient(135deg, var(--glass-dark) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field textarea {
  min-height: 120px;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  overflow-wrap: anywhere;
  max-height: min(50vh, 420px);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #fff inset;
}

.field-input,
.field input:not([type="checkbox"]),
.field textarea,
.field select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:hover,
.field input:not([type="checkbox"]):hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(90, 98, 104, 0.5);
}

.field-input:focus,
.field input:not([type="checkbox"]):focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--glass-dark);
  box-shadow: 0 0 0 4px rgba(74, 82, 86, 0.14);
}

.errorlist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  color: #c62828;
  font-size: 14px;
}

.flash-wrap {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 0 var(--page-pad);
}

.flash {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(26, 31, 36, 0.08);
}

.flash--success {
  border-color: rgba(27, 122, 61, 0.22);
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 70%);
}

.flash--error {
  border-color: rgba(192, 57, 43, 0.22);
  background: linear-gradient(180deg, #fff5f4 0%, #ffffff 70%);
}

.flash-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #1b7a3d;
  margin-top: 1px;
}

.flash-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.flash-copy strong {
  font-size: 1.05rem;
  color: var(--text);
}

.flash-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.wrap {
  max-width: var(--page-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--glass-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 640px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 88px;
  color: var(--text);
  background: #c5c9cc;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(210, 214, 218, 0.72) 0%, rgba(190, 194, 198, 0.5) 46%, rgba(170, 174, 178, 0.38) 100%),
    linear-gradient(180deg, rgba(40, 55, 60, 0.18) 0%, transparent 42%, rgba(30, 42, 46, 0.28) 100%);
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: 110px;
  background: linear-gradient(180deg, transparent 0%, rgba(242, 243, 244, 0.35) 42%, #f2f3f4 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.hero-lead {
  margin: 0 0 12px;
  color: #1a1e20;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  hyphens: none;
}

.hero-split {
  display: block;
  margin: 0 0 16px;
}

.hero-cats {
  margin: 0;
  padding: 0 0 0 1.15em;
  list-style: disc;
  color: #22262a;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  flex: 1 1 auto;
}

.hero-contacts {
  position: absolute;
  right: 72px;
  bottom: 22px;
  margin: 0;
  padding: 16px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(90, 98, 104, 0.32);
  border-radius: 14px;
  background: transparent;
}

.hero-contacts a {
  display: block;
  color: #1a1e20;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-contacts a:hover {
  color: var(--glass-dark);
}

.hero-contacts p {
  margin: 8px 0 0;
  color: #6b7378;
  font-size: 18px;
  line-height: 1.4;
}

.hero-contacts p + p {
  margin-top: 4px;
}

.hero-cats li {
  margin: 0;
  padding-left: 0.15em;
}

.hero-copy .lead {
  margin: 0 0 4px;
  color: #22262a;
}

.hero-copy {
  position: relative;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: 560px;
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 40px rgba(20, 22, 24, 0.08);
}

.hero .btn-text {
  color: #2a2e32;
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid transparent;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform 0.28s ease, color 0.28s ease;
}

.hero .btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.32s ease;
}

.hero .btn-text:hover {
  transform: translateX(8px);
  color: #1c2024;
}

.hero .btn-text:hover::after {
  transform: scaleX(1);
}

.hero .btn-glass:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 32px rgba(42, 50, 54, 0.42);
}

@keyframes btn-shine {
  from {
    left: -50%;
  }
  to {
    left: 120%;
  }
}

.hero-slider {
  position: relative;
  width: 520px;
  max-width: 100%;
  flex: 0 0 520px;
}

.hero h1,
.band h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 600;
  line-height: 1.15;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-slider-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(70, 76, 82, 0.16);
  background: #dde0e2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.72);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.hero-slider-btn.is-prev {
  left: 10px;
}

.hero-slider-btn.is-next {
  right: 10px;
}

.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 3;
  display: flex;
  gap: 7px;
  width: max-content;
  transform: translateX(-50%);
}

.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.hero-slider-dots button.is-active {
  background: #fff;
}

.band {
  position: relative;
  isolation: isolate;
  padding: 28px 0 64px;
}

.band-alt {
  background: rgba(255, 255, 255, 0.35);
}

.band h2 {
  margin: 0 0 24px;
  font-size: clamp(23px, 3.4vw, 32px);
}

.card-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card,
.review-card,
.step-card,
.lead-form {
  min-width: 0;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.glass-shot {
  height: 140px;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.tone-a { background: linear-gradient(135deg, #d8dbdd, #8a9196); }
.tone-b { background: linear-gradient(135deg, #e2e4e6, #a8aeb2); }
.tone-c { background: linear-gradient(135deg, #eceeef, #b4b8bc); }
.tone-d { background: linear-gradient(135deg, #d4d6d8, #7a8288); }
.tone-e { background: linear-gradient(135deg, #e6e8ea, #90989c); }
.tone-f { background: linear-gradient(135deg, #c8cccf, #6b7378); }

.product-card h3,
.step-card h3 {
  margin: 0 0 8px;
}

.product-card p,
.step-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.product-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 14px;
  margin-bottom: 14px;
  pointer-events: none;
}

.portfolio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin: 0 0 22px;
}

.portfolio-head h1 {
  margin: 0 0 10px;
}

.portfolio-head .lead {
  margin: 0;
  max-width: 46ch;
  color: var(--glass-dark);
  font-size: 17px;
}

.portfolio-count {
  margin: 0;
  min-width: 11rem;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(196, 201, 205, 0.55);
  border: 1px solid rgba(90, 98, 104, 0.18);
  line-height: 1.15;
}

.portfolio-count strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
}

.portfolio-count span {
  color: var(--muted);
  font-size: 14px;
}

.portfolio-gallery {
  column-count: 3;
  column-gap: 14px;
}

.portfolio-tile {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  break-inside: avoid;
  border: 0;
  border-radius: 22px;
  background: #d4d7da;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 22, 24, 0.1);
}

.portfolio-tile:nth-child(odd) {
  aspect-ratio: 4 / 5;
}

.portfolio-tile:nth-child(3n) {
  aspect-ratio: 1;
}

.portfolio-tile-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.portfolio-tile-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.01);
  transition: transform 0.55s ease;
}

.portfolio-tile:hover .portfolio-tile-photo,
.portfolio-tile:focus-visible .portfolio-tile-photo {
  transform: scale(1.07);
}

.portfolio-tile:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.portfolio-tile-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 22, 24, 0.04) 28%, rgba(20, 22, 24, 0.72) 100%);
  pointer-events: none;
}

.portfolio-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(20, 22, 24, 0.28);
  pointer-events: none;
}

.portfolio-play svg {
  display: block;
  margin-left: 3px;
}

.portfolio-tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  pointer-events: none;
}

.portfolio-tile-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-tile-copy strong {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.portfolio-lightbox {
  width: fit-content;
  max-width: min(960px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: #141618;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.portfolio-lightbox::backdrop {
  background: rgba(20, 22, 24, 0.72);
  backdrop-filter: blur(12px);
}

.portfolio-lightbox-panel {
  position: relative;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.portfolio-lightbox-close:hover,
.portfolio-lightbox-close:focus-visible {
  background: #fff;
}

.portfolio-lightbox-stage {
  position: relative;
  overflow: hidden;
  background: #0b0c0d;
}

.photo-wm {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  background-image: url("../img/wm-repeat.svg");
  background-repeat: repeat;
  background-size: 280px 160px;
  transform: rotate(-30deg);
}

.portfolio-lightbox-stage img,
.portfolio-lightbox-stage video {
  display: block;
  width: auto;
  max-width: min(960px, calc(100vw - 28px));
  height: auto;
  max-height: min(78vh, 860px);
  margin: 0 auto;
  object-fit: contain;
  background: #0b0c0d;
}

.portfolio-lightbox-text {
  padding: 18px 22px 22px;
}

.portfolio-lightbox-cat {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.portfolio-lightbox-title {
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 28px);
}

.portfolio-lightbox-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-lightbox-cta {
  display: inline-flex;
  margin-top: 14px;
}

.portfolio-lightbox-cta[hidden] {
  display: none !important;
}

@media (max-width: 1200px) {
  .portfolio-gallery {
    column-count: 2;
  }
}

@media (max-width: 680px) {
  .portfolio-head {
    align-items: stretch;
  }

  .portfolio-count {
    min-width: 0;
  }

  .portfolio-gallery {
    column-count: 1;
  }

  .portfolio-play {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }

  .portfolio-lightbox {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 18px;
  }

  .portfolio-lightbox-stage img,
  .portfolio-lightbox-stage video {
    max-height: 64vh;
  }
}

.product-slider {
  position: relative;
  margin-bottom: 14px;
}

.popular-grid {
  gap: 16px;
  min-width: 0;
}

.product-slider-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #e8eaeb;
}

.product-slider .slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.product-slider .slide-img.is-active {
  opacity: 1;
}

.product-slider .hero-slider-btn {
  width: 28px;
  height: 28px;
  margin-top: -14px;
  font-size: 20px;
}

.product-slider .hero-slider-dots {
  bottom: 8px;
}

.price {
  color: var(--glass-dark);
  font-weight: 700;
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-card-text {
  margin: 0 0 10px;
  color: var(--glass-dark);
  font-size: 15px;
  line-height: 1.45;
}

.catalog-card-filters {
  margin: 12px 0 0;
  text-align: left;
}

.catalog-card-filters div {
  display: grid;
  gap: 2px;
  margin: 0 0 8px;
}

.catalog-card-filters dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-card-filters dd {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.popular-grid .product-card {
  text-align: center;
}

.popular-grid .product-card h3 {
  margin-bottom: 10px;
}

.popular-grid .price {
  margin-bottom: 4px;
  font-size: 22px;
}

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

.mini-list {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
}

.center-link {
  text-align: center;
  margin: 28px 0 0;
}

.catalog-photo-ph {
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e2e4e6, #a8aeb2);
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 22, 24, 0.06);
}

.pager a,
.pager span {
  min-width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 0;
}

.pager .pager-arrow {
  font-size: 22px;
  line-height: 1;
  color: var(--glass-dark);
}

.pager .pager-arrow.is-off {
  visibility: hidden;
}

.pager .pager-status {
  min-width: 72px;
  height: auto;
  padding: 0 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.pager a:hover {
  background: rgba(154, 162, 166, 0.22);
  color: var(--glass-dark);
}

.pager span.is-active {
  background: linear-gradient(180deg, #8a9196, var(--glass));
  color: #fff;
  box-shadow: 0 8px 16px rgba(90, 98, 104, 0.28);
}

.catalog-more {
  font-size: 22px;
  font-weight: 600;
  padding: 14px 32px;
}

.catalog-more:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 32px rgba(90, 98, 104, 0.42);
}

.catalog-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 2.8s ease-in-out infinite;
}

.band-photo {
  background-size: cover;
  background-position: center;
}

.band-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(242, 243, 244, 0.88) 0%, rgba(232, 234, 236, 0.9) 100%);
}

.band-photo .wrap {
  position: relative;
  z-index: 1;
}

.path-band {
  background: rgba(242, 243, 244, 0.28);
}

.path-panel,
.plus-panel,
.reviews-panel,
.popular-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 12px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.path {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
}

.path::before {
  display: none;
}

.path-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 320px;
  margin: 0;
  padding: 22px 20px 22px;
  text-align: left;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 34px rgba(20, 22, 24, 0.12);
  animation: path-rise 0.7s ease both;
}

.path-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 0.6s ease;
}

.path-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.22) 0%, rgba(12, 14, 16, 0.86) 100%);
}

.path-item:nth-child(1) { animation-delay: 0.05s; }
.path-item:nth-child(2) { animation-delay: 0.12s; }
.path-item:nth-child(3) { animation-delay: 0.19s; }
.path-item:nth-child(4) { animation-delay: 0.26s; }
.path-item:nth-child(5) { animation-delay: 0.33s; }
.path-item:nth-child(6) { animation-delay: 0.4s; }

.path-dot {
  position: relative;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 0 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #d8dbdd);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 10px 22px rgba(70, 76, 82, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: path-pulse 2.8s ease-in-out infinite;
  transition: transform 0.28s ease;
}

.path-dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  animation: path-shine 2.8s ease-in-out infinite;
}

.path-item:nth-child(2) .path-dot { animation-delay: 0.2s; }
.path-item:nth-child(3) .path-dot { animation-delay: 0.4s; }
.path-item:nth-child(4) .path-dot { animation-delay: 0.6s; }
.path-item:nth-child(5) .path-dot { animation-delay: 0.8s; }
.path-item:nth-child(6) .path-dot { animation-delay: 1s; }

.path-item:nth-child(2) .path-dot::before { animation-delay: 0.2s; }
.path-item:nth-child(3) .path-dot::before { animation-delay: 0.4s; }
.path-item:nth-child(4) .path-dot::before { animation-delay: 0.6s; }
.path-item:nth-child(5) .path-dot::before { animation-delay: 0.8s; }
.path-item:nth-child(6) .path-dot::before { animation-delay: 1s; }

.path-n {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  color: var(--glass-dark);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.path-item h3 {
  position: relative;
  z-index: 2;
  margin: auto 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.path-item p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.4;
}

.path-item:hover .path-dot {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 28px rgba(90, 98, 104, 0.28);
}

.path-item:hover .path-bg {
  transform: scale(1.12);
}

.plus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.plus-card {
  position: relative;
  isolation: isolate;
  min-height: 280px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(20, 22, 24, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.plus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(70, 76, 82, 0.2);
}

.plus-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: grayscale(0.35);
  transition: transform 0.6s ease, filter 0.45s ease;
}

.plus-card:hover .plus-bg {
  transform: scale(1.1);
  filter: grayscale(0);
}

.plus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 38%, rgba(20, 22, 24, 0.18) 100%);
}

.plus-card:hover::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 40%, rgba(20, 22, 24, 0.12) 100%);
}

.plus-n {
  position: absolute;
  right: 12px;
  bottom: -18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.42);
  font-size: 120px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.plus-copy {
  position: relative;
  z-index: 3;
  display: inline-block;
  max-width: min(72%, 420px);
  margin: 18px;
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(20, 22, 24, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.plus-copy h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.plus-copy p {
  margin: 0;
  color: var(--glass-dark);
  font-size: 16px;
  line-height: 1.5;
}

@keyframes path-line {
  0% { background-position: 0 0; }
  100% { background-position: 220% 0; }
}

@keyframes path-shine {
  0%,
  50% { left: -50%; }
  100% { left: 140%; }
}

@keyframes path-pulse {
  0%,
  100% { box-shadow: 0 10px 22px rgba(70, 76, 82, 0.16); }
  50% { box-shadow: 0 12px 28px rgba(90, 98, 104, 0.32); }
}

@keyframes path-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  padding: 22px;
  background: #eceeef;
  border-color: rgba(90, 98, 104, 0.2);
  box-shadow: 0 12px 28px rgba(40, 46, 50, 0.08);
  overflow-wrap: anywhere;
}

.review-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  min-width: 0;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin: 0;
  color: rgba(40, 46, 50, 0.18);
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.review-stars .is-on {
  color: #d4a017;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: #d6dadc;
  color: #3f474c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.review-text {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  color: var(--text);
  font-size: 15px;
}

.review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #9aa2a6, #6f777c);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.review-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.review-who b {
  font-size: 16px;
}

.review-who small {
  color: var(--muted);
  font-size: 13px;
}

.review-mark {
  display: none;
}

.reviews-home {
  background: transparent;
}

.reviews-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 14%,
    rgba(255, 255, 255, 0.62) 38%,
    rgba(255, 255, 255, 0.62) 62%,
    rgba(255, 255, 255, 0.28) 86%,
    transparent 100%
  );
}

.review-card-link {
  display: flex;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.review-card-link .review-card {
  flex: 1;
  width: 100%;
  height: 100%;
}

.review-card-link:focus-visible {
  outline: none;
}

.review-card-link:focus-visible .review-card {
  outline: 2px solid var(--glass-dark);
  outline-offset: 3px;
}

.reviews-home .review-card {
  background: rgba(226, 229, 232, 0.78);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 32px rgba(40, 46, 50, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.reviews-home .review-card-link:hover .review-card,
.reviews-home .review-card:hover {
  transform: translateY(-4px);
  background: rgba(236, 238, 240, 0.9);
  box-shadow: 0 20px 40px rgba(40, 46, 50, 0.16);
}

.reviews-home-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}

.reviews-home-head h2 {
  margin: 0;
}

.reviews-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.reviews-score strong {
  color: #5c656a;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.reviews-home .review-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.reviews-home .review-card-link {
  display: flex;
  height: 100%;
  align-self: stretch;
}

.reviews-home .review-card-link .review-card {
  flex: 1;
  height: 100%;
}

.reviews-home .review-text {
  flex: 1;
}

.reviews-home .review-meta {
  margin-top: auto;
}

body.is-home .plus-copy p {
  color: var(--glass-dark);
}

body.is-home .reviews-home .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
}

body.is-home .plus-copy h3,
body.is-home .reviews-home .review-who b {
  color: var(--text);
}

@media (max-width: 1100px) {
  .reviews-home .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-home .review-card-link:last-child,
  .reviews-home .review-card:last-child {
    grid-column: 1 / -1;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-map {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(70, 76, 82, 0.07);
}

.contact-map-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px 30px;
}

.contact-map-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-map-address {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-map-frame {
  min-height: 340px;
  background: #d8dbdd;
}

.contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.lead-form .field {
  margin-bottom: 12px;
}

.field-error {
  display: block;
  margin-top: 4px;
  color: #c0392b;
  font-size: 0.9rem;
  font-style: normal;
}

.field-consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.field-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  accent-color: var(--glass);
  vertical-align: middle;
}

.field-consent span {
  flex: 1 1 auto;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
}

.field-consent a {
  color: var(--glass-dark);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.lead-form-status {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.lead-form-status.is-ok {
  background: #e8f7ee;
  color: #1b7a3d;
}

.lead-form-status.is-error {
  background: #fdecea;
  color: #c0392b;
}

.lead-modal {
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  overflow: visible;
}

.lead-modal::backdrop {
  background: rgba(26, 31, 36, 0.48);
  backdrop-filter: blur(2px);
}

.lead-modal-panel {
  position: relative;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(26, 31, 36, 0.22);
}

.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6a737c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lead-modal-close:hover {
  color: var(--text);
}

.lead-modal-panel h2 {
  margin: 0 28px 8px 0;
  font-size: 1.45rem;
}

.lead-modal-lead {
  margin: 0 0 8px;
  color: var(--muted);
}

.lead-modal-interest {
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(42, 50, 54, 0.06);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.lead-modal .lead-form {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.lead-success {
  text-align: center;
  padding: 18px 8px 6px;
}

.lead-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: #1b7a3d;
  background: radial-gradient(circle at 30% 30%, #e8f7ee, #d7f0e1);
  box-shadow: 0 10px 24px rgba(27, 122, 61, 0.16);
  animation: lead-success-pop 0.45s ease;
}

.lead-success-title {
  margin: 0 0 8px !important;
  font-size: 1.5rem !important;
}

.lead-success-text {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}

@keyframes lead-success-pop {
  from {
    transform: scale(0.72);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.hero--compact {
  padding: 40px 0 64px;
}

.field-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-stepper:focus-within {
  border-color: var(--glass-dark);
  box-shadow: 0 0 0 4px rgba(74, 82, 86, 0.14);
}

.field-stepper .field-input,
.field .field-stepper input.field-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  box-shadow: none !important;
}

.field-stepper-btn {
  flex: 0 0 42px;
  border: 0;
  background: #f3f5f6;
  color: var(--glass-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.field-stepper-btn:first-child {
  border-right: 1px solid var(--line);
}

.field-stepper-btn:last-child {
  border-left: 1px solid var(--line);
}

.field-stepper-btn:hover {
  background: var(--glass-dark);
  color: #fff;
}

.field-stepper-btn:active {
  transform: scale(0.94);
}

/* ——— Калькулятор ——— */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
  gap: 24px;
  align-items: start;
}

.calc-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.calc-step {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 242, 244, 0.86) 100%);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.06);
}

/* float убирает стандартную посадку legend на рамку fieldset */
.calc-step-title {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.calc-step-title b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8a9196, var(--glass-dark));
  color: #fff;
  font-size: 15px;
}

.calc-step-title + * {
  clear: both;
}

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

.calc-cat {
  position: relative;
  cursor: pointer;
}

.calc-cat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc-cat-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 100%;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.calc-cat-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.calc-cat-price {
  font-size: 13px;
  color: var(--muted);
}

.calc-cat:hover .calc-cat-body {
  border-color: rgba(90, 98, 104, 0.5);
  transform: translateY(-1px);
}

.calc-cat input:focus-visible + .calc-cat-body {
  box-shadow: 0 0 0 4px rgba(74, 82, 86, 0.18);
}

.calc-cat input:checked + .calc-cat-body {
  border-color: var(--text);
  background: linear-gradient(145deg, #4a5256, var(--text));
  box-shadow: 0 10px 22px rgba(42, 50, 54, 0.25);
}

.calc-cat input:checked + .calc-cat-body .calc-cat-title,
.calc-cat input:checked + .calc-cat-body .calc-cat-price {
  color: #fff;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.calc .field > span {
  font-size: 15px;
  font-weight: 700;
  color: var(--glass-dark);
}

.calc-limits {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
}

.field-stepper.is-limited {
  animation: calc-limit 0.6s ease;
}

@keyframes calc-limit {
  0%, 100% { border-color: var(--line); box-shadow: none; }
  30% { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15); }
}

.calc-qty {
  max-width: 260px;
  margin: 0 auto;
  text-align: center;
}

.calc-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 76, 82, 0.14);
}

.calc-summary .contact-card-eyebrow {
  margin-bottom: 6px;
}

.calc-total {
  margin: 0;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.calc-rate {
  display: inline-block;
  margin: 10px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}

.calc-rate:empty {
  display: none;
}

.calc-preview {
  margin: 18px 0;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(90, 98, 104, 0.14) 1px, transparent 1.2px) 0 0 / 14px 14px,
    linear-gradient(180deg, #f8f9fa, #eef0f1);
}

.calc-drawing {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  font-family: inherit;
}

.calc-drawing .cd-shadow {
  fill: rgba(42, 50, 54, 0.12);
}

.calc-drawing .cd-shine {
  fill: rgba(255, 255, 255, 0.7);
}

.calc-drawing .cd-shine--thin {
  fill: rgba(255, 255, 255, 0.45);
}

.calc-drawing .cd-frame {
  fill: none;
  stroke: #4a5256;
  stroke-width: 2;
}

.calc-drawing .cd-ext {
  stroke: rgba(74, 82, 86, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.calc-drawing .cd-dim {
  stroke: #4a5256;
  stroke-width: 1.4;
  stroke-linecap: round;
}

.calc-drawing .cd-pill {
  fill: #fff;
  stroke: rgba(74, 82, 86, 0.25);
  stroke-width: 1;
}

.calc-drawing .cd-pill--area {
  fill: #2a3236;
  stroke: none;
}

.calc-drawing .cd-pill--area + .cd-text {
  fill: #fff;
}

.calc-drawing .cd-text {
  fill: #2a3236;
  font-size: 11px;
  font-weight: 700;
}

.calc-details {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.calc-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.calc-details dt {
  color: var(--muted);
}

.calc-details dd {
  margin: 0;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.calc-cta {
  gap: 10px;
  min-height: 54px;
  font-weight: 700;
}

.calc-cta::before {
  display: none;
}

.calc-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.calc-cta:hover svg {
  transform: translateX(4px);
}

.calc-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--glass-dark);
  text-decoration: none;
}

.calc-call svg {
  width: 16px;
  height: 16px;
}

.calc-call:hover {
  color: var(--text);
}

.calc-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.calc-how {
  margin-top: 48px;
}

.calc-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 16px;
  list-style: none;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.calc-how-card {
  position: relative;
  overflow: hidden;
  padding: 24px 22px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.88) 100%);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.06);
}

.calc-how-num {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: rgba(74, 82, 86, 0.1);
  font-variant-numeric: tabular-nums;
}

.calc-how-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #8a9196, var(--glass-dark));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 18px rgba(74, 82, 86, 0.3);
}

.calc-how-icon svg {
  width: 26px;
  height: 26px;
}

.calc-how-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
  color: var(--text);
}

.calc-how-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--glass-dark);
}

@media (max-width: 1000px) {
  .calc {
    grid-template-columns: 1fr;
  }

  .calc-summary {
    position: static;
  }

  .calc-how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .calc-panel {
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .calc-step {
    padding: 16px;
    border-radius: 18px;
  }

  .calc-cat-body {
    min-height: 64px;
    padding: 10px 12px;
  }

  .calc-cat-title {
    font-size: 14px;
  }

  .calc-qty {
    max-width: none;
  }

  .calc-summary {
    padding: 18px;
    border-radius: 22px;
  }

  .calc-how-grid {
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .calc-how-card {
    padding: 18px;
  }
}

.facts {
  padding-left: 18px;
}

.prose {
  max-width: 760px;
}

.site-footer {
  position: relative;
  margin-top: 56px;
  padding: 0;
  border-top: 0;
  background: linear-gradient(180deg, rgba(226, 229, 232, 0.7) 0%, rgba(255, 255, 255, 0.94) 42%);
  color: var(--muted);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 4%, var(--glass) 22%, var(--sky) 50%, var(--glass) 78%, transparent 96%);
}

.site-footer > .wrap {
  padding-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.85fr;
  gap: 32px 40px;
  align-items: stretch;
  padding-bottom: 28px;
}

.footer-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(70, 76, 82, 0.07);
}

.footer-logo {
  display: inline-flex;
  margin: 0 0 14px;
}

.footer-logo img {
  display: block;
  height: 64px;
  width: auto;
}

.footer-lead,
.footer-address,
.footer-hours,
.footer-email {
  margin: 0 0 12px;
  max-width: 36ch;
  line-height: 1.45;
}

.footer-address {
  color: var(--text);
}

.footer-bots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 16px;
}

.footer-email {
  display: inline-block;
  margin: 0;
  margin-right: 4px;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
  max-width: 100%;
}

.footer-email-label {
  font-weight: 700;
}

.footer-email:hover,
.footer-email:focus-visible {
  text-decoration: underline;
}

.footer-bots .nav-app {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.1);
}

.footer-label {
  margin: 0 0 14px;
  color: var(--glass-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-label::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--glass);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--glass-dark);
}

.footer-nav {
  min-width: 0;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.footer-nav-list a.is-active {
  color: var(--glass-dark);
}

.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.footer-phone span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.footer-cta,
.footer-col a.footer-cta {
  margin-top: 10px;
  color: #fff;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}

.footer-col a.footer-cta:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px rgba(90, 98, 104, 0.4);
}

.footer-col a.footer-cta:hover::before {
  animation: footer-cta-shine 0.65s ease forwards;
}

@keyframes footer-cta-shine {
  from { left: -50%; }
  to { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-col a.footer-cta:hover,
  .about-cat:hover,
  .btn-clear:hover,
  .btn-glass:hover,
  .card-btn.is-accent:hover {
    transform: none;
  }

  .footer-col a.footer-cta:hover::before,
  .btn-clear::before,
  .btn-glass:hover::before,
  .card-btn.is-accent:hover::before {
    animation: none;
  }

  .btn-clear {
    animation: none;
  }

  .btn-clear:hover::after {
    transform: none;
  }

  .portfolio-tile:hover .portfolio-tile-photo,
  .portfolio-tile:focus-visible .portfolio-tile-photo {
    transform: none;
  }
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--glass-dark);
}

.nav-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}

.nav-app img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 18px 0;
  padding: 18px 20px 18px 18px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 239, 241, 0.78) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 14px 32px rgba(70, 76, 82, 0.12);
}

/* Полоска-акцент слева */
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #a8aeb2, var(--glass-dark));
}

.contact-card-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #8a9196, var(--glass-dark));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 8px 18px rgba(74, 82, 86, 0.3);
}

.contact-card-icon svg {
  width: 26px;
  height: 26px;
}

.contact-card-body {
  min-width: 0;
}

.contact-card-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card-text {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.contact-card-phone {
  gap: 10px;
  padding: 11px 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.contact-card-phone::before {
  display: none;
}

.contact-card-phone svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .contact-card {
    gap: 12px;
    padding: 16px 16px 16px 14px;
  }

  .contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .contact-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .contact-card-phone {
    width: 100%;
  }
}

.hours-main {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.hours-lunch {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  color: var(--muted);
}

.contact-card-link {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card-link:hover {
  text-decoration: underline;
}

.contact-card-address {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.contact-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--glass-dark);
  text-decoration: none;
}

.contact-card-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.contact-card-more:hover {
  color: var(--text);
}

.contact-card-more:hover svg {
  transform: translateY(3px);
}

.contact-card-bots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-bot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(70, 76, 82, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-bot img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.contact-bot:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(70, 76, 82, 0.16);
}

#kak-nayti {
  scroll-margin-top: 80px;
}

/* ——— Страница контактов: шапка, серая панель карточек, форма ——— */
.contact-head {
  margin: 0 0 22px;
}

.contact-head .lead {
  margin: 0;
}

/* Серая подложка как у панелей на главной */
.contact-cards,
.contact-panel,
.faq.faq-panel {
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-panel .contact-map {
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.contact-map-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-map-top .contact-card-eyebrow {
  margin: 0;
}

.contact-map-copy .contact-map-address {
  color: var(--text);
  font-size: 22px;
}

.contact-map-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-map-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--glass-dark);
}

.contact-map-facts li::before {
  content: "";
  width: 6px;
  height: 10px;
  margin: -3px 2px 0 1px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.contact-map-links a {
  gap: 8px;
}

.contact-map-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Без пробегающего блика на кнопках страницы контактов */
.contact-map-links .btn-glass::before,
.contact-form-submit::before {
  display: none;
}

.faq.faq-panel {
  gap: 10px;
}

.faq-panel .faq-item {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 242, 244, 0.86) 100%);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.06);
  transition: box-shadow 0.2s ease;
}

.faq-panel .faq-item[open] {
  box-shadow: 0 12px 26px rgba(70, 76, 82, 0.12);
}

.faq-panel .faq-item summary::after {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--glass-dark);
  transition: transform 0.25s ease;
}

.faq-panel .faq-item[open] summary::after {
  content: "";
  transform: rotate(45deg);
}

.contact-cards > .contact-card {
  margin: 0;
}

.contact-form-col {
  position: sticky;
  top: 96px;
  animation: contact-form-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

.lead-form.contact-form {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 20px 44px rgba(70, 76, 82, 0.14);
}

.contact-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-form-title {
  margin: 0 0 2px;
  font-size: 22px;
  line-height: 1.2;
}

.contact-form-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: var(--glass-dark);
}

.contact-form .field > span {
  font-size: 15px;
  font-weight: 700;
  color: var(--glass-dark);
}

.contact-form .field input:not([type="checkbox"]),
.contact-form .field textarea {
  background: rgba(255, 255, 255, 0.9);
}

.contact-form-submit {
  gap: 10px;
  min-height: 54px;
  margin-top: 14px;
  font-weight: 700;
}

.contact-form-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.contact-form-submit:hover svg {
  transform: translateX(4px);
}

@keyframes contact-form-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 1100px) {
  .contact-form-col {
    position: static;
  }
}

@media (max-width: 680px) {
  .contact-cards,
  .contact-panel,
  .faq.faq-panel {
    padding: 10px;
    border-radius: 24px;
  }

  .contact-cards {
    gap: 10px;
  }

  .contact-map-copy .contact-map-address {
    font-size: 19px;
  }

  .faq-panel .faq-item summary {
    font-size: 16px;
  }

  .lead-form.contact-form {
    padding: 16px;
    border-radius: 22px;
  }

  .contact-form-sub {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form-col {
    animation: none;
  }
}

/* Карточки контактов выезжают слева по очереди, при наведении — сдвиг вправо */
.contact-card {
  animation: contact-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card::before {
  transition: width 0.25s ease;
}

.contact-card:nth-of-type(2) { animation-delay: 0.08s; }
.contact-card:nth-of-type(3) { animation-delay: 0.16s; }
.contact-card:nth-of-type(4) { animation-delay: 0.24s; }
.contact-card:nth-of-type(5) { animation-delay: 0.32s; }
.contact-card:nth-of-type(6) { animation-delay: 0.4s; }

.contact-card:hover {
  transform: translateX(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 36px rgba(70, 76, 82, 0.16);
}

.contact-card:hover::before {
  width: 7px;
}

@keyframes contact-card-in {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card {
    animation: none;
    transition: none;
  }

  .contact-card:hover {
    transform: none;
  }
}

.float-bots {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 22, 24, 0.18);
}

.float-bot img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.float-bot:hover {
  transform: translateY(-2px);
}

/* Хлебные крошки — та же ширина и поля, что у .wrap на странице */
.crumbs {
  padding: 16px 0 0;
  font-size: 17px;
  line-height: 1.4;
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--glass-dark);
}

.crumbs [aria-current="page"] {
  color: var(--text);
}

/* Карточки каталога и списки, ведущие на страницы категорий */
.hero-cats a,
.product-card h3 a,
.step-card h3 a {

  color: inherit;
  text-decoration: none;
}

.hero-cats a:hover,
.product-card h3 a:hover,
.step-card h3 a:hover {
  color: var(--glass-dark);
  text-decoration: underline;
}

a.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.product-card-link:hover {
  border-color: rgba(90, 98, 106, 0.45);
  box-shadow: 0 10px 28px rgba(26, 31, 36, 0.1);
  transform: translateY(-2px);
}

a.product-card-link:hover h3 {
  color: var(--glass-dark);
}

.card-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 0;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(90, 98, 104, 0.22);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.card-btn:hover {
  color: var(--text);
  border-color: var(--text);
  background: #fff;
}

.card-btn.is-accent {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background: linear-gradient(180deg, #8a9196, var(--glass));
  color: #fff;
  box-shadow: 0 8px 18px rgba(90, 98, 104, 0.22);
}

.card-btn.is-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 42%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
}

.card-btn.is-accent:hover,
.card-btn.is-accent:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #4a5256, var(--text));
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(42, 50, 54, 0.32);
}

.card-btn.is-accent:hover::before,
.card-btn.is-accent:focus-visible::before {
  animation: btn-shine 0.7s ease forwards;
}

/* Страница категории */
.cat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.cat-hero .product-slider {
  margin: 0;
}

.cat-hero .product-slider-frame {
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  border-radius: 22px;
}

.cat-hero .product-slider .hero-slider-btn {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  font-size: 24px;
}

.cat-hero-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.cat-hero-card .contact-card-eyebrow {
  margin-bottom: 4px;
}

.cat-hero-price {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.cat-hero-note {
  display: inline-block;
  align-self: flex-start;
  margin: 10px 0 0;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}

.cat-hero-text {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--glass-dark);
}

.cat-hero-subtitle {
  margin: 22px 0 12px;
  font-size: 19px;
}

.cat-hero-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-hero-items li {
  position: relative;
  padding: 10px 12px 10px 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.cat-hero-items li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--glass-dark);
}

.cat-hero-items li::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.cat-hero-items strong {
  display: block;
  color: var(--text);
}

.cat-hero-items span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

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

.cat-hero-actions a {
  flex: 1 1 200px;
  min-height: 52px;
  font-weight: 700;
}

.cat-hero-cta {
  gap: 10px;
}

.cat-hero-cta::before {
  display: none;
}

.cat-hero-cta svg {
  width: 20px;
  height: 20px;
}

.cat-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cat-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 242, 244, 0.86) 100%);
  box-shadow: 0 8px 20px rgba(70, 76, 82, 0.08);
}

.cat-perk-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #8a9196, var(--glass-dark));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px rgba(74, 82, 86, 0.28);
}

.cat-perk-icon svg {
  width: 22px;
  height: 22px;
}

.cat-perks strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.cat-perks li > span:last-child {
  font-size: 14px;
  color: var(--muted);
}

.cat-detail-text {
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 242, 244, 0.8) 100%);
  box-shadow: 0 12px 28px rgba(70, 76, 82, 0.08);
}

.cat-detail-text h2 {
  margin-top: 0;
  font-size: 24px;
}

.cat-detail-text p {
  color: var(--glass-dark);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .cat-hero {
    grid-template-columns: 1fr;
  }

  .cat-hero .product-slider-frame {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .cat-perks {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 680px) {
  .cat-hero {
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
  }

  .cat-hero-card {
    padding: 18px;
  }

  .cat-hero-items {
    grid-template-columns: 1fr;
  }

  .cat-detail-text {
    padding: 20px 18px;
  }
}

/* Блок вопросов и ответов */
.faq {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
}

.faq.prose {
  max-width: none;
}

.faq-item {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--glass);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item summary:hover {
  color: var(--glass-dark);
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.catalog-head {
  margin: 0 0 22px;
}

.catalog-head .lead {
  margin: 0;
  max-width: 46ch;
  color: var(--glass-dark);
  font-size: 17px;
}

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0 0 28px;
  padding: 5px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(90, 98, 104, 0.14);
  box-shadow: 0 10px 28px rgba(20, 22, 24, 0.05);
}

.cat-filter a,
.cat-filter button {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--glass-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.cat-filter a:hover,
.cat-filter button:hover {
  background: rgba(196, 201, 205, 0.42);
  color: var(--text);
}

.cat-filter a.is-active,
.cat-filter button.is-active {
  background: var(--text);
  color: #fff;
}

/* Обёртка из js/scroll-hint.js: затухание и стрелки, пока полосу можно листать */
.scroll-hint {
  position: relative;
  margin: 0 0 28px;
}

.scroll-hint > .cat-filter {
  margin: 0;
}

.scroll-hint-btn {
  display: none;
}

@media (max-width: 680px) {
  .scroll-hint::before,
  .scroll-hint::after {
    content: "";
    position: absolute;
    top: 1px;
    bottom: 1px;
    z-index: 1;
    width: 64px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .scroll-hint::before {
    left: 1px;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(90deg, #fff 35%, rgba(255, 255, 255, 0));
  }

  .scroll-hint::after {
    right: 1px;
    border-radius: 0 16px 16px 0;
    background: linear-gradient(270deg, #fff 35%, rgba(255, 255, 255, 0));
  }

  .scroll-hint.can-left::before,
  .scroll-hint.can-right::after {
    opacity: 1;
  }

  .scroll-hint-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    padding: 0;
    border: 1px solid rgba(90, 98, 104, 0.18);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    box-shadow: 0 4px 12px rgba(20, 22, 24, 0.14);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .scroll-hint-btn::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .scroll-hint-prev {
    left: 6px;
  }

  .scroll-hint-prev::before {
    margin-left: 3px;
    transform: rotate(-135deg);
  }

  .scroll-hint-next {
    right: 6px;
    animation: scroll-hint-nudge 1.4s ease-in-out 1s 3;
  }

  .scroll-hint-next::before {
    margin-left: -3px;
    transform: rotate(45deg);
  }

  .scroll-hint.can-left .scroll-hint-prev,
  .scroll-hint.can-right .scroll-hint-next {
    opacity: 1;
    pointer-events: auto;
  }
}

@keyframes scroll-hint-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint-next {
    animation: none;
  }
}

.catalog-split {
  display: grid;
  grid-template-columns: minmax(230px, 290px) 1fr;
  gap: 16px;
  align-items: start;
  margin: 40px 0 8px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.filter-card {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.9) 100%);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.06);
}

.filter-card h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.filter-group {
  margin: 0 0 14px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-group:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.filter-group legend {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.15s ease;
}

.filter-option:hover {
  background: rgba(196, 201, 205, 0.3);
}

.filter-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--text);
}

.filter-option input:checked + span {
  font-weight: 700;
  color: var(--text);
}

.filter-card .btn-glass,
.filter-card .btn-clear {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.filter-count {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 700;
  color: var(--glass-dark);
}

#izdeliya {
  scroll-margin-top: 88px;
}

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

.variant-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(242, 244, 245, 0.92) 100%);
  box-shadow: 0 6px 16px rgba(70, 76, 82, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.variant-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(70, 76, 82, 0.16);
}

.variant-card {
  position: relative;
}

.variant-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #a8aeb2, var(--glass-dark));
}

.variant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.variant-tags:empty {
  display: none;
}

.variant-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--glass-dark);
  background: #fff;
}

.variant-badge.is-hit,
.variant-badge.is-new {
  border-color: var(--text);
  color: #fff;
  background: var(--text);
}

.variant-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px;
}

.variant-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
}

.variant-sku {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.variant-facts {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.variant-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.35;
}

.variant-facts dt {
  flex: 0 0 auto;
  color: var(--muted);
}

.variant-facts dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
  color: var(--text);
}

.variant-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.variant-price strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  color: var(--text);
}

.variant-price small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.variant-price .price-old {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.variant-cta {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
}

.variant-cta::before {
  display: none;
}

.variant-empty {
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--glass-dark);
}

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

@media (max-width: 1024px) {
  .catalog-split {
    grid-template-columns: 1fr;
  }

  .filter-card {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .variant-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .catalog-split {
    padding: 10px;
    gap: 10px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .variant-card {
    transition: none;
  }
}

/* ==========================================================================
   Адаптивная вёрстка
   ========================================================================== */

/* Небольшие ноутбуки: герой перестаёт быть двухколоночным */
@media (max-width: 1200px) {
  .hero {
    padding: 32px 0 56px;
  }

  .hero-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-slider {
    flex: 1 1 auto;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .card-grid:not(.service-grid),
  .path {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-item {
    min-height: 260px;
  }
}

/* Планшеты: меню уезжает под кнопку-бургер */
@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    order: 1;
  }

  .brand img {
    height: 54px;
  }

  .header-end {
    order: 2;
    gap: 10px;
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
    order: 3;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .main-nav {
    order: 4;
    flex: 1 0 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0 0 6px;
    border-top: 1px solid var(--line);
  }

  .header-inner.is-open .main-nav {
    display: flex;
  }

  .header-cta--bar {
    display: none;
  }

  .header-apps--bar {
    display: none;
  }

  .header-inner.is-open .header-apps--nav {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    margin: 10px 0 4px;
    padding: 0;
    gap: 10px;
  }

  .header-inner.is-open .header-cta--nav {
    display: inline-flex;
    margin: 10px 0 6px;
    padding: 13px 18px;
    font-size: 16px;
    text-align: center;
    align-self: stretch;
  }

  .main-nav a {
    padding: 12px 2px;
    font-size: 19px;
    border-bottom: 1px solid rgba(90, 98, 104, 0.16);
  }

  .header-cta:hover,
  .header-cta:focus-visible {
    transform: none;
  }
}

/* Планшеты в портрете */
@media (max-width: 900px) {
  .band {
    padding: 22px 0 48px;
  }

  .contact-grid,
  .plus-grid,
  .review-grid,
  .reviews-home .review-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    grid-template-columns: 1fr;
  }

  .contact-map-copy {
    padding: 22px 18px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 280px;
  }

  .contact-map-links .btn-glass,
  .contact-map-links .btn-outline {
    flex: 1 1 100%;
  }

  .plus-card {
    min-height: 220px;
  }

  .plus-copy {
    max-width: none;
    margin: 14px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Телефоны */
@media (max-width: 680px) {
  .brand img {
    height: 44px;
  }

  .header-phone {
    font-size: 17px;
  }

  .header-hours {
    font-size: 12px;
  }

  .card-grid:not(.service-grid),
  .path,
  .footer-grid,
  .calc-row {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo img {
    height: 52px;
  }

  .footer-panel {
    padding: 18px;
  }

  .path-item {
    min-height: 200px;
  }

  .path-panel,
  .plus-panel,
  .reviews-panel,
  .popular-panel {
    padding: 12px;
    border-radius: 24px;
  }

  .page {
    padding: 24px var(--page-pad) 48px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .faq-item {
    padding: 14px 16px;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .float-bots {
    right: 12px;
    bottom: 12px;
  }
}

/* Узкие телефоны */
@media (max-width: 480px) {
  .brand img {
    height: 38px;
  }

  .header-hours {
    display: none;
  }

  .crumbs {
    font-size: 16px;
  }

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

/* Страница услуг: плотная шапка, группы и карточки с иконками */
.services-head,
.reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px 40px;
  align-items: stretch;
}

.services-head .lead,
.reviews-head .lead {
  max-width: 46ch;
}

.services-head .hero-actions,
.reviews-head .hero-actions {
  margin-top: 22px;
}

.services-head .btn-text,
.services-cta .btn-text,
.service-layout .btn-text,
.reviews-head .btn-text,
.reviews-cta .btn-text,
.about-hero .btn-text,
.about-cta .btn-text {
  display: inline-flex;
  align-items: center;
  padding: 12px 4px;
  color: var(--glass-dark);
  font-weight: 600;
  text-decoration: none;
}

.services-head .btn-text:hover,
.services-cta .btn-text:hover,
.service-layout .btn-text:hover,
.reviews-head .btn-text:hover,
.reviews-cta .btn-text:hover,
.about-hero .btn-text:hover,
.about-cta .btn-text:hover {
  text-decoration: underline;
}

.services-stats,
.reviews-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.services-stats li,
.reviews-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.services-stats strong,
.reviews-stats strong {
  color: var(--glass-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.reviews-stats li {
  background: #eceeef;
  border-color: rgba(90, 98, 104, 0.2);
}

.reviews-stats strong {
  color: #4a5256;
}

.services-stats span,
.reviews-stats span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.services-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 32px 0 8px;
  padding: 0;
}

.services-flow li {
  overflow: hidden;
  padding: 0 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-size: 16px;
  line-height: 1.4;
}

.services-flow-photo {
  display: block;
  height: 128px;
  background-size: cover;
  background-position: center;
}

.services-flow-copy {
  display: block;
  padding: 14px 16px 0;
}

.services-flow b {
  display: block;
  margin-bottom: 6px;
  color: var(--glass-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.services-block {
  margin-top: 44px;
}

.services-block h2 {
  margin-bottom: 8px;
}

.services-block > .lead {
  margin: 0 0 20px;
  max-width: 52ch;
  font-size: 17px;
}

.services-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

a.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.service-card:hover {
  color: inherit;
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(90, 98, 104, 0.55);
  box-shadow: 0 14px 28px rgba(70, 76, 82, 0.12);
}

.service-card.is-featured {
  padding: 0 0 22px;
  overflow: hidden;
}

.service-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.service-card.is-featured .service-icon {
  position: relative;
  z-index: 1;
  margin: -22px 0 12px 22px;
  box-shadow: 0 8px 18px rgba(70, 76, 82, 0.14);
}

.service-card.is-featured h3,
.service-card.is-featured p,
.service-card.is-featured .service-points,
.service-card.is-featured .service-more {
  padding-left: 22px;
  padding-right: 22px;
}

.services-shot {
  position: relative;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
}

.services-shot .services-workshop {
  display: block;
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

.service-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.service-icon {
  display: flex;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--glass-dark);
  background: linear-gradient(180deg, #ffffff, #e4e6e8);
  border: 1px solid rgba(90, 98, 104, 0.22);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-icon.is-compact {
  width: 40px;
  height: 40px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 12px;
}

.service-icon.is-compact svg {
  width: 22px;
  height: 22px;
}

.service-points {
  list-style: none;
  margin: auto 0 16px;
  padding: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.service-points li {
  position: relative;
  padding: 0 0 7px 14px;
}

.service-points li:last-child {
  padding-bottom: 0;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--glass);
}

.service-more {
  color: var(--glass-dark);
  font-weight: 600;
  font-size: 15px;
}

.services-cta,
.reviews-cta,
.about-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 48px;
  padding: 26px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(226, 229, 232, 0.92));
}

.reviews-cta {
  background: #eceeef;
  border-color: rgba(90, 98, 104, 0.2);
}

.services-cta h2,
.reviews-cta h2,
.about-cta h2 {
  margin: 0 0 6px;
}

.services-cta p,
.reviews-cta p,
.about-cta p {
  margin: 0;
  color: var(--muted);
}

.services-cta .hero-actions,
.reviews-cta .hero-actions,
.about-cta .hero-actions {
  margin-top: 0;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.05fr);
  gap: 28px 36px;
  align-items: stretch;
  margin-bottom: 28px;
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero .lead {
  max-width: 42ch;
}

.about-hero .hero-actions {
  margin-top: 22px;
}

.about-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  min-height: 420px;
}

.about-mosaic-main,
.about-mosaic-side {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(20, 22, 24, 0.12);
}

.about-mosaic-main {
  grid-row: 1 / span 2;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0 0 44px;
  padding: 8px;
  border-radius: 28px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.about-metrics li {
  padding: 22px 24px;
}

.about-metrics li + li {
  border-left: 1px solid rgba(90, 98, 104, 0.18);
}

.about-metrics strong {
  display: block;
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}

.about-metrics span {
  color: var(--glass-dark);
  font-size: 15px;
  line-height: 1.35;
}

.about-cycle {
  margin: 0 0 48px;
}

.about-cycle h2 {
  margin: 0 0 18px;
}

.about-cycle ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.about-cycle li {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.about-cycle-photo {
  position: relative;
  display: block;
  height: 168px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-cycle-copy {
  padding: 16px 18px 20px;
}

.about-cycle-copy span {
  display: block;
  margin-bottom: 6px;
  color: #8a9196;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-cycle-copy h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.about-cycle-copy p {
  margin: 0;
  color: var(--glass-dark);
  font-size: 16px;
  line-height: 1.45;
}

.about-cats {
  margin: 0 0 8px;
}

.about-cats h2 {
  margin: 0 0 18px;
}

.about-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.about-cat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: var(--text);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(20, 22, 24, 0.14);
}

.about-cat-media {
  display: block;
}

.about-cat-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-cat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 14px 16px 16px;
}

.about-cat-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.about-cat-body > p {
  margin: 0;
  color: var(--glass-dark);
  font-size: 15px;
  line-height: 1.4;
}

.about-cat-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.about-cat-price {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
}

.about-cat-more {
  margin-left: auto;
  white-space: nowrap;
  color: var(--glass-dark);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.about-cat-more:hover {
  text-decoration: underline;
}

.about-cta {
  margin-top: 36px;
}

.reviews-head .btn-glass,
.reviews-cta .btn-glass {
  background: linear-gradient(180deg, #8a9196, #6b7378);
  box-shadow: 0 8px 20px rgba(60, 66, 70, 0.24);
}

.reviews-head .btn-glass:hover,
.reviews-cta .btn-glass:hover {
  background: linear-gradient(180deg, #4a5256, var(--text));
}

.reviews-page .reviews-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 24px 36px;
  align-items: stretch;
  margin-bottom: 22px;
}

.reviews-head-copy .lead {
  max-width: 46ch;
}

.reviews-head-copy .hero-actions {
  margin-top: 22px;
}

.reviews-head .btn-text,
.reviews-cta .btn-text {
  color: #4a5256;
}

.reviews-score-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 239, 241, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 36px rgba(70, 76, 82, 0.12);
}

.reviews-score-num {
  margin: 4px 0 8px;
  color: #4a5256;
  font-size: clamp(52px, 7vw, 72px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.reviews-score-card .review-stars {
  font-size: 22px;
}

.reviews-score-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.reviews-page .reviews-panel {
  display: flow-root;
  padding: 16px;
  border-radius: 30px;
  background: rgba(196, 201, 205, 0.88);
  border: 1px solid rgba(90, 98, 104, 0.22);
  box-shadow: 0 16px 40px rgba(20, 22, 24, 0.08);
}

.reviews-page .reviews-panel .cat-filter,
.reviews-page .reviews-panel .scroll-hint {
  margin-bottom: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.reviews-item {
  min-width: 0;
  animation: contact-card-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.reviews-item:nth-child(2) { animation-delay: 0.06s; }
.reviews-item:nth-child(3) { animation-delay: 0.12s; }
.reviews-item:nth-child(4) { animation-delay: 0.16s; }
.reviews-item:nth-child(5) { animation-delay: 0.2s; }
.reviews-item:nth-child(6) { animation-delay: 0.24s; }
.reviews-item:nth-child(n + 7) { animation-delay: 0.28s; }

.reviews-page .review-card {
  position: relative;
  height: 100%;
  padding: 22px 22px 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 242, 244, 0.88) 100%);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 24px rgba(70, 76, 82, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reviews-page .review-card:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 32px rgba(70, 76, 82, 0.14);
}

.reviews-page .review-mark {
  display: block;
  position: absolute;
  top: 6px;
  right: 16px;
  color: rgba(74, 82, 86, 0.1);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.reviews-page .review-card-top {
  position: relative;
  z-index: 1;
}

.reviews-page .review-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.55;
}

.reviews-page .review-avatar {
  width: 46px;
  height: 46px;
}

.reviews-item:nth-child(5n + 2) .review-avatar {
  background: linear-gradient(180deg, #8b99a0, #5f6c73);
}

.reviews-item:nth-child(5n + 3) .review-avatar {
  background: linear-gradient(180deg, #9aa3a0, #66706c);
}

.reviews-item:nth-child(5n + 4) .review-avatar {
  background: linear-gradient(180deg, #a3a0a8, #6e6972);
}

.reviews-item:nth-child(5n) .review-avatar {
  background: linear-gradient(180deg, #8f9aa6, #5d6872);
}

@media (min-width: 720px) {
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-item.is-lead {
    grid-column: 1 / -1;
  }
}

.reviews-grid .review-card.is-featured {
  padding: clamp(18px, 3.5vw, 30px);
  background: linear-gradient(180deg, #f7f8f9 0%, #e7eaec 100%);
}

.reviews-grid .review-card.is-featured .review-text {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 68ch;
  line-height: 1.5;
}

.reviews-grid .review-card.is-featured .review-mark {
  font-size: 120px;
  right: 22px;
}

.reviews-empty {
  margin: 8px 6px 0;
  color: var(--glass-dark);
  font-size: 16px;
}

.reviews-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 16px 0 2px;
}

.reviews-pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--glass-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.reviews-pager button:hover:not(:disabled) {
  background: #e7eaec;
  color: var(--text);
}

.reviews-pager button.is-active {
  background: var(--text);
  color: #fff;
}

.reviews-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

.reviews-how {
  margin-top: 40px;
}

.reviews-page .reviews-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 239, 241, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 16px 36px rgba(70, 76, 82, 0.12);
}

.reviews-cta-copy {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  max-width: 46ch;
}

.reviews-cta-copy h2 {
  margin: 0 0 6px;
}

.reviews-cta .hero-actions .btn-glass {
  gap: 10px;
}

.reviews-cta .hero-actions svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.reviews-cta .hero-actions .btn-glass:hover svg {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-item,
  .reviews-page .review-card {
    animation: none;
    transition: none;
  }

  .reviews-page .review-card:hover {
    transform: none;
  }
}

.service-hero-shot {
  position: relative;
  display: block;
  width: 100%;
  height: 360px;
  max-height: 360px;
  margin: 8px 0 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 32px;
  align-items: start;
}

.service-layout .prose {
  max-width: none;
}

.service-side {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.service-side h2 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.service-side .facts {
  margin: 0 0 18px;
}

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

.service-others a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.service-others a:hover {
  color: var(--glass-dark);
  border-color: rgba(90, 98, 104, 0.5);
}

@media (max-width: 900px) {
  .services-head,
  .reviews-head,
  .reviews-page .reviews-head,
  .services-featured,
  .services-flow,
  .service-layout,
  .about-hero,
  .about-cycle ol,
  .about-metrics {
    grid-template-columns: 1fr;
  }

  .service-side {
    position: static;
  }

  .about-mosaic {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 150px;
  }

  .about-mosaic-main {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 220px;
  }

  .about-metrics li + li {
    border-left: 0;
    border-top: 1px solid rgba(90, 98, 104, 0.18);
  }

  .about-cats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cat-filter {
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .cat-filter a,
  .cat-filter button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .cat-filter::-webkit-scrollbar {
    display: none;
  }

  .service-others {
    grid-template-columns: 1fr;
  }

  .services-cta,
  .reviews-cta,
  .reviews-page .reviews-cta,
  .about-cta {
    padding: 22px 18px;
  }

  .reviews-page .reviews-panel {
    padding: 10px;
    border-radius: 24px;
  }

  .about-mosaic {
    grid-template-rows: 180px 120px;
    gap: 8px;
  }

  .about-mosaic-main {
    min-height: 180px;
  }

  .about-metrics {
    padding: 6px;
    border-radius: 22px;
  }

  .about-metrics li {
    padding: 16px 16px;
  }

  .about-cycle-photo {
    height: 150px;
  }

  .about-cycle ol {
    padding: 8px;
    border-radius: 22px;
  }

  .about-cats-grid {
    grid-template-columns: 1fr;
    padding: 8px;
    border-radius: 22px;
  }

  .services-shot .services-workshop,
  .services-flow-photo {
    height: 160px;
  }
}
