/* ============================================================
   Möbel&Zeit — Премиум (тёмная версия с золотом)
   Тёплый near-black + матовое золото, сдержанные свечения,
   тонкая линейная графика.
   ============================================================ */

:root {
  /* warm near-black surfaces */
  --bg:      #0c0a07;
  --bg-card: #120e08;

  /* warm whites */
  --ink:     #f3ece0;
  --ink-2:   #b7ac99;
  --ink-3:   #877d6c;

  /* matte gold ramp */
  --gold:        #d8b275;
  --gold-bright: #f2dca8;
  --gold-deep:   #b08a3f;
  --gold-line:   rgba(216,178,117,.22);
  --gold-line-2: rgba(216,178,117,.40);
  --gold-glow:   rgba(216,178,117,.55);

  --red:      #d10a09;

  --fd: "Manrope", system-ui, -apple-system, sans-serif;  /* display */
  --fb: "Onest", system-ui, -apple-system, sans-serif;    /* body */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 6vw, 88px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(216,178,117,.07), transparent 44%),
    radial-gradient(90% 60% at 6% 3%, rgba(216,178,117,.03), transparent 48%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--fb);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--gold); color: #1a1208; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 80%; max-width: 1600px; margin-inline: auto; padding-inline: 0; }
@media (max-width: 760px) { .wrap { width: 100%; padding-inline: var(--pad); } }
.section { position: relative; }

/* gold gradient text */
.goldtext {
  background: linear-gradient(176deg, var(--gold-bright) 4%, var(--gold) 48%, var(--gold-deep) 96%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: 12px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 14px var(--pad);
  background: linear-gradient(180deg, rgba(20,17,13,.82), rgba(20,17,13,.34) 70%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled {
  padding-block: 10px;
  background: rgba(12,9,6,.46);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
}
/* ambient aura bleeding down from header */
.header-aura {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: min(900px, 90vw); height: 220px; z-index: 99; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, var(--gold-glow), transparent 70%);
  opacity: .26;
  filter: blur(8px);
  transition: opacity .5s var(--ease);
}

/* glowing light line under the menu */
.header-line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  pointer-events: none; overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(209,10,9,.22) 18%, rgba(209,10,9,.5) 50%, rgba(209,10,9,.22) 82%, transparent);
  box-shadow: 0 0 18px -2px rgba(209,10,9,.45);
}
.header-line::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 34%;
  background: linear-gradient(90deg, transparent, var(--gold-bright) 35%, #fff 50%, var(--gold-bright) 65%, transparent);
  filter: blur(.5px); opacity: .9;
  animation: hlineSweep 5.5s var(--ease) infinite;
}
@keyframes hlineSweep { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(360%); } }
@media (prefers-reduced-motion: reduce) { .header-line::after { animation: none; opacity: .5; left: 33%; } }

.logo {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff;
  font-family: var(--fd); font-weight: 800; font-size: 17px; letter-spacing: -.02em;
  padding: 7px 12px; line-height: 1;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 8px 26px -12px rgba(209,10,9,.7);
}
.logo .amp { font-weight: 500; margin: 0 1px; opacity: .9; }

.logo-group { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.h-tag { font-size: 12.5px; color: var(--ink-3); letter-spacing: .03em; white-space: nowrap; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.h-social { display: flex; align-items: center; gap: 10px; }
.h-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold);
  transition: border-color .35s var(--ease), color .35s, box-shadow .35s, transform .35s;
}
.h-social a:hover {
  color: var(--gold-bright); border-color: var(--gold-line-2);
  box-shadow: 0 0 0 4px rgba(216,178,117,.08), 0 0 22px -6px var(--gold-glow);
  transform: translateY(-1px);
}
.h-social svg { width: 18px; height: 18px; }
.header-phone {
  font-family: var(--fd); font-weight: 700; font-size: 18px; letter-spacing: .01em;
  color: var(--ink); white-space: nowrap; transition: color .3s;
}
.header-phone:hover { color: var(--gold-bright); }

