﻿/* PALOMA Coffee — блоки страницы coffee.html */

.coffee-page {
  --coffee-bg: #1B1A18;
  --coffee-surface: #1B1A18;
  --coffee-surface-2: #1B1A18;
  --coffee-text: #FFFFFF;
  --coffee-muted: rgba(245, 240, 232, 0.55);
  --coffee-border: rgba(245, 240, 232, 0.12);
  --coffee-accent: #FFFFFF;
  --coffee-accent-dim: #1B1A18;
  background: var(--coffee-bg);
  color: var(--coffee-text);
}

.coffee-main {
  padding-top: 0;
}

/* ── COFFEE HERO ───────────────────────────────────────── */

.coffee-hero {
  position: relative;
  margin-top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.coffee-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.coffee-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coffee-hero__video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    #1B1A18 0%,
    #1B1A18 35%,
    #1B1A18 70%,
    #FFFFFF 100%
  );
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.coffee-hero__video-placeholder.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.coffee-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(27, 26, 24, 0.12) 0%,
    rgba(27, 26, 24, 0.08) 40%,
    rgba(27, 26, 24, 0.45) 100%
  );
}

.coffee-hero__mini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: clamp(180px, 22vw, 320px);
  aspect-ratio: 4 / 5;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(27, 26, 24, 0.25);
}

.coffee-hero__mini-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coffee-hero__mini-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #1B1A18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  z-index: 1;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
}

.coffee-hero__mini-placeholder.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.coffee-hero__mini-placeholder::after {
  content: "COFFEE";
}

.coffee-hero__text {
  position: relative;
  z-index: 4;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px);
  max-width: 520px;
  color: var(--color-white);
}

.coffee-hero__lead {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 12px;
  opacity: 0.95;
}

.coffee-hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.coffee-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition:
    border-color 0.3s ease,
    opacity 0.3s ease;
}

.coffee-hero__link:hover {
  border-color: var(--color-white);
  opacity: 0.85;
}

@media (max-width: 768px) {
  .coffee-hero__mini {
    width: 44vw;
    top: 38%;
    transform: translate(-50%, -50%);
  }
}

/* ── COFFEE INTRO ──────────────────────────────────────── */

.coffee-intro {
  background: var(--color-bg);
  padding: clamp(28px, 4.4vw, 62px) 0;
}

.coffee-intro__grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}

.coffee-intro__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.coffee-intro__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.coffee-intro__copy {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.coffee-intro__btn {
  align-self: flex-start;
}

.coffee-intro__small-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1.5vw, 16px);
}

.coffee-intro__small-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.coffee-intro__small-img--1 {
  background: linear-gradient(135deg, #1B1A18 0%, #1B1A18 100%);
}

.coffee-intro__small-img--2 {
  background: linear-gradient(135deg, #FFFFFF 0%, #1B1A18 100%);
}

.coffee-intro__right {
  overflow: hidden;
}

.coffee-intro__main-image {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(160deg, #1B1A18 0%, #1B1A18 50%, #1B1A18 100%);
}

@media (max-width: 1024px) {
  .coffee-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .coffee-intro__right {
    order: -1;
  }

  .coffee-intro__main-image {
    min-height: 300px;
  }
}

/* ── COFFEE MENU SECTION ─────────────────────────────── */

.coffee-menu-section {
  background: var(--color-bg);
  padding: clamp(28px, 4.4vw, 62px) 0;
  position: relative;
  overflow: hidden;
}

.coffee-menu-section__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  position: relative;
}

.coffee-bean-decor {
  position: absolute;
  left: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 28vw, 420px);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.coffee-bean-decor__svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .coffee-bean-decor {
    display: none;
  }
}

.coffee-menu-section__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 1;
}

.coffee-menu-section__eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.coffee-menu-section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.06vw, 57px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.coffee-menu-section__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

