:root {
  --svarog-white: #f8f5ef;
  --svarog-gold: #b98a52;
  --gold: #b98a52;
  --gold-2: #a07842;
  --gold-3: #d4b07a;
  --gold-grad: linear-gradient(90deg, #c9a05e 0%, #b98a52 48%, #9a7340 100%);
  --white: #f8f5ef;
  --muted: rgba(248, 245, 239, 0.78);
  --line: rgba(185, 138, 82, 0.55);
  --glass: rgba(10, 10, 10, 0.58);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--white);
  background: #050505;
  overflow-x: hidden;
}

button,
input,
textarea {
  font-family: inherit;
}

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

.page {
  position: relative;
}

.hero-screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/img/hero-bg.jpg") center 42% / cover no-repeat;
  transform: scale(1.04);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.22) 34%, rgba(0, 0, 0, 0.32) 56%, rgba(0, 0, 0, 0.82) 100%);
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  padding: 18px 56px 0;
}

.header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 118px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav--right {
  justify-content: flex-end;
  gap: 26px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}

.nav__chevron,
.field__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.85;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 230px;
  padding: 10px 0;
  background: rgba(12, 12, 12, 0.94);
  border: 1px solid rgba(201, 165, 106, 0.28);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.2s ease;
}

.nav__item.is-open .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav__dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.nav__dropdown a:hover {
  color: var(--gold);
  background: rgba(201, 165, 106, 0.08);
}

.svarog-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--svarog-white);
}

.svarog-brand__compass {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  overflow: visible;
  fill: none;
  stroke: var(--svarog-gold);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svarog-brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f7f3ec;
  white-space: nowrap;
  padding-left: 0.22em;
}

.svarog-brand__caption {
  margin-top: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3em;
  color: rgba(248, 245, 239, 0.68);
  text-transform: uppercase;
  white-space: nowrap;
  padding-left: 0.3em;
}

.header__phone {
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__call {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  flex-shrink: 0;
}

.header__call svg {
  width: 15px;
  height: 15px;
}

.header-dock {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-dock__call,
.burger {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-dock__call {
  display: grid;
  place-items: center;
  color: var(--gold);
}

.header-dock__call svg {
  width: 18px;
  height: 18px;
}

.header-dock__call:hover,
.header-dock__call:focus-visible,
.burger:hover,
.burger:focus-visible {
  background: rgba(8, 8, 8, 0.55);
  border-color: rgba(255, 255, 255, 0.22);
}

.burger {
  display: block;
  position: relative;
  z-index: 70;
  padding: 0;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 1.4px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, background 0.25s ease;
}

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

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

.burger span:nth-child(3) {
  top: 28.6px;
}

.burger.is-open span,
body.menu-open .burger span {
  background: var(--gold);
}

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

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

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

.mobile-menu {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.55s step-end;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}

.mobile-menu__veil {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.42);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .mobile-menu__veil {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 28px 40px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.97) 0%, rgba(10, 10, 10, 0.94) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(-18px) scale(1.02);
  transform-origin: top center;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .mobile-menu__panel {
  opacity: 1;
  transform: none;
}

.mobile-menu__ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .mobile-menu__ornament {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.mobile-menu__ornament span {
  width: 42px;
  height: 1px;
  background: var(--gold);
  opacity: 0.85;
}

.mobile-menu__ornament svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.mobile-menu__nav a {
  position: relative;
  padding: 12px 8px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(22px);
  transition:
    color 0.25s ease,
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-menu__nav a:hover::after,
.mobile-menu__nav a:focus-visible::after {
  width: 42px;
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 0.38s; }
.mobile-menu.is-open .mobile-menu__nav a:nth-child(6) { transition-delay: 0.44s; }

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.is-open .mobile-menu__footer {
  opacity: 1;
  transform: none;
  transition-delay: 0.5s;
}

.mobile-menu__phone {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__panel,
  .mobile-menu__veil,
  .mobile-menu__ornament,
  .mobile-menu__nav a,
  .mobile-menu__footer,
  .header-dock,
  .burger span {
    transition: none;
  }

  .mobile-menu__panel,
  .mobile-menu__nav a,
  .mobile-menu__ornament,
  .mobile-menu__footer {
    transform: none;
  }
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 56px 24px;
}

.hero__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8px;
  padding-bottom: 18px;
}

.hero-heading {
  width: min(100%, 1080px);
  margin-inline: auto;
  text-align: center;
  color: var(--svarog-white);
}

.hero-heading__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #f8f5ef;
  text-wrap: balance;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 70%);
  margin: 28px auto 22px;
}

.hero-divider__line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 138, 82, 0.85));
}

