/* =========================================================
   Мастер по ремонту — ремонт и отделка
   1. Base
   2. Header / menu
   3. Hero
   4. Marquee
   5. Shared section pieces
   6. Works
   7. Services
   8. Process
   9. About
   10. FAQ
   11. Contacts / QR
   12. Footer
   13. Lightbox
   14. Motion / responsive
   ========================================================= */

/* ---------- 1. Base ---------- */
:root {
  --bg: #0d0e0f;
  --bg-2: #121314;
  --bg-3: #18191a;
  --cream: #f2ede4;
  --cream-2: #e7dfd2;
  --ink: #141414;
  --muted: #a8a196;
  --muted-dark: #6b6357;
  --brass: #d6a75c;
  --brass-light: #e8c489;
  --brass-ink: #a3702a;
  --line: rgba(242, 237, 228, 0.13);
  --line-dark: rgba(20, 20, 20, 0.14);
  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 1280px;
  --pad: clamp(18px, 4.6vw, 60px);
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--brass);
  color: #111;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 18px;
  background: var(--brass);
  color: #111;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s ease;
}

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

.container {
  width: min(var(--container), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* ---------- 2. Header / menu ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--cream);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(13, 14, 15, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(242, 237, 228, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  height: 78px;
}

.header__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  line-height: 1;
}

.logo__mark {
  width: 38px;
  height: 38px;
  color: var(--brass);
  flex: 0 0 auto;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
}

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

.logo__text strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.logo__text small {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.55);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 10px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.76);
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--cream);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brass);
  color: #121212;
}

.btn--primary:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--cream);
  border-color: rgba(242, 237, 228, 0.4);
  background: rgba(242, 237, 228, 0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(242, 237, 228, 0.1);
  border-color: rgba(242, 237, 228, 0.7);
}

.btn--small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.btn--header {
  background: var(--brass);
  color: #111;
}

.btn--header:hover {
  background: var(--brass-light);
  transform: translateY(-1px);
}

.btn--dark {
  background: #111;
  color: var(--cream);
}

.btn--dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
}

.btn--outline {
  color: var(--ink);
  border-color: rgba(20, 20, 20, 0.3);
  background: transparent;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(242, 237, 228, 0.24);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.burger span:nth-child(1) {
  top: 18px;
}

.burger span:nth-child(2) {
  top: 24px;
}

.burger.is-active span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) 0 max(26px, env(safe-area-inset-bottom));
  background:
    radial-gradient(700px 500px at 90% 8%, rgba(214, 167, 92, 0.13), transparent 68%),
    var(--bg);
  color: var(--cream);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.62s;
  overflow-y: auto;
}

.menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
}

.menu__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.menu__close {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(242, 237, 228, 0.24);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
}

.menu__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  padding-block: 30px;
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(242, 237, 228, 0.1);
  font-family: var(--font-display);
  font-size: clamp(25px, 7.4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  transition: color 0.25s ease, padding-left 0.35s var(--ease);
}

.menu__nav a span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.menu__nav a:hover {
  color: var(--brass);
  padding-left: 6px;
}

.menu__bottom {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu__bottom .btn {
  width: 100%;
}

.menu__bottom p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.45);
  text-align: center;
}

