/* ФОТОЛАБ Memories — editorial redesign (navy + cream + orange) */
:root {
  --navy: #0B1A2A;
  --navy-soft: #122233;
  --cream: #F5F2EA;
  --cream-tint: #efeae0;
  --paper: #F5F2EA;
  --orange: #FF6A00;
  --orange-hover: #e55a0a;
  --orange-soft: rgba(255, 106, 19, 0.12);
  --text: #1a1a1a;
  --muted: #6b6560;
  --border: #e5dfd4;
  --white: #ffffff;
  --bg: var(--cream);
  --primary: var(--orange);
  --primary-hover: var(--orange-hover);
  --primary-text: #fff;
  --dark: var(--navy);
  --font-ui: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --radius: 20px;
  --radius-pill: 999px;
  --max: 1200px;
  --topbar-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 8px 32px rgba(13, 27, 42, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 19, 0.35);
}
.btn--primary:hover { background: var(--orange-hover); }

.btn--ghost {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--cream-tint); }

.btn--ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.08); }

.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--nav { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--icon { min-width: 44px; padding: 0; border-radius: 50%; }

.btn__ring { font-size: 14px; opacity: 0.85; }

.link-arrow {
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__logo {
  height: 34px;
  width: auto;
  max-width: min(140px, 40vw);
  object-fit: contain;
  object-position: left center;
}
.brand__logo--dark { display: none; }
.brand__logo--sm { height: 28px; max-width: 120px; }
.brand__sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand__sub--footer { display: block; margin: 6px 0 10px; }
.brand__sub-only { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--topbar-h);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.topbar--overlay {
  background: linear-gradient(180deg, rgba(11, 26, 42, 0.38) 0%, rgba(11, 26, 42, 0.04) 100%);
  border-bottom: 1px solid transparent;
}

.topbar--overlay .topbar__nav a,
.topbar--overlay .topbar__location,
.topbar--overlay .menu-toggle span {
  color: rgba(255, 255, 255, 0.88);
}
.topbar--overlay .brand__logo--light {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}
.topbar--overlay .brand__logo--dark { display: none; }
.topbar--overlay .brand__sub {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}
.topbar--overlay .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.topbar.is-solid {
  background: rgba(245, 242, 234, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: none;
}
.topbar.is-solid .topbar__nav a,
.topbar.is-solid .topbar__location { color: var(--text); }
.topbar.is-solid .brand__logo--light { display: none; }
.topbar.is-solid .brand__logo--dark { display: block; }
.topbar.is-solid .brand__sub { color: var(--orange); }
.topbar.is-solid .btn--ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--text);
}
.topbar.is-solid .menu-toggle span { background: var(--text); }

.topbar__inner {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.topbar__nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.topbar__nav a:hover { opacity: 0.75; }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}

.topbar__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.topbar__mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.topbar--overlay .topbar__mobile-actions {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}

.mobile-nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  display: grid;
  gap: 4px;
  box-shadow: var(--shadow);
  z-index: 49;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a {
  padding: 12px 0;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 12px; width: 100%; }

@media (max-width: 1024px) {
  .topbar__nav,
  .topbar__actions .btn--nav,
  .topbar__actions .topbar__location:not(.topbar__location--icon) {
    display: none;
  }
  .topbar__mobile-actions { display: flex; }
  .topbar__actions { margin-left: 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--topbar-h) + 28px) 24px 40px;
  background: var(--navy);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 26, 42, 0.78) 0%, rgba(11, 26, 42, 0.28) 46%, rgba(11, 26, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 26, 42, 0.42) 0%, transparent 38%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__layout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
}

.hero__label {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--orange);
}

.hero__content { max-width: 28rem; }

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 22px;
  max-width: 24rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__aside {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 12px;
}

.hero-stamp {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 72px;
  height: 72px;
  color: rgba(255, 255, 255, 0.35);
  transform: rotate(-8deg);
}
.hero-stamp__outline { width: 100%; height: 100%; }

.hero-handwritten {
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.15;
  text-align: right;
  margin: 0 0 8px;
}
.hero-handwritten span { display: block; font-size: 0.85em; opacity: 0.85; }
.hero-handwritten strong { display: block; font-size: 1.15em; font-weight: 600; }
.hero-handwritten--sm { color: var(--text); text-align: left; margin: 12px 0 0; }