.hero-divider__line:last-child {
  background: linear-gradient(90deg, rgba(185, 138, 82, 0.85), transparent);
}

.hero-divider__star {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-inline: 12px;
  overflow: visible;
  fill: none;
  stroke: var(--svarog-gold);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-heading__description {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--gold {
  color: #1a140c;
  background: var(--gold-grad);
  box-shadow: 0 8px 24px rgba(160, 120, 50, 0.28);
}

.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(160, 120, 50, 0.4);
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn__arrow {
  font-size: 14px;
  line-height: 1;
}

.btn--calc {
  min-width: 220px;
  min-height: 52px;
  align-self: end;
}

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

.calc {
  flex-shrink: 0;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 28px 22px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.calc__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.calc__form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.field {
  position: relative;
}

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.field__control {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(201, 165, 106, 0.72);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.field.is-open .field__control {
  border-color: var(--gold);
}

.field.is-open .field__chevron {
  transform: rotate(225deg) translateY(-1px);
}

.field__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  display: none;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(201, 165, 106, 0.35);
  overflow: hidden;
}

.field.is-open .field__list {
  display: block;
}

.field__list button {
  width: 100%;
  padding: 11px 16px;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: 0;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.field__list button:hover {
  color: var(--gold);
  background: rgba(201, 165, 106, 0.08);
}

.features {
  flex-shrink: 0;
  width: 100%;
  max-width: 1480px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--gold);
}

.feature h3 {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.feature p {
  margin: 5px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
}

[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.modal__card {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 32px));
  margin: 8vh auto 0;
  padding: 36px 32px 28px;
  background: #111111;
  border: 1px solid rgba(201, 165, 106, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal__card h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-optical-sizing: auto;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal__text,
.modal__success p {
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.modal__form {
  display: grid;
  gap: 14px;
}

.modal__form label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.modal__form input,
.modal__form textarea {
  width: 100%;
  padding: 12px 12px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(201, 165, 106, 0.4);
  outline: none;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.modal__form input:focus,
.modal__form textarea:focus {
  border-color: var(--gold);
}

.modal__note {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
  text-transform: none;
  letter-spacing: 0;
}

.modal__success {
  text-align: center;
  padding: 24px 0 12px;
}

@media (max-width: 1180px) {
  .header {
    padding: 16px 28px 0;
  }

  .hero {
    padding: 0 28px 24px;
  }

  .nav {
    gap: 16px;
  }

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

  .btn--calc {
    width: 100%;
    grid-column: 1 / -1;
  }

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

@media (min-width: 861px) {
  .header-dock {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
  }

  html.is-scrolled .header-dock,
  body.menu-open .header-dock {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 860px) {
  .hero-screen {
    height: auto;
    min-height: 100dvh;
    overflow: hidden;
    padding-bottom: 28px;
  }

  .nav,
  .header__phone,
  .header__call {
    display: none;
  }

  .header__inner {
    display: flex;
    min-height: 96px;
    padding-right: 118px;
  }

  .header {
    z-index: 70;
  }

  .hero__actions {
    flex-direction: column;
    width: min(320px, 100%);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .calc {
    padding: 18px 16px;
  }

  .calc__form,
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .svarog-brand__compass {
    width: 32px;
    height: 32px;
  }

  .svarog-brand__name {
    font-size: 30px;
  }

  .svarog-brand__caption {
    font-size: 9px;
  }

  .hero-heading__title {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1;
  }

  .hero-heading__title br {
    display: none;
  }

  .hero-divider {
    width: 82%;
    margin-block: 22px 18px;
  }

  .hero-heading__description br {
    display: none;
  }
}

.site {
  position: relative;
  z-index: 3;
  background: #f3efe6;
  color: #1c1b19;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.wrap--portfolio {
  width: min(1280px, calc(100% - 48px));
}

.section {
  padding: 88px 0;
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #161616;
}

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--svarog-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section__title.is-inview::after {
  transform: scaleX(1);
}

.section__title--left::after {
  margin-left: 0;
  transform-origin: left;
}

.section__lead {
  margin: 0 auto 48px;
  max-width: 560px;
  text-align: center;
  color: #6b665d;
  font-size: 16px;
  line-height: 1.55;
}

.section__center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.strip {
  background: #ebe6db;
  padding: 28px 0;
  border-bottom: 1px solid rgba(22, 22, 22, 0.06);
}

.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strip__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.strip__item svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--svarog-gold);
}

.strip__item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
}

.strip__item p {
  margin: 0;
  font-size: 13px;
  color: #6b665d;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.06);
}

.service-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.service-card__body {
  padding: 22px 20px 24px;
}

.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--svarog-gold);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
}

.service-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b665d;
}

.service-card a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--svarog-gold);
}

.why {
  background: #f7f4ee;
}

.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.why__photo {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.why__content {
  position: relative;
}

.why__content::before {
  content: "";
  position: absolute;
  inset: -40px -20px auto auto;
  width: 280px;
  height: 280px;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23111' stroke-width='1'><path d='M20 140 L100 40 L180 140 V180 H20Z'/><path d='M70 180 V110 H130 V180'/></svg>");
  background-size: contain;
  pointer-events: none;
}

.why__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
  margin-top: 36px;
}

.why__points svg {
  width: 32px;
  height: 32px;
  color: var(--svarog-gold);
  margin-bottom: 10px;
}

.why__points h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.why__points p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6b665d;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 8px 0 36px;
}

.filters button {
  background: none;
  border: 0;
  padding: 0 0 6px;
  color: #6b665d;
  font-size: 14px;
  cursor: pointer;
}

.filters button.is-active {
  color: var(--svarog-gold);
  box-shadow: inset 0 -1px 0 var(--svarog-gold);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(210px, 20vh);
  grid-auto-flow: dense;
  gap: 14px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  isolation: isolate;
}

.portfolio-card[data-span="hero"] {
  grid-column: span 8;
  grid-row: span 2;
}

.portfolio-card[data-span="tall"] {
  grid-column: span 4;
  grid-row: span 2;
}

.portfolio-card[data-span="wide"] {
  grid-column: span 8;
  grid-row: span 2;
}

.portfolio-card[data-span="half"] {
  grid-column: span 6;
  grid-row: span 2;
}

.portfolio-card[data-span="mid"] {
  grid-column: span 4;
  grid-row: span 2;
}

.portfolio-card[data-span="sm"] {
  grid-column: span 4;
  grid-row: span 2;
}

.portfolio-card[data-span="banner"] {
  grid-column: span 12;
  grid-row: span 1;
  min-height: 260px;
}

.portfolio-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
  z-index: 0;
  transition: inset 0.6s ease;
}

