@font-face {
  font-family: "ZapfHumnst BT";
  src: url("/fonts/ZapfHumnstBT-Roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ZapfHumnst BT";
  src: url("/fonts/ZapfHumnstBT-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f3ebe9;
  --cream-alt: #ede0df;
  --sand: #dfcdcd;
  --surface: #fbf7f5;
  --ink: #4a3035;
  --ink-strong: #241b1d;
  --ink-secondary: #5d5053;
  --muted: #76686b;
  --faint: #a99b9d;
  --champagne: #9f737a;
  --champagne-soft: #d8bec2;
  --champagne-deep: #74424d;
  --border: #dfd0d1;
  --border-strong: #cdb9bc;
  --on-ink: #fff8f6;
  --on-ink-secondary: rgba(255, 248, 246, .76);
  --shadow-sm: 0 7px 18px rgba(74, 48, 53, .055);
  --shadow-md: 0 16px 34px rgba(74, 48, 53, .09);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --font-display: "ZapfHumnst BT", Georgia, serif;
  --font-body: Formular, Manrope, -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--champagne-soft);
  color: var(--ink-strong);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.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;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink-strong);
  text-decoration: none;
}

.brand--logo {
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.brand--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 500;
}

.links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: color 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}

.links a:hover,
.links a:focus-visible {
  color: var(--ink-strong);
  border-color: var(--border-strong);
  background: var(--surface);
  outline: 0;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-strong);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.menu-btn > span[aria-hidden] {
  width: 18px;
  height: 2px;
  margin: 2px 0;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.mobile-menu { display: none; }
.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; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 #2d1f22;
  transition: box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  border-color: var(--champagne-deep);
  background: var(--champagne-deep);
  box-shadow: 0 4px 0 #4d2931;
  outline: 0;
}

.btn--small {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.section {
  position: relative;
  padding-block: clamp(78px, 10vh, 128px);
  scroll-margin-top: 96px;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section--sand {
  background: var(--cream-alt);
}

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}

.label {
  display: inline-flex;
  margin: 0;
  color: var(--champagne-deep);
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.08;
}

h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 500;
  line-height: 1.35;
}

.lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--ink-secondary);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
}

.hero {
  overflow: hidden;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: 0;
  background: #21171a;
}

