/* Продай за меня — premium residential concierge, Казань */

@font-face {
  font-family: "PZM Display";
  src: url("assets/fonts/playfair-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PZM Display";
  src: url("assets/fonts/playfair-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PZM Display";
  src: url("assets/fonts/playfair-italic-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PZM Display";
  src: url("assets/fonts/playfair-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PZM Sans";
  src: url("assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PZM Sans";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10212b;
  --ink-deep: #0a1a22;
  --teal: #173a3b;
  --cream: #f7f1e7;
  --paper: #fbf8f2;
  --paper-2: #f1eae0;
  --gold: #c89b45;
  --gold-deep: #7d5c1f;
  --gold-light: #d9bc7a;
  --muted: #5d6a70;
  --muted-light: #b9c3c6;
  --line: rgba(16, 33, 43, .14);
  --line-light: rgba(247, 241, 231, .2);
  --display: "PZM Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "PZM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .75, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 60;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- typography ---------- */

h1, h2 {
  font-family: var(--display);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  letter-spacing: -.015em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, min(5.6vw, 8.4vh), 82px); }
h2 { font-size: clamp(30px, min(4vw, 6.4vh), 56px); }

h1 em {
  display: block;
  margin-top: .1em;
  font-style: italic;
  color: var(--gold-light);
}

.label {
  margin-bottom: 20px;
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.label.light { color: var(--gold-light); }

.eyebrow {
  margin-bottom: 26px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.body {
  max-width: 34ch;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 19px);
}
.body.light { color: var(--muted-light); }
.body.wide { max-width: 42ch; }

.light { color: var(--cream); }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 26, 34, .92);
  border-bottom-color: var(--line-light);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
  color: var(--cream);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
}
.brand img { width: 38px; height: 38px; }

.nav { display: flex; gap: 30px; font-size: 14px; }
.nav a { padding: 12px 0; color: rgba(247, 241, 231, .78); transition: color .25s var(--ease); }
.nav a:hover { color: var(--cream); }

.header-cta {
  padding: 12px 22px;
  border: 1px solid rgba(217, 188, 122, .5);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 14px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.burger {
  display: none;
  width: 48px; height: 48px;
  margin-right: -12px;
  padding: 14px 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 32px;
  background: rgba(10, 26, 34, .98);
  backdrop-filter: blur(14px);
  color: var(--cream);
}
.menu.is-open { display: flex; }
.menu a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 18px;
}
.menu .menu-cta {
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  font-weight: 500;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-line { border-color: rgba(247, 241, 231, .38); color: var(--cream); }
.btn-line:hover { border-color: var(--cream); background: rgba(247, 241, 231, .08); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(96px, 13vh, 132px) 0 clamp(52px, 8vh, 78px);
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 20, 27, .94) 0%, rgba(7, 20, 27, .78) 42%, rgba(7, 20, 27, .28) 78%),
    linear-gradient(180deg, rgba(7, 20, 27, .72) 0%, rgba(7, 20, 27, 0) 32%);
}
.hero-inner { position: relative; }

.hero .lead {
  max-width: 38ch;
  margin-top: clamp(18px, 2.8vh, 28px);
  color: rgba(247, 241, 231, .82);
  font-size: clamp(16px, 1.3vw, 19px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3.8vh, 38px);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 56px;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: clamp(18px, 2.6vh, 26px);
  border-top: 1px solid var(--line-light);
}
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.facts span {
  color: rgba(247, 241, 231, .6);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- screens ---------- */

.screen {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(88px, 12vh, 116px) 0;
  overflow: hidden;
}

.screen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screen-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(7, 20, 27, .93) 0%, rgba(7, 20, 27, .74) 48%, rgba(7, 20, 27, .3) 100%);
}
.screen > .shell { position: relative; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
}
.split.reverse .split-text { order: 2; }

.split-text .body { margin-top: 26px; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 220px);
  object-fit: cover;
  border-radius: 2px;
}

.situation { background: var(--paper); }
.control { background: var(--paper-2); }

.points {
  display: grid;
  gap: 0;
  margin-top: clamp(26px, 4.4vh, 40px);
  max-width: 44ch;
}
.points li {
  padding: clamp(14px, 2.2vh, 20px) 0;
  border-top: 1px solid var(--line-light);
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.2;
}
.points li:last-child { border-bottom: 1px solid var(--line-light); }
.points.dark li { border-color: var(--line); color: var(--ink); }

.result h2 { max-width: 16ch; }
.result .points { margin-top: clamp(28px, 4.8vh, 46px); }

/* process */

.process { background: var(--paper); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: clamp(32px, 5.6vh, 52px);
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.steps b {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
}
.steps span {
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.15;
}
.process .body { margin-top: clamp(30px, 5.4vh, 52px); }

/* format */

.format {
  background: var(--teal);
  color: var(--cream);
}
.format h2 { max-width: 18ch; }

.split-share {
  display: grid;
  grid-template-columns: 55fr 45fr;
  max-width: 780px;
  margin-top: clamp(30px, 5.4vh, 52px);
  border: 1px solid var(--line-light);
}
.share {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(28px, 3.4vw, 46px);
}
.share + .share { border-left: 1px solid var(--line-light); }
.share b {
  font-family: var(--display);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 500;
  line-height: 1;
}
.share span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 241, 231, .62);
}
.share.you b { color: var(--gold-light); }
.format .body { margin-top: clamp(22px, 3.4vh, 34px); }

