:root {
  --bg: #f7f3ee;
  --surface: #fffaf5;
  --surface-strong: #ffffff;
  --text: #211b17;
  --muted: #6b625c;
  --line: #ded1c6;
  --red: #c82815;
  --red-dark: #8f1b12;
  --green: #697263;
  --shadow: 0 16px 46px rgba(66, 38, 29, 0.14);
  --max: 1180px;
}

@font-face {
  font-family: "Miroslav";
  src: url("../../Miroslav/%D0%9C%D0%B8%D1%80%D0%BE%D1%81%D0%BB%D0%B0%D0%B2%20Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Miroslav";
  src: url("../../Miroslav/%D0%9C%D0%B8%D1%80%D0%BE%D1%81%D0%BB%D0%B0%D0%B2%20Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.mobile-quickbar {
  display: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(200, 40, 21, 0.05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(105, 114, 99, 0.05) 1px, transparent 1px) 0 0 / 56px 56px;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 40, 21, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 8px 10px 8px 18px;
  background: rgba(255, 250, 245, 0.9);
  border: 1px solid rgba(222, 209, 198, 0.82);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(33, 27, 23, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
  isolation: isolate;
}

.header-ornament-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.header-ornament {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.header-ornament-mask-mobile {
  display: none;
}

@media (min-width: 981px) {
  .brand,
  .nav-desktop {
    position: relative;
    z-index: 1;
  }

  .site-header .nav-desktop a {
    color: #302721;
    font-weight: 500;
  }
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: 124px;
  min-height: 48px;
  align-items: center;
}

.brand img {
  width: 124px;
  height: auto;
}

.nav {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  justify-self: start;
  padding: 0;
  background: transparent;
}

.nav a {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, transform 180ms ease;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 7px;
  background:
    linear-gradient(120deg, rgba(255, 250, 245, 0.88), rgba(200, 40, 21, 0.1)),
    rgba(255, 255, 255, 0.74);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 190ms ease, transform 190ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 190ms ease, transform 190ms ease;
}

.nav a:hover {
  color: var(--red-dark);
  transform: translateY(-1px);
}

.nav a:hover::before,
.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1) translateY(0);
}

.header-dropdown {
  position: relative;
  z-index: 1;
  display: none;
  justify-self: end;
  --dropdown-width: 112px;
}

.header-dropdown summary {
  width: var(--menu-trigger-width, var(--dropdown-width));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid rgba(222, 209, 198, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-dropdown summary::-webkit-details-marker {
  display: none;
}

.header-dropdown summary::marker {
  content: "";
}

.header-dropdown summary:hover,
.header-dropdown summary:focus-visible,
.header-dropdown[open] summary {
  border-color: rgba(200, 40, 21, 0.24);
  background: #fffdf9;
  box-shadow: 0 10px 24px rgba(66, 38, 29, 0.08);
}

.menu-button-lines {
  position: relative;
  width: 18px;
  height: 14px;
  display: block;
  flex: 0 0 auto;
}

.menu-button-lines span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    top 180ms ease,
    transform 180ms ease,
    opacity 130ms ease;
}

.menu-button-lines span:nth-child(1) {
  top: 0;
}

.menu-button-lines span:nth-child(2) {
  top: 6px;
}

.menu-button-lines span:nth-child(3) {
  top: 12px;
}

.header-dropdown[open] .menu-button-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.header-dropdown[open] .menu-button-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header-dropdown[open] .menu-button-lines span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  width: var(--dropdown-width);
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid rgba(222, 209, 198, 0.86);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.98);
  box-shadow: 0 18px 38px rgba(33, 27, 23, 0.14);
  backdrop-filter: blur(16px);
}

.nav-menu a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 7px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(200, 40, 21, 0.08);
  color: var(--red-dark);
}

.hero {
  position: relative;
  min-height: 92dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #211b17;
}

.hero-media,
.hero-overlay {
  position: absolute;
}

.hero-media,
.hero-overlay {
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(33, 27, 23, 0.86) 0%, rgba(33, 27, 23, 0.62) 34%, rgba(33, 27, 23, 0.18) 68%),
    linear-gradient(0deg, rgba(33, 27, 23, 0.58), rgba(33, 27, 23, 0.04) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  min-width: 0;
  margin: 0 auto;
  padding: 148px 0 54px;
  color: #fffaf5;
}