.hero-layout {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  padding-block: clamp(56px, 8vh, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / 11;
  display: grid;
  align-content: start;
  gap: 18px;
}

.hero h1 {
  max-width: 900px;
  color: var(--on-ink);
  font-size: clamp(48px, 5.25vw, 70px);
}

.hero-context {
  margin: 0;
  color: #e3c9ce;
  font-size: 14px;
  font-weight: 700;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.hero-facts li {
  position: relative;
  padding-left: 14px;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e3c9ce;
}

.hero-action-note {
  margin: -4px 0 0;
  color: var(--on-ink-secondary);
  font-size: 13px;
}

.hero-copy .lead {
  max-width: 660px;
  margin-top: 0;
  color: var(--on-ink-secondary);
}

.hero-actions {
  margin-top: 8px;
}

.cover {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.cover-main {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #21171a;
  box-shadow: none;
}

.cover-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(25, 16, 19, .93) 0%, rgba(25, 16, 19, .76) 48%, rgba(25, 16, 19, .24) 100%);
  pointer-events: none;
}

.cover-main img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.cover-meta {
  display: none;
}

.cover-meta > img,
.geo-card {
  min-height: 176px;
  border: 1px solid var(--border);
  border-radius: 20px 4px 20px 4px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cover-meta > img {
  width: 100%;
  height: 176px;
  object-fit: cover;
}

.geo-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
}

.geo-card span {
  color: var(--champagne-deep);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.geo-card strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.02;
}

.geo-card .amount,
.hero-income .amount {
  white-space: nowrap;
}

.geo-card .period,
.hero-income .period {
  color: var(--ink-secondary);
  font-family: var(--font-body);
  font-size: .42em;
  letter-spacing: 0;
  text-transform: none;
}

.hero-income {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 10px 14px 11px;
  border: 1px solid rgba(255, 248, 246, .18);
  border-left: 3px solid #d3afb6;
  border-radius: 12px;
  background: rgba(27, 18, 21, .62);
}

.hero-income > span {
  color: #e3c9ce;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-income strong { display: inline-flex; gap: 6px; font-size: clamp(24px, 2.4vw, 34px); }

.hero-income strong,
.hero-income .period {
  color: var(--on-ink);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head--calc {
  margin-inline: 0;
  text-align: left;
}

.calc {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.calc-copy,
.calc-panel,
.feature,
.form,
.contact-copy {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
}

.calc-copy {
  display: grid;
  align-content: end;
  gap: 20px;
  min-height: 420px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border-color: rgba(255, 248, 246, .18);
  background:
    linear-gradient(180deg, rgba(32, 22, 25, .12), rgba(32, 22, 25, .86)),
    url("/assets/yes-studio-interior-side.webp") center / cover;
}

.calc-lead {
  margin: 0;
  max-width: 520px;
  color: var(--on-ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 2.85vw, 42px);
  line-height: 1.08;
}

.calc-note {
  max-width: 470px;
  margin: 0;
  color: var(--on-ink-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.calc-panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
}

.calc-panel-title,
.calc-result > span {
  color: var(--champagne-deep);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.calc-panel-title {
  margin-bottom: 24px;
}

.calc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 30px;
  align-items: center;
}

.calc-params {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.calc-group {
  min-width: 0;
}

.calc-group strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 500;
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-tab {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}

.calc-tab:hover,
.calc-tab:focus-visible {
  border-color: var(--champagne);
  color: var(--ink-strong);
  outline: 0;
}

.calc-tab.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.calc-tabs--wide .calc-tab {
  min-width: 104px;
}

.calc-ring {
  position: relative;
  width: 132px;
  height: 132px;
}

.calc-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.calc-ring-bg,
.calc-ring-fill {
  fill: none;
  stroke-width: 4;
}

.calc-ring-bg {
  stroke: rgba(104, 92, 84, .14);
}

.calc-ring-fill {
  stroke: var(--champagne);
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 166.253;
  transition: stroke-dashoffset 260ms var(--ease);
}

.calc-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 28px;
}

.calc-result {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.calc-result--primary { margin-top: 0; padding-top: 0; border-top: 0; }
.calc-result--primary + .calc-body { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }

.calc-result b {
  display: block;
  min-width: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(39px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  font-variant-numeric: tabular-nums;
}

.calc-result .nowrap {
  white-space: nowrap;
}

.calc-result p {
  margin: 0 0 8px;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.calc-result p span {
  color: var(--ink-strong);
  font-weight: 600;
}

.calc-result .btn {
  justify-self: start;
}

.calc-result small {
  display: block;
  max-width: 520px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.features-head {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 24px;
  counter-reset: feature;
}

.feature {
  counter-increment: feature;
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border: 0;
  border-top: 2px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature span {
  display: block;
  color: var(--champagne-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.feature span::before {
  content: counter(feature, decimal-leading-zero);
}

.start-section {
  overflow: hidden;
  background: #2c1e22;
  color: var(--on-ink);
}

.start-section::before {
  content: "ROSTOV";
  position: absolute;
  right: -2vw;
  bottom: -0.28em;
  color: rgba(255, 248, 246, .035);
  font-family: var(--font-display);
  font-size: clamp(130px, 23vw, 340px);
  line-height: 1;
  pointer-events: none;
}

.start-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.start-intro p {
  margin: 0 0 18px;
  color: var(--champagne-soft);
  font-size: 14px;
  font-weight: 700;
}

.start-intro h2 {
  color: var(--on-ink);
}

.start-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: start-step;
}

.start-steps li {
  counter-increment: start-step;
  display: grid;
  grid-template-columns: 46px minmax(0, .7fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 248, 246, .16);
}

.start-steps li:first-child {
  padding-top: 4px;
}

.start-steps li::before {
  content: "0" counter(start-step);
  color: var(--champagne-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.start-steps strong {
  color: var(--on-ink);
  font-size: 17px;
}

.start-steps span {
  color: var(--on-ink-secondary);
  font-size: 14px;
}

.studio-video-lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--ink-secondary);
}

.section--ink h2,
.section--ink h3 {
  color: var(--on-ink);
}

.section--ink .lead {
  color: var(--on-ink-secondary);
}

.section--ink .label {
  color: var(--champagne-soft);
}

.faq {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

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

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

details {
  border: 1px solid rgba(251, 248, 244, .14);
  border-radius: var(--radius-md);
  background: rgba(251, 248, 244, .045);
  overflow: hidden;
}

summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  color: var(--on-ink);
  cursor: pointer;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
}

details p {
  max-width: 860px;
  margin: 0;
  padding: 0 24px 24px;
  color: var(--on-ink-secondary);
  font-size: 15px;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(390px, .9fr);
  gap: 22px;
  align-items: stretch;
}

.application-panel {
  max-width: 1160px;
}

.contact-copy {
  display: grid;
  gap: 16px;
  padding: clamp(26px, 4vw, 44px);
}

.application-copy {
  align-content: start;
}

.contact-copy h2 {
  margin-top: 2px;
}

.contact-note {
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 600;
}

.contact-copy p {
  margin: 0;
}

.contact-copy a {
  color: var(--ink-strong);
  font-weight: 600;
  text-decoration-color: var(--champagne-soft);
  text-underline-offset: 3px;
}

.contact-copy img {
  width: 100%;
  max-height: 260px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.application-points {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-strong);
  font-weight: 600;
}

.application-points li {
  position: relative;
  padding-left: 24px;
}

.application-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--champagne);
}

.referral-note {
  margin-top: 4px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--champagne) 42%, var(--border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--champagne-soft) 46%, var(--surface));
  color: var(--ink-strong);
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.28;
}

.form {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
}

.form h3 {
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.form p {
  margin: 0 0 10px;
  color: var(--ink-secondary);
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  background: var(--cream);
  color: var(--ink-strong);
  font: inherit;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.choice-group legend {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 600;
}

.field small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.choice-group {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.form-choice {
  min-width: 0;
}

.form-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.form-choice span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.form-choice input:focus-visible + span {
  outline: 2px solid color-mix(in srgb, var(--champagne) 28%, transparent);
  outline-offset: 2px;
}

.form-choice.is-selected span,
.form-choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow-sm);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--champagne);
  outline: 2px solid color-mix(in srgb, var(--champagne) 24%, transparent);
  outline-offset: 2px;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

.status {
  min-height: 22px;
  color: var(--champagne-deep);
  font-size: 14px;
  font-weight: 500;
}

.form-note {
  margin: -4px 0 0 !important;
  color: var(--muted) !important;
  font-size: 12px;
  line-height: 1.45;
}

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

.mobile-apply-bar[hidden],
.menu-open .mobile-apply-bar {
  display: none !important;
}

.anchor-target {
  position: absolute;
  top: -94px;
  display: block;
  width: 1px;
  height: 1px;
  scroll-margin-top: 96px;
}

#showform {
  scroll-margin-top: 96px;
}

.site-footer {
  padding: clamp(42px, 6vw, 72px) 0 34px;
  background: #12100f;
  color: rgba(251, 248, 244, .64);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .85fr) minmax(220px, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand .brand--logo {
  width: 58px;
  height: 58px;
  border-color: rgba(251, 248, 244, .16);
  background: rgba(251, 248, 244, .08);
}

.footer-brand p {
  max-width: 240px;
  color: rgba(251, 248, 244, .78);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.12;
}

.footer-links,
.footer-contacts {
  display: grid;
  gap: 10px;
}

.footer-links::before,
.footer-contacts::before {
  margin-bottom: 6px;
  color: rgba(251, 248, 244, .44);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-links::before {
  content: "Разделы";
}

.footer-contacts::before {
  content: "Связь";
}

.footer-links a,
.footer-contacts a {
  color: rgba(251, 248, 244, .78);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--on-ink);
  outline: 0;
}

.footer-contacts span {
  color: rgba(251, 248, 244, .52);
}

.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(251, 248, 244, .14); }
.footer-bottom p { margin: 0; color: rgba(251, 248, 244, .52); font-size: 12px; }

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto 1fr;
  }

  .menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-self: end;
  }

  .links { display: none; }
  .menu-open .menu-btn > span[aria-hidden]:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn > span[aria-hidden]:nth-of-type(2) { opacity: 0; }
  .menu-open .menu-btn > span[aria-hidden]:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu:not([hidden]) { position: fixed; z-index: 100; inset: 0; display: block; padding: 12px; background: rgba(35, 31, 28, .42); overflow-y: auto; }
  .mobile-menu__panel { position: relative; display: grid; align-content: start; min-height: calc(100svh - 24px); padding: 82px 28px 28px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-md); }
  .mobile-menu__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 50%; background: transparent; color: var(--ink-strong); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
  .mobile-menu__nav { display: grid; border-top: 1px solid var(--border); }
  .mobile-menu__nav a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--border); color: var(--ink-strong); font-size: 16px; font-weight: 600; text-decoration: none; }
  .mobile-menu__cta { width: 100%; margin-top: 28px; }
  .mobile-menu__contacts { display: grid; gap: 8px; margin-top: 28px; color: var(--ink-secondary); font-size: 14px; }
  .mobile-menu__contacts a { color: var(--ink-strong); font-weight: 600; text-decoration: none; }
  .mobile-menu__contacts a:first-child { font-size: 19px; }

  .calc,
  .features,
  .faq,
  .contact,
  .start-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    grid-column: 1 / 11;
  }

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

  .features-head {
    position: static;
    max-width: 720px;
  }

  .contact {
    gap: 18px;
  }

  .application-panel {
    max-width: var(--wrap);
  }
}

