@font-face {
  font-family: "FoglihtenNo06";
  src: url("assets/fonts/ofont.ru_FoglihtenNo06.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sloop Script Pro";
  src: url("assets/fonts/RL_Sloop_Script_Pro/Sloop%20Script%20Pro/Sloop%20Script%20Pro.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #231d25;
  --ink-2: #342b37;
  --muted: #574d5b;
  --paper: #ffffff;
  --paper-2: #ffffff;
  --lilac: #a887aa;
  --rose: #d9a4b3;
  --plum: #2b1d31;
  --violet: #52355f;
  --gold-dark: #9d7436;
  --gold: #c39b58;
  --gold-light: #f0dc9f;
  --gold-gradient: linear-gradient(105deg, var(--gold-dark) 0%, var(--gold) 42%, var(--gold-light) 100%);
  --line: rgba(35, 29, 37, 0.18);
  --shadow: 0 26px 70px rgba(35, 29, 37, 0.16);
  --sans: "Onest", "Inter", "Segoe UI", Arial, sans-serif;
  --serif: "Onest", "Inter", "Segoe UI", Arial, sans-serif;
  --display: "FoglihtenNo06", Georgia, "Times New Roman", serif;
  --max-width: 1180px;
}

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

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.42;
  background: #ffffff;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  overflow-wrap: break-word;
}

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

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--plum);
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  padding: 0.85rem clamp(1rem, 6vw, 6rem);
  color: #fff;
  background: transparent;
  border-bottom: 0;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  min-height: 88px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: linear-gradient(90deg, #171015 0%, #171015 25%, rgba(23, 16, 21, 0.9) 47%, rgba(23, 16, 21, 0.6) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
}

.site-header.is-scrolled .brand__logo {
  width: 240px;
  max-width: 100%;
  height: 74px;
}

.site-header.is-scrolled .site-nav {
  top: 88px;
}

.site-header,
main,
section,
.section__inner {
  max-width: 100%;
  min-width: 0;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  font-weight: 700;
}

.brand::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 250, 221, 0.85) 49%, rgba(255, 255, 255, 0.95) 50%, transparent 58%);
  background-size: 300% 100%;
  background-position: 100% 0;
  mask: url("assets/images/logo/logo-gold-header-v2.png") center / contain no-repeat;
  -webkit-mask: url("assets/images/logo/logo-gold-header-v2.png") center / contain no-repeat;
  animation: logo-shimmer 9s ease-in-out infinite;
}

@keyframes logo-shimmer {
  0%, 60% { background-position: 100% 0; opacity: 0; }
  65% { opacity: 0.8; }
  88% { background-position: 0% 0; opacity: 0.8; }
  92%, 100% { background-position: 0% 0; opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .brand:hover::after,
  .brand:focus-visible::after {
    animation: logo-hover-shimmer 1100ms ease-in-out both;
  }

  .hero__screen:hover::after {
    animation: tablet-hover-reflection 1200ms ease-in-out both;
  }
}

@keyframes logo-hover-shimmer {
  0% { background-position: 100% 0; opacity: 0; }
  15%, 80% { opacity: 0.9; }
  100% { background-position: 0% 0; opacity: 0; }
}

@keyframes tablet-hover-reflection {
  0% { left: -90%; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .brand::after { display: none; }
}

.brand__logo {
  display: block;
  width: clamp(220px, 22vw, 300px);
  height: auto;
  object-fit: contain;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand__logo--horizontal {
  aspect-ratio: 1821 / 864;
}

.site-nav {
  align-self: flex-start;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.9rem, 2vw, 1.7rem);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 8.5rem clamp(1rem, 6vw, 6rem) 5rem;
  color: #fff;
  background: #2c2531;
  overflow: hidden;
}

.hero__scene {
  position: absolute;
  width: max(100%, 177.684svh);
  aspect-ratio: 1672 / 941;
  right: 0;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.hero__desk { width: 100%; height: 100%; }

.hero__wall-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, #000 7% 27%, transparent 37%), linear-gradient(to bottom, transparent, #000 12% 55%, transparent 80%);
  mask-composite: intersect;
}

.hero__screen {
  position: absolute;
  left: 45.76%;
  top: 19.66%;
  width: 33.84%;
  height: 52%;
  transform-origin: top left;
  transform: matrix(1, -0.012, 0.063, 0.96, 0, 0);
  background: #151619;
  overflow: hidden;
  border-radius: var(--screen-radius, 24px);
  clip-path: inset(0 round var(--screen-radius, 24px));
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.hero__screen::after {
  position: absolute;
  z-index: 3;
  content: "";
  top: -35%;
  left: -90%;
  width: 40%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 222, 0.06) 25%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 245, 222, 0.06) 75%, transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: tablet-reflection 13s ease-in-out infinite;
}

@keyframes tablet-reflection {
  0%, 60% { left: -90%; opacity: 0; }
  63% { opacity: 1; }
  82% { left: 150%; opacity: 1; }
  85%, 100% { left: 150%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__screen::after { display: none; }
}

.hero__screen img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: hero-work 18s infinite;
}
.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  transition: opacity 900ms ease;
}
.hero__screen .hero__slide img {
  animation: none;
  opacity: 1;
}
.hero__screen .hero__slide-work {
  object-fit: contain;
  border-radius: 0;
}
.hero__screen img:nth-child(2) { animation-delay: 6s; }
.hero__screen img:nth-child(3) { animation-delay: 12s; }
@keyframes hero-work {
  0%, 30% { opacity: 1; }
  34%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(35, 29, 37, 0.48));
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
}

.hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 0;
  width: min(780px, 52%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1.1rem;
  color: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero h1,
.section__head h2 {
  margin: 0;
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero h1 {
  display: grid;
  grid-auto-rows: 1.5em;
  max-width: 680px;
  font-size: 46.5696px;
  font-style: normal;
  line-height: 1.35;
  white-space: normal;
}

.hero h1 span { display: block; white-space: nowrap; }

.hero h1 .hero__baseline {
  display: inline-block;
  width: 0;
  height: 0;
  padding: 0;
  vertical-align: baseline;
}

.hero h1 .hero__lettering {
  font-family: "Sloop Script Pro", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  font-size: 2.3em;
  line-height: 0.5869565;
}

.hero h1 em.hero__lettering {
  line-height: 0;
}



.hero__lead {
  max-width: 520px;
  margin: 1.2rem 0 0;
  font-size: clamp(1.08rem, 1.55vw, 1.32rem);
  font-weight: 500;
  line-height: 1.35;
}

.hero__actions,
.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero__actions {
  margin-top: 2.75rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.15rem;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  transition: transform 180ms ease, background-position 260ms ease, color 180ms ease, border-color 180ms ease;
}

.button::after,
.gallery-filter__button::after,
.messenger-link::after {
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -45%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.74), transparent);
  pointer-events: none;
  transform: translateX(-170%) skewX(-22deg);
}

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

.button:hover::after,
.button:focus-visible::after,
.gallery-filter__button:hover::after,
.gallery-filter__button:focus-visible::after,
.messenger-link:hover::after,
.messenger-link:focus-visible::after {
  animation: button-gleam 720ms ease;
}

.button--primary {
  background: var(--gold-gradient);
  background-size: 150% 100%;
  border-color: transparent;
}

.button--primary:hover {
  background-position: 100% 50%;
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.section {
  position: relative;
  padding: clamp(4rem, 7vw, 6.6rem) clamp(1rem, 5vw, 4rem);
}

.section__inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.section__head h2 {
  max-width: none;
  font-size: clamp(0.798rem, 2.02825vw, 2.128rem);
}

.section__head--center {
  width: min(900px, 100%);
  margin: 0 auto clamp(2rem, 5vw, 3.6rem);
  text-align: center;
}

.benefits,
.gallery-section,
.process,
.pricing,
.faq,
.contacts {
  text-align: center;
}

.benefits .section__head,
.gallery-section .section__head,
.process .section__head,
.pricing .section__head,
.faq .section__head,
.contacts .section__head {
  width: min(920px, 100%);
  margin-right: auto;
  margin-left: auto;
  text-align: center !important;
}

.section-lead {
  max-width: 720px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 500;
}

.about {
  background: #ffffff;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 2rem;
  align-items: start;
}

.about__grid > .section__head {
  grid-column: 1 / -1;
}

#about-title {
  font-family: "Sloop Script Pro", cursive;
  font-style: normal;
  font-size: clamp(1.197rem, 3.042375vw, 3.192rem);
  line-height: 1;
  padding: 0;
}