.hero-heading {
  position: relative;
  width: min(760px, 100%);
  margin-bottom: 16px;
}

.hero-kicker,
.hero-slogan,
.hero-address {
  margin: 0;
}

.hero-kicker {
  color: #ffded6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-slogan {
  color: #fffaf5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.04;
  font-weight: 700;
}

.hero-slogan--mobile {
  display: none;
}

.hero-mobile-address {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffded6;
}

.section-copy .eyebrow,
.section-copy h2,
.works .eyebrow,
.works h2 {
  font-family: "Miroslav", Georgia, serif;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 82px;
}

.hero-logo-title img {
  width: min(330px, 100%);
  height: auto;
}

h1 span,
h1 strong {
  display: block;
}

.nowrap {
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-size: 42px;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.lead {
  max-width: 680px;
  display: grid;
  gap: 14px;
  margin-bottom: 0;
  color: rgba(255, 250, 245, 0.86);
}

.lead span {
  color: #ffded6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead strong {
  color: #fffaf5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.04;
}

  .hero-address {
    color: #ffded6;
    max-width: none;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
  }

.hero-meta {
  display: none;
}

.work-hours-note {
  display: none;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0 0;
}

.work-hours-note p {
  margin: 0;
}

.work-hours-note__label {
  margin-bottom: 8px;
  color: var(--red);
  font-family: "Miroslav", Georgia, serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
}

.work-hours-note__value {
  color: var(--text);
  font-size: 22px;
  line-height: 1.24;
  font-weight: 800;
}

.work-hours-note__value span {
  display: inline;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

@media (min-width: 981px) {
  .hero {
    align-items: start;
  }

  .hero-content {
    min-height: 92dvh;
    padding: 118px 0 62px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .hero-heading {
    width: min(620px, 100%);
    display: grid;
    gap: 14px;
    margin: 8px 0 0;
    justify-items: start;
  }

  .hero-kicker {
    font-family: "Miroslav", "Segoe UI", Arial, sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
  }

  .hero-logo-title img {
    width: min(420px, 100%);
  }

  .hero-address {
    display: none;
  }

  .hero-mobile-address {
    display: none;
  }

  .hero-slogan--mobile {
    display: block;
    width: min(100%, 520px);
    margin: -46px 0 0 18px;
    color: #fbf2e8;
    background: linear-gradient(180deg, #fff8ef 0%, #fbf2e8 48%, #e8d7c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Miroslav", Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.04;
    font-weight: 700;
  }

  .hero-meta {
    width: min(420px, 100%);
    margin: auto 0 0;
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 34px;
    row-gap: 14px;
    color: #fffaf5;
  }

  .hero-meta div {
    min-width: 0;
  }

  .hero-meta div:first-child {
    grid-column: 1 / -1;
  }

  .hero-meta dt {
    margin-bottom: 8px;
    color: rgba(255, 250, 245, 0.58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .hero-meta dd {
    margin: 0;
    color: rgba(255, 250, 245, 0.92);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
  }

  .hero-meta a {
    color: inherit;
    text-decoration: none;
  }

  .hero-meta a:hover {
    color: #ffded6;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin: 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-secondary {
  background: rgba(255, 250, 245, 0.9);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.46);
}

.button-secondary:hover {
  background: #fff;
  border-color: #fff;
}

.error-page {
  min-height: 100dvh;
  background: #211b17;
}

.error-hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 72px;
  color: #fffaf5;
}

.error-hero-media,
.error-hero-overlay {
  position: absolute;
  inset: 0;
}

.error-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.82);
}

.error-hero-overlay {
  background:
    linear-gradient(90deg, rgba(33, 27, 23, 0.92) 0%, rgba(33, 27, 23, 0.76) 44%, rgba(33, 27, 23, 0.28) 100%),
    linear-gradient(0deg, rgba(33, 27, 23, 0.58), rgba(33, 27, 23, 0.1));
}

.error-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  max-width: 680px;
}

.error-content h1 {
  margin-bottom: 16px;
  color: #fffaf5;
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.92;
}

.error-content p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 28px;
  color: rgba(255, 250, 245, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.error-footer {
  color: #fffaf5;
}

.error-footer a {
  color: #fffaf5;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 84px 0;
  scroll-margin-top: 104px;
}

.section-copy {
  max-width: 560px;
  margin-bottom: 32px;
}

.services-heading {
  margin-bottom: 10px;
}

.services-heading .section-copy {
  max-width: none;
  margin-bottom: 0;
}

.services .eyebrow,
#services-title {
  font-family: "Miroslav", "Georgia", serif;
}

.services-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 24px;
}

.price-note {
  max-width: 440px;
  margin: 0 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
  text-align: right;
}

.price-list,
.reviews-widget,
.map-widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.82);
}

