:root {
  --black: #0b0b0b;
  --black-soft: #161616;
  --gold: #c8a96a;
  --gold-bright: #e0c48a;
  --ivory: #f4efe6;
  --paper: #fbf8f2;
  --text: #1b1814;
  --muted: #6e675d;
  --line: rgba(200, 169, 106, 0.28);
  --white: #ffffff;
  --danger: #b42318;
  --success: #2f6b3a;
  --header-h: 72px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(11, 11, 11, 0.08);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Montserrat", "Manrope", system-ui, sans-serif;
  --hero-circle: #fed876;
}

@property --hero-scale {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --hero-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

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

html {
  scroll-behavior: auto;
}

body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 1000;
  background: var(--gold);
  color: var(--black);
  padding: 8px 12px;
}

.skip-link:focus {
  top: 12px;
}

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

.section {
  padding: calc(var(--header-h) + 28px) 0 48px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--ivory {
  background: var(--ivory);
}

.section--dark {
  background: #292929;
  color: var(--white);
}

.section--dark .section__title {
  color: var(--white);
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.68);
}

.section--dark .placeholder {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--dark .placeholder__title {
  color: var(--white);
}

.section--dark .placeholder__text {
  color: rgba(255, 255, 255, 0.62);
}

.stack-block {
  position: sticky;
  top: 0;
  min-height: 100svh;
}

.stack-block:not(:first-child) {
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.22);
}

#hero { z-index: 1; }
#promo { z-index: 2; }
#about { z-index: 3; }
#services { z-index: 4; }
#portfolio,
#reviews,
#faq,
#contacts {
  position: relative;
}

#portfolio { z-index: 5; }
#reviews { z-index: 6; }
#faq { z-index: 7; }
#contacts { z-index: 8; }

.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.section__title {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.placeholder {
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px 20px;
  color: var(--muted);
}

.placeholder__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.placeholder__title {
  margin: 0 0 6px;
  color: var(--text);
  font-weight: 700;
}

.placeholder__text {
  margin: 0;
  max-width: 420px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--full {
  width: 100%;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header.is-scrolled {
  background: rgba(11, 11, 11, 0.94);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 24px));
  margin-inline: auto;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: var(--white);
  flex-shrink: 0;
}

.logo__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.logo__role {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  list-style: none;
  margin: 0;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-bright);
}

.header__phone {
  display: none;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--gold-bright);
}

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

.icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
}

.icon-btn--phone {
  color: var(--gold);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(11, 11, 11, 0.97);
  transform: translateX(100%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 40;
  visibility: hidden;
  pointer-events: none;
}

.mobile-nav.is-open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li {
  list-style: none;
  margin: 0;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.mobile-nav__phone {
  margin-top: auto;
  color: var(--gold-bright);
  font-size: 1.15rem;
  font-weight: 700;
  border: 0;
}

body.nav-open {
  overflow: hidden;
}

.hero {
  --hero-scale: 1;
  --hero-progress: 0;
  min-height: 100svh;
  background: #292929;
  color: var(--white);
  animation: hero-fill-progress linear both;
  animation-timeline: scroll();
  animation-range: 0 85vh;
}

.hero-runway {
  height: 85vh;
  pointer-events: none;
}

@keyframes hero-fill-progress {
  from {
    --hero-scale: 1;
    --hero-progress: 0;
  }

  40% {
    --hero-scale: 1.4;
    --hero-progress: 0;
  }

  70% {
    --hero-scale: 2.3;
    --hero-progress: 1;
  }

  to {
    --hero-scale: 4;
    --hero-progress: 1;
  }
}

.hero__stage {
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 16px) 0 20px;
  overflow: clip;
  background: #292929;
}

.hero__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 0;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-inline: 12px;
}

.hero__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.8vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--white) calc((1 - min(var(--hero-progress) * 2.5, 1)) * 100%), #1a1a1a);
  white-space: nowrap;
}

