/* =========================================================
   ЖК «Некрасов» — v2 · editorial / luxury
   ========================================================= */

:root {
  --bg: #f4ede2;
  --bg-2: #ebe2d3;
  --ink: #16110b;
  --ink-soft: #3a2f24;
  --ink-mute: #7a6c5d;
  --line: rgba(22, 17, 11, 0.14);
  --line-soft: rgba(22, 17, 11, 0.08);
  --accent: #c9690a;
  --accent-2: #a04a05;
  --gold: #b88a3e;
  --paper: #faf6ee;
  --night: #14110d;

  --radius: 22px;
  --radius-sm: 12px;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3, h4, p, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============ Custom cursor ============ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  z-index: 1000;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.3s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
}

.cursor.is-visible {
  opacity: 0.9;
}

.cursor.is-hover {
  width: 56px;
  height: 56px;
  background: var(--ink);
  mix-blend-mode: difference;
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ============ Topbar ============ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 18px var(--gutter);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.topbar.is-scrolled {
  background: rgba(244, 237, 226, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

.topbar__brand:hover {
  opacity: 0.7;
}

.brand-logo {
  display: block;
  height: 34px;
  width: auto;
}

.brand-logo--light {
  color: var(--bg);
}

.topbar__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.topbar__nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.topbar__nav a:hover {
  color: var(--ink);
}

.topbar__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.topbar__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.topbar__cta:hover {
  background: var(--accent);
}

.topbar__cta:hover svg {
  transform: translateX(3px);
}

/* Burger (hidden on desktop) */
.topbar__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  z-index: 101;
}

.topbar__burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), top 0.35s var(--ease);
}

.topbar__burger span:nth-child(1) { top: 15px; }
.topbar__burger span:nth-child(2) { top: 21px; }
.topbar__burger span:nth-child(3) { top: 27px; }

.topbar__burger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.topbar__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.topbar__burger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile menu overlay */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  padding: 96px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mmenu[hidden] {
  display: none;
}

.mmenu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mmenu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mmenu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 8vw, 44px);
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}

.mmenu__nav a:hover,
.mmenu__nav a:active {
  color: var(--accent);
  padding-left: 8px;
}

.mmenu__num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 500;
  flex: 0 0 auto;
}

.mmenu__foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.mmenu__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  align-self: stretch;
}

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

.mmenu__phone {
  font-family: var(--serif);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mmenu__foot p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

body.is-mmenu-open {
  overflow: hidden;
}

@media (max-width: 880px) {
  .topbar__nav {
    display: none;
  }
  .topbar__cta {
    display: none;
  }
  .topbar__burger {
    display: inline-block;
  }
  .topbar__inner {
    gap: 12px;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(140px, 16vw, 200px) var(--gutter) clamp(70px, 9vw, 110px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.hero__inner {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.hero__mark {
  display: block;
  width: clamp(120px, 13vw, 200px);
  color: var(--ink);
  margin-bottom: 40px;
  animation: markIn 0.9s var(--ease) both;
}

.hero__mark svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes markIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 36px;
}

.hero__line {
  width: 64px;
  height: 1px;
  background: var(--ink-mute);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 60px;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.18em;
  align-items: baseline;
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
  line-height: 1;
  padding-bottom: 0.05em;
  max-width: 100%;
}

.hero__title .italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero__title .small {
  display: block;
  width: 100%;
  font-size: 0.18em;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 24px;
  font-style: normal;
  font-family: var(--sans);
  font-weight: 400;
}

.hero__bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: end;
  max-width: 1100px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: var(--paper);
  white-space: nowrap;
}

.hero__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(201, 105, 10, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(201, 105, 10, 0);
  }
}

.hero__lead {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.6;
}

.hero__photo {
  position: absolute;
  top: 12vh;
  right: -4vw;
  width: 38vw;
  max-width: 560px;
  aspect-ratio: 4 / 5;
  border-radius: 280px 280px 24px 24px;
  overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(20, 17, 13, 0.45);
  z-index: 1;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 0.25s linear;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 3;
}

.hero__scroll svg {
  width: 16px;
  height: 16px;
  animation: arrowDown 2.4s var(--ease) infinite;
}

@keyframes arrowDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding-top: clamp(110px, 14vw, 160px);
  }
  .hero__photo {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 24px;
    margin-top: 40px;
  }
  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: start;
  }
  .hero__pill {
    align-self: flex-start;
    width: auto;
  }
  .hero__scroll {
    display: none;
  }
}