@media (max-width: 720px) {
  .wrap {
    padding-inline: 18px;
  }

  .section {
    padding-block: 60px;
  }

  .nav {
    min-height: 66px;
  }

  .brand--logo {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: clamp(36px, 10.8vw, 52px);
  }

  h2 {
    font-size: clamp(29px, 8.8vw, 40px);
  }

  .hero-copy {
    gap: 16px;
  }

  .hero,
  .hero-layout {
    min-height: calc(100svh - 66px);
  }

  .hero {
    padding-block: 0;
  }

  .hero-layout {
    padding-block: 42px 94px;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: clamp(36px, 10.8vw, 52px);
  }

  .hero-context {
    font-size: 13px;
  }

  .hero .hero-actions,
  .hero .hero-action-note,
  .hero .hero-facts,
  .hero .hero-income {
    display: none;
  }

  .cover-main::after {
    background: linear-gradient(180deg, rgba(25, 16, 19, .76) 0%, rgba(25, 16, 19, .9) 72%, rgba(25, 16, 19, .97) 100%);
  }

  .cover-main img { min-height: 100%; height: 100%; object-position: 58% center; }

  .cover-meta { display: none; }
  .hero-income { gap: 5px 9px; margin-top: 2px; padding: 10px 12px 11px; }
  .hero-income > span { font-size: 9px; letter-spacing: .1em; }
  .hero-income strong { font-size: clamp(22px, 7.2vw, 29px); }

  .calc-copy { min-height: 300px; gap: 14px; padding: 24px; border-radius: 20px 4px 20px 4px; box-shadow: none; }
  .calc-lead { font-size: clamp(23px, 7vw, 28px); line-height: 1.12; }
  .calc-note { font-size: 14px; line-height: 1.5; }
  .calc-panel { padding: 20px; }
  .calc-panel-title { margin-bottom: 16px; }

  .calc-body {
    grid-template-columns: 1fr;
  }

  .calc-ring { display: none; }

  .calc-result { gap: 10px; }
  .calc-result--primary + .calc-body { margin-top: 20px; padding-top: 20px; }
  .calc-result b { font-size: clamp(42px, 11vw, 52px); }

  .calc-result .nowrap { white-space: nowrap; }

  .calc-params { gap: 16px; }
  .calc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .calc-group:nth-child(2) .calc-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .calc-tabs--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .calc-tab, .calc-tabs--wide .calc-tab { min-width: 0; min-height: 44px; padding-inline: 5px; font-size: 13px; }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 17px 0 19px;
  }

  .feature > div { align-self: baseline; }

  .start-section::before { right: -8vw; font-size: 44vw; }
  .start-layout { gap: 34px; }
  .start-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px 14px;
    padding: 20px 0;
  }
  .start-steps li::before { grid-row: 1 / span 2; }
  .start-steps span { grid-column: 2; }

  .faq {
    gap: 26px;
  }

  summary {
    min-height: 62px;
    padding: 18px 20px;
    font-size: 16px;
  }

  details p {
    padding: 0 20px 20px;
  }

  .btn {
    width: 100%;
  }

  .contact-copy,
  .form {
    padding: 24px;
  }

  .contact-note {
    font-size: 16px;
  }

  .contact-copy img {
    max-height: 220px;
  }

  .referral-note {
    padding: 16px;
    font-size: 17px;
  }

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

  .form-choice span {
    min-height: 46px;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand p {
    max-width: none;
    font-size: 22px;
  }

  .footer-links,
  .footer-contacts {
    gap: 12px;
  }

  .footer-links a,
  .footer-contacts a { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom { margin-top: 30px; }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .mobile-apply-bar {
    position: fixed;
    z-index: 70;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 66px;
    padding: 8px 8px 8px 16px;
    border: 1px solid rgba(255, 248, 246, .14);
    border-radius: 18px 4px 18px 4px;
    background: rgba(44, 30, 34, .96);
    color: var(--on-ink);
    box-shadow: 0 8px 20px rgba(36, 27, 29, .18);
  }

  .mobile-apply-bar > span {
    min-width: 0;
    display: grid;
    line-height: 1.1;
  }

  .mobile-apply-bar strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
  }

  .mobile-apply-bar small {
    margin-top: 3px;
    color: var(--on-ink-secondary);
    font-size: 10px;
  }

  .mobile-apply-bar .btn {
    width: auto;
    min-height: 48px;
    padding: 11px 16px;
    border-color: var(--on-ink);
    background: var(--on-ink);
    color: #2c1e22;
    box-shadow: none;
    font-size: 12px;
    letter-spacing: 0;
  }

  .mobile-apply-bar .btn:hover,
  .mobile-apply-bar .btn:focus-visible {
    border-color: var(--champagne-soft);
    background: var(--champagne-soft);
    color: #2c1e22;
    box-shadow: none;
  }
}