.hero__role {
  margin: 10px 0 0;
  color: color-mix(in srgb, rgba(255, 255, 255, 0.55) calc((1 - min(var(--hero-progress) * 2.5, 1)) * 100%), rgba(26, 26, 26, 0.62));
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero__photo {
  position: relative;
  z-index: 1;
  width: min(640px, 88vw, calc(100svh - var(--header-h) - 220px));
  aspect-ratio: 1;
  margin-top: clamp(16px, 3.2vh, 32px);
}

.hero__circle {
  position: absolute;
  inset: 0;
  background: var(--hero-circle);
  border-radius: 50%;
  transform: scale(var(--hero-scale));
  will-change: transform;
}

.hero__photo-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}

.hero__photo img {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transform: translate(-50%, -50%);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #1a1a1a, #0b0b0b 55%, #2a241c);
  display: grid;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(200, 169, 106, 0.2);
}

.video-frame iframe,
.video-frame embed,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame__play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--black);
  display: grid;
  place-items: center;
}

.video-frame__label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  min-height: 180px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text);
}

.card p,
.card .entry-content,
.card span {
  color: var(--muted);
}

.card .entry-content > *:last-child {
  margin-bottom: 0;
}

.price {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold) !important;
  font-weight: 700;
}

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

.gallery__item {
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, #ece6db, #d9d0c2);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews {
  display: grid;
  gap: 16px;
}

.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.review__quote {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
}

.review__quote p {
  margin: 0 0 0.4em;
}

.review__quote > *:last-child {
  margin-bottom: 0;
}

.review__name {
  margin: 0;
  font-weight: 700;
}

.review__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(27, 24, 20, 0.08);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.faq-item__q span:last-child {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.faq-item__a {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  margin: 0;
}

.faq-item.is-open .faq-item__a {
  display: block;
}

.faq-item.is-open .faq-item__q span:last-child {
  transform: rotate(45deg);
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header-h) + 28px) 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer__grid {
  display: grid;
  gap: 40px;
}

.footer h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
}

.contacts__phone {
  display: inline-block;
  margin: 8px 0 20px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 106, 0.35);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--gold);
  color: var(--black);
}

.form {
  background: var(--black-soft);
  border: 1px solid rgba(200, 169, 106, 0.18);
  border-radius: 24px;
  padding: 24px 20px;
  display: grid;
  gap: 12px;
}

.form h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101010;
  color: var(--white);
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 16px;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}

.form__error,
.form__success {
  margin: 0;
  font-size: 0.92rem;
}

.form__error {
  color: #ffb4ab;
}

.form__success {
  color: #b7e4c0;
}

.copyright {
  margin: 36px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
}

@media (max-width: 400px) {
  .hero__copy h1 {
    letter-spacing: 0.06em;
    font-size: 1.22rem;
  }
}

@media (min-width: 720px) {
  .header__phone {
    display: inline-flex;
  }

  .icon-btn--phone {
    display: none;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  :root {
    --header-h: 80px;
  }

  .nav {
    display: flex;
  }

  .burger,
  .mobile-nav {
    display: none;
  }

  .hero__copy h1 {
    letter-spacing: 0.16em;
  }

  .hero__photo {
    width: min(640px, 52vw, calc(100svh - var(--header-h) - 200px));
  }

  .section {
    padding: calc(var(--header-h) + 40px) 0 64px;
  }
}

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

  .hero {
    animation: none;
  }

  .hero-runway {
    display: none;
  }

  .hero__circle {
    will-change: auto;
  }

  .btn,
  .burger span,
  .mobile-nav {
    transition: none;
  }
}

.custom-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.custom-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
}

.site-main {
  padding: calc(var(--header-h) + 40px) 0 64px;
  min-height: 100svh;
  background: var(--paper);
}

.site-main .container {
  max-width: 800px;
}

.site-main h1 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.not-found {
  text-align: center;
  padding: 80px 0;
}

.not-found a {
  color: var(--gold);
  font-weight: 700;
}

body.admin-bar .header {
  top: 32px;
}

body.admin-bar .mobile-nav {
  top: calc(var(--header-h) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }

  body.admin-bar .mobile-nav {
    top: calc(var(--header-h) + 46px);
  }
}