.price-list {
  padding: 4px;
  border-color: rgba(222, 209, 198, 0.92);
  background: rgba(255, 250, 245, 0.96);
  box-shadow: inset 0 0 0 4px rgba(255, 250, 245, 0.72);
}

.price-item {
  min-height: 108px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.9);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.price-item:last-child {
  border-bottom: 1px solid transparent;
}

.price-item:hover {
  position: relative;
  z-index: 1;
  transform: translateY(-4px);
  border-color: rgba(200, 40, 21, 0.28);
  background: #fffdf9;
  box-shadow: 0 14px 34px rgba(66, 38, 29, 0.12);
}

.price-item:focus-visible {
  position: relative;
  z-index: 1;
  outline: 2px solid rgba(200, 40, 21, 0.42);
  outline-offset: -2px;
  background: #fffdf9;
}

.price-item h3 {
  margin-bottom: 7px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.25;
}

.price-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.price-item strong {
  min-width: 104px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.price-item-compact {
  background: var(--surface);
}

.works {
  width: min(calc(100% - 40px), var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 0 46px;
  overflow: hidden;
  color: var(--text);
}

.works .section-copy {
  width: 100%;
  margin: 0 0 18px;
}

.works .eyebrow {
  color: var(--red);
}

.faq .eyebrow {
  font-family: "Segoe UI", Arial, sans-serif;
}

.work-gallery {
  --card-w: clamp(150px, 19vw, 270px);
  --card-h: calc(var(--card-w) * 1.333);
  position: relative;
  width: min(100%, 920px);
  height: clamp(286px, 34vw, 420px);
  margin: 0 auto 0;
  isolation: isolate;
  perspective: 1200px;
}

.work-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--card-w);
  height: var(--card-h);
  overflow: hidden;
  padding: 0;
  border: 3px solid rgba(255, 250, 245, 0.96);
  border-radius: 34px;
  background: var(--surface);
  cursor: pointer;
  box-shadow: 0 28px 46px rgba(66, 38, 29, 0.18);
  transform-origin: 50% 86%;
  transform: translate(var(--x), var(--y)) rotate(var(--rotate)) scale(var(--scale));
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 300ms ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 44%, rgba(33, 27, 23, 0.18)),
    linear-gradient(90deg, rgba(255, 250, 245, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.14) contrast(1.08) brightness(1.03);
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 300ms ease;
}

.work-card:nth-child(1) {
  --x: -158%;
  --y: -42%;
  --rotate: -18deg;
  --scale: 0.82;
  --hover-scale: 0.94;
  z-index: 1;
}

.work-card:nth-child(2) {
  --x: -110%;
  --y: -52%;
  --rotate: -9deg;
  --scale: 0.9;
  --hover-scale: 1.02;
  z-index: 2;
}

.work-card:nth-child(3) {
  --x: -62%;
  --y: -55%;
  --rotate: -1deg;
  --scale: 0.98;
  --hover-scale: 1.1;
  z-index: 3;
}

.work-card:nth-child(4) {
  --x: -15%;
  --y: -52%;
  --rotate: 8deg;
  --scale: 1.04;
  --hover-scale: 1.16;
  z-index: 4;
}

.work-card:nth-child(5) {
  --x: 28%;
  --y: -42%;
  --rotate: 17deg;
  --scale: 0.9;
  --hover-scale: 1.02;
  z-index: 2;
}

.work-card:hover,
.work-card:focus-visible {
  z-index: 8;
  box-shadow: 0 36px 76px rgba(66, 38, 29, 0.26);
  transform: translate(var(--x), var(--y)) rotate(var(--rotate)) scale(var(--hover-scale));
}

.work-card:hover::after,
.work-card:focus-visible::after {
  opacity: 0;
}