.about__photo-frame {
  position: relative;
  border: 1px solid transparent;
  padding: clamp(0.4rem, 0.7vw, 0.65rem);
  background: linear-gradient(var(--paper), var(--paper)) padding-box,
    var(--gold-gradient) border-box;
  box-shadow: 0 14px 36px rgba(35, 29, 37, 0.09);
}

.about__photo-crop {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

@media (max-width: 680px) {
  .about__photo-frame { padding: clamp(0.35rem, 1.6vw, 0.55rem); }
}

.about__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 57% 65%;
  margin-top: 0;
  transform: scale(1.25);
  transform-origin: 57% 65%;
}

.about__text {
  position: relative;
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.7rem);
  font-size: clamp(0.98rem, 1.12vw, 1.06rem);
}

.about__text::before {
  display: none;
  position: absolute;
  top: -2.4rem;
  left: -2.6rem;
  width: 6.5rem;
  height: 6.5rem;
  content: "";
  background:
    var(--gold-gradient) top left / 100% 1px no-repeat,
    var(--gold-gradient) top left / 1px 100% no-repeat;
  opacity: 0.75;
}

.about__text p {
  max-width: 64ch;
  margin: 0;
}

.about__text p:first-child {
  color: #392f3d;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.35;
}

.benefits,
.faq {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(35, 29, 37, 0.98), rgba(59, 37, 67, 0.96)),
    radial-gradient(circle at 20% 10%, rgba(216, 164, 179, 0.3), transparent 26rem);
}

.benefits .section-lead {
  color: rgba(255, 255, 255, 0.88);
}

.benefits .section__head h2 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.33rem, 2.02825vw, 2.128rem);
  line-height: 1;
  white-space: nowrap;
}

.faq .section__head h2 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.faq .section-kicker {
  color: transparent;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.1rem);
  padding: 0;
  margin: 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.benefit {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 0.35rem;
  min-height: 0;
  padding: clamp(1rem, 1.6vw, 1.25rem);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-align: center;
}

.benefit__number {
  display: inline-block;
  margin: 0 auto -0.04em;
  color: transparent;
  font-family: "Sloop Script Pro", cursive;
  font-size: clamp(3.7855125rem, 6.508425vw, 5.9107125rem);
  font-style: normal;
  font-weight: 400;
  padding: 0.02em 0.12em 0.03em;
  line-height: 0.65;
  letter-spacing: 0;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.benefit h3,
.timeline h3,
.price-item h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  font-weight: 600;
  line-height: 1.2;
}

.benefit p,
.timeline p,
.price-item p,
.contacts__body p {
  margin: 0;
}

.benefit p {
  color: rgba(255, 255, 255, 0.88);
}

.gallery-section {
  background: #ffffff;
}

.gallery-section__head {
  display: block;
  width: min(720px, 100%);
  margin-right: auto;
  margin-left: auto;
  margin-bottom: clamp(2rem, 6vw, 4rem);
  text-align: center !important;
}

.gallery-section__lead {
  max-width: 720px;
}

.gallery-section__lead span {
  display: block;
}

.gallery-section__lead span + span {
  margin-top: 0.15rem;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: clamp(-2.25rem, -3vw, -1rem) auto clamp(1.5rem, 3vw, 2.25rem);
}