@media (max-width: 880px) {
  .h-tag { display: none; }
  .header-phone { font-size: 15px; }
}
/* mobile: swap phone number for messenger icons — a long phone string
   was overflowing narrow Android viewports and forcing horizontal scroll */
@media (max-width: 560px) {
  .header-phone { display: none; }
  .header-actions { gap: 10px; min-width: 0; }
  .logo-group { min-width: 0; gap: 10px; }
  .header-line::after { animation: none !important; opacity: .5; left: 33%; }
  .site-header, .site-header.scrolled { transition: none !important; }
}
@media (max-width: 400px) {
  .h-social { gap: 8px; }
  .h-social a { width: 34px; height: 34px; }
  .h-social svg { width: 15px; height: 15px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 11px; font-family: var(--fd); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 30px; border: none; overflow: hidden;
  color: #1a1208; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }

/* red gradient (primary CTA) */
.btn-red {
  background: linear-gradient(138deg, #e84040 0%, #d10a09 42%, #960000 80%, #6a0000 100%);
  color: #fff;
  padding: 22px 54px;
  font-size: 15px;
  letter-spacing: .12em;
  box-shadow: 0 1px 0 rgba(255,130,130,.22) inset, 0 22px 60px -18px rgba(209,10,9,.9);
}
.btn-red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(108deg, transparent 28%, rgba(255,255,255,.22) 46%, transparent 62%);
  transform: translateX(-130%); transition: transform .7s var(--ease);
}
.btn-red:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 1px 0 rgba(255,130,130,.28) inset, 0 30px 70px -16px rgba(209,10,9,.95), 0 0 0 7px rgba(209,10,9,.06); }
.btn-red:hover::before { transform: translateX(130%); }

.btn svg { width: 18px; height: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(128px, 18vh, 188px); padding-bottom: clamp(10px, 2vh, 24px); }
@media (max-width: 760px) {
  .hero { padding-top: clamp(92px, 13vh, 132px); padding-bottom: 0; }
  .triplet { padding-top: 4px; padding-bottom: clamp(36px, 6vh, 60px); }
  .videoband { padding-block: clamp(40px, 6vh, 72px); }
  .site-footer { padding-block: clamp(26px, 4vh, 40px); }
}
.hero-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 26px); align-items: center;
}
.hero-text { grid-column: 1 / 3; padding-right: 40px; max-width: 660px; }
.hero-media { grid-column: 3 / 5; }
.hero h1 {
  font-family: var(--fd); font-weight: 800;
  font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06;
  letter-spacing: -.02em; text-transform: uppercase;
  margin: 22px 0 22px;
  background: linear-gradient(176deg, #fbf1da 2%, var(--gold-bright) 30%, var(--gold) 62%, var(--gold-deep) 98%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(216,178,117,.12));
}
.hero h1 .nowrap { white-space: nowrap; }
.hero-lead {
  font-size: clamp(18px, 2.1vw, 23px); line-height: 1.45; color: var(--ink);
  font-weight: 400;
}
.hero-lead b { color: var(--gold-bright); font-weight: 600; }
.hero-note {
  margin-top: 22px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2);
  padding-left: 18px; border-left: 2px solid var(--gold-line-2);
}
.hero-note b { color: var(--gold-bright); font-weight: 600; }
.hero-cta-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 32px; }
.btn-cta { padding: 27px 66px; font-size: 17px; letter-spacing: .13em; }
.btn-cta svg { width: 21px; height: 21px; }
.hero-meta { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.hero-meta .num { font-family: var(--fd); font-weight: 800; color: var(--gold-bright); font-size: 16px; }
.hero-meta .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(209,10,9,.5); animation: dot 2s infinite; }
@keyframes dot { 0%{box-shadow:0 0 0 0 rgba(209,10,9,.5)} 70%{box-shadow:0 0 0 9px rgba(209,10,9,0)} 100%{box-shadow:0 0 0 0 rgba(209,10,9,0)} }