.hero-coords {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  line-height: 1.5;
}
.hero-coords--dark { color: var(--muted); text-align: left; }

/* Polaroid */
.polaroid { margin: 0; }
.polaroid__frame {
  background: #fff;
  padding: 10px 10px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.polaroid__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.polaroid__caption {
  margin-top: -22px;
  padding: 0 4px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--text);
  text-align: center;
}
.polaroid--hero {
  transform: rotate(6deg);
  width: min(168px, 28vw);
  position: relative;
  z-index: 3;
}
.polaroid--print .polaroid__frame { padding: 6px 6px 18px; }
.polaroid--print .polaroid__frame img { aspect-ratio: 3 / 4; }

/* Benefits */
.benefits {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
}
.benefits__inner {
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.benefit {
  position: relative;
  padding: 18px 16px 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.38);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.benefit__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 12px;
}
.benefit__icon {
  color: var(--orange);
  margin-bottom: 12px;
}
.benefit__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.benefit p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.benefit__arrow {
  display: block;
  margin-top: 12px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
@media (hover: hover) {
  .benefit:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 106, 0, 0.35);
    box-shadow: var(--shadow);
  }
  .benefit:hover .benefit__arrow { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .benefits__inner {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .benefit:last-child { grid-column: 1 / -1; }
  .benefit__arrow { display: none; }
}
@media (max-width: 360px) {
  .benefits__inner { grid-template-columns: 1fr; }
  .benefit:last-child { grid-column: auto; }
}

/* Sections */
.section {
  padding: 80px 24px;
  background: var(--cream);
}
.section--memories {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.section--points { background: var(--cream); }

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

.section-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section__lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 36rem;
  line-height: 1.6;
}
.section__text {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 32rem;
}

.section-deco {
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(13, 27, 42, 0.08);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* Memories */
.memories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.memories__deco-hand {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--muted);
  line-height: 1.2;
  margin: 0 0 28px;
}
.memories__visual { margin: 0; }
.memories__visual:focus { outline: none; }
.memories__visual:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}

.product-visual {
  position: relative;
  min-height: 720px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual__prints {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.product-visual__print {
  position: absolute;
  width: 32%;
  transform: rotate(var(--rot, 0deg));
  z-index: 1;
}
.product-visual__print--1 { top: 6%; left: 2%; --rot: -10deg; }
.product-visual__print--2 { bottom: 4%; left: 12%; --rot: 7deg; width: 28%; z-index: 2; }
.product-visual__print--3 { top: 8%; right: 6%; --rot: 11deg; width: 26%; }

.phone-mockup {
  position: relative;
  z-index: 3;
  width: min(280px, 68vw);
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 26px 40px rgba(13, 27, 42, 0.28));
}
.phone-mockup__screen {
  position: absolute;
  /* измеренные отверстия экрана в PNG-рамке */
  top: 2.2%;
  right: 14.3%;
  bottom: 3.1%;
  left: 14.3%;
  z-index: 1;
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
  border-radius: 14% / 6.2%;
  overflow: hidden;
  background: #f6f3ec;
  isolation: isolate;
}
.phone-mockup__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.phone-mockup-slot { display: flex; align-items: center; justify-content: center; }

.showcase-slide {
  display: none;
  position: relative;
  height: 100%;
  min-height: 100%;
  padding-top: 34px; /* Dynamic Island */
  box-sizing: border-box;
}
.showcase-slide.is-active {
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .showcase-slide.is-active {
    animation: showcase-in 0.35s var(--ease);
  }
}
@keyframes showcase-in {
  from { opacity: 0.35; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 10px 12px;
  flex: 1;
}
.showcase-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.showcase-viewer {
  flex: 1;
  display: flex;
  min-height: 0;
}
.showcase-viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-memory {
  padding: 0 10px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.showcase-memory img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  border-radius: 10px;
}
.showcase-memory p {
  margin: 10px 4px 0;
  font-size: 0.72rem;
  color: #6b6560;
  line-height: 1.4;
}
.showcase-nav {
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(245, 242, 234, 0.92);
  border: 1px solid var(--border);
}
.showcase-nav__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}
.showcase-dots { display: flex; gap: 6px; }
.showcase-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cfc8bb;
  cursor: pointer;
}
.showcase-dots button.is-active { background: var(--orange); }

