:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #191919;
  --muted: #777777;
  --line: #e8e8e8;
  --accent: #c51f2b;
  --accent-ink: #ffffff;
  --rose: #fff1f2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: .01em;
}
.site-root {
  min-height: 100vh;
  width: 100%;
  background-color: var(--paper);
  color: var(--ink);
  overflow: hidden;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px clamp(22px, 6vw, 90px);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 6vw, 90px);
  gap: 24px;
}
.brand { text-decoration: none; color: inherit; display: inline-flex; flex-direction: column; gap: 5px; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1;
}
.brand-sub { font-size: 9px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
}
nav { display: flex; gap: clamp(22px, 4vw, 48px); }
nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .09em;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
nav a:hover, nav a:focus-visible { border-color: var(--accent); color: var(--accent); }
nav a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.vk-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: lightblue;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.vk-link svg { width: 27px; height: 27px; display: block; }
.vk-link:hover,
.vk-link:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  background: #fff5f6;
  transform: translateY(-1px);
}

.page-head {
  padding: clamp(56px, 8vw, 110px) clamp(22px, 6vw, 90px) clamp(36px, 5vw, 60px);
  background: var(--rose);
  text-align: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.page-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -.03em;
  line-height: 1.06;
  margin: 0 0 18px;
}
.page-head p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.contacts-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contacts-info,
.contacts-form {
  background: var(--surface);
  padding: clamp(36px, 6vw, 76px);
}

.contacts-info h2,
.contacts-form h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -.015em;
  margin: 0 0 20px;
}
.contacts-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 26px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  line-height: 1.5;
}
.info-list .label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.info-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  align-self: flex-start;
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.info-list a:hover { color: var(--accent); border-color: var(--accent); }

.rule { width: 42px; height: 1px; background: var(--accent); margin: 28px 0; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px 14px;
  border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 31, 43, .08);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--accent);
  background: #fff8f8;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: .55;
  font-style: italic;
}

.captcha {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  background: #fafafa;
  border: 1px solid var(--line);
}
.captcha__row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.captcha__question {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.captcha__question strong {
  font-weight: 400;
  color: var(--accent);
  font-size: 22px;
}
.captcha__input {
  width: 90px;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.captcha__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 31, 43, .08);
}
.captcha__refresh {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 8px;
  border-radius: 50%;
  transition: color .2s ease, transform .3s ease, background .2s ease;
}
.captcha__refresh:hover {
  color: var(--accent);
  background: #fff5f6;
  transform: rotate(90deg);
}
.captcha__hint {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.captcha__error {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .03em;
  min-height: 14px;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 30px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: .17em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.cta:hover { opacity: .88; transform: translateY(-1px); }
.cta:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}

.hp { position: absolute; left: -9999px; opacity: 0; }

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 25px clamp(22px, 6vw, 90px);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .09em;
}
footer a { color: inherit; text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .contacts-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topline { font-size: 8px; letter-spacing: .12em; }
  header { align-items: flex-start; flex-direction: column; gap: 20px; }
  .header-right { width: 100%; justify-content: space-between; }
  nav { width: auto; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .captcha__row { gap: 10px; }
  footer { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}