.coffee-menu-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pinch-zoom;
  padding-bottom: 8px;
  margin-bottom: clamp(32px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.coffee-menu-filters::-webkit-scrollbar {
  display: none;
}

.coffee-menu-filters .filter-chip {
  flex-shrink: 0;
  padding: 9px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition:
    border-color 0.3s ease,
    color 0.3s ease,
    background 0.3s ease;
}

.coffee-menu-filters .filter-chip:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.coffee-menu-filters .filter-chip.is-active {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.coffee-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-accent, #1B1A18);
  position: relative;
  z-index: 1;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px) 0;
  border-bottom: 1px solid var(--color-accent, #1B1A18);
  transition:
    padding-left 0.4s ease,
    background 0.3s ease;
  cursor: default;
}

.menu-item__body {
  display: contents;
}

.menu-item:hover {
  padding-left: 20px;
  background: var(--color-bg-alt, #FFFFFF);
}

.menu-item.is-hidden {
  display: none;
}

.menu-item__info {
  min-width: 0;
}

.menu-item__name {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(22px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--color-text);
  transition: color 0.3s ease;
  margin-bottom: 6px;
}

.menu-item:hover .menu-item__name {
  color: var(--color-accent);
}

.menu-item__desc {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.menu-item__volume {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  display: block;
  margin-top: 4px;
}

.menu-item__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.menu-item__price {
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.menu-item__add {
  padding: 12px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 44px;
  white-space: nowrap;
}

.menu-hover-photo {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 0;
}

.menu-hover-photo.is-visible {
  opacity: 1;
  transform: scale(1);
}

.menu-hover-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

@media (max-width: 640px) {
  .menu-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-item__right {
    justify-content: space-between;
  }

  .menu-hover-photo {
    display: none;
  }
}

@media (max-width: 768px) {
  .coffee-menu-filters {
    justify-content: flex-start;
  }
}

/* ── COFFEE COMBO ────────────────────────────────────── */

.coffee-combo {
  background: var(--color-bg-alt);
  padding: clamp(28px, 4.4vw, 62px) 0;
}

.coffee-combo__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.coffee-combo__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #1B1A18 50%,
    #1B1A18 100%
  );
}

.coffee-combo__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.coffee-combo__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.64vw, 64px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 28px;
}

.coffee-combo__text {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 440px;
  margin-bottom: 36px;
}

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

@media (max-width: 1024px) {
  .coffee-combo__inner {
    grid-template-columns: 1fr;
  }

  .coffee-combo__image {
    aspect-ratio: 16 / 9;
  }
}

/* ── COFFEE STORY (b/w + color inset) ─────────────────── */

.coffee-story {
  position: relative;
}

.coffee-story__scene {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr min(34vw, 380px);
  align-items: stretch;
}

.coffee-story__scene[data-scene="1"] {
  z-index: 1;
}

.coffee-story__scene[data-scene="2"] {
  z-index: 2;
}

.coffee-story__scene[data-scene="3"] {
  z-index: 3;
}

.coffee-story__scene[data-scene="4"] {
  z-index: 4;
}

.coffee-story__bg-bw {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1);
  z-index: 0;
}

.coffee-story__bg-bw--1 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-story__bg-bw--2 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-story__bg-bw--3 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-story__bg-bw--4 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-story__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(27, 26, 24, 0.4);
  pointer-events: none;
}

.coffee-story__left {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 2.75vw, 44px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  grid-column: 1;
}

.coffee-story__num {
  font-family: var(--ital);
  font-size: clamp(30px, 6vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 16px;
}

.coffee-story__text {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 420px;
  font-weight: 300;
}

.coffee-story__text strong {
  display: block;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 20px);
  margin-bottom: 8px;
  color: #FFFFFF;
  font-style: normal;
}

.coffee-story__right {
  position: relative;
  z-index: 2;
  padding: 40px 40px 40px 0;
  height: 100%;
  display: flex;
  align-items: center;
  grid-column: 2;
}