.portfolio-card:hover::after {
  inset: 22% 0 0;
}

.portfolio-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover img {
  transform: scale(1.14);
}

.portfolio-card__info {
  position: absolute;
  left: 20px;
  right: 72px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
}

.portfolio-card__info h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 28px);
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
}

.portfolio-card__info p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.portfolio-card__go {
  display: grid;
  place-items: center;
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  width: 42px;
  height: 42px;
  background: var(--svarog-gold);
  color: #1a140c;
  transform: translateY(8px);
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-card__go {
  transform: none;
  opacity: 1;
}

.portfolio-card.is-hidden {
  display: none;
}

.btn--outline {
  color: #161616;
  background: transparent;
  border: 1px solid var(--svarog-gold);
  min-height: 48px;
  padding: 0 28px;
}

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-top: 8px;
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 54px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, var(--svarog-gold), rgba(185, 138, 82, 0.15));
}

.steps__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--svarog-gold);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b665d;
}

.reviews {
  background: #f7f4ee;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.reviews blockquote {
  margin: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.06);
}

.reviews blockquote p {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.45;
  color: #2a2a2a;
}

.reviews footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviews footer img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.reviews strong {
  display: block;
  font-size: 14px;
}

.reviews span {
  font-size: 12px;
  color: #6b665d;
}

.quote {
  background: #efeae0;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  margin-top: 36px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b665d;
}

.quote-form input:not([type="checkbox"]),
.quote-form select {
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid rgba(185, 138, 82, 0.45);
  background: #fff;
  color: #161616;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

.quote-form .btn {
  min-height: 52px;
}

.quote-form__check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

.quote-form__check input {
  width: 14px;
  height: 14px;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--svarog-gold);
  cursor: pointer;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.42fr;
  gap: 28px;
  align-items: stretch;
}

.about__grid > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about__text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4741;
}

.faq {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.faq details {
  background: #fff;
  border: 1px solid rgba(22, 22, 22, 0.08);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  position: relative;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--svarog-gold);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  color: #6b665d;
}

.process-shots__title {
  margin: 48px 0 16px;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #161616;
}

