:root {
  --bg: #f6f2ec;
  --paper: #fffdf9;
  --paper-strong: #ffffff;
  --paper-soft: #ede6db;
  --ink: #161a18;
  --muted: #626762;
  --muted-dark: #aeb4ae;
  --line: #d9d1c6;
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #922936;
  --accent-dark: #6c1d27;
  --accent-soft: #f1dfe0;
  --gold: #c29a63;
  --night: #111715;
  --night-2: #1a211f;
  --shadow: 0 28px 70px rgba(25, 18, 12, 0.14);
  --shadow-soft: 0 18px 48px rgba(25, 18, 12, 0.08);
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --content: min(100% - 48px, 1240px);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(139, 38, 50, 0.04), transparent 30%, transparent 72%, rgba(182, 141, 88, 0.06)),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(21, 24, 23, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 23, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea,
summary {
  font: inherit;
}

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(139, 38, 50, 0.32);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(250px, 0.95fr) minmax(460px, auto) minmax(230px, 0.8fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.9);
  background: rgba(17, 23, 21, 0.88);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(22px) saturate(125%);
  transition: min-height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(17, 23, 21, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 13px;
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(139, 38, 50, 0.24);
}

.brand__text {
  display: grid;
  min-width: 0;
  gap: 2px;
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.1;
}

.brand__text small {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 30px 0;
}

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

.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

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

.header-contact {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.header-phone {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
}

.header-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-sm);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  color: #fffaf4;
  font-size: clamp(4.5rem, 5.4vw, 5.65rem);
  line-height: 0.94;
  overflow-wrap: break-word;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: #efe1cf;
}

h2 {
  margin-bottom: 0;
  font-size: 3.55rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.98fr) minmax(330px, 0.62fr);
  width: var(--content);
  min-height: min(780px, calc(100svh - 78px));
  margin: 0 auto;
  align-items: center;
  gap: 70px;
  padding: 76px 0 92px;
  isolation: isolate;
  overflow: visible;
}

.hero::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 23, 21, 0.99), rgba(17, 23, 21, 0.94) 44%, rgba(25, 32, 31, 0.78) 62%, rgba(122, 28, 40, 0.64)),
    radial-gradient(circle at 82% 24%, rgba(182, 141, 88, 0.22), transparent 32%),
    var(--night);
}

.hero__content::before {
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 24px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero::after {
  position: absolute;
  right: calc(50% - 50vw);
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
}

.hero__content {
  max-width: 760px;
}

.hero__lead,
.section__heading p,
.registry-band__intro p {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__lead {
  color: var(--gold);
}

.hero__text {
  max-width: 620px;
  margin-bottom: 34px;
  color: rgba(255, 250, 244, 0.76);
  font-size: 1.18rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px transparent;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

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

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

.button--primary {
  color: var(--paper);
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(146, 41, 54, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button--secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.34);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  color: #ffffff;
  border-color: var(--gold);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 670px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.hero-proof span {
  display: grid;
  gap: 3px;
  padding: 17px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-proof span:last-child {
  border-right: 0;
}

.hero-proof strong {
  color: #fffaf4;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.2;
}

.hero-proof small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 520px);
  max-height: 690px;
  aspect-ratio: 2 / 3;
  margin: 0;
}

.hero__media::before {
  position: absolute;
  inset: 4% -12% 7% 4%;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 54% 28%, rgba(255, 245, 228, 0.18), transparent 34%),
    radial-gradient(ellipse at 54% 74%, rgba(0, 0, 0, 0.42), transparent 66%);
}

.hero__media::after {
  position: absolute;
  right: 3%;
  bottom: 2%;
  left: 18%;
  z-index: -1;
  height: 16%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4), transparent 68%);
  filter: blur(2px);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 38px rgba(0, 0, 0, 0.38));
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease;
}

.hero:hover .hero__media img {
  transform: translateY(-5px);
  filter: drop-shadow(0 42px 46px rgba(0, 0, 0, 0.42));
}