/* ============ Marquee ============ */
.marquee {
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 48px);
  animation: marquee 38s linear infinite;
}

.marquee__sep {
  color: var(--accent);
  font-style: normal;
  font-size: 0.7em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ INTRO ============ */
.intro {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg);
}

.intro__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.intro__eyebrow,
.reel__eyebrow,
.specs__eyebrow,
.plans__eyebrow,
.trust__eyebrow,
.contact__eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
  font-weight: 500;
}

.intro__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 64px;
  max-width: 1000px;
}

.intro__title em {
  font-style: italic;
  color: var(--accent);
}

.intro__title .hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.intro__title .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.04em;
  height: 0.32em;
  background: rgba(201, 105, 10, 0.18);
  z-index: -1;
  border-radius: 4px;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.intro__col p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__title .hl { white-space: normal; }
}

/* ============ REEL (horizontal scroll) ============ */
.reel {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.reel__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 60px;
}

.reel__eyebrow {
  color: var(--accent);
  margin: 0;
}

.reel__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}

.reel__title em {
  font-style: italic;
  color: var(--bg-2);
}

.reel__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 237, 226, 0.55);
  margin: 0;
}

.reel__hint svg {
  width: 16px;
  height: 16px;
}

.reel__rail {
  display: flex;
  gap: 24px;
  padding: 0 var(--gutter) 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.reel__rail::-webkit-scrollbar {
  display: none;
}

.reel__rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reel__card {
  flex: 0 0 clamp(280px, 32vw, 440px);
  scroll-snap-align: start;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease);
}

.reel__card:hover {
  transform: translateY(-6px);
}

.reel__index {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  color: var(--bg);
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
}

.reel__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.reel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.reel__card:hover .reel__media img {
  transform: scale(1.05);
}

.reel__caption {
  padding: 28px;
}

.reel__caption h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.reel__caption p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.reel__progress {
  max-width: var(--container);
  margin: 30px auto 0;
  padding: 0 var(--gutter);
}

.reel__progress::before {
  content: "";
  display: block;
  height: 1px;
  background: rgba(244, 237, 226, 0.14);
  position: relative;
}

.reel__bar {
  display: block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  margin-top: -1px;
  transition: width 0.18s linear;
}

@media (max-width: 760px) {
  .reel__head {
    grid-template-columns: 1fr;
  }
  .reel__hint { display: none; }
}

/* ============ SPECS (sticky) ============ */
.specs {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg);
  position: relative;
}

.specs__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
}

.specs__sticky {
  position: sticky;
  top: 100px;
  align-self: start;
  height: fit-content;
}

.specs__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}

.specs__title em {
  font-style: italic;
  color: var(--accent);
}

.specs__lead {
  margin: 0 0 40px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 380px;
}

.specs__visual {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  max-width: 380px;
  box-shadow: 0 30px 80px -20px rgba(20, 17, 13, 0.35);
}

.specs__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 0.25s linear;
}

.specs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.spec {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  position: relative;
  opacity: 0.35;
  transition: opacity 0.6s var(--ease);
}

.spec:last-child { border-bottom: 1px solid var(--line); }

.spec.is-visible {
  opacity: 1;
}

.spec__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--accent);
  padding-top: 14px;
}

.spec__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 500;
}

.spec__value {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}

.spec__value sup {
  font-family: var(--sans);
  font-size: 0.18em;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  vertical-align: top;
  margin-left: 12px;
  position: relative;
  top: 0.7em;
}

.spec__value--text {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
}

.spec__value--text span {
  font-size: 0.55em;
  color: var(--ink-soft);
  font-style: italic;
}

