/* =========================================================
   РЕТРО-ОФОРМЛЕНИЕ САЙТА (основное, решение владельца 19.09.2026).
   Подключается поверх style.css на всех страницах.
   Итальянская кофейная вывеска 50–60-х: кремовая бумага,
   старинный шрифт, приглушённый красный и горчичный.
   ========================================================= */
:root {
  --coffee:   #2b2118;
  --coffee-2: #3c2f22;
  --crema:    #b4442f;  /* приглушённый красный — главный акцент */
  --crema-dk: #8e3221;
  --milk:     #f4ead8;  /* кремовая бумага */
  --latte:    #ead9bd;
  --text:     #2b2118;
  --muted:    #6d5b45;
  --line:     #d9c3a0;
  --white:    #fbf5e9;
  --mustard:  #d59b2e;
  --radius:   6px;
  --shadow:   6px 6px 0 rgba(43, 33, 24, .14);
}

/* --- СТАРАЯ КОФЕЙНАЯ БУМАГА ---------------------------------
   Слои: волокна бумаги + пятна и потёки кофе + ваш рисунок
   кофемашины еле заметно на заднем плане. Ниже — прозрачность
   каждого слоя, её легко поменять. */
body {
  font-family: "Karla", system-ui, sans-serif;
  background-color: var(--milk);
  position: relative;
}
/* фон-мастерская за листом */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: url("/img/warsztat.webp") no-repeat center center / cover, #cfc3ad;
  /* без размытия — картинка чёткая; лёгкое приглушение цвета, чтобы не спорила с текстом */
  filter: saturate(.95) brightness(1.02);
}
/* сам лист бумаги: волокна, пятна кофе и рисунок кофемашины */
.sheet {
  position: relative;
  isolation: isolate;   /* чтобы рисунок кофемашины лежал НА бумаге, а не ушёл за неё */
  max-width: 1180px;
  margin: 0 auto;
  background:
    url("/img/paper-stains.svg") no-repeat center / cover,
    url("/img/paper-fibers.svg") repeat 0 0 / 320px,
    var(--milk);
  box-shadow: 0 24px 70px rgba(30, 20, 12, .45), 0 2px 0 rgba(255,255,255,.4) inset;
}
/* рисунок кофемашины — еле заметно на листе */
.sheet::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* «fixed» — рисунок не уезжает при прокрутке, поэтому виден на всём сайте */
  background: url("/img/ekspres-szkic.webp") no-repeat center center / cover fixed;
  opacity: .17; z-index: -1;   /* рисунок под содержимым, но поверх бумаги */
  mix-blend-mode: multiply;
}

/* затемнённые углы, как на старом фото */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(43,33,24,0) 42%, rgba(43,33,24,.28) 72%, rgba(43,33,24,.58) 100%),
    linear-gradient(to bottom, rgba(43,33,24,.18), rgba(43,33,24,0) 16%, rgba(43,33,24,0) 84%, rgba(43,33,24,.20));
  mix-blend-mode: multiply;
}
.sheet { max-width: min(1180px, 94vw); }
/* на телефоне лист во всю ширину, фото мастерской не грузим */
@media (max-width: 720px) {
  .sheet { max-width: 100%; box-shadow: none; }
  body::before { display: none; }
}

/* блоки со своим фоном — полупрозрачные, чтобы бумага просвечивала */
.section--tint { background: rgba(234,217,189,.72); }
.section--form { background: rgba(234,217,189,.72); }
.topbar { background: var(--milk); } /* непрозрачная: зелень за ней не просвечивает */