/* ---------- 3. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 122px 0 72px;
  overflow: hidden;
  color: var(--cream);
  background: var(--bg);
}

.hero__bg,
.hero__overlay,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.7s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.9) contrast(1.04);
  will-change: transform;
}

.hero__slide:nth-child(1) img {
  object-position: 50% 36%;
}

.hero__slide:nth-child(2) img {
  object-position: 50% 52%;
}

.hero__slide:nth-child(3) img {
  object-position: 50% 42%;
}

.hero__slide:nth-child(4) img {
  object-position: 50% 46%;
}

.hero__slide.is-active img {
  animation: hero-zoom 9s ease-out forwards;
}

.hero__grid {
  z-index: 1;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(242, 237, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 237, 228, 0.05) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 48%, #000 12%, transparent 76%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 48%, #000 12%, transparent 76%);
}

.hero__overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.84) 0%, rgba(10, 11, 12, 0.5) 36%, rgba(10, 11, 12, 0.66) 68%, rgba(10, 11, 12, 0.94) 100%),
    radial-gradient(ellipse 70% 58% at 50% 48%, rgba(10, 11, 12, 0.06), rgba(10, 11, 12, 0.62) 78%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1040px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.72);
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.15s forwards;
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(214, 167, 92, 0.15);
}

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(48px, 10.6vw, 142px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.09em;
  margin-bottom: -0.09em;
}

.hero__line > span {
  display: block;
  white-space: nowrap;
  transform: translateY(116%);
  animation: line-up 1.15s var(--ease) forwards;
  will-change: transform;
}

.hero__line:nth-child(1) > span {
  animation-delay: 0.28s;
}

.hero__line:nth-child(2) > span {
  animation-delay: 0.4s;
}

.hero__line:nth-child(3) > span {
  animation-delay: 0.52s;
}

.hero__line--accent {
  color: var(--brass);
  text-shadow: 0 0 80px rgba(214, 167, 92, 0.18);
}

.hero__lead {
  max-width: 650px;
  margin: 27px auto 0;
  font-size: clamp(14.5px, 1.25vw, 18px);
  line-height: 1.7;
  color: rgba(242, 237, 228, 0.78);
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.78s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 33px;
  opacity: 0;
  animation: fade-up 1s var(--ease) 0.9s forwards;
}

.hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 45px;
  padding-top: 21px;
  border-top: 1px solid rgba(242, 237, 228, 0.15);
  opacity: 0;
  animation: fade-up 1s var(--ease) 1.03s forwards;
}

.hero__meta span {
  padding: 0 22px;
  border-left: 1px solid rgba(242, 237, 228, 0.13);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.57);
  white-space: nowrap;
}

.hero__meta span:first-child {
  border-left: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 19px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 42px;
  padding-top: 7px;
  border: 1px solid rgba(242, 237, 228, 0.26);
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero__scroll span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--brass);
  animation: scroll-dot 1.9s ease-in-out infinite;
}

/* ---------- 4. Marquee ---------- */
.marquee {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  height: 62px;
  overflow: hidden;
  background: var(--brass);
  color: #121212;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__track > span {
  display: flex;
  align-items: center;
  gap: 27px;
  padding-right: 27px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  font-size: 6px;
  opacity: 0.5;
}