.gallery-filter__button {
  position: relative;
  isolation: isolate;
  min-height: 2.55rem;
  padding: 0.58rem 1.05rem 0.66rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(0.805rem, 1.015vw, 0.994rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--gold-gradient) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  transition: background-position 260ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-filter__button:hover,
.gallery-filter__button:focus-visible {
  color: #160d1b;
  background: var(--gold-gradient);
  background-size: 150% 100%;
  border-color: transparent;
  background-position: 100% 50%;
  transform: translateY(-1px);
}

.gallery-filter__button.is-active {
  color: #160d1b;
  background: var(--gold-gradient);
  background-size: 150% 100%;
  border-color: transparent;
}

.gallery-empty {
  max-width: 520px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.2rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.42;
  text-align: center;
}

.gallery-section > .section__inner {
  container-type: inline-size;
}

.gallery {
  --gallery-columns: 3;
  --gallery-gap: clamp(0.75rem, 1.6vw, 1.2rem);
  --gallery-padding: clamp(0.4rem, 0.7vw, 0.65rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: calc(((100cqw - (var(--gallery-columns) - 1) * var(--gallery-gap)) / var(--gallery-columns) - 2 * var(--gallery-padding) - 2px) * 2200 / 1779 + 2 * var(--gallery-padding) + 2px);
  gap: var(--gallery-gap);
  align-items: stretch;
}

.gallery__item {
  grid-column: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: var(--gallery-padding);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--gold-gradient) border-box;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(35, 29, 37, 0.09);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@media (min-width: 681px) {
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .gallery .gallery__item { grid-column: span 2; }
  .gallery .gallery__item--wide { grid-column: span 4; }
  .gallery .gallery__item--center-first { grid-column: 2 / span 2; }
  .gallery .gallery__item--center-second { grid-column: 4 / span 2; }
}

.gallery__item[hidden],
.gallery-empty[hidden] {
  display: none;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.process {
  background: #ffffff;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1rem);
  padding: 0;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  list-style: none;
  background: transparent;
  border: 0;
}

.timeline::before {
  display: none;
}

.timeline__item {
  display: block;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  background: #ffffff;
  border: 1px solid rgba(35, 29, 37, 0.14);
  text-align: center;
}

.timeline__icon {
  position: relative;
  display: block;
  width: 29px;
  height: 23px;
  margin: 0 auto 0.65rem;
}

.timeline__icon::before {
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  content: "";
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M48 4C68 4 83 12 83 27C83 44 66 54 48 54C30 54 13 44 13 27C13 12 28 4 48 4Z' fill='black'/%3E%3Cpath d='M48 49V58M48 58C39 72 21 74 9 50M48 58C57 72 75 74 87 50' fill='none' stroke='black' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 96 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M48 4C68 4 83 12 83 27C83 44 66 54 48 54C30 54 13 44 13 27C13 12 28 4 48 4Z' fill='black'/%3E%3Cpath d='M48 49V58M48 58C39 72 21 74 9 50M48 58C57 72 75 74 87 50' fill='none' stroke='black' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.timeline__item > div {
  max-width: none;
  padding-bottom: 0;
  border-bottom: 0;
}

.timeline p,
.price-item p,
.contacts__body p {
  color: var(--muted);
}

.process__cta,
.pricing__cta {
  margin-top: 1.4rem;
}

.price-item__value,
.section-title {
  overflow-wrap: anywhere;
}

.pricing {
  color: #fff;
  background:
    radial-gradient(circle at 14% 0%, rgba(216, 164, 179, 0.32), transparent 24rem),
    linear-gradient(135deg, var(--plum), #201820);
}

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  justify-items: center;
}

.pricing__items {
  display: grid;
  width: min(900px, 100%);
  gap: 0;
  border: 0;
}

.price-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 13.5rem);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(1.05rem, 2vw, 1.45rem) 0;
  color: #fff;
  background: transparent;
  border-top: 1px solid transparent;
  border-bottom: 0;
  border-image: var(--gold-gradient) 1;
  box-shadow: none;
  text-align: left;
}

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

.price-item__body {
  display: grid;
  grid-template-columns: minmax(140px, 0.46fr) minmax(0, 1fr);
  gap: clamp(0.8rem, 2.2vw, 1.6rem);
  align-items: start;
}

.price-item h3 {
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.price-item .price-item__value {
  margin: 0;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(0.924rem, 1.2705vw, 1.1935rem);
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: normal;
  text-align: right;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.price-item__value span {
  display: block;
}

.price-item__body p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
}

.pricing__cta {
  justify-self: center;
  margin: 1.5rem;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  justify-items: center;
  text-align: center;
}

.faq__list {
  display: grid;
  width: min(860px, 100%);
  gap: 0.65rem;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq__item h3 {
  margin: 0;
}

.faq__item button {
  position: relative;
  width: 100%;
  min-height: 62px;
  padding: 1.15rem 3rem 1.15rem 0;
  color: #fff;
  font: inherit;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  font-weight: 500;
  text-align: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq__item button::before {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  content: "";
  background:
    linear-gradient(135deg, rgba(35, 29, 37, 0.98), rgba(59, 37, 67, 0.96)) padding-box,
    var(--gold-gradient) border-box;
  border: 1px solid transparent;
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq__item button::after {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 1.8rem;
  height: 1.8rem;
  content: "+";
  display: grid;
  place-items: center;
  color: transparent;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  transform: translateY(-50%);
}

.faq__item.is-open button::after {
  content: "–";
}

.faq__answer {
  overflow: hidden;
}

.faq__answer p {
  max-width: 720px;
  margin: 0 auto 1.2rem;
  color: rgba(255, 255, 255, 0.84);
}

.contacts {
  background: #ffffff;
}

.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  justify-items: center;
}

.contacts__body {
  max-width: 680px;
  padding-left: 0;
  border-left: 0;
}

.contacts__actions {
  justify-content: center;
}

.messengers {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.messenger-link {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 52px;
  aspect-ratio: 1;
  color: var(--plum);
  background: var(--gold-gradient);
  background-size: 150% 100%;
  border: 1px solid transparent;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 180ms ease, background-position 260ms ease;
}

.messenger-link:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}

.messenger-link svg,
.messenger-link__icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.messenger-link--max {
  color: var(--plum);
  background: var(--gold-gradient);
  background-size: 150% 100%;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(35, 29, 37, 0.12);
}

.messenger-link--max:hover {
  color: var(--plum);
  background-position: 100% 50%;
}

.messenger-link--max .messenger-link__icon {
  width: 27px;
  height: 27px;
  border-radius: 0;
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
}

.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(18, 13, 20, 0.92);
}

.lightbox__backdrop {
  display: grid;
  width: 100%;
  min-height: 100%;
  padding: clamp(0.8rem, 3vw, 2rem);
  background: rgba(18, 13, 20, 0.92);
}

.lightbox__frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - clamp(1.6rem, 6vw, 4rem));
}

.lightbox img {
  width: auto;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - 5.5rem);
  object-fit: contain;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
}

.lightbox__button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.lightbox__button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__button--close {
  top: 0;
  right: 0;
}

.lightbox__button--prev,
.lightbox__button--next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__button--prev {
  left: 0;
}

.lightbox__button--next {
  right: 0;
}

.lightbox__counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transform: translateX(-50%);
}