/* Shared studio video format: 16:9 preview + contained modal playback. */
.studio-video {
  width: 100%;
  max-width: 1180px;
  margin: 32px auto 48px;
}
.studio-video__preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #111;
  box-shadow: 0 24px 70px rgba(30, 28, 26, .18);
  cursor: pointer;
}
.studio-video__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 28, 26, .02), rgba(30, 28, 26, .34));
}
.studio-video__preview > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}
.studio-video__preview:hover > img { transform: scale(1.025); }
.studio-video__preview:focus-visible { outline: 3px solid var(--accent, #8b1f31); outline-offset: 4px; }
.studio-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(245, 240, 235, .72);
  border-radius: 50%;
  background: rgba(139, 31, 49, .92);
  color: #f5f0eb;
  transform: translate(-50%, -50%);
}
.studio-video__play span {
  position: absolute;
  left: 29px;
  top: 23px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid currentColor;
}
body.video-modal-open { overflow: hidden; }
.studio-video-modal[hidden] { display: none; }
.studio-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(17, 15, 14, .9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.studio-video-modal__panel {
  position: relative;
  width: min(100%, 1180px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(245, 240, 235, .14);
  border-radius: 22px;
  background: #1a1817;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .55);
}
.studio-video-modal__heading { padding-right: 64px; margin-bottom: 18px; }
.studio-video-modal__heading > span { color: #c67b87; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.studio-video-modal__heading h2 { margin: 8px 0 0; color: #f5f0eb; font-size: clamp(28px, 4vw, 48px); font-weight: 400; line-height: 1.05; }
.studio-video-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 240, 235, .2);
  border-radius: 50%;
  background: rgba(245, 240, 235, .06);
  color: #f5f0eb;
  font-family: inherit;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.studio-video-modal__close:hover,
.studio-video-modal__close:focus-visible { border-color: rgba(245, 240, 235, .52); background: rgba(245, 240, 235, .12); outline: none; }
.studio-video-modal video {
  width: 100%;
  max-height: calc(100dvh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: block;
  border-radius: 14px;
  background: #000;
  object-fit: contain;
}
@media (max-width: 640px) {
  .studio-video { margin: 24px auto 32px; }
  .studio-video__preview { border-radius: 16px; }
  .studio-video__play { width: 60px; height: 60px; }
  .studio-video__play span { left: 24px; top: 19px; border-top-width: 11px; border-bottom-width: 11px; border-left-width: 18px; }
  .studio-video-modal { padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); }
  .studio-video-modal__panel { padding: 16px; border-radius: 18px; }
  .studio-video-modal__heading { padding-right: 48px; margin-bottom: 14px; }
  .studio-video-modal__heading h2 { font-size: 27px; }
  .studio-video-modal__close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .studio-video-modal video { max-height: calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius: 10px; }
}