h1, h2, h3, .rating__score, .facts strong {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: 0;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.eyebrow { font-family: "Karla", sans-serif; font-weight: 800; letter-spacing: .22em; color: var(--crema); }

/* Кнопки — прямоугольные, с твёрдой тенью */
/* Кнопки — настоящие: круглые углы, блик по верхнему краю, тёмная
   подошва, видимая толщина и мягкая тень на бумагу. При нажатии
   кнопка по-настоящему уходит вниз. */
.btn {
  border-radius: 14px;
  border: 1.5px solid rgba(43, 33, 24, .5);
  /* Стекло: блик по верхней половине, тёплый отблеск снизу и толща
     по нижнему краю. Весь свет в фоне — надпись остаётся чёткой. */
  background-image:
    radial-gradient(72% 130% at 26% -14%, rgba(255,255,255,.62) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(52% 32% at 50% 104%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 72%),
    linear-gradient(180deg,
      rgba(255, 255, 255, .34) 0%,
      rgba(255, 255, 255, .11) 45%,
      rgba(0, 0, 0, .05) 51%,
      rgba(0, 0, 0, .18) 100%);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .95rem;
  text-shadow: 0 1px 0 rgba(43, 33, 24, .3);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .7),
    inset 0 -4px 7px rgba(43, 33, 24, .34),
    inset 3px 0 6px rgba(255, 255, 255, .12),
    0 3px 0 rgba(43, 33, 24, .34),
    0 8px 18px rgba(43, 33, 24, .26),
    0 1px 2px rgba(43, 33, 24, .18);
  transition: transform .14s ease, box-shadow .14s ease,
              background-color .2s ease, filter .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05) brightness(1.04);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .8),
    inset 0 -4px 7px rgba(43, 33, 24, .34),
    inset 3px 0 6px rgba(255, 255, 255, .14),
    0 5px 0 rgba(43, 33, 24, .34),
    0 14px 26px rgba(43, 33, 24, .3),
    0 1px 2px rgba(43, 33, 24, .18);
}
.btn:active {
  transform: translateY(3px);
  filter: none;
  box-shadow:
    inset 0 3px 7px rgba(43, 33, 24, .45),
    inset 0 -1px 0 rgba(255, 255, 255, .1),
    0 0 0 rgba(43, 33, 24, .34),
    0 3px 8px rgba(43, 33, 24, .22);
}
.btn--small { border-radius: 11px; }
.btn--big { font-size: 1.05rem; border-radius: 17px; }

/* Светлые кнопки на тёмном и прозрачные — блик слабее, подошва светлее */
.btn--ghost {
  background-color: var(--white);
  background-image:
    radial-gradient(72% 130% at 26% -14%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 46%, rgba(43,33,24,.07) 100%);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  border-color: rgba(43, 33, 24, .55);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .95),
    inset 0 -4px 7px rgba(43, 33, 24, .14),
    0 3px 0 rgba(43, 33, 24, .26),
    0 8px 18px rgba(43, 33, 24, .2);
}
.btn--ghost-light {
  color: var(--milk); border-color: rgba(250, 246, 240, .6);
  background-image: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(0,0,0,.12) 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .28),
    inset 0 -2px 0 rgba(0, 0, 0, .28),
    0 3px 0 rgba(0, 0, 0, .3),
    0 8px 18px rgba(0, 0, 0, .3);
}
.btn--ghost-light:hover {
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .35),
    inset 0 -2px 0 rgba(0, 0, 0, .28),
    0 5px 0 rgba(0, 0, 0, .3),
    0 14px 26px rgba(0, 0, 0, .34);
}
.btn--ghost-light:active {
  box-shadow:
    inset 0 3px 7px rgba(0, 0, 0, .5),
    0 0 0 rgba(0, 0, 0, .3),
    0 3px 8px rgba(0, 0, 0, .25);
}

/* Если в системе выключены анимации — кнопка просто меняет цвет */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active { transform: none; transition: filter .2s ease; }
}

/* Шапка — двойная линия снизу */
/* Полоса шапки — это строка с логотипом и телефонами. Двойные линии
   теперь у неё, а не у всей шапки: язычки лежат НИЖЕ линии и выезжают
   из-под неё. Сама шапка ниже полосы прозрачная. */
.topbar { background: transparent; border: 0; backdrop-filter: none; }
.topbar__bar { border-top: 3px double var(--coffee); border-bottom: 3px double var(--coffee); }
.topbar__nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; }
.lang { background: var(--latte); border: 2px solid var(--coffee); }
.lang__item.is-current { background: var(--crema); color: var(--white); }

/* Верх страницы: бумажная полоса + свисающие листья (целиком, без обрезки).
   .decor__band — сколько видно бумаги (красная линия владельца).
   .decor__gap  — пустое место под ней, чтобы листья не легли на шапку. */