.work-card:hover img,
.work-card:focus-visible img {
  filter: saturate(1.18) contrast(1.1) brightness(1.06);
  transform: scale(1.035);
}

.trust {
  padding-top: 42px;
  padding-bottom: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(560px, 760px) minmax(360px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.about {
  position: relative;
  padding-top: 56px;
  padding-bottom: 34px;
}

.about-layout {
  position: relative;
  max-width: 760px;
}

.about-text {
  position: relative;
  padding: 28px 0 12px;
}

.about-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: min(420px, 48vw);
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(200, 40, 21, 0));
}

.about-text p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.62;
}

.about-text p + p {
  margin-top: 18px;
}

.reviews-widget,
.map-widget {
  position: relative;
  overflow: hidden;
  padding: 12px;
}

.map-widget {
  display: grid;
}

.reviews-widget iframe,
.map-widget iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 620px;
  display: block;
  border: 0;
  border-radius: 8px;
  background: var(--surface-strong);
}

.map-widget iframe {
  height: 100%;
  min-height: 620px;
}

.yandex-fallback {
  position: absolute;
  inset: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 245, 0.94), rgba(247, 243, 238, 0.9)),
    var(--surface);
  color: var(--muted);
  text-align: center;
}

.yandex-fallback a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(200, 40, 21, 0.24);
  border-radius: 8px;
  background: rgba(200, 40, 21, 0.08);
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.reviews-widget.is-loaded .yandex-fallback,
.map-widget.is-loaded .yandex-fallback {
  display: none;
}

.reviews-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.reviews-link:hover {
  color: var(--red-dark);
}

.faq {
  padding-top: 64px;
  padding-bottom: 64px;
}

.faq-accordion {
  width: min(100%, 780px);
  display: grid;
  gap: 14px;
}

.faq-item {
  display: grid;
  gap: 0;
}

.faq-question {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 68px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(222, 209, 198, 0.78);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.84);
  color: #332b26;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  font-style: normal;
  line-height: 1.32;
  font-weight: 500;
  text-align: left;
  box-shadow: 0 10px 26px rgba(66, 38, 29, 0);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.faq-question:hover,
.faq-question:focus-visible,
.faq-item.is-open .faq-question {
  border-color: rgba(200, 40, 21, 0.2);
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 10px 28px rgba(66, 38, 29, 0.07);
}

.faq-question:hover {
  transform: translateY(-1px);
}

.faq-icon,
.faq-toggle {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(33, 27, 23, 0.05);
  color: var(--muted);
}

.faq-icon {
  width: 24px;
  height: 24px;
}

.faq-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-toggle {
  position: relative;
  width: 30px;
  height: 30px;
  justify-self: end;
  transition:
    transform 240ms ease,
    background 220ms ease,
    color 220ms ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 240ms ease;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-toggle {
  background: rgba(200, 40, 21, 0.1);
  color: var(--red-dark);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-toggle::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 320ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  width: calc(100% - 62px);
  margin: 10px 0 4px 62px;
  padding: 18px 20px;
  border: 1px solid rgba(222, 209, 198, 0.62);
  border-radius: 8px;
  background: rgba(255, 250, 245, 0.72);
  box-shadow: 0 10px 24px rgba(66, 38, 29, 0.06);
}

.faq-item.is-open .faq-answer {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-answer a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(280px, 0.75fr) minmax(420px, 1fr);
  align-items: start;
  gap: 42px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  scroll-margin-top: 104px;
}

.footer-identity {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer-logo {
  display: inline-flex;
  min-height: auto;
}

.footer-logo img {
  width: 150px;
  height: auto;
}

.site-footer a,
.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, max-content));
  gap: 12px 32px;
  justify-items: start;
}