.process-shots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.process-shots__item {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
}

.process-shots__item--wide {
  aspect-ratio: 1.05;
}

.process-shots__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  background: #1a1814;
  color: rgba(248, 245, 239, 0.86);
  padding: 56px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.5fr;
  gap: 32px;
  padding-bottom: 36px;
}

.svarog-brand--footer .svarog-brand__name {
  font-size: 26px;
  color: #f7f3ec;
}

.svarog-brand--footer .svarog-brand__caption {
  color: rgba(248, 245, 239, 0.55);
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--svarog-gold);
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(248, 245, 239, 0.78);
}

.footer a:hover {
  color: #fff;
}

.footer__contacts p {
  line-height: 1.5;
}

.footer__contacts br {
  display: none;
}

@media (min-width: 901px) {
  .footer__contacts br {
    display: inline;
  }
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 245, 239, 0.1);
  font-size: 12px;
  color: rgba(248, 245, 239, 0.45);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__legal a {
  display: inline;
  margin: 0;
}

.footer__legal a:hover,
.modal__note a,
.quote-form__check a {
  color: var(--svarog-gold);
}

.modal__note a,
.quote-form__check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1100px) {
  .strip__grid,
  .services,
  .why__grid,
  .steps,
  .reviews__grid,
  .quote-form,
  .about__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, 24vw);
  }

  .portfolio-card[data-span="hero"],
  .portfolio-card[data-span="wide"],
  .portfolio-card[data-span="banner"] {
    grid-column: span 6;
  }

  .portfolio-card[data-span="tall"],
  .portfolio-card[data-span="half"],
  .portfolio-card[data-span="mid"],
  .portfolio-card[data-span="sm"] {
    grid-column: span 3;
  }

  .why__photo,
  .about__grid > img {
    height: 420px;
    min-height: 0;
  }

  .about__detail {
    display: none;
  }

  .quote-form .btn,
  .quote-form__check {
    grid-column: 1 / -1;
  }

  .steps li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 56px 0;
  }

  .strip__grid,
  .services,
  .why__grid,
  .steps,
  .reviews__grid,
  .quote-form,
  .about__grid,
  .footer__grid,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .why__photo {
    height: 320px;
  }

  .portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    grid-auto-flow: dense;
    gap: 8px;
    align-items: start;
  }

  .portfolio-card,
  .portfolio-card[data-span] {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    width: 100%;
  }

  .portfolio-card:nth-child(4n + 1) {
    aspect-ratio: 3 / 4.2;
  }

  .portfolio-card:nth-child(4n + 2) {
    aspect-ratio: 1 / 1;
    margin-top: 36px;
  }

  .portfolio-card:nth-child(4n + 3) {
    aspect-ratio: 4 / 5.1;
  }

  .portfolio-card:nth-child(4n + 4) {
    aspect-ratio: 3 / 4.5;
    margin-top: 16px;
  }

  .portfolio-card[data-span="banner"] {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    margin-top: 0;
    min-height: 168px;
  }

  .portfolio-card__info {
    left: 10px;
    right: 40px;
    bottom: 10px;
  }

  .portfolio-card__info h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .portfolio-card__info p {
    font-size: 11px;
  }

  .portfolio-card__go {
    width: 30px;
    height: 30px;
    right: 8px;
    bottom: 8px;
    font-size: 13px;
  }

  .wrap,
  .wrap--portfolio {
    width: min(1180px, calc(100% - 32px));
  }

  .process-shots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3px;
  }
}