/* hero media + halo */
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; z-index: 2; overflow: hidden;
  border: 1px solid var(--gold-line);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
  will-change: transform; transition: transform .25s var(--ease);
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2.55; }
.hero-media .frame::after { /* inner vignette + top sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(216,178,117,.10), transparent 26%), linear-gradient(0deg, rgba(0,0,0,.34), transparent 40%);
}
/* the halo */
.hero-halo {
  position: absolute; inset: -18% -14% -22% -14%; z-index: 1; pointer-events: none;
  background: radial-gradient(closest-side at 52% 50%, rgba(216,178,117,.42), rgba(216,178,117,.12) 55%, transparent 76%);
  filter: blur(28px);
  opacity: 1;
  animation: breathe 7s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes breathe {
  0%,100% { transform: scale(1); opacity: .82; }
  50%     { transform: scale(1.06); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text, .hero-media { grid-column: 1 / -1; }
  .hero-text { padding-right: 0; max-width: none; }
  .hero-media { order: -1; }
}

/* ============================================================
   TRIPLET (benefit cards — minimal treatment)
   ============================================================ */
.triplet { padding-top: clamp(4px, 1vh, 12px); padding-bottom: clamp(56px, 9vh, 110px); }
.trip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 26px); }
@media (max-width: 1120px) { .trip-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 860px) { .trip-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }

.tcard {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px 6px 40px;
  border-top: 1px solid var(--gold-line);
  transition: transform .45s var(--ease);
}
/* hover spotlight following cursor */
.tcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(220px 180px at var(--mx, 50%) var(--my, 0%), rgba(216,178,117,.16), transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.tcard:hover { transform: translateY(-3px); border-top-color: var(--gold-line-2); }
.tcard:hover::after { opacity: 1; }

.tcard .ic {
  width: fit-content; height: auto; display: grid; place-items: center start;
  color: var(--gold); margin-bottom: 20px;
  transition: color .45s, transform .45s;
}
.tcard:hover .ic { color: var(--gold-bright); }
.tcard .ic svg { width: 48px; height: 48px; }

.tcard h3 {
  font-family: var(--fd); font-weight: 700; font-size: 21px;
  letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px;
}
.tcard .accent { color: var(--gold-bright); }
.tcard p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* faint index numeral in the corner */
.tcard .tnum {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--fd); font-weight: 800; font-size: 15px;
  color: var(--gold); opacity: .35; letter-spacing: .04em;
}

/* ============================================================
   VIDEO BAND
   ============================================================ */
.videoband { padding-block: clamp(56px, 9vh, 120px); background: linear-gradient(180deg, #0e0b07, var(--bg)); }
.video-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
@media (max-width: 920px) { .video-grid { grid-template-columns: 1fr; } }

.video-shell { position: relative; overflow: hidden; border: 1px solid var(--gold-line); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); }
.video-shell img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; transition: transform 1.6s var(--ease); }
.video-shell:hover img { transform: scale(1.04); }
.video-shell iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-ov { position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(0deg, rgba(0,0,0,.32), transparent 55%); }
.play {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 0 0 0 rgba(209,10,9,.45), 0 20px 50px -16px rgba(209,10,9,.7);
  animation: playPulse 2.6s ease-out infinite; transition: transform .35s var(--ease);
}
.video-ov:hover .play { transform: scale(1.07); }
.play svg { width: 34px; height: 34px; margin-left: 4px; }
@keyframes playPulse { 0%{box-shadow:0 0 0 0 rgba(209,10,9,.45),0 20px 50px -16px rgba(209,10,9,.7)} 70%{box-shadow:0 0 0 22px rgba(209,10,9,0),0 20px 50px -16px rgba(209,10,9,.7)} 100%{box-shadow:0 0 0 0 rgba(209,10,9,0),0 20px 50px -16px rgba(209,10,9,.7)} }

.video-body h2 {
  font-family: var(--fd); font-weight: 800; font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.04; letter-spacing: -.02em; text-transform: uppercase; margin: 18px 0 0;
  background: linear-gradient(176deg, #fbf1da 2%, var(--gold-bright) 30%, var(--gold) 62%, var(--gold-deep) 98%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 4px 30px rgba(216,178,117,.12));
}
.video-body h2 .accent {
  background: linear-gradient(176deg, #fbf1da 2%, var(--gold-bright) 30%, var(--gold) 62%, var(--gold-deep) 98%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.video-body p { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 38ch; }
.video-body p .accent { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--gold-line); background: #100d09; padding-block: clamp(40px, 6vh, 64px); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid var(--gold-line); }
.footer-top .f-left { max-width: 46ch; }
.footer-top .f-left p { margin-top: 18px; font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.footer-links .footer-phone { font-family: var(--fd); font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--ink); transition: color .3s; }
.footer-links .footer-phone:hover { color: var(--gold-bright); }
.footer-links a { font-size: 14px; color: var(--ink-2); transition: color .3s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-co { margin-top: 0; font-size: 13px; color: var(--ink-3); }
.footer-legal { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.footer-legal p { font-size: 11.5px; line-height: 1.55; color: #5f574b; max-width: 120ch; }
@media (max-width: 640px) { .footer-links { align-items: flex-start; text-align: left; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 1; }
.reveal-mask { opacity: 1; }
html.anim .reveal { opacity: 0; transform: translateY(22px); }
html.anim .reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
html.anim .reveal-mask { opacity: 0; clip-path: inset(0 0 100% 0); }
html.anim .reveal-mask.in { opacity: 1; clip-path: inset(0 0 0 0); transition: opacity 1s var(--ease), clip-path 1.1s var(--ease); transition-delay: var(--reveal-delay, 0s); }

/* one-time shimmer across the H1 once revealed */
html.anim .hero h1.in { animation: h1shine 1.5s var(--ease) .25s both; }
@keyframes h1shine {
  0%   { filter: drop-shadow(0 4px 30px rgba(216,178,117,.0)) brightness(1); }
  40%  { filter: drop-shadow(0 4px 38px rgba(216,178,117,.45)) brightness(1.22); }
  100% { filter: drop-shadow(0 4px 30px rgba(216,178,117,.12)) brightness(1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .hero-halo, .header-aura { animation: none; }
}

/* ============================================================
   MODAL (Политика обработки ПД)
   ============================================================ */
.mz-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,6,4,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px);
  animation: mzFade .3s var(--ease);
}
.mz-overlay[hidden] { display: none; }
@keyframes mzFade { from { opacity: 0; } to { opacity: 1; } }
.mz-modal {
  position: relative; width: min(720px, 100%); max-height: min(84vh, 900px);
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, #17130d, #100d09);
  border: 1px solid var(--gold-line-2);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.9);
  padding: clamp(28px, 4vw, 48px);
  animation: mzUp .38s var(--ease);
}
@keyframes mzUp { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.mz-modal-close {
  position: sticky; float: right; top: 0; margin-left: 16px; margin-bottom: 8px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--gold-line); color: var(--ink-2);
  transition: color .3s, border-color .3s;
}
.mz-modal-close:hover { color: var(--gold-bright); border-color: var(--gold-line-2); }
.mz-modal-close svg { width: 16px; height: 16px; }

.mz-policy h2 {
  font-family: var(--fd); font-weight: 800; font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.2; color: var(--ink); margin: 0 0 20px; padding-right: 50px;
}
.mz-policy h3 {
  font-family: var(--fd); font-weight: 700; font-size: 16px; color: var(--gold-bright);
  margin: 26px 0 10px;
}
.mz-policy h3:first-of-type { margin-top: 4px; }
.mz-policy p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 10px; }
.mz-policy ul { margin: 4px 0 12px; padding-left: 20px; }
.mz-policy li { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin-bottom: 8px; }