/* ---------- 5. Shared section pieces ---------- */
.section {
  position: relative;
  padding: clamp(72px, 8.5vw, 132px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.eyebrow::before {
  content: "";
  width: 21px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-title em {
  font-style: normal;
  color: var(--brass-ink);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.section-head__main {
  flex: 1 1 auto;
  min-width: 0;
}

.section-head__side {
  flex: 0 1 370px;
  min-width: 0;
  padding-bottom: 4px;
}

.section-head__side p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}

.section-head--dark .section-head__side p {
  color: var(--muted);
}

.section-head--dark .section-title em {
  color: var(--brass);
}

/* reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease) var(--delay, 0ms),
    transform 0.9s var(--ease) var(--delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="clip"] .about__media-clip {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.15s var(--ease) var(--delay, 0ms);
}

.js [data-reveal="clip"].is-visible .about__media-clip {
  -webkit-clip-path: inset(0);
  clip-path: inset(0);
}

/* ---------- 6. Works ---------- */
.works {
  background: var(--cream);
  color: var(--ink);
}

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

.work-count {
  display: inline-flex;
  margin-top: 15px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #5e564a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter span {
  font-size: 9px;
  opacity: 0.55;
}

.filter:hover {
  border-color: rgba(20, 20, 20, 0.42);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.filter.is-active span {
  opacity: 0.65;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
  margin-top: 27px;
}

.work-card {
  min-width: 0;
  animation: card-in 0.55s var(--ease) both;
}

.work-card__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.work-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 15px;
  background: #d9d1c4;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease), filter 0.5s ease;
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 10, 11, 0.66) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card__zoom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(242, 237, 228, 0.94);
  color: #111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.work-card__zoom svg {
  width: 13px;
  height: 13px;
}

.work-card__caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 2px 0;
}

.work-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.work-card__cat {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.work-card__open:focus-visible .work-card__media {
  outline: 2px solid var(--brass-ink);
  outline-offset: 3px;
}

.work-card__open:focus-visible {
  outline: none;
}

.works__note {
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted-dark);
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover .work-card__media img {
    transform: scale(1.055);
  }

  .work-card:hover .work-card__overlay {
    opacity: 1;
  }

  .work-card:hover .work-card__zoom {
    transform: translateY(0);
  }
}

/* ---------- 7. Services ---------- */
.services {
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(760px 480px at 92% 0%, rgba(214, 167, 92, 0.09), transparent 70%),
    var(--bg);
}

.services .eyebrow {
  color: var(--brass);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 45px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(21px, 2.1vw, 29px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 237, 228, 0.018);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}

.service-card:hover {
  background: rgba(242, 237, 228, 0.04);
  border-color: rgba(214, 167, 92, 0.42);
  transform: translateY(-4px);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 167, 92, 0.3);
  border-radius: 12px;
  color: var(--brass);
}

.service-card__icon svg {
  width: 23px;
  height: 23px;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 228, 0.3);
}

.service-card h3 {
  margin-bottom: 11px;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.service-card p {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 19px;
}

.service-card__tags span {
  padding: 4px 8px;
  border: 1px solid rgba(242, 237, 228, 0.11);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: rgba(242, 237, 228, 0.5);
}

.services__cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 1px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 42%),
    var(--brass);
  color: #121212;
}

.services__cta-title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.services__cta-text {
  max-width: 540px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.72);
}

/* ---------- 8. Process ---------- */
.process {
  background: var(--cream);
  color: var(--ink);
}

.process__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.process__head .eyebrow {
  justify-content: center;
}

.process__head > p:last-child {
  max-width: 570px;
  margin: 18px auto 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

.step {
  position: relative;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(20, 20, 20, 0.2);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass-ink);
}

.step__num {
  display: block;
  margin-bottom: 17px;
  font-family: var(--font-display);
  font-size: clamp(38px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(20, 20, 20, 0.26);
}

.step h3 {
  margin-bottom: 9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.step p {
  font-size: 13px;
  line-height: 1.66;
  color: var(--muted-dark);
}

/* ---------- 9. About ---------- */
.about {
  overflow: hidden;
  background:
    radial-gradient(700px 600px at 8% 20%, rgba(214, 167, 92, 0.07), transparent 68%),
    var(--bg-2);
  color: var(--cream);
}

.about .eyebrow {
  color: var(--brass);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.about__media {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  background: var(--bg-3);
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(10, 10, 11, 0.55) 100%);
  pointer-events: none;
}

.about__media-clip {
  position: absolute;
  inset: 0;
}

.about__media-clip > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--ink);
}

.about__badge strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about__badge span {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.about__caption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 24px;
  max-width: 168px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(10, 10, 11, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(242, 237, 228, 0.92);
}

.about__content {
  min-width: 0;
}

.about__lead {
  margin-top: 22px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.72;
  color: rgba(242, 237, 228, 0.82);
}

.about__content > p:not(.eyebrow):not(.about__lead):not(.about__sign) {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

.about blockquote {
  margin-top: 25px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--brass);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(242, 237, 228, 0.74);
}

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

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(242, 237, 228, 0.72);
}

.about__list li span {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brass);
  padding-top: 3px;
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.5);
}

.about__sign span {
  color: var(--brass);
}