.coffee-story__mini {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.coffee-story__mini--1 {
  background: linear-gradient(160deg, #FFFFFF, #1B1A18);
}

.coffee-story__mini--2 {
  background: linear-gradient(160deg, #FFFFFF, #1B1A18);
}

.coffee-story__mini--3 {
  background: linear-gradient(160deg, #FFFFFF, #FFFFFF);
}

.coffee-story__mini--4 {
  background: linear-gradient(160deg, #FFFFFF, #1B1A18);
}

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

  .coffee-story__right {
    display: none;
  }

  .coffee-story__left {
    grid-column: 1;
  }
}

/* ── COFFEE CONTACTS ─────────────────────────────────── */

.coffee-contacts {
  background: var(--color-bg-alt);
  padding: clamp(28px, 4.4vw, 62px) 0;
}

.coffee-contacts__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.coffee-contacts__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.coffee-contacts__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.06vw, 53px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
}

.coffee-contacts__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.coffee-contacts__item {
  display: grid;
  grid-template-columns: minmax(0, 120px) 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  line-height: 1.4;
}

.coffee-contacts__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-top: 2px;
}

.coffee-contacts__item a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.coffee-contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coffee-contacts__map-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.coffee-contacts__iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: none;
}

@media (max-width: 1024px) {
  .coffee-contacts__inner {
    grid-template-columns: 1fr;
  }

  .coffee-contacts__media {
    order: -1;
  }

  .coffee-contacts__iframe {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-item {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .menu-item:hover {
    padding-left: 0;
  }

  .coffee-hero__link,
  .coffee-menu-filters .filter-chip {
    transition: none;
  }

  .coffee-contacts__item a {
    transition: none;
  }
}

#coffee-menu,
#coffee-contacts,
#coffeeProcess {
  scroll-margin-top: clamp(96px, 12vw, 112px);
}

@media (max-width: 768px) {
  #coffee-menu,
  #coffee-contacts,
  #coffeeProcess {
    scroll-margin-top: 88px;
  }
}

/* ── COFFEE PROCESS ── */
.coffee-process {
  padding-top: clamp(28px, 4.4vw, 62px);
  background: var(--color-bg);
  overflow-x: clip;
}

.coffee-process__header {
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 780px;
}

.coffee-process__label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.coffee-process__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.06vw, 57px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.coffee-process__lead {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 520px;
}

.coffee-process__viewport {
  position: relative;
  height: 350vh;
}

.coffee-process__track {
  position: sticky;
  top: 96px;
  height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.5vw, 24px);
  padding: 0 clamp(24px, 5vw, 80px);
  overflow: hidden;
  will-change: transform;
}

.coffee-process__card {
  flex-shrink: 0;
  width: clamp(260px, 29vw, 400px);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}

.coffee-process__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .coffee-process__card:hover .coffee-process__card-bg {
    transform: scale(1.04);
  }
}

.coffee-process__card-bg--1 {
  background: linear-gradient(160deg, #FFFFFF 0%, #1B1A18 100%);
}

.coffee-process__card-bg--2 {
  background: linear-gradient(160deg, #1B1A18 0%, #1B1A18 100%);
}

.coffee-process__card-bg--3 {
  background: linear-gradient(160deg, #FFFFFF 0%, #1B1A18 100%);
}

.coffee-process__card-bg--4 {
  background: linear-gradient(160deg, #1B1A18 0%, #1B1A18 100%);
}

.coffee-process__card-bg--5 {
  background: linear-gradient(160deg, #1B1A18 0%, #1B1A18 100%);
}

.coffee-process__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(27, 26, 24, 0.08) 0%,
    rgba(27, 26, 24, 0.55) 100%
  );
  z-index: 1;
}

.coffee-process__card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-white);
}

.coffee-process__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.06vw, 53px);
  font-weight: 300;
  line-height: 1;
  opacity: 0.9;
}