.decor { position: relative; }
/* Ретро-краски: зелень приглушена и слегка выцвела, как на старом снимке */
.decor img { filter: sepia(.42) saturate(.72) hue-rotate(-12deg) contrast(.95) brightness(1.03); }
.decor__band {
  aspect-ratio: 1018 / 112; overflow: hidden;
  /* мягкий переход: низ бумаги плавно растворяется в странице */
  -webkit-mask-image: linear-gradient(to bottom, #000 28%, rgba(0,0,0,.85) 52%, rgba(0,0,0,.45) 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 28%, rgba(0,0,0,.85) 52%, rgba(0,0,0,.45) 76%, transparent 100%);
}
.decor__band img { width: 100%; display: block; }
.decor__gap { aspect-ratio: 1018 / 6; } /* меньше число — страница выше */
.decor__beans {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  z-index: 26; pointer-events: none;
}

.decor__leaves {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  /* z-index меньше, чем у шапки (20): зелень проходит ЗА шапкой и не закрывает её */
  z-index: 5; pointer-events: none;
  /* низ зелени плавно тает, чтобы под шапкой не висели обрывки листьев и зёрен */
  -webkit-mask-image: linear-gradient(to bottom, #000 86%, rgba(0,0,0,.6) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 86%, rgba(0,0,0,.6) 94%, transparent 100%);
  filter: sepia(.42) saturate(.72) hue-rotate(-12deg) contrast(.95) brightness(1.03) drop-shadow(0 8px 10px rgba(43, 33, 24, .25));
}
@media (max-width: 720px) {
  .decor__band { aspect-ratio: 1018 / 120; }
  .decor__gap { aspect-ratio: 1018 / 20; }
}

/* Первый экран: рисунок без подложки */
.hero__card { background: none; border: 0; box-shadow: none; }
.hero__card::after { display: none; }

/* Телефоны в первом экране — без рамки и подложки, прямо на бумаге */
.phones--hero { border: 0; border-radius: 0; box-shadow: none; background: none; padding-left: 0; padding-right: 0; }
.facts strong { font-size: 2.2rem; }

/* Полоски-разделители и рамки секций */
.brands { background: var(--coffee); border-top: 0; border-bottom: 0; }
.brands__title, .brands__list li { color: var(--milk); }
.brands__list li { opacity: 1; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.section--tint { background: var(--latte); border-top: 3px double var(--coffee); border-bottom: 3px double var(--coffee); }
.section--form { background: var(--latte); }

.service, .rating, .lead-form, .steps li, .review {
  border: 2px solid var(--coffee); border-radius: 4px; box-shadow: var(--shadow); background: var(--white);
}
.service--main { background: var(--coffee); }
.service--main .price, .service--main p { color: var(--latte); }
/* Жёлтые цифры 1-4 — как под выпуклым стеклом. Весь свет и тени
   собраны в самом фоне, поэтому цифра всегда остаётся чёткой сверху. */
.steps__n {
  background-image:
    /* блик — овальное отражение на верхней половине линзы */
    radial-gradient(58% 36% at 34% 20%, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 45%, rgba(255,255,255,0) 72%),
    /* ответный тёплый отблеск снизу */
    radial-gradient(46% 20% at 52% 88%, rgba(255,238,187,.75) 0%, rgba(255,238,187,0) 75%),
    /* толща стекла: светлее сверху слева, глубже снизу справа */
    radial-gradient(125% 125% at 30% 22%, #ffe8ab 0%, #f7c95f 32%, var(--mustard) 60%, #a4690f 100%);
  color: var(--coffee); border: 2px solid var(--coffee);
  font-family: "DM Serif Display", serif; font-size: 1.35rem;
  text-shadow: 0 1px 0 rgba(255, 247, 219, .8);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .9),     /* свет по верхней кромке */
    inset 0 -6px 10px rgba(112, 66, 6, .5),      /* стекло уходит в глубину */
    inset 4px 0 8px rgba(255, 255, 255, .18),
    0 3px 0 rgba(43, 33, 24, .3),                /* высота над бумагой */
    0 8px 15px rgba(43, 33, 24, .3);             /* мягкая тень */
}

.why__item { border-top: 4px double var(--crema); }
.praise li { border: 2px solid var(--coffee); border-radius: 3px; box-shadow: 3px 3px 0 var(--latte); }
.praise li::before { color: var(--crema); }
.scope li { border-bottom: 1px dashed var(--line); }
ol.scope li::before { background: var(--mustard); color: var(--coffee); border: 1.5px solid var(--coffee); }
.scope__note { background: var(--white); border: 2px solid var(--coffee); border-left-width: 8px; border-radius: 4px; }
details { border-bottom: 1px dashed var(--line); }
summary::after { color: var(--crema); }

/* Отзывы и адреса */
.stars { color: var(--mustard); }
.section--dark { background: var(--coffee); }
.place { background: var(--coffee-2); border: 2px solid var(--milk); border-radius: 4px; }
.place__hours { color: var(--mustard); }
.place__map { border-radius: 2px; }

/* Форма */
.field input, .field select, .field textarea {
  border-radius: 3px; border: 2px solid var(--coffee); background: var(--milk);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--crema); box-shadow: 3px 3px 0 var(--crema);
}

/* Призыв и подвал */
.cta { background: var(--crema); border-top: 3px double var(--coffee); border-bottom: 3px double var(--coffee); }
.cta .btn { border-color: var(--milk); box-shadow: 4px 4px 0 var(--coffee); }
.footer { background: var(--coffee); }
.footer a, .footer strong { color: var(--latte); }
/* Нижняя полоса дозвона на телефоне — тоже объёмная */
.callbar {
  border-radius: 16px; border: 1.5px solid rgba(43, 33, 24, .5);
  /* БЕЗ overflow: hidden! Список номеров выскакивает НАД полосой — обрезка его прятала,
     и кнопка «Позвонить» казалась сломанной (починено 24.09.2026). Углы скругляют сами кнопки. */
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .34),
    inset 0 -2px 0 rgba(43, 33, 24, .3),
    0 4px 0 rgba(43, 33, 24, .34),
    0 12px 26px rgba(43, 33, 24, .34);
}
.callbar__call { border-radius: 14px 0 0 14px; }
.callbar__lead { border-radius: 0 14px 14px 0; }
.callbar a, .callbar button {
  background-image: linear-gradient(180deg, rgba(255,255,255,.2) 0%, rgba(0,0,0,.1) 100%);
  text-shadow: 0 1px 0 rgba(43, 33, 24, .3);
  transition: filter .15s ease;
}
.callbar a:active, .callbar button:active {
  filter: brightness(.9);
  box-shadow: inset 0 3px 8px rgba(43, 33, 24, .45);
}

/* =========================================================
   Стекло на остальных кнопках: стрелки отзывов, кнопка языка,
   нижняя полоса дозвона. Приём тот же — весь свет в фоне.
   ========================================================= */
.rev-nav {
  background-image:
    radial-gradient(72% 120% at 30% -6%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.75) 0%, rgba(255,255,255,0) 48%, rgba(43,33,24,.09) 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .95),
    inset 0 -4px 8px rgba(43, 33, 24, .18),
    0 3px 0 rgba(43, 33, 24, .3),
    0 8px 16px rgba(43, 33, 24, .24);
}
.rev-nav:hover {
  background-image:
    radial-gradient(72% 120% at 30% -6%, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.06) 46%, rgba(0,0,0,.18) 100%);
}