.client-mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 8px;
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.client-mock__bar img { height: 14px; width: auto; max-width: 72px; object-fit: contain; }
.client-mock__bar span {
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.client-mock__greet { padding: 12px 12px 4px; }
.client-mock__greet h3 { margin: 0 0 2px; font-size: 1.05rem; font-weight: 700; color: #1a1a1a; }
.client-mock__greet p { margin: 0; font-size: 0.72rem; color: #6b7280; }
.client-mock__page { padding: 8px 12px 10px; }
.client-mock__page strong { display: block; font-size: 0.92rem; font-weight: 700; color: #1a1a1a; }
.client-mock__page span { display: block; margin-top: 2px; font-size: 0.68rem; color: #6b7280; }
.client-mock__albums { display: grid; gap: 8px; padding: 0 10px 12px; }
.client-mock__album {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ececec;
}
.client-mock__cover { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.client-mock__body strong { display: block; font-size: 0.72rem; font-weight: 600; color: #1a1a1a; }
.client-mock__body span { display: block; margin-top: 2px; font-size: 0.62rem; color: #6b7280; }
.client-mock__chev { font-size: 0.9rem; color: #9ca3af; }

/* Souvenirs */
.souvenirs-head { max-width: 36rem; margin-bottom: 40px; }
.souvenir-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.souvenir-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.05);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.souvenir-card__media { overflow: hidden; background: var(--cream-tint); }
.souvenir-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.souvenir-card__body {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.souvenir-card__body strong { font-size: 15px; }
.souvenir-card__body span { font-size: 13px; color: var(--muted); }
.souvenir-card__arrow { margin-left: auto; color: var(--orange); opacity: 0; transition: opacity 0.25s; }
@media (hover: hover) {
  .souvenir-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .souvenir-card:hover img { transform: scale(1.04); }
  .souvenir-card:hover .souvenir-card__arrow { opacity: 1; }
}
@media (hover: none) {
  .souvenir-card__arrow { opacity: 0.75; }
}
.souvenirs-cta { margin: 32px 0 0; }

@media (max-width: 900px) {
  .souvenir-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Points */
.points {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.points__visual { margin: 0; position: relative; }
.points__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
  background: #fff;
  padding: 10px 10px 36px;
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.12);
}
.points__visual figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.points__pin {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

@media (max-width: 768px) {
  .points { grid-template-columns: 1fr; }
}

/* Khabarovsk */
.khabarovsk {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
}
.khabarovsk__media {
  position: absolute;
  inset: 0;
}
.khabarovsk__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.khabarovsk__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 26, 42, 0.7) 0%, rgba(11, 26, 42, 0.28) 52%, rgba(11, 26, 42, 0.48) 100%);
}
.khabarovsk__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 640px;
}
.khabarovsk__title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.khabarovsk__subtitle {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.khabarovsk__coords {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.khabarovsk__hand {
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: rgba(255, 255, 255, 0.92);
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 88px;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.final-cta__watermark {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: clamp(4rem, 16vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}
.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.final-cta__inner::before,
.final-cta__inner::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 0 auto 28px;
  background: rgba(255, 255, 255, 0.18);
}
.final-cta__inner::after {
  margin: 28px auto 0;
}
.final-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.final-cta__lead {
  margin: 0 0 28px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}
.final-cta .btn--primary { box-shadow: 0 12px 40px rgba(255, 106, 0, 0.4); }
.final-cta__coords {
  margin: 28px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.footer {
  padding: 56px 24px 32px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 24px 32px;
}
.footer__brand p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 16rem;
}
.footer__hand,
.footer__center {
  margin-top: 12px !important;
  font-family: var(--font-hand);
  font-size: 1.35rem !important;
  color: var(--text) !important;
}
.footer__col h3 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer__col a {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.footer__col a:hover { color: var(--orange); }
.footer__city {
  margin: 16px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5;
}
.footer__nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.footer__nav a:hover { color: var(--orange); }
.footer__legal {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* Cookie */
.cookie {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 60;
  max-width: 520px;
  margin: 0 auto;
}
.cookie[hidden] { display: none !important; }
.cookie__inner {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cookie__inner p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.cookie__inner a { color: var(--orange); font-weight: 600; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Reveal animations */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Partner / legal pages: sticky light header, not hero overlay */
.kp-page .topbar,
.legal-page .topbar,
.editorial-page .topbar {
  position: sticky;
  height: auto;
  min-height: var(--topbar-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.kp-page .topbar__nav a,
.kp-page .topbar__location,
.legal-page .topbar__nav a,
.editorial-page .topbar__nav a {
  color: var(--text);
}

.kp-page .brand__logo,
.legal-page .brand__logo--dark,
.editorial-page .brand__logo--dark {
  filter: none;
}

/* Editorial subpages */
.editorial-page { background: var(--cream); min-height: 100vh; }
.editorial-page .topbar {
  position: sticky;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.editorial-page .topbar--overlay { background: var(--cream); }
.editorial-page .topbar__nav a,
.editorial-page .topbar__location { color: var(--text); }
.editorial-page .brand__logo--light { display: none; }
.editorial-page .brand__logo--dark { display: block; }
.editorial-page .brand__sub { color: var(--orange); }
.editorial-page .menu-toggle span { background: var(--text); }

.editorial {
  padding: 48px 24px 88px;
}
.editorial__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.editorial__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.editorial h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.editorial__lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.editorial__photo {
  max-width: 280px;
  margin: 8px auto 32px;
  transform: rotate(-2deg);
}
.editorial__photo .polaroid__frame { box-shadow: 0 12px 32px rgba(13, 27, 42, 0.12); }
.editorial__caption {
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  text-align: center;
  color: var(--text);
}
.editorial h2 {
  margin: 28px 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
}
.editorial p, .editorial li {
  color: var(--text);
  line-height: 1.65;
}
.editorial ul { padding-left: 1.2rem; }
.editorial a { color: var(--orange); font-weight: 600; }
.editorial__hand {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--muted);
  margin: 24px 0;
}
.editorial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Legal pages (privacy, personal-data) */
.legal-page { background: var(--cream); }
.legal-page .topbar {
  position: sticky;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.legal-page .brand__logo--light { display: none; }
.legal-page .brand__logo--dark { display: block; }
.legal-page .brand__sub { color: var(--orange); }
.legal { padding: 48px 24px 88px; }
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.legal h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 10px; }
.legal__meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal p, .legal li { line-height: 1.6; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--orange); font-weight: 600; }
.legal__back { margin-top: 40px !important; }

/* Mobile hero */
@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__aside {
    align-items: flex-start;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-stamp { display: none; }
  .hero-handwritten { text-align: left; }
  .hero-coords { text-align: left; }
  .polaroid--hero {
    margin-left: auto;
    transform: rotate(4deg);
  }
  .memories { grid-template-columns: 1fr; }
  .section-deco { display: none; }
  .product-visual { min-height: 640px; }
  .product-visual__prints { display: none; }
  .phone-mockup { width: min(270px, 72vw); }
  .product-visual { min-height: 620px; }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding: calc(var(--topbar-h) + 12px) 20px 20px;
  }
  .hero__media img { object-position: center 14%; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(11, 26, 42, 0.06) 0%, rgba(11, 26, 42, 0.04) 46%, rgba(11, 26, 42, 0.82) 100%);
  }
  .hero__content { max-width: none; }
  .hero__title { font-size: clamp(1.42rem, 6.4vw, 1.78rem); line-height: 1.05; letter-spacing: -0.028em; }
  .hero__lead { display: none; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; min-height: 48px; }
  .hero__label { margin-bottom: 10px; }
  .polaroid--hero { display: none; }
  .hero__aside { min-height: 0; padding-bottom: 0; }
  .section { padding: 56px 20px; }
  .khabarovsk { min-height: 72vh; padding: 64px 20px; }
  .khabarovsk__title { font-size: clamp(2rem, 11vw, 2.6rem); }
  .final-cta { padding: 80px 20px 72px; }
  .editorial__inner { padding: 28px 22px; }
  .legal__inner { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .souvenir-card,
  .btn,
  .showcase-slide,
  .hero__media img,
  .khabarovsk__media img {
    transition: none !important;
    animation: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