.coffee-process__card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.coffee-process__card-text {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .coffee-process__viewport {
    height: auto;
  }

  .coffee-process__track {
    position: static;
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    padding-bottom: 32px;
  }

  .coffee-process__track::-webkit-scrollbar {
    display: none;
  }

  .coffee-process__card {
    width: 78vw;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-process__card-bg {
    transition: none;
  }

  .coffee-process__track {
    will-change: auto;
  }
}

/* ═══════════════════════════════════════════════════════
   PALOMA Coffee — тёмная тема и новые секции
   ═══════════════════════════════════════════════════════ */

.coffee-page .top-marquee {
  display: none;
}

.coffee-page .site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.coffee-page .site-header {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.coffee-page .site-header.is-scrolled {
  background: rgba(12, 11, 10, 0.94);
  border-bottom-color: var(--coffee-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.coffee-page .site-header__logo-word,
.coffee-page .site-header__logo-tag,
.coffee-page .site-header__link,
.coffee-page .site-header__phone,
.coffee-page .site-header__icon,
.coffee-page .site-header__menu-toggle {
  color: var(--coffee-text);
}

.coffee-page .site-header__logo-tag,
.coffee-page .site-header__link {
  opacity: 0.72;
}

.coffee-page .site-header__link:hover,
.coffee-page .site-header__link.is-active {
  opacity: 1;
}

.coffee-page .site-header__menu-lines,
.coffee-page .site-header__menu-lines::before,
.coffee-page .site-header__menu-lines::after {
  background: var(--coffee-text);
}

.coffee-page .site-footer {
  background: var(--coffee-bg);
  border-top: 1px solid var(--coffee-border);
  color: var(--coffee-muted);
}

.coffee-page .site-footer a {
  color: inherit;
}

.coffee-page .footer-logo__text,
.coffee-page .footer-contacts__phone {
  color: rgba(255, 255, 255, 0.90);
}

/* Кнопки кофейни */
.btn--coffee,
.btn--coffee-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--coffee-accent);
  background: var(--coffee-accent);
  color: var(--coffee-bg);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn--coffee:hover,
.btn--coffee-hero:hover {
  background: transparent;
  color: var(--coffee-accent);
}

.btn--coffee-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--coffee-border);
  background: transparent;
  color: var(--coffee-text);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.btn--coffee-outline:hover {
  border-color: var(--coffee-text);
}

.coffee-hero__offer {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 28px;
  opacity: 0.92;
  max-width: 28em;
}

.coffee-hero__cta {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .coffee-hero {
    align-items: flex-end;
  }

  .coffee-hero__text {
    max-width: none;
    padding-bottom: clamp(48px, 12vw, 72px);
  }

  .coffee-hero__mini {
    top: 42%;
  }
}

/* Атмосфера */
.coffee-atmosphere {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 820px);
  background: var(--coffee-surface);
}

.coffee-atmosphere__media {
  min-height: 320px;
  background:
    linear-gradient(165deg, rgba(27, 26, 24, 0.15), rgba(27, 26, 24, 0.45)),
    linear-gradient(160deg, #1B1A18 0%, #1B1A18 45%, #1B1A18 100%);
  background-size: cover;
  background-position: center;
}

.coffee-atmosphere__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.3vw, 53px) clamp(24px, 5vw, 80px);
  gap: 20px;
}

.coffee-atmosphere__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--coffee-accent);
}

.coffee-atmosphere__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--coffee-text);
}

.coffee-atmosphere__text {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--coffee-muted);
  max-width: 36em;
}

.coffee-atmosphere__btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .coffee-atmosphere {
    grid-template-columns: 1fr;
  }

  .coffee-atmosphere__media {
    min-height: 52vw;
    order: -1;
  }
}