.spec__desc {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 480px;
}

@media (max-width: 980px) {
  .specs__grid { grid-template-columns: 1fr; }
  .specs__sticky { position: static; }
  .specs__visual { max-width: 100%; aspect-ratio: 16/10; border-radius: 24px; }
}

/* ============ PLANS ============ */
.plans {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--paper);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1px 1200px;
}

.plans__head {
  max-width: var(--container);
  margin: 0 auto 50px;
}

.plans__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 900px;
}

.plans__title em {
  font-style: italic;
  color: var(--accent);
}

.plans__tabs {
  max-width: var(--container);
  margin: 0 auto 40px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.plans__tab {
  flex: 1;
  background: none;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 22px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: var(--ink-mute);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
}

.plans__tab:first-child { border-left: 0; }

.plans__tab::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.plans__tab:hover { color: var(--ink); }

.plans__tab.is-active {
  color: var(--ink);
}

.plans__tab.is-active::before {
  transform: scaleX(1);
}

.plans__tabmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

.plans__tabname {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: inherit;
}

.plans__tabcount {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.plans__panels {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.plans__panel {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.plans__panel.is-active {
  display: grid;
  animation: fadeUp 0.5s var(--ease);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.plan {
  position: relative;
  background: var(--bg);
  border-radius: 22px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}

.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -20px rgba(20, 17, 13, 0.25);
}

.plan__no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
}

.plan img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 14px;
  transition: transform 0.5s var(--ease);
}

.plan:hover img { transform: scale(1.04); }

.plan__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

@media (max-width: 760px) {
  .plans__tabs { flex-direction: column; gap: 0; }
  .plans__tab { border-left: 0; border-top: 1px solid var(--line); padding: 16px 20px; }
  .plans__tab:first-child { border-top: 0; }
}

/* ============ TRUST ============ */
.trust {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.trust__head {
  max-width: var(--container);
  margin: 0 auto 60px;
}

.trust__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 900px;
}

.trust__title em {
  font-style: italic;
  color: var(--accent);
}

.trust__list {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.trust__item {
  padding: 40px clamp(20px, 3vw, 40px) 36px;
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.trust__item:last-child { border-right: 0; }

.trust__item:hover { background: var(--paper); }

.trust__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
}

.trust__item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 14px;
}

.trust__item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
}

@media (max-width: 760px) {
  .trust__list { grid-template-columns: 1fr; border-top: 0; }
  .trust__item { border-right: 0; border-top: 1px solid var(--line); }
}

/* ============ CONTACT ============ */
.contact {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background: var(--ink);
  color: var(--bg);
}

.contact__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact__eyebrow { color: var(--accent); margin: 0 0 24px; }

.contact__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.contact__title em {
  font-style: italic;
  color: var(--accent);
}

.contact__sub {
  margin: 0 0 50px;
  font-size: 16px;
  color: rgba(244, 237, 226, 0.7);
  max-width: 480px;
  line-height: 1.65;
}

.contact__info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
  border-top: 1px solid rgba(244, 237, 226, 0.14);
  padding-top: 30px;
}

.contact__info li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
}

.contact__info span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 237, 226, 0.5);
  padding-top: 4px;
}

.contact__info p,
.contact__info a {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--bg);
}

.contact__info a:hover {
  color: var(--accent);
}