.hero-heading,
.hero__actions,
.calc,
.features {
  animation: hero-rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__actions {
  animation-delay: 0.18s;
}

.calc {
  animation-delay: 0.32s;
}

.features {
  animation-delay: 0.48s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

html.reveal-on .section__title,
html.reveal-on [data-reveal],
html.reveal-on .section__lead,
html.reveal-on .filters,
html.reveal-on .why__photo,
html.reveal-on .why__points article,
html.reveal-on .steps li,
html.reveal-on .reviews__grid blockquote,
html.reveal-on .quote-form,
html.reveal-on .about__grid > *,
html.reveal-on .faq details,
html.reveal-on .process-shots__item,
html.reveal-on .footer__grid > * {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.reveal-on .portfolio-card {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.reveal-on .why__photo {
  transform: translateX(-48px);
}

html.reveal-on .why__points article:nth-child(even) {
  transform: translateX(28px);
}

.is-inview {
  opacity: 1 !important;
  transform: none !important;
}

.service-card:nth-child(1),
.portfolio-card:nth-child(1),
.steps li:nth-child(1),
.why__points article:nth-child(1) { --reveal-delay: 0ms; }
.service-card:nth-child(2),
.portfolio-card:nth-child(2),
.steps li:nth-child(2),
.why__points article:nth-child(2) { --reveal-delay: 80ms; }
.service-card:nth-child(3),
.portfolio-card:nth-child(3),
.steps li:nth-child(3),
.why__points article:nth-child(3) { --reveal-delay: 160ms; }
.service-card:nth-child(4),
.portfolio-card:nth-child(4),
.steps li:nth-child(4),
.why__points article:nth-child(4) { --reveal-delay: 240ms; }
.portfolio-card:nth-child(5),
.steps li:nth-child(5),
.reviews__grid blockquote:nth-child(1) { --reveal-delay: 80ms; }
.portfolio-card:nth-child(6),
.reviews__grid blockquote:nth-child(2) { --reveal-delay: 160ms; }
.portfolio-card:nth-child(7),
.reviews__grid blockquote:nth-child(3) { --reveal-delay: 240ms; }
.portfolio-card:nth-child(8) { --reveal-delay: 40ms; }
.portfolio-card:nth-child(9) { --reveal-delay: 120ms; }
.portfolio-card:nth-child(10) { --reveal-delay: 80ms; }
.portfolio-card:nth-child(11) { --reveal-delay: 160ms; }
.portfolio-card:nth-child(12) { --reveal-delay: 240ms; }
.portfolio-card:nth-child(13) { --reveal-delay: 80ms; }

@media (prefers-reduced-motion: reduce) {
  .hero-heading,
  .hero__actions,
  .calc,
  .features,
  [data-reveal],
  .section__lead,
  .filters,
  .why__photo,
  .why__points article,
  .steps li,
  .reviews__grid blockquote,
  .quote-form,
  .about__grid > *,
  .footer__grid > *,
  .portfolio-card,
  .section__title::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-card img {
    transition: none;
  }
}

.legal-page {
  background: #f3efe6;
  color: #1c1b19;
}

.legal-bar {
  background: #111;
  color: #f8f5ef;
  padding: 16px 0;
  border-bottom: 1px solid rgba(185, 138, 82, 0.35);
}

.legal-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-bar .svarog-brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.legal-bar .svarog-brand__compass {
  width: 28px;
  height: 28px;
  margin: 0;
}

.legal-bar .svarog-brand__name {
  font-size: 22px;
  letter-spacing: 0.18em;
}

.legal-bar .svarog-brand__caption {
  display: none;
}

.legal-bar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 22px;
  font-size: 13px;
}

.legal-bar__nav a {
  color: rgba(248, 245, 239, 0.78);
}

.legal-bar__nav a:hover,
.legal-bar__nav a.is-active {
  color: var(--svarog-gold);
}

.legal-doc {
  max-width: 820px;
  padding: 64px 0 120px;
}

.legal-doc__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--svarog-gold);
}

.legal-doc h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.legal-doc__updated {
  margin: 0 0 28px;
  font-size: 13px;
  color: #6b665d;
}

.legal-doc h2 {
  margin: 36px 0 12px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
}

.legal-doc h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.legal-doc p,
.legal-doc li {
  font-size: 15px;
  line-height: 1.7;
  color: #3f3c37;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-doc a {
  color: var(--svarog-gold);
}

.legal-table {
  width: 100%;
  margin: 8px 0 20px;
  border-collapse: collapse;
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 14px 16px;
  border: 1px solid rgba(22, 22, 22, 0.08);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.legal-table th {
  width: 34%;
  font-weight: 600;
  color: #1c1b19;
  background: #ebe6db;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  background: rgba(16, 14, 11, 0.97);
  border-top: 1px solid rgba(185, 138, 82, 0.4);
  color: #f8f5ef;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.35);
}

html.consent-ok .cookie-banner {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cookie-banner__text {
  margin: 0;
  max-width: 820px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(248, 245, 239, 0.78);
}

.cookie-banner a {
  color: var(--svarog-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner .btn {
  flex-shrink: 0;
}

body.has-cookie-banner {
  padding-bottom: 140px;
}

@media (max-width: 700px) {
  .legal-bar__inner,
  .cookie-banner__inner,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-bar__nav {
    justify-content: flex-start;
  }

  .legal-doc {
    padding: 40px 0 96px;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .cookie-banner .btn {
    width: 100%;
  }
}