/* ---------- 10. FAQ ---------- */
.faq {
  background: var(--cream);
  color: var(--ink);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 110px;
  min-width: 0;
}

.faq__intro > p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted-dark);
}

.faq__intro .btn {
  margin-top: 26px;
}

.faq__list {
  min-width: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.16);
}

.faq-item {
  border-bottom: 1px solid rgba(20, 20, 20, 0.16);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 10px;
  padding: 21px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  transition: color 0.25s ease;
}

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

.faq-item summary:hover {
  color: var(--brass-ink);
}

.faq-item__num {
  padding-top: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brass-ink);
}

.faq-item__q {
  min-width: 0;
}

.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__body {
  padding: 0 34px 22px 37px;
  animation: faq-in 0.35s ease both;
}

.faq-item__body p {
  max-width: 56ch;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted-dark);
}

/* ---------- 11. Contacts / QR ---------- */
.contacts {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(820px 560px at 88% 10%, rgba(214, 167, 92, 0.12), transparent 70%),
    var(--bg);
}

.contacts::before {
  content: "РЕМОНТ";
  position: absolute;
  top: -34px;
  right: -24px;
  font-family: var(--font-display);
  font-size: clamp(150px, 21vw, 300px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 228, 0.055);
  pointer-events: none;
  user-select: none;
}

.contacts > .container {
  position: relative;
  z-index: 1;
}

.contacts .eyebrow {
  color: var(--brass);
}

.contacts__head {
  max-width: 800px;
}

.contacts__head > p:last-child {
  max-width: 600px;
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
}

.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 340px);
  gap: clamp(26px, 4.5vw, 56px);
  align-items: start;
  margin-top: 48px;
}

.contacts__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(242, 237, 228, 0.018);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.contact-card:hover {
  border-color: rgba(214, 167, 92, 0.5);
  background: rgba(242, 237, 228, 0.05);
  transform: translateY(-2px);
}

.contact-card__badge {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(214, 167, 92, 0.35);
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brass);
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-card:hover .contact-card__badge {
  background: var(--brass);
  color: #111;
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-card__label {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card__sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(242, 237, 228, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card__arrow {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: rgba(242, 237, 228, 0.4);
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.contact-card__arrow svg {
  width: 100%;
  height: 100%;
}

.contact-card:hover .contact-card__arrow {
  color: var(--brass);
  transform: translate(2px, -2px);
}

.qr-card {
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.qr-card__label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

.qr-card__code {
  width: min(100%, 288px);
  margin: 16px auto 0;
  padding: 9px;
  border-radius: 16px;
  background: #fff;
}

.qr-card__code img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.qr-card__domain {
  margin-top: 13px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.qr-card__hint {
  max-width: 230px;
  margin: 8px auto 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted-dark);
}

.qr-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  font-size: 10px;
  font-weight: 700;
}

.qr-card__actions a {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.qr-card__actions a:hover {
  color: var(--brass-ink);
  border-color: var(--brass-ink);
}

.contacts__note {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 760px;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(242, 237, 228, 0.46);
}

/* ---------- 12. Footer ---------- */
.footer {
  padding: 48px 0 30px;
  border-top: 1px solid var(--line);
  background: #0a0b0c;
  color: var(--cream);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.logo--footer .logo__text small {
  color: rgba(242, 237, 228, 0.45);
}

.footer__tagline {
  max-width: 400px;
  margin-left: auto;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(242, 237, 228, 0.45);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
}

.footer__nav a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 237, 228, 0.6);
  transition: color 0.25s ease;
}

.footer__nav a:hover {
  color: var(--brass);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(242, 237, 228, 0.08);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: rgba(242, 237, 228, 0.32);
}

/* ---------- 13. Lightbox ---------- */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(8, 9, 10, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 64px clamp(14px, 5.5vw, 84px) 42px;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(100%, 1060px);
  max-height: 100%;
  min-width: 0;
}

.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-top: 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(242, 237, 228, 0.78);
}

.lightbox__count {
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 228, 0.42);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(242, 237, 228, 0.24);
  border-radius: 50%;
  background: rgba(13, 14, 15, 0.6);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--brass);
  border-color: var(--brass);
  color: #111;
}

.lightbox__close {
  top: max(16px, env(safe-area-inset-top));
  right: clamp(14px, 3vw, 30px);
  width: 42px;
  height: 42px;
}

.lightbox__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.lightbox__close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: clamp(10px, 2.4vw, 28px);
}