.contact__form {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(28px, 4vw, 50px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.field input[type="text"],
.field input[type="tel"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
  letter-spacing: -0.01em;
}

.field input::placeholder {
  color: rgba(122, 108, 93, 0.55);
  font-style: italic;
}

.field input:focus { border-bottom-color: var(--accent); }

.field--check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.field--check input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.field--check label {
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  font-weight: 400;
}

.contact__submit {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s var(--ease), transform 0.25s var(--ease);
}

.contact__submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.contact__submit:hover {
  background: var(--accent);
}

.contact__submit:hover svg {
  transform: translateX(5px);
}

.contact__alert {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-top: 6px;
}

.contact__alert.ok {
  background: rgba(46, 158, 96, 0.12);
  color: #1f8e58;
  display: block;
}

.contact__alert.err {
  background: rgba(201, 105, 10, 0.12);
  color: #b25608;
  display: block;
}

.contact__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Honeypot — скрыт от людей, но виден ботам, заполняющим всё подряд */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 980px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ FOOT ============ */
.foot {
  padding: 60px var(--gutter) 30px;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid rgba(244, 237, 226, 0.08);
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

.foot__top,
.foot__bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(244, 237, 226, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}

.foot__mark {
  display: inline-flex;
  align-items: center;
  color: var(--bg);
  transition: opacity 0.25s var(--ease);
}

.foot__mark:hover {
  opacity: 0.7;
}

.foot__mark .brand-logo {
  height: 32px;
}

.foot__big {
  font-family: var(--serif);
  font-weight: 200;
  font-style: italic;
  font-size: clamp(80px, 22vw, 320px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 30px 0 50px;
  color: var(--bg);
  opacity: 0.18;
  user-select: none;
}

.foot__bottom a {
  color: rgba(244, 237, 226, 0.7);
  transition: color 0.25s var(--ease);
}

.foot__bottom a:hover { color: var(--accent); }

/* ============ Reveal animation ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.fade-up.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE LAYER
   ========================================================= */

/* Wide tablet / small laptop (1101–1280): сужаем hero-фото */
@media (min-width: 1101px) and (max-width: 1280px) {
  .hero__title { max-width: 70%; }
  .hero__bottom { max-width: 70%; }
  .hero__photo { width: 34vw; max-width: 460px; }
}

@media (max-width: 1100px) {
  .hero__title {
    font-size: clamp(56px, 11vw, 140px);
    max-width: 100%;
  }
  .hero__bottom { max-width: 100%; }
  .reel__head { gap: 18px; }

  /* iPad portrait: специфика и контакты в один столбец */
  .specs__grid { grid-template-columns: 1fr; gap: 48px; }
  .specs__sticky { position: static; display: block; }
  .specs__lead { max-width: 640px; margin-bottom: 32px; }
  .specs__visual { max-width: 100%; aspect-ratio: 16/9; border-radius: 24px; }

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* Tablet portrait (980 и ниже) — hero уже single-col, дополнительно: */
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero__title {
    max-width: 100%;
    font-size: clamp(48px, 11vw, 96px);
    margin-bottom: 44px;
  }
  .hero__title .small { margin-top: 18px; }
  .hero__photo {
    aspect-ratio: 16/10;
    max-height: 60vh;
  }
  .reel__head {
    grid-template-columns: 1fr auto;
  }
  .reel__eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
  .intro__title { font-size: clamp(30px, 5.5vw, 56px); margin-bottom: 44px; }
  .specs__title { font-size: clamp(36px, 6vw, 60px); }
  .specs__visual { max-width: 100%; aspect-ratio: 16/10; border-radius: 24px; }
  .plans__title { font-size: clamp(32px, 5.5vw, 56px); }
  .trust__title { font-size: clamp(30px, 5vw, 50px); }
  .contact__title { font-size: clamp(32px, 5.5vw, 54px); }
}

/* Topbar — сокращаем CTA с среднего размера */
@media (max-width: 880px) {
  .topbar__cta { padding: 10px 16px; font-size: 13px; }
}

/* Phone landscape / большой телефон (760 и ниже) */
@media (max-width: 760px) {
  .topbar { padding: 14px 18px; }
  .brand-logo { height: 30px; }

  .hero { padding-top: clamp(110px, 22vw, 150px); }
  .hero__mark { width: clamp(96px, 22vw, 150px); margin-bottom: 26px; }
  .hero__meta { font-size: 11px; gap: 10px; margin-bottom: 26px; }
  .hero__line { width: 40px; }
  .hero__title {
    font-size: clamp(42px, 13vw, 78px);
    margin-bottom: 36px;
    gap: 0 0.12em;
  }
  .hero__title .small { font-size: 11px; letter-spacing: 0.12em; margin-top: 14px; }
  .hero__pill {
    white-space: normal;
    font-size: 12px;
    padding: 8px 14px;
    align-self: flex-start;
  }
  .hero__lead { font-size: 14.5px; }
  .hero__photo { margin-top: 30px; aspect-ratio: 16/11; border-radius: 22px; }

  .marquee { padding: 16px 0; }
  .marquee__track { font-size: clamp(22px, 6vw, 32px); gap: 28px; animation-duration: 28s; }

  .intro { padding-block: 64px; }
  .intro__title {
    font-size: clamp(26px, 7.5vw, 40px);
    margin-bottom: 36px;
  }
  .intro__col p { font-size: 15px; }

  .reel { padding-block: 64px; }
  .reel__head { margin-bottom: 36px; gap: 12px; }
  .reel__title { font-size: clamp(30px, 7.5vw, 46px); }
  .reel__hint { font-size: 11px; }
  .reel__rail { gap: 16px; padding-bottom: 24px; }
  .reel__card { flex: 0 0 78%; }
  .reel__caption { padding: 22px; }
  .reel__caption h3 { font-size: 20px; }
  .reel__caption p { font-size: 14px; }
  .reel__index { top: 18px; left: 18px; font-size: 16px; }

  .specs { padding-block: 64px; }
  .specs__title { font-size: clamp(30px, 8vw, 46px); margin-bottom: 22px; }
  .specs__lead { font-size: 15px; margin-bottom: 28px; }
  .specs__visual { aspect-ratio: 16/11; }
  .spec { padding: 28px 0; gap: 16px; grid-template-columns: 44px 1fr; }
  .spec__num { font-size: 18px; padding-top: 8px; }
  .spec__label { font-size: 11px; margin-bottom: 10px; }
  .spec__value { font-size: clamp(48px, 16vw, 80px); }
  .spec__value sup { margin-left: 8px; font-size: 0.18em; top: 0.6em; }
  .spec__value--text { font-size: clamp(28px, 9vw, 40px); }
  .spec__desc { font-size: 14.5px; }

  .plans { padding-block: 64px; }
  .plans__head { margin-bottom: 32px; }
  .plans__title { font-size: clamp(28px, 7.5vw, 42px); }
  .plans__tab { padding: 18px 20px; }
  .plans__tabname { font-size: 18px; }
  .plans__tabmark { font-size: 12px; }
  .plans__tabcount { font-size: 11px; }
  .plans__panel { gap: 16px; grid-template-columns: 1fr 1fr; }
  .plan { padding: 16px; border-radius: 18px; }
  .plan img { height: 200px; }
  .plan__name { font-size: 15px; }
  .plan__no { top: 14px; right: 16px; font-size: 14px; }

  .trust { padding-block: 64px; }
  .trust__head { margin-bottom: 36px; }
  .trust__title { font-size: clamp(26px, 7vw, 40px); }
  .trust__item { padding: 32px 24px 28px; }
  .trust__num { font-size: 14px; margin-bottom: 14px; }
  .trust__item h3 { font-size: 19px; margin-bottom: 12px; }
  .trust__item p { font-size: 14.5px; }

  .contact { padding-block: 64px; }
  .contact__title { font-size: clamp(28px, 7vw, 44px); margin-bottom: 18px; }
  .contact__sub { font-size: 14.5px; margin-bottom: 36px; }
  .contact__info { gap: 22px; padding-top: 22px; }
  .contact__info span { font-size: 11px; }
  .contact__info p, .contact__info a { font-size: 18px; }
  .contact__form { padding: 26px 22px; border-radius: 22px; }
  .field input[type="text"],
  .field input[type="tel"] { font-size: 18px; padding: 10px 0 12px; }
  .contact__submit { padding: 18px 22px; font-size: 14px; }

  .foot { padding: 50px 18px 24px; }
  .foot__top { font-size: 12px; }
  .foot__big { font-size: clamp(48px, 18vw, 160px); margin: 22px 0 36px; }
  .foot__bottom { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 12px; }
  .foot__mark .brand-logo { height: 26px; }
}

/* Phone portrait (480 и ниже) */
@media (max-width: 480px) {
  .topbar { padding: 12px 14px; }
  .brand-logo { height: 26px; }
  .topbar__cta {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  .topbar__cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .topbar__cta svg { width: 18px; height: 18px; }

  .hero { padding-top: 96px; padding-inline: 18px; }
  .hero__title { font-size: clamp(38px, 13vw, 60px); }
  .hero__title .small { font-size: 10px; }
  .hero__mark { width: clamp(86px, 24vw, 130px); margin-bottom: 22px; }
  .hero__bottom { gap: 18px; }
  .hero__lead { font-size: 14px; line-height: 1.55; }

  .marquee__track { font-size: 22px; gap: 22px; }

  .intro { padding-block: 56px; padding-inline: 18px; }
  .intro__title { font-size: clamp(22px, 8vw, 34px); }
  .intro__grid { gap: 22px; padding-top: 26px; }

  .reel { padding-block: 56px; }
  .reel__head { padding-inline: 18px; margin-bottom: 28px; }
  .reel__title { font-size: clamp(26px, 8.5vw, 38px); }
  .reel__rail { padding-inline: 18px; gap: 14px; }
  .reel__card { flex: 0 0 86%; border-radius: 18px; }
  .reel__caption { padding: 18px; }
  .reel__caption h3 { font-size: 19px; }
  .reel__progress { padding-inline: 18px; }

  .specs { padding-block: 56px; padding-inline: 18px; }
  .specs__title { font-size: clamp(28px, 9vw, 40px); }
  .spec { padding: 24px 0; gap: 12px; grid-template-columns: 36px 1fr; }
  .spec__num { font-size: 16px; padding-top: 6px; }
  .spec__value { font-size: clamp(44px, 18vw, 72px); margin-bottom: 12px; }
  .spec__value--text { font-size: clamp(26px, 9vw, 36px); }
  .spec__desc { font-size: 14px; }

  .plans { padding-block: 56px; padding-inline: 18px; }
  .plans__title { font-size: clamp(24px, 8vw, 36px); }
  .plans__tab { padding: 14px 16px; gap: 4px; }
  .plans__tabname { font-size: 17px; }
  .plans__panel { grid-template-columns: 1fr; gap: 14px; }
  .plan img { height: 220px; }

  .trust { padding-block: 56px; padding-inline: 18px; }
  .trust__title { font-size: clamp(24px, 7.5vw, 36px); }
  .trust__item { padding: 28px 20px 24px; }
  .trust__num { font-size: 13px; }
  .trust__item h3 { font-size: 17px; }
  .trust__item p { font-size: 14px; }

  .contact { padding-block: 56px; padding-inline: 18px; }
  .contact__title { font-size: clamp(24px, 8vw, 38px); }
  .contact__sub { font-size: 14px; margin-bottom: 28px; }
  .contact__info p, .contact__info a { font-size: 17px; }
  .contact__form { padding: 22px 18px; border-radius: 20px; }
  .field input[type="text"],
  .field input[type="tel"] { font-size: 17px; }
  .contact__submit { padding: 16px 20px; font-size: 13px; }

  .foot { padding: 40px 16px 22px; }
  .foot__top { font-size: 11px; }
  .foot__big { font-size: clamp(42px, 17vw, 130px); margin: 16px 0 28px; }
  .foot__bottom { font-size: 11px; }
}

/* Landscape phones — экономим вертикаль */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 50px; }
  .hero__photo { display: none; }
  .hero__title { margin-bottom: 28px; }
  .mmenu { padding-top: 80px; padding-bottom: 24px; }
  .mmenu__nav a { padding: 12px 0; font-size: 24px; }
}

/* Tiny phones (360 и ниже) */
@media (max-width: 360px) {
  .hero__title { font-size: 36px; }
  .hero__pill { font-size: 11px; padding: 7px 12px; }
  .marquee__track { font-size: 20px; gap: 18px; }
  .intro__title { font-size: 22px; }
  .reel__title { font-size: 26px; }
  .specs__title { font-size: 26px; }
  .spec__value { font-size: 44px; }
  .plans__title { font-size: 24px; }
  .trust__title { font-size: 24px; }
  .contact__title { font-size: 24px; }
  .foot__big { font-size: 48px; }
}

/* Touch / без hover — отключаем эффекты, ломающие UX на тапе */
@media (hover: none), (pointer: coarse) {
  .reel__card:hover { transform: none; }
  .reel__card:hover .reel__media img { transform: none; }
  .plan:hover { transform: none; box-shadow: none; }
  .plan:hover img { transform: none; }
  .trust__item:hover { background: transparent; }
  .topbar__cta:hover { background: var(--ink); }
  .topbar__cta:hover svg { transform: none; }
  .contact__submit:hover { background: var(--ink); }
  .contact__submit:hover svg { transform: none; }
  .topbar__brand:hover, .foot__mark:hover { opacity: 1; }
  .reel__hint { display: none; }
  .hero__scroll { display: none; }
}

/* Уважаем prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}

/* ============ Планировки: увеличение ============ */
.plan__media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
}
.plan__media img { display: block; }
.plan__zoom {
  /* Слева: в правом нижнем углу у всех планов кружок с площадью. */
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(250, 246, 238, 0.92);
  color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(20, 17, 13, 0.35);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.plan:hover .plan__zoom,
.plan:focus-visible .plan__zoom { opacity: 1; transform: none; }

body.is-lb-open { overflow: hidden; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  /* minmax(0, 1fr): иначе средняя строка растёт под размер картинки
     и план уходит под нижнюю панель. */
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(20, 17, 13, 0.97);
  color: var(--paper);
  opacity: 0;
  transition: opacity 0.25s var(--ease-soft);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }

.lb__top,
.lb__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 3vw, 32px);
}
.lb__count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
  min-width: 64px;
}
.lb__name {
  flex: 1;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.01em;
}
.lb__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 238, 0.22);
  background: rgba(250, 246, 238, 0.06);
  color: var(--paper);
  font: 400 22px/1 var(--sans);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lb__btn:hover { background: rgba(250, 246, 238, 0.16); border-color: rgba(250, 246, 238, 0.4); }