.drop--lang > summary {
  background-image:
    radial-gradient(76% 130% at 28% -14%, rgba(255,255,255,.95) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 50%, rgba(43,33,24,.1) 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, .95),
    inset 0 -3px 6px rgba(43, 33, 24, .16),
    /* тёмный волосок снаружи — от него белый контур читается ярче */
    0 0 0 1px rgba(43, 33, 24, .4),
    /* лёгкое свечение, чтобы белый не съедался пёстрым фото */
    0 0 12px rgba(255, 255, 255, .55),
    0 2px 0 rgba(43, 33, 24, .22),
    0 5px 10px rgba(43, 33, 24, .28);
}

.callbar a, .callbar button {
  background-image:
    radial-gradient(70% 130% at 28% -14%, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.3) 0%, rgba(255,255,255,.08) 46%, rgba(0,0,0,.05) 52%, rgba(0,0,0,.2) 100%);
}

/* =========================================================
   Девиз — строка между разделами, как лозунг на старой вывеске
   ========================================================= */
.motto {
  padding: 46px 0 48px;
  text-align: center;
  background: var(--milk);
  border-top: 3px double var(--coffee);
  border-bottom: 3px double var(--coffee);
}
.motto__mark {
  margin: 0 0 14px; color: var(--crema);
  font-size: 1.5rem; line-height: 1;
}
.motto__h {
  margin: 0 auto .5em; max-width: 22ch;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12;
  color: var(--coffee); text-wrap: balance;
}
/* тонкая черта под девизом, как подчёркивание в старой типографике */
.motto__h::after {
  content: ""; display: block; width: 84px; height: 0;
  margin: .48em auto 0;
  border-top: 1px solid var(--crema);
  border-bottom: 3px double var(--crema);
}
.motto__p {
  margin: 1.1em auto 0; max-width: 56ch;
  color: var(--muted); font-size: 1.02rem; line-height: 1.55;
  text-wrap: pretty;
}
/* Лента из трёх девизов: виден один, листается вбок (стрелки, палец, сама) */
.motto__slider { position: relative; padding: 0 56px; }
.motto__facts {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.motto__facts::-webkit-scrollbar { display: none; }
.motto__facts li {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.motto__slider .rev-nav--prev { left: 0; }
.motto__slider .rev-nav--next { right: 0; }
@media (max-width: 720px) {
  .motto { padding: 36px 0 38px; }
  .motto__slider { padding: 0; }          /* на телефоне листают пальцем, стрелки прячутся */
  .motto__p { font-size: .96rem; }
}

/* Номера в выскакивающем списке — обычные строки, без «стекла» кнопок полосы */
.callbar .callbar__menu a {
  background-image: none; text-shadow: none; flex: none; text-align: left;
}