.lightbox__nav--next {
  right: clamp(10px, 2.4vw, 28px);
}

.lightbox__nav svg {
  width: 19px;
  height: 19px;
}

.lightbox[open] .lightbox__figure {
  animation: lightbox-in 0.45s var(--ease) both;
}

/* ---------- 14. Motion / responsive ---------- */
@keyframes line-up {
  to {
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.015);
  }
  to {
    transform: scale(1.085);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(11px);
    opacity: 1;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 36px;
  }

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

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__actions {
    margin-left: auto;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .section-head__side {
    flex: 0 1 auto;
    max-width: 580px;
  }

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

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

  .about__media {
    aspect-ratio: 4 / 4.6;
    max-height: 680px;
  }

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

  .faq__intro {
    position: static;
  }

  .faq__intro > p:not(.eyebrow) {
    max-width: 520px;
  }

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

  .qr-card {
    max-width: 420px;
  }

  .footer__top {
    flex-wrap: wrap;
  }

  .footer__tagline {
    order: 3;
    width: 100%;
    max-width: 520px;
    margin-left: 0;
  }

  .footer__nav {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .header__inner {
    height: 68px;
  }

  .header__actions .btn {
    display: none;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 98px 0 54px;
  }

  .hero__title {
    font-size: clamp(46px, 12.4vw, 88px);
  }

  .hero__lead {
    max-width: 470px;
    margin-top: 22px;
  }

  .hero__meta {
    flex-wrap: wrap;
    gap: 8px 0;
    margin-top: 34px;
    padding-top: 17px;
  }

  .hero__meta span {
    padding: 0 13px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .hero__scroll {
    display: none;
  }

  .marquee {
    height: 50px;
  }

  .marquee__track > span {
    gap: 20px;
    padding-right: 20px;
    font-size: 9.5px;
  }

  .section {
    padding: clamp(62px, 12vw, 92px) 0;
  }

  .section-title {
    font-size: clamp(28px, 7.8vw, 44px);
  }

  .filters {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
  }

  .filter {
    min-height: 40px;
    padding: 0 13px;
    flex: 0 0 auto;
    font-size: 10px;
  }

  .works__grid {
    gap: 10px;
    margin-top: 20px;
  }

  .work-card__media {
    border-radius: 11px;
  }

  .work-card__caption {
    gap: 2px;
    padding-top: 9px;
  }

  .work-card__title {
    font-size: 12px;
    line-height: 1.32;
  }

  .work-card__cat {
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .work-card__overlay {
    display: none;
  }

  .works__note {
    margin-top: 22px;
    font-size: 11px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 32px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 13px;
  }

  .services__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 10px;
    padding: 24px;
  }

  .services__cta .btn {
    width: 100%;
  }

  .process__head {
    margin-bottom: 36px;
    text-align: left;
  }

  .process__head .eyebrow {
    justify-content: flex-start;
  }

  .process__head > p:last-child {
    margin-left: 0;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .step {
    padding-top: 20px;
  }

  .step__num {
    margin-bottom: 11px;
    font-size: 36px;
  }

  .step p {
    max-width: 460px;
  }

  .about__media {
    aspect-ratio: 4 / 4.4;
    border-radius: 18px;
  }

  .about__badge {
    left: 12px;
    bottom: 12px;
    padding: 10px 13px;
  }

  .about__badge strong {
    font-size: 26px;
  }

  .about__caption {
    right: 12px;
    bottom: 18px;
    max-width: 110px;
    font-size: 7.5px;
  }

  .about blockquote {
    font-size: 13.5px;
  }

  .about__list {
    margin-top: 23px;
  }

  .faq-item summary {
    grid-template-columns: 22px minmax(0, 1fr) 20px;
    gap: 8px;
    padding: 18px 0;
    font-size: 14px;
  }

  .faq-item__body {
    padding: 0 26px 20px 30px;
  }

  .faq-item__body p {
    font-size: 13px;
  }

  .contacts__grid {
    margin-top: 32px;
  }

  .contacts__links {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-card {
    padding: 14px;
    gap: 12px;
  }

  .contact-card__badge {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 8.5px;
  }

  .contact-card__label {
    font-size: 13px;
  }

  .qr-card {
    max-width: none;
    padding: 20px;
    border-radius: 20px;
  }

  .qr-card__code {
    width: min(100%, 250px);
  }

  .contacts__note {
    margin-top: 30px;
    font-size: 10.5px;
  }

  .contacts::before {
    font-size: 160px;
    top: -10px;
    right: -40px;
  }

  .footer {
    padding-top: 36px;
  }

  .footer__top {
    gap: 18px;
  }

  .footer__nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .footer__bottom {
    margin-top: 26px;
    font-size: 8.5px;
  }

  .lightbox__inner {
    padding: 58px 10px 34px;
  }

  .lightbox__img {
    max-height: calc(100dvh - 134px);
    border-radius: 6px;
  }

  .lightbox__nav {
    top: auto;
    bottom: 15px;
    transform: none;
    width: 40px;
    height: 40px;
  }

  .lightbox__nav--prev {
    left: 14px;
  }

  .lightbox__nav--next {
    right: 14px;
  }

  .lightbox__caption {
    padding: 12px 52px 0;
    justify-content: center;
    text-align: center;
    font-size: 11px;
  }

  .lightbox__count {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo__text strong {
    font-size: 12px;
  }

  .logo__text small {
    font-size: 6.5px;
    letter-spacing: 0.16em;
  }

  .hero {
    padding-top: 92px;
  }

  .hero__eyebrow {
    font-size: 8.5px;
    letter-spacing: 0.16em;
  }

  .hero__lead {
    font-size: 14px;
    line-height: 1.62;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__meta {
    display: none;
  }

  .section-title {
    font-size: clamp(27px, 8.3vw, 38px);
  }

  .section-head__side p {
    font-size: 13.5px;
  }

  .work-card__title {
    font-size: 11.5px;
  }

  .work-card__cat {
    font-size: 8px;
  }

  .service-card {
    padding: 20px;
  }

  .about__badge span {
    font-size: 8px;
  }

  .about__caption {
    display: none;
  }

  .about__list li {
    font-size: 11.5px;
  }

  .faq__intro .btn {
    width: 100%;
  }

  .qr-card__actions {
    gap: 6px 12px;
    font-size: 9px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .logo__text small {
    display: none;
  }

  .hero__title {
    font-size: clamp(42px, 12.8vw, 52px);
  }

  .hero__eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .work-card__title {
    font-size: 11px;
  }

  .contact-card__arrow {
    display: none;
  }
}

@media (max-height: 720px) and (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 40px;
  }

  .hero__title {
    font-size: clamp(40px, 11.5vw, 64px);
  }

  .hero__lead {
    margin-top: 18px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__meta {
    margin-top: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js [data-reveal="clip"] .about__media-clip {
    -webkit-clip-path: none;
    clip-path: none;
  }

  .hero__line > span {
    transform: none;
  }

  .hero__eyebrow,
  .hero__lead,
  .hero__actions,
  .hero__meta {
    opacity: 1;
  }

  .hero__slide.is-active img {
    animation: none;
  }
}