.registry-band {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 44px;
  width: var(--content);
  margin: -50px auto 0;
  padding: 38px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(217, 209, 198, 0.9);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.registry-band__intro p {
  display: flex;
  align-items: center;
  gap: 9px;
}

.registry-band__intro p span {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(146, 41, 54, 0.1);
}

.registry-band__intro h2 {
  max-width: 420px;
  font-size: 2.05rem;
  line-height: 1.08;
}

.registry-band__intro small {
  display: block;
  max-width: 320px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.registry-board {
  display: grid;
  gap: 26px;
}

.registry-board dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.registry-board dl > div {
  min-height: 112px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.registry-board dl > div:nth-child(3n) {
  border-right: 0;
}

.registry-board dl > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.registry-board dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.registry-board dd {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
}

.registry-board a {
  color: var(--accent);
}

.registry-link {
  justify-self: start;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  border: 1px solid rgba(139, 38, 50, 0.42);
  border-radius: var(--radius-sm);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.registry-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.registry-link:hover,
.registry-link:focus-visible {
  color: var(--paper);
  background: var(--accent);
  transform: translateY(-1px);
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 112px 0;
}

.section__heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 54px;
  padding-bottom: 22px;
}

.section__heading::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.section__heading--dark h2 {
  color: #fffaf4;
}

.section__heading--dark p {
  color: var(--gold);
}

.section__heading--dark::after {
  background: var(--gold);
}

.practice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.practice-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 18px;
  min-height: 272px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.76);
  border: 1px solid rgba(217, 209, 198, 0.94);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.practice-row::after {
  position: absolute;
  right: -72px;
  bottom: -88px;
  width: 190px;
  height: 190px;
  content: "";
  background: radial-gradient(circle, rgba(146, 41, 54, 0.08), transparent 68%);
  transition: transform 240ms ease;
}

.practice-row:hover {
  background: var(--paper);
  border-color: rgba(146, 41, 54, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.practice-row:hover::after {
  transform: scale(1.14);
}

.practice-row__number {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.65rem;
}

.practice-row__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(139, 38, 50, 0.28);
}

.practice-row svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-row h3 {
  align-self: center;
  font-size: 1.45rem;
}

.practice-row p {
  grid-column: 2 / -1;
  padding-top: 8px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.practice-row a {
  z-index: 1;
  grid-column: 2 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
}

.practice-row a svg {
  width: 26px;
  height: 26px;
  transition: transform 180ms ease;
}

.practice-row:hover a svg,
.practice-row a:focus-visible svg {
  transform: translateX(4px);
}

.process {
  position: relative;
  overflow: hidden;
  color: rgba(255, 250, 244, 0.78);
  background:
    linear-gradient(90deg, rgba(16, 21, 20, 0.98), rgba(25, 32, 31, 0.95)),
    var(--night);
}

.process::after {
  position: absolute;
  top: -44%;
  right: -10%;
  width: 600px;
  height: 600px;
  content: "";
  background: radial-gradient(circle, rgba(146, 41, 54, 0.18), transparent 68%);
  pointer-events: none;
}

.process__inner {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 100px 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.timeline li {
  position: relative;
  padding: 34px 28px 0 0;
}

.timeline li:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline li + li {
  padding-left: 24px;
}

.timeline li + li::before {
  left: 24px;
}

.timeline li::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
}

.timeline span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 2.1rem;
  line-height: 1;
}

.timeline h3 {
  margin-bottom: 10px;
  color: #fffaf4;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

.prepare {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(420px, 1fr);
  align-items: center;
  gap: 70px;
}

.prepare__copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 32px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0 0 16px 38px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  content: "✓";
  border: 1px solid rgba(139, 38, 50, 0.45);
}

.prepare__media {
  position: relative;
  min-height: 410px;
  aspect-ratio: 1.42;
  margin: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.prepare__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, rgba(16, 21, 20, 0.28), transparent 48%);
  pointer-events: none;
}

.prepare__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.prepare__media:hover img {
  transform: scale(1.025);
}

.faq {
  padding-top: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details[open] {
  background: var(--paper);
  border-color: rgba(146, 41, 54, 0.25);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: 24px 66px 24px 24px;
  color: var(--ink);
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 24px;
  height: 24px;
  color: var(--accent);
  content: "+";
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 21px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 66px 24px 24px;
  color: var(--muted);
}

.contacts {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(440px, 0.82fr);
  gap: 78px;
  border-top: 1px solid var(--line);
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
}

.contact-list > a,
.contact-list > span {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 15px;
}

.contact-list svg {
  width: 27px;
  height: 27px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.contact-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(217, 209, 198, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 56px rgba(24, 18, 14, 0.08);
}

.contact-form__intro {
  display: grid;
  gap: 7px;
  margin-bottom: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-form__intro p {
  margin: 0;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form__intro h3 {
  font-size: 1.65rem;
}

.contact-form__intro span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #cbc2b6;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  background: var(--paper-strong);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 38, 50, 0.12);
}

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 2px;
  font-weight: 400;
}

.consent input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(170px, 0.5fr) minmax(260px, 0.8fr);
  gap: 44px;
  align-items: start;
  padding: 50px max(24px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(90deg, rgba(139, 38, 50, 0.18), transparent 42%),
    var(--night);
  border-top: 1px solid rgba(194, 154, 99, 0.2);
}

.site-footer .brand {
  color: #fff;
}

.brand--footer {
  margin-bottom: 20px;
}

.site-footer p {
  max-width: 410px;
  margin-bottom: 0;
}

.site-footer nav,
.footer-contacts {
  display: grid;
  gap: 9px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.mobile-contact-bar {
  display: none;
}

@media (min-width: 1161px) {
  .site-header.is-scrolled .site-nav a {
    padding: 23px 0;
  }

  .site-header.is-scrolled .site-nav a::after {
    bottom: 17px;
  }
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: minmax(240px, 1fr) auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: start;
    padding-bottom: 16px;
  }

  .site-nav a {
    padding: 8px 0 12px;
  }

  .site-nav a::after {
    bottom: 6px;
  }

  .header-contact {
    grid-column: 2;
    grid-row: 1;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero,
  .prepare,
  .contacts,
  .registry-band {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    min-height: 690px;
    gap: 32px;
  }

  .hero__media {
    justify-self: end;
    width: min(38vw, 410px);
  }

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

  .registry-board dl > div:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .registry-board dl > div:nth-child(2n) {
    border-right: 0;
  }

  .registry-board dl > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .registry-board dl > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .timeline li:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --content: min(100% - 32px, 1240px);
  }

  body {
    padding-bottom: 64px;
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .site-header.is-scrolled {
    min-height: 64px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    font-size: 1.12rem;
  }

  .brand__text {
    font-size: 0.98rem;
  }

  .brand__text small {
    font-size: 0.64rem;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 4px;
  }

  .nav-toggle__line {
    width: 18px;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle__line + .nav-toggle__line {
    margin-top: -14px;
  }

  .site-nav,
  .header-contact {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    padding: 0 0 10px;
  }

  .site-header.is-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line-dark);
  }

  .site-header.is-open .header-contact {
    display: grid;
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }

  .site-header.is-open .header-phone,
  .site-header.is-open .header-action {
    justify-content: center;
    text-align: center;
  }

  .hero {
    display: block;
    min-height: 700px;
    padding: 48px 0 46px;
    overflow: hidden;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(17, 23, 21, 0.99) 0%, rgba(17, 23, 21, 0.96) 56%, rgba(57, 25, 29, 0.9) 100%),
      radial-gradient(circle at 80% 72%, rgba(194, 154, 99, 0.2), transparent 38%),
      var(--night);
  }

  .hero__content {
    position: relative;
    z-index: 2;
  }

  .hero__content::before {
    width: 54px;
    margin-bottom: 18px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 11.2vw, 3.05rem);
    line-height: 0.98;
  }

  h2 {
    font-size: 2.22rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .hero__text {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin-top: 28px;
  }

  .hero-proof span {
    gap: 4px;
    padding: 14px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    text-align: center;
  }

  .hero-proof span:last-child {
    border-right: 0;
  }

  .hero-proof strong {
    font-size: 0.96rem;
  }

  .hero-proof small {
    font-size: 0.56rem;
    line-height: 1.35;
  }

  .hero__media {
    position: absolute;
    right: -76px;
    bottom: -132px;
    z-index: 1;
    width: 280px;
    height: 430px;
    opacity: 0.35;
    pointer-events: none;
  }

  .registry-band {
    margin-top: -18px;
    padding: 26px 18px;
    border-radius: var(--radius-md);
  }

  .registry-board dl {
    grid-template-columns: 1fr;
  }

  .registry-board dl > div {
    min-height: auto;
    padding: 18px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .registry-board dl > div:last-child {
    border-bottom: 0 !important;
  }

  .section,
  .process__inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section__heading {
    margin-bottom: 38px;
  }

  .practice-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .practice-row {
    grid-template-columns: 42px 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px 16px;
    min-height: 0;
    padding: 22px;
  }

  .practice-row__number {
    grid-row: 1;
    font-size: 1.35rem;
  }

  .practice-row__icon {
    display: none;
  }

  .practice-row h3,
  .practice-row p,
  .practice-row a {
    grid-column: 2;
  }

  .practice-row p {
    padding-top: 0;
  }

  .practice-row a {
    justify-content: start;
  }

  .timeline,
  .form-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 0;
    border-top: 0;
  }

  .timeline li {
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line-dark);
  }

  .timeline li + li {
    padding-left: 0;
  }

  .timeline li + li::before {
    left: 0;
  }

  .prepare {
    gap: 34px;
  }

  .prepare__media {
    min-height: 250px;
    aspect-ratio: 1.06;
  }

  .contacts {
    gap: 34px;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-form__intro h3 {
    font-size: 1.45rem;
  }

  .site-footer {
    gap: 28px;
    padding: 42px 16px;
  }

  .mobile-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: 100vw;
    background: var(--night);
    border-top: 1px solid var(--line-dark);
  }

  .mobile-contact-bar a {
    display: grid;
    min-height: 58px;
    place-items: center;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
  }

  .mobile-contact-bar a:first-child {
    background: var(--accent);
  }
}

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