/* Watch Supreme — витрина */

:root {
  /* Тёмная гамма: полночный сапфир и шампанское золото */
  --bg: #090d16;
  --bg-alt: rgba(20, 28, 46, .55);
  --surface: #111827;
  --surface-glass: rgba(17, 24, 39, .78);
  --ink: #f2ede4;
  --ink-soft: #d3d0ca;
  --muted: #8f97a8;
  --line: rgba(226, 232, 245, .12);
  --accent: #d6b77e;
  --accent-ink: #12100b;
  --brass: #d6b77e;
  --sapphire: #2b4c8c;
  --ok: #7fc8a9;
  --warn: #e6b66a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 44px -16px rgba(0, 0, 0, .7);
  --photo-bg: radial-gradient(120% 90% at 50% 30%, #1d2638 0%, #0d121d 100%);

  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(44px, 6.4vw, 80px); }
h2 { font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 24px; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { width: 40px; height: 45px; flex: none; overflow: visible; }
.crest__laurel ellipse, .crest__pearls circle, .crest__gem, .crest__pin { fill: var(--brass); }
.crest__pin { fill: var(--ink); }
.crest__laurel path, .crest__shield, .crest__tiara, .crest__minute { stroke: var(--brass); }
.crest__inner, .crest__dial, .crest__idx, .crest__hour { stroke: var(--ink); }
.crest__inner { opacity: .55; }
.crest__hour, .crest__minute, .crest__gem { transform-box: view-box; }
.crest__hour { transform-origin: 24px 30px; transform: rotate(-55deg); }
.crest__minute { transform-origin: 24px 30px; transform: rotate(30deg); animation: sweep 60s linear infinite; }
.crest__gem { transform-origin: 24px 9.5px; animation: glint 7s ease-in-out infinite; }
@keyframes sweep { to { transform: rotate(390deg); } }
@keyframes glint { 0%, 86%, 100% { opacity: 1; transform: scale(1); } 92% { opacity: .55; transform: scale(1.25); } }
.logo__text { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero .lead { margin-top: 24px; font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero__facts strong { display: block; font-weight: 600; font-size: 15px; }
.hero__facts span { font-size: 14px; color: var(--muted); }
.hero__facts strong span { font-size: inherit; color: inherit; }
.hero__visual {
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) * 1.5);
  background: var(--photo-bg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  text-decoration: none;
  display: block;
}
.hero__visual img, .hero__visual svg { width: 100%; height: 100%; object-fit: cover; }
.hero__visual svg { padding: 12%; }
.hero__badge {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  padding: 16px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__badge small { display: block; font-size: 12px; color: var(--muted); }
.hero__badge strong { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.hero__badge .price { font-weight: 600; white-space: nowrap; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .muted { margin-top: 12px; }
.section__count { color: var(--muted); font-size: 14px; }

/* Filters */
.filters { display: grid; gap: 16px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: 14px; transition: all .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 40px 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2374706a' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.select--sort { margin-left: auto; }
.toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; cursor: pointer; user-select: none;
}
.toggle input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }

/* Grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); text-decoration: none; text-align: left;
  padding: 0; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  width: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__photo { position: relative; aspect-ratio: 1 / 1; background: var(--photo-bg); overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card__photo svg { width: 100%; height: 100%; padding: 14%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__photo img, .card:hover .card__photo svg { transform: scale(1.04); }
.card__body { padding: 18px 20px 20px; display: grid; gap: 4px; flex: 1; }
.card__brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card__title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.1; }
.card__meta { font-size: 14px; color: var(--muted); }
.card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__price { font-weight: 600; font-size: 17px; }
.card__set { font-size: 13px; color: var(--muted); }

.badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 6px;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--available { color: var(--ok); }
.badge--reserved { color: var(--warn); }
.badge--sold { color: var(--muted); }

.grid--sold .card { opacity: .78; }
.grid--sold .card__photo { filter: grayscale(.6); }
.grid--sold .card:hover { opacity: 1; }

.empty { text-align: center; padding: 48px 16px; display: grid; gap: 10px; justify-items: center; }
.empty .btn { margin-top: 10px; }

.skeleton { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 3 / 4; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .5; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 22px; }
.steps__num { font-family: var(--serif); font-size: 18px; color: var(--brass); }
.steps h3 { margin: 14px 0 10px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.trust__text .muted { margin-top: 20px; max-width: 30em; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; }
.checklist li {
  padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px;
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 18px; height: 10px;
  border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass);
  transform: rotate(-45deg) scale(.8); transform-origin: left top;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--serif); font-size: 24px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-soft); }

/* Contacts */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; gap: 20px; }
.contact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 4px; text-align: center; justify-items: center;
}
.contact__avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); font-family: var(--serif); font-size: 28px; font-weight: 600; margin-bottom: 10px;
}
.contact__name { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.contact .btn { margin-top: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.logo--footer .logo__text { font-size: 20px; }

/* Modal */
.modal {
  width: min(1120px, calc(100% - 32px)); max-height: calc(100% - 48px);
  padding: 0; border: 0; border-radius: calc(var(--radius) * 1.4);
  background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0,0,0,.45);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(14, 16, 15, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.modal__inner { display: grid; grid-template-columns: 1.1fr 1fr; position: relative; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center;
}
.modal__close svg { width: 16px; height: 16px; }
.gallery {
  background: var(--photo-bg); display: grid; grid-template-rows: minmax(0, 1fr) auto;
  position: sticky; top: 0; align-self: start; height: min(860px, calc(100dvh - 48px));
}
.gallery__main { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main svg { width: 100%; height: 100%; padding: 12%; }
.gallery__thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.gallery__thumbs button {
  flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; padding: 0;
  border: 2px solid transparent; background: var(--surface); cursor: pointer; opacity: .7;
}
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.details { padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.details__title { font-size: clamp(34px, 4vw, 46px); margin-top: 6px; }
.details__ref { color: var(--muted); margin-top: 6px; }
.details__price { font-size: 28px; font-weight: 600; }
.details__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.details__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); padding-right: 24px; }
.details__desc { color: var(--ink-soft); }
.reserve { display: grid; gap: 10px; }
.reserve__hint { font-size: 13px; color: var(--muted); }
.reserve__buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.details__share { justify-self: start; background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__visual { aspect-ratio: 5 / 4; max-height: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .trust { grid-template-columns: 1fr; }
  .modal__inner { grid-template-columns: 1fr; }
  .gallery { position: static; height: auto; }
  .gallery__main { aspect-ratio: 1 / 1; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts li { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 auto; }
  .section__head { flex-direction: column; align-items: start; }
  .section__head--center { align-items: center; }
  .filters__row { gap: 8px; }
  .select--sort { margin-left: 0; }
  .filters__row > * { flex: 1 1 calc(50% - 4px); }
  .select select { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
  .modal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .faq summary { font-size: 21px; }
}

/* ---------- Night sections, marquee, motion ---------- */

/* Живой фон: медленный гильош, дрейфующие блики и свет за курсором */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
.backdrop__glow { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.backdrop__glow--gold {
  width: 55vmax; height: 55vmax; right: -18vmax; top: -16vmax;
  background: radial-gradient(circle, rgba(214, 183, 126, .2), transparent 65%);
  animation: drift-a 38s ease-in-out infinite alternate;
}
.backdrop__glow--sapphire {
  width: 70vmax; height: 70vmax; left: -28vmax; bottom: -30vmax;
  background: radial-gradient(circle, rgba(43, 76, 140, .5), transparent 65%);
  animation: drift-b 46s ease-in-out infinite alternate;
}
.backdrop__glow--teal {
  width: 40vmax; height: 40vmax; left: 35vw; top: 40vh;
  background: radial-gradient(circle, rgba(46, 120, 130, .18), transparent 65%);
  animation: drift-c 54s ease-in-out infinite alternate;
}
.backdrop__rose {
  position: absolute; width: 140vmax; height: 140vmax; left: 50%; top: 50%;
  margin: -70vmax 0 0 -70vmax;
  background: url("../img/guilloche.svg") center / contain no-repeat;
  opacity: .07;
  animation: spin 360s linear infinite;
}
.backdrop__spot {
  position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px;
  border-radius: 50%; opacity: 0; transition: opacity .8s;
  background: radial-gradient(circle, rgba(214, 183, 126, .09), transparent 60%);
  will-change: transform;
}
.backdrop__spot.is-on { opacity: 1; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(4, 6, 11, .55));
}
@keyframes drift-a { to { transform: translate(-22vw, 30vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(30vw, -18vh) scale(.9); } }
@keyframes drift-c { from { transform: translate(-30vw, -20vh); } to { transform: translate(20vw, 25vh) scale(1.3); } }
@keyframes spin { to { transform: rotate(360deg); } }

body { background: transparent; }
html { background: #090d16; }
.night { color: var(--ink); }
.header.night { background: rgba(9, 13, 22, .82); border-bottom-color: rgba(214, 183, 126, .16); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.card, .contact, .toggle, .select select { background-color: var(--surface-glass); }

h1 em, h2 em { font-style: italic; color: var(--brass); font-weight: 500; }

.hero.night {
  position: relative;
  overflow: hidden;
  background: radial-gradient(55% 65% at 80% 35%, rgba(214, 183, 126, .1), transparent 70%);
}
.hero.night .lead { color: var(--ink-soft); }
.hero.night .hero__facts { border-top-color: var(--line); }
.hero__visual { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero.night .hero__visual::before {
  content: ""; position: absolute; inset: 12px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(201, 168, 110, .45); border-radius: calc(var(--radius) * 1.5 - 8px);
}
.hero__visual::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 244, 220, .28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.hero__visual.is-ready::after { animation: sheen 2.2s 1s cubic-bezier(.4, 0, .2, 1) both; }
.hero__visual img.is-loaded { animation: settle 2.6s cubic-bezier(.2, .7, .2, 1) both; }
.hero__badge { z-index: 2; background: rgba(9, 13, 22, .72); border: 1px solid rgba(214, 183, 126, .25); }
.hero__badge .price { color: var(--brass); }

.hero__text > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
.hero__text > :nth-child(5) { animation-delay: .4s; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes sheen { to { transform: translateX(120%); } }

.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: rgba(9, 13, 22, .5);
  padding: 18px 0; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee span {
  font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink-soft);
  padding: 0 28px; display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--brass); margin-right: -28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.night .steps li { border-top-color: var(--brass); }
.night .steps__num { font-size: 40px; font-style: italic; line-height: 1; }
.card { transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .5s; }
.card:hover { border-color: color-mix(in srgb, var(--brass) 60%, var(--line)); }
.card__title { transition: color .3s; }
.card:hover .card__title { color: var(--accent); }
.footer.night { border-top: 0; }

.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.motion .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Trends: floating glass, kinetic type, tilt, spotlight ---------- */

/* Плавающая стеклянная шапка-«пилюля» */
.header, .header.night { top: 0; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
.header__inner {
  pointer-events: auto;
  max-width: calc(var(--container) - 2 * var(--gutter) + 40px);
  width: calc(100% - 24px);
  height: 64px; margin: 12px auto 0; padding: 0 12px 0 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)), rgba(9, 13, 22, .55);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 40px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.header__cta { border-color: rgba(214, 183, 126, .4); }
html { scroll-padding-top: 100px; }

/* Прогресс прокрутки — тонкая золотая нить сверху */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 30; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--brass) 30%, #f6e2b3); }
@supports (animation-timeline: scroll()) {
  .progress { animation: progress linear both; animation-timeline: scroll(root); }
}
@keyframes progress { to { transform: scaleX(1); } }

/* Крупная редакционная типографика с проявлением строк */
.hero__title { font-size: clamp(42px, 6vw, 88px); line-height: .98; letter-spacing: -.025em; }
.hero__title .line { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: line-up 1.2s cubic-bezier(.16, 1, .3, 1) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__text > .hero__title { animation: none; }
@keyframes line-up { from { transform: translateY(105%); } }

/* Переливающееся золото в акцентных словах */
h1 em, h2 em {
  background: linear-gradient(100deg, #b8925a 0%, #f6e2b3 22%, #d6b77e 40%, #a98450 60%, #f1d9a4 80%, #c9a46a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold 9s ease-in-out infinite alternate;
  padding-right: .06em;
}
@keyframes gold { to { background-position: 100% 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* Hero: 3D-наклон фото с бликом и вращающаяся печать */
.hero__media { position: relative; perspective: 1200px; }
.hero__visual { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); transform-style: preserve-3d; }
.hero__visual .glare {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 248, 230, .22), transparent 45%);
}
.hero__media:hover .glare { opacity: 1; }
.seal {
  position: absolute; width: clamp(104px, 11vw, 150px); left: clamp(-56px, -4vw, -24px); top: clamp(-40px, -3vw, -16px); z-index: 3;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .55));
}
.seal__disc { fill: rgba(9, 13, 22, .72); stroke: rgba(214, 183, 126, .5); stroke-width: 1; }
.seal__text { fill: var(--brass); font: 600 11.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.seal text { transform-origin: 80px 80px; animation: spin 26s linear infinite; }
.seal__star { fill: var(--brass); }

/* Бегущая строка: крупно, через одно слово — контуром */
.marquee { padding: 26px 0; }
.marquee span { font-size: clamp(28px, 3.4vw, 44px); color: var(--ink); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(214, 183, 126, .75); }
.marquee span::after { -webkit-text-stroke: 0; }

/* Карточки: прожектор по границе и мягкий наклон */
.card { position: relative; isolation: isolate; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0)); }
.card:hover { --lift: -6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift)); }
.card::before {
  content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 226, 179, .85), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(214, 183, 126, .1), transparent 60%);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__price { color: var(--brass); }

/* Шаги — стеклянные карточки с огромными контурными цифрами */
.steps { gap: 16px; }
.steps li, .night .steps li {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 30px; min-height: 280px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01) 60%), rgba(17, 24, 39, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s, transform .5s cubic-bezier(.2, .7, .2, 1);
}
.steps li:hover { border-color: rgba(214, 183, 126, .45); transform: translateY(-4px); }
.night .steps__num {
  display: block; font-size: clamp(72px, 8vw, 112px); font-style: normal; font-weight: 500; line-height: .9;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 183, 126, .6);
}
.steps h3 { margin-top: 36px; }

/* Проверка — бенто-плитки */
.checklist { grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: chk; }
.checklist li, .checklist li:first-child {
  counter-increment: chk; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 56px 20px 20px; background: rgba(17, 24, 39, .55); font-size: 15px; line-height: 1.45;
  transition: border-color .4s;
}
.checklist li:hover { border-color: rgba(214, 183, 126, .45); }
.checklist li:last-child { grid-column: 1 / -1; }
.checklist li::before {
  content: counter(chk, decimal-leading-zero); left: 20px; top: 18px; width: auto; height: auto;
  border: 0; transform: none; font: italic 500 24px var(--serif); color: var(--brass);
}

/* Контакты — стекло с золотой обводкой аватара */
.contact { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01) 60%), rgba(17, 24, 39, .6); }
.contact__avatar { background: transparent; border: 1px solid rgba(214, 183, 126, .5); color: var(--brass); }

/* Зерно поверх фона — «плёночная» фактура */
.backdrop::before {
  content: ""; position: absolute; inset: -50%; z-index: 2; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  .header__inner { height: 56px; padding: 0 8px 0 14px; width: calc(100% - 16px); margin-top: 8px; }

  .seal { left: auto; right: -6px; top: -22px; width: 96px; }
  .checklist { grid-template-columns: 1fr; }
  .steps li, .night .steps li { min-height: 0; }
  .marquee span { gap: 36px; }
}

/* Пока фото грузится — мерцающая подложка и золотой «безель»-крутилка */
.hero__visual img, .card__photo img { position: relative; opacity: 0; transition: opacity .7s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero__visual img.is-loaded, .card__photo img.is-loaded { opacity: 1; }
.loader { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(214, 183, 126, .08) 50%, transparent 70%) 0 0 / 250% 100%, var(--photo-bg);
  animation: shimmer 1.8s linear infinite; }
.loader::before { content: ""; width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid rgba(214, 183, 126, .18); border-top-color: var(--brass);
  animation: spin 1s linear infinite; }
.loader::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.hero__visual.is-empty .loader { display: none; }
@keyframes shimmer { to { background-position: -250% 0, 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__visual img, .card__photo img { opacity: 1; }
}