/* faq */

.faq { background: var(--paper); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 25px);
  line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p {
  max-width: 46ch;
  padding-bottom: 24px;
  color: var(--muted);
}

/* final */

.final {
  background: var(--ink-deep);
  color: var(--cream);
  text-align: center;
}
.final h2 { margin-inline: auto; max-width: 18ch; }
.final .body { margin: clamp(18px, 2.8vh, 26px) auto 0; }

.channels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: clamp(30px, 5.2vh, 54px);
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 220px;
  padding: 26px 22px 24px;
  border: 1px solid var(--line-light);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.channel:hover { border-color: var(--gold); background: rgba(247, 241, 231, .04); }
.channel .qr {
  width: clamp(96px, 13vh, 132px);
  height: clamp(96px, 13vh, 132px);
  margin-bottom: clamp(10px, 1.8vh, 16px);
  padding: 8px;
  background: var(--cream);
}
.channel b {
  font-family: var(--display);
  font-variant-numeric: lining-nums;
  font-size: 22px;
  font-weight: 500;
}
.channel span { color: rgba(247, 241, 231, .58); font-size: 13px; }

.direct {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  margin-top: clamp(26px, 4.4vh, 44px);
}
.direct a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(247, 241, 231, .8);
  font-size: 16px;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.direct a:hover { color: var(--cream); border-bottom-color: var(--gold); }

/* footer */

.footer {
  padding: 34px 0 40px;
  background: var(--ink-deep);
  color: rgba(247, 241, 231, .55);
  font-size: 13px;
  border-top: 1px solid var(--line-light);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  justify-content: space-between;
}

/* sticky mobile cta */

.sticky-cta {
  position: fixed;
  z-index: 45;
  left: 16px; right: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(7, 20, 27, .32);
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 0; }
  .split-media img { aspect-ratio: 16 / 11; }
  .faq-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100vw - 40px); }
  body { font-size: 16px; }
  .header-inner { height: 68px; }
  .brand span { font-size: 14px; }
  .hero { padding: 108px 0 108px; }
  .screen { padding: 92px 0; min-height: auto; }
  .hero .lead { margin-top: 22px; }
  .actions { margin-top: 30px; }
  .actions .btn { width: 100%; }
  .facts { gap: 20px 36px; margin-top: 40px; }
  .facts b { font-size: 22px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { flex-direction: row; align-items: baseline; gap: 16px; padding: 16px 0; }
  .steps b { min-width: 26px; }
  .split-share { grid-template-columns: 1fr; }
  .share + .share { border-left: 0; border-top: 1px solid var(--line-light); }
  .channels { gap: 14px; }
  .channel { width: 100%; max-width: 320px; }
  .sticky-cta { display: flex; }
  .final { padding-bottom: 116px; }
  .footer { padding-bottom: 104px; }
}