.footer-nav a {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav a:hover {
  color: var(--red-dark);
}

.footer-info {
  display: grid;
  gap: 10px;
  justify-items: start;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.32;
}

.footer-info p {
  margin: 0;
}

.footer-info a {
  min-height: auto;
  color: var(--muted);
}

.footer-phone,
.footer-email {
  font-weight: 700;
}

.footer-phone {
  font-size: 22px;
  color: var(--text);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    overflow: hidden;
  }

  .header-ornament-mask-desktop {
    display: none;
  }

  .header-ornament-mask-mobile {
    display: block;
  }

  .nav-desktop {
    display: flex;
    gap: 0;
  }

  .nav a {
    padding: 0 10px;
    font-size: 13px;
  }

  .header-dropdown {
    display: none;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 36px;
  }

  .trust-layout,
  .about-layout {
    width: 100%;
  }

  .trust-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero {
    align-items: start;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    min-height: 92svh;
    padding: 104px 0 42px;
  }

  .hero-logo-title {
    width: min(100%, 340px);
    display: flex;
    justify-content: flex-start;
  }

  .hero-logo-title img {
    width: min(340px, 100%);
  }

  .hero-slogan--mobile {
    display: block;
    width: min(100%, 430px);
    margin: -68px 0 0 12px;
    color: #fbf2e8;
    background: linear-gradient(180deg, #fff8ef 0%, #fbf2e8 48%, #e8d7c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Miroslav", Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 700;
  }

  .hero-mobile-address,
  .hero-address,
  .hero-meta {
    display: none;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  .hero-meta {
    width: min(420px, 100%);
    margin: auto 0 0;
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 34px;
    row-gap: 14px;
    color: #fffaf5;
  }

  .hero-meta div:first-child {
    grid-column: 1 / -1;
  }

  .hero-meta dt {
    margin-bottom: 8px;
    color: rgba(255, 250, 245, 0.58);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .hero-meta dd {
    margin: 0;
    color: rgba(255, 250, 245, 0.92);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
  }

  .hero-meta a {
    color: inherit;
    text-decoration: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 7px 10px;
    gap: 8px;
  }

  .brand {
    min-width: 86px;
    min-height: 44px;
  }

  .brand img {
    width: 86px;
  }

  .header-dropdown {
    --dropdown-width: 104px;
    --menu-trigger-width: 42px;
    display: block;
  }

  .site-header:has(.header-dropdown[open]) {
    overflow: visible;
  }

  .nav-desktop {
    display: none;
  }

  .header-dropdown summary {
    min-height: 42px;
    padding: 0;
    color: #2f2723;
    border: 1px solid rgba(106, 74, 58, 0.18);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 251, 247, 0.22), rgba(255, 247, 241, 0.08)),
      rgba(255, 250, 245, 0.1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 6px 14px rgba(33, 27, 23, 0.04);
    backdrop-filter: blur(8px) saturate(120%);
  }

  .header-dropdown summary:hover,
  .header-dropdown summary:focus-visible,
  .header-dropdown[open] summary {
    border-color: rgba(200, 40, 21, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 251, 247, 0.34), rgba(255, 247, 241, 0.14)),
      rgba(255, 250, 245, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 8px 16px rgba(33, 27, 23, 0.05);
  }

  .nav-menu a {
    min-height: 38px;
    font-size: 13px;
  }

  .hero {
    min-height: 94svh;
    align-items: start;
  }

  .hero-media img {
    object-position: 66% 52%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(33, 27, 23, 0.68), rgba(33, 27, 23, 0.28)),
      linear-gradient(0deg, rgba(33, 27, 23, 0.46), rgba(33, 27, 23, 0.04) 48%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    min-height: calc(94svh - 20px);
    width: min(calc(100% - 20px), var(--max));
    padding: 68px 0 18px;
  }

  .hero-heading {
    width: 100%;
    margin-top: -16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    justify-items: start;
  }

  .hero-logo-title {
    width: min(100%, 211px);
    display: flex;
    justify-content: flex-start;
  }

  .hero-logo-title img {
    width: min(211px, 100%);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  .lead {
    max-width: 330px;
    gap: 8px;
  }

  .lead span {
    font-size: 12px;
  }

  .lead strong {
    font-size: 28px;
    line-height: 1.08;
  }

  .hero-address {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .hero-mobile-address {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    color: rgba(255, 250, 245, 0.9);
    font-size: 14px;
    line-height: 2.25;
    font-weight: 700;
    text-align: right;
    letter-spacing: 0;
  }

  .hero-slogan--mobile {
    display: block;
    width: min(100%, 320px);
    margin: -38px 8px 0;
    color: #fbf2e8;
    background: linear-gradient(180deg, #fff8ef 0%, #fbf2e8 48%, #e8d7c8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Miroslav", Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 700;
  }

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

  .button {
    width: 100%;
  }

  .section {
    width: min(calc(100% - 20px), var(--max));
    padding: 42px 0;
  }

  .work-hours-note {
    display: block;
    width: min(calc(100% - 20px), var(--max));
    padding-top: 16px;
  }

  .work-hours-note__label {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .work-hours-note__value {
    font-size: 20px;
  }

  .work-hours-note__value span {
    display: block;
    margin-top: 2px;
    font-size: 15px;
  }

  .services-title-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-note {
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: 16px;
  }

  .price-item {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .price-item strong {
    text-align: left;
  }

  .reviews-widget {
    padding: 6px;
  }

  .map-widget {
    padding: 6px;
  }

  .works {
    width: min(calc(100% - 28px), var(--max));
    padding: 12px 0 36px;
  }

  .works .section-copy {
    width: 100%;
    margin-bottom: 8px;
  }

  .work-gallery {
    --card-w: clamp(106px, 31vw, 142px);
    --card-h: calc(var(--card-w) * 1.333);
    width: min(100%, 360px);
    height: clamp(210px, 60vw, 286px);
  }

  .work-card:nth-child(1) {
    --x: -118%;
    --y: -42%;
    --rotate: -17deg;
    --scale: 0.82;
    --hover-scale: 0.92;
  }

  .work-card:nth-child(2) {
    --x: -84%;
    --y: -52%;
    --rotate: -9deg;
    --scale: 0.9;
    --hover-scale: 1;
  }

  .work-card:nth-child(3) {
    --x: -52%;
    --y: -55%;
    --rotate: -1deg;
    --scale: 0.98;
    --hover-scale: 1.08;
  }

  .work-card:nth-child(4) {
    --x: -22%;
    --y: -52%;
    --rotate: 8deg;
    --scale: 1;
    --hover-scale: 1.06;
  }

  .work-card:nth-child(5) {
    --x: 2%;
    --y: -42%;
    --rotate: 16deg;
    --scale: 0.82;
    --hover-scale: 0.92;
  }

  .reviews-widget iframe {
    height: 440px;
  }

  .map-widget iframe {
    min-height: 440px;
  }

  .faq {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .faq-accordion {
    width: 100%;
  }

  .faq-question {
    min-height: 60px;
    grid-template-columns: 22px minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
  }

  .faq-answer-inner {
    width: calc(100% - 34px);
    margin-left: 34px;
    padding: 14px;
  }

  .faq-item.is-open .faq-answer {
    max-height: 220px;
  }

  .site-footer {
    width: min(calc(100% - 20px), var(--max));
    min-height: 0;
    padding: 22px 0 calc(122px + env(safe-area-inset-bottom));
    grid-template-columns: minmax(86px, 0.64fr) minmax(0, 1fr);
    gap: 18px 22px;
    align-items: start;
  }

  .footer-identity {
    grid-row: 1 / span 2;
  }

  .footer-logo img {
    width: 118px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, max-content));
    gap: 8px 18px;
    justify-content: start;
  }

  .footer-info {
    grid-column: 2;
    gap: 7px;
    max-width: 100%;
  }

  .footer-nav a,
  .footer-info {
    font-size: 14px;
  }

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

  main {
    padding-bottom: 24px;
  }

  .mobile-quickbar {
    position: fixed;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 30;
    width: 100dvw;
    max-width: 100dvw;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(222, 209, 198, 0.9);
    border-radius: 0;
    background: rgba(255, 250, 245, 0.98);
    box-shadow: 0 -10px 24px rgba(66, 38, 29, 0.12);
    backdrop-filter: blur(10px);
  }

  .mobile-quickbar__row {
    display: contents;
  }

  .mobile-quickbar__item {
    min-width: 0;
    min-height: 62px;
    box-sizing: border-box;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 6px 4px 4px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition:
      transform 180ms ease,
      background 180ms ease,
      color 180ms ease;
  }

  .mobile-quickbar__item:hover,
  .mobile-quickbar__item:focus-visible {
    background: rgba(200, 40, 21, 0.06);
    color: var(--red-dark);
    transform: translateY(-1px);
  }

  .mobile-quickbar__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: currentColor;
  }

  .mobile-quickbar__icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-quickbar__text {
    font-size: 11px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