.reveal {
  opacity: 1;
}

.js .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

@keyframes button-gleam {
  from {
    transform: translateX(-170%) skewX(-22deg);
  }

  to {
    transform: translateX(520%) skewX(-22deg);
  }
}

@media (max-width: 1180px) {
  .hero {
    min-height: max(1080px, 100svh);
    align-items: flex-start;
    padding-top: 11rem;
  }
  .hero__content { width: 100%; align-self: flex-start; }
  .hero h1 { font-size: 38px; }
  .hero__scene {
    width: max(100%, 1100px);
    right: calc((100% - 1100px) / 2 + 12px);
    top: auto;
    bottom: 0;
    transform: none;
    mask-image: linear-gradient(transparent, #000 12%);
  }
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 1rem;
    left: 1rem;
    display: none;
    gap: 0;
    width: auto;
    max-width: calc(100% - 2rem);
    padding: 0.7rem;
    color: #fff;
    background: rgba(35, 29, 37, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0.95rem;
  }

  .about__grid,
  .pricing__grid,
  .faq__grid,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .about__photo-frame { width: min(340px, 100%); }

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

  .benefit,
  .benefit:nth-child(n) {
    grid-column: auto;
  }

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

  .gallery__item {
    grid-column: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .price-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .price-item__body {
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
    gap: 0.9rem;
  }

  .price-item .price-item__value {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 0.7rem 1rem;
  }

  .brand__logo {
    width: 190px;
    height: auto;
    padding: 0;
  }

  .site-nav {
    top: 112px;
    right: 1rem;
    left: 1rem;
  }

  .hero {
    align-items: flex-start;
    min-height: 92svh;
    padding: 6.3rem 1rem 3rem;
    background:
      linear-gradient(180deg, rgba(30, 23, 34, 0.86) 0%, rgba(43, 29, 49, 0.48) 43%, rgba(43, 29, 49, 0.14) 68%, rgba(43, 29, 49, 0.52) 100%),
      url("assets/images/hero/hero-kristina-dog.jpg") 57% 50% / cover no-repeat;
  }

  .hero h1 {
    font-size: 27.6507px;
    white-space: normal;
  }

  .section__head h2 {
    font-size: clamp(1.03075rem, 4.4555vw, 1.2635rem);
  }

  .benefits .section__head h2 {
    font-size: clamp(0.7182rem, 3.15875vw, 0.9443rem);
  }

  .faq .section__head h2,
  .contacts .section__head h2 {
    font-size: clamp(0.69825rem, 3.7905vw, 0.9177rem);
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions,
  .contacts__actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .contacts__actions .button {
    width: 100%;
    flex: 1 1 100%;
  }

  .pricing__cta {
    width: auto;
    margin: 1rem;
  }

  .price-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1rem 0;
    text-align: left;
  }

  .price-item__body {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .price-item .price-item__value {
    font-size: clamp(0.8855rem, 4.466vw, 1.1165rem);
    line-height: 1.3;
    text-align: left;
  }

  .price-item__body p {
    margin: 0;
  }

  .gallery {
    --gallery-columns: 2;
    --gallery-padding: clamp(0.35rem, 1.6vw, 0.55rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__item {
    grid-column: span 1;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item {
    padding: clamp(0.35rem, 1.6vw, 0.55rem);
  }

  .gallery__item img {
    max-height: none;
  }

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

  .benefit,
  .benefit:nth-child(n) {
    grid-column: auto;
    min-height: auto;
  }

  .benefit__number {
    margin-bottom: -0.04em;
    font-size: clamp(3.3870375rem, 18.32985vw, 4.648875rem);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    background: transparent;
    border: 0;
  }

  .timeline__item {
    padding: 1.2rem;
    border: 1px solid var(--line);
  }

  .timeline__icon {
    width: 27px;
    height: 21px;
    margin-bottom: 0.55rem;
  }

  .contacts__body {
    padding-left: 0;
  }

  .about__text::before {
    top: -1.5rem;
    left: 0;
    width: 4.5rem;
    height: 4.5rem;
  }

  .messenger-link {
    width: 50px;
  }

  .lightbox__button {
    width: 42px;
  }

  .lightbox__button--prev,
  .lightbox__button--next {
    top: auto;
    bottom: 0;
    transform: none;
  }

  .lightbox__counter {
    bottom: 0.25rem;
  }

  .lightbox img {
    max-height: calc(100vh - 7.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__screen img { animation: none !important; opacity: 0; }
  .hero__screen img:first-child { opacity: 1; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: max(820px, 100svh);
    padding-top: 8rem;
    background: #2c2531;
  }
  .hero__content { width: 100%; margin-top: 0; align-self: flex-start; }
  .hero__scene {
    width: max(100%, 850px);
    top: auto;
    bottom: 0;
    right: calc(50% - 246px);
    transform: none;
  }
  .hero h1 { font-size: 24px; }
  .hero__actions { margin-top: 2.25rem; gap: 0.65rem; }
  .hero__actions .button {
    width: auto;
    min-height: 42px;
    padding: 0.7rem 0.85rem;
    font-size: 0.68rem;
    flex: 0 0 auto;
  }
  .gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-flow: row dense;
  }
  .gallery__item { grid-column: span 3; }
  .gallery__item--wide { grid-column: span 6; }
  .gallery__item--mobile-triple {
    grid-column: span 2;
    align-self: start;
    aspect-ratio: 1779 / 2200;
  }
}

@media (min-width: 1181px) and (max-width: 1350px) {
  .hero h1 { font-size: 40px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 20.5px; }
}

@media (max-width: 980px) {
  .section__head h2,
  .benefits .section__head h2,
  .faq .section__head h2,
  .contacts .section__head h2 {
    font-size: 24px;
    line-height: 1.2;
    white-space: normal;
  }
  #about-title { font-size: 48px; }
  .gallery-filter__button { min-height: 44px; }
  .site-nav { max-height: calc(100svh - 130px); overflow-y: auto; }
}