/* Меню — на всю ширину, тёмное */
.coffee-page .coffee-menu-section {
  background: var(--coffee-bg);
  padding: clamp(28px, 4.95vw, 66px) clamp(20px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}

.coffee-page .coffee-menu-section__header {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.coffee-page .coffee-menu-section__eyebrow {
  color: var(--coffee-accent);
}

.coffee-page .coffee-menu-section__title {
  color: var(--coffee-text);
}

.coffee-page .coffee-menu-section__lead {
  color: var(--coffee-muted);
}

.coffee-page .coffee-menu-filters .filter-chip {
  border-color: var(--coffee-border);
  color: var(--coffee-muted);
}

.coffee-page .coffee-menu-filters .filter-chip:hover {
  border-color: var(--coffee-text);
  color: var(--coffee-text);
}

.coffee-page .coffee-menu-filters .filter-chip.is-active {
  background: var(--coffee-text);
  color: var(--coffee-bg);
  border-color: var(--coffee-text);
}

.coffee-page .coffee-menu-grid {
  max-width: 1100px;
  margin: 0 auto;
  border-top-color: var(--coffee-border);
  position: relative;
  z-index: 3;
}

.coffee-page .menu-item {
  border-bottom-color: var(--coffee-border);
  cursor: default;
}

.coffee-page .menu-item:hover {
  padding-left: 16px;
  background: var(--coffee-surface-2);
}

.coffee-page .menu-item__name {
  color: var(--coffee-text);
}

.coffee-page .menu-item:hover .menu-item__name {
  color: var(--coffee-accent);
}

.coffee-page .menu-item__desc,
.coffee-page .menu-item__volume {
  color: var(--coffee-muted);
}

.coffee-page .menu-item__price {
  color: var(--coffee-text);
}

.coffee-page .menu-item__add.btn--coffee {
  min-height: 44px;
}

/* Hover-фото — статично по центру, с наклоном */
.menu-hover-photo-slot {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  width: clamp(130px, 15vw, 200px);
}

.coffee-page .menu-hover-photo {
  position: relative;
  inset: auto;
  width: 100%;
  opacity: 0;
  transform: rotate(-7deg) scale(0.94);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 24px 64px rgba(27, 26, 24, 0.45);
}

.menu-hover-photo-slot.is-visible .menu-hover-photo {
  opacity: 1;
  transform: rotate(-7deg) scale(1);
}

.menu-hover-photo__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .menu-hover-photo-slot {
    display: none;
  }
}

@media (max-width: 640px) {
  .coffee-page .menu-item {
    grid-template-columns: 1fr;
  }

  .coffee-page .menu-item__right {
    justify-content: space-between;
  }
}

/* Curtain / story этапы */
.coffee-curtains {
  position: relative;
  background: var(--coffee-bg);
}

.coffee-curtain {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  z-index: var(--curtain-z, 1);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.coffee-curtain__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.coffee-curtain__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coffee-curtain__bg-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.coffee-curtain__bg-placeholder--1 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-curtain__bg-placeholder--2 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-curtain__bg-placeholder--3 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-curtain__bg-placeholder--4 {
  background: linear-gradient(160deg, #1B1A18, #1B1A18);
}

.coffee-curtain__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(27, 26, 24, 0.25) 0%,
    rgba(27, 26, 24, 0.35) 50%,
    rgba(27, 26, 24, 0.65) 100%
  );
}

.coffee-curtain__mini {
  position: absolute;
  top: 50%;
  right: clamp(24px, 8vw, 120px);
  transform: translateY(-50%);
  z-index: 3;
  width: clamp(120px, 14vw, 200px);
  aspect-ratio: 3 / 4;
  background: rgba(245, 240, 232, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(27, 26, 24, 0.35);
}

.coffee-curtain__mini--1 {
  background: linear-gradient(180deg, #1B1A18, #1B1A18);
}

.coffee-curtain__mini--2 {
  background: linear-gradient(180deg, #1B1A18, #1B1A18);
}

.coffee-curtain__mini--3 {
  background: linear-gradient(180deg, #FFFFFF, #1B1A18);
}

.coffee-curtain__mini--4 {
  background: linear-gradient(180deg, #FFFFFF, #1B1A18);
}

.coffee-curtain__content {
  position: relative;
  z-index: 4;
  padding: clamp(28px, 3.3vw, 53px) clamp(24px, 5vw, 80px);
  max-width: 520px;
  color: var(--coffee-text);
}

.coffee-curtain__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 63px);
  line-height: 1;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

.coffee-curtain__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 12px;
}

.coffee-curtain__text {
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 300;
}

@media (max-width: 768px) {
  .coffee-curtain__mini {
    right: auto;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -50%);
    width: 36vw;
    opacity: 0.85;
  }

  .coffee-curtain__content {
    padding-bottom: clamp(28px, 7.7vw, 44px);
  }
}

/* Финальный CTA */
.coffee-cta-final {
  background: var(--coffee-surface);
  padding: clamp(28px, 6.6vw, 76px) clamp(24px, 5vw, 80px);
  text-align: center;
}

.coffee-cta-final__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .menu-hover-photo,
  .coffee-curtain__bg-placeholder {
    transition: none;
  }
}