.lb__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.lb__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px clamp(16px, 7vw, 96px);
  touch-action: none;
}
.lb__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  background: #f5f5f5;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.18s var(--ease-soft);
  will-change: transform;
}
.lb.is-zoomed .lb__img { cursor: grab; transition: none; }
.lb.is-zoomed .lb__img:active { cursor: grabbing; }

.lb__nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
}
.lb__nav--prev { left: clamp(12px, 2vw, 28px); }
.lb__nav--next { right: clamp(12px, 2vw, 28px); }
.lb.is-single .lb__nav { display: none; }
.lb.is-zoomed .lb__nav { opacity: 0; pointer-events: none; }

.lb__zoom { display: flex; align-items: center; gap: 10px; }
.lb__level { min-width: 48px; text-align: center; font-size: 13px; color: rgba(250, 246, 238, 0.7); }
.lb__hint {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: rgba(250, 246, 238, 0.55);
}
.lb__cta {
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease);
}
.lb__cta:hover { background: var(--accent-2); }

@media (max-width: 760px) {
  .lb__top { padding: 12px 14px; gap: 10px; }
  .lb__count { min-width: 0; }
  .lb__name { text-align: left; }
  .lb__stage { padding: 0 10px; }
  .lb__nav { width: 38px; height: 38px; background: rgba(20, 17, 13, 0.55); }
  .lb__nav--prev { left: 6px; }
  .lb__nav--next { right: 6px; }
  .lb__bar { flex-wrap: wrap; justify-content: space-between; padding: 12px 14px 16px; }
  .lb__hint { order: -1; flex-basis: 100%; }
  .lb__zoom { display: none; }
  .lb__cta { flex: 1; text-align: center; }
}

@media (hover: none), (pointer: coarse) {
  .plan__zoom { opacity: 1; transform: none; }
}
