/* ЧайОК — семейная кофейня и чайная лавка */
:root {
  --ink: #17190f;
  --forest: #23291a;
  --forest-2: #2e3622;
  --olive: #5b6b2c;
  --olive-soft: #8a9560;
  --sage: #b9b99a;
  --cream: #f7efe2;
  --cream-2: #efe4d1;
  --sand: #e2d2b5;
  --paper: #fbf7f0;
  --coffee: #3d2c20;
  --coffee-soft: #6e5a48;
  --gold: #c19a5b;
  --gold-light: #dcc08d;
  --raspberry: #b5354f;
  --raspberry-soft: #e4a2b0;

  --text: #2b241c;
  --text-muted: #6f6355;
  --line: rgba(61, 44, 32, .14);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius: 22px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(40px, 5.4vw, 72px); }
h2 em, h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.lead { font-size: 19px; color: var(--text-muted); max-width: 58ch; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .02em;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(193, 154, 91, .7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(193, 154, 91, .8); }
.btn-ghost { border-color: rgba(247, 239, 226, .3); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-dark:hover { background: var(--olive); transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 22px 0;
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, box-shadow .4s;
}
.header.scrolled {
  padding: 12px 0;
  background: rgba(23, 25, 15, .94);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(220, 192, 141, .12);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--cream); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(220, 192, 141, .55);
  background: radial-gradient(circle at 30% 25%, #3b4527, var(--forest));
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; letter-spacing: .01em; }
.logo-text b { font-weight: 600; color: var(--gold-light); }
.logo-sub { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage); margin-top: 4px; font-weight: 500; }

.nav { display: flex; gap: 34px; }
.nav a { color: rgba(247, 239, 226, .78); font-size: 14px; font-weight: 500; letter-spacing: .04em; position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.phone { color: var(--cream); font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap; }
.phone span { display: block; font-size: 11px; font-weight: 500; color: var(--sage); letter-spacing: .1em; text-transform: uppercase; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(220, 192, 141, .4); background: transparent; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 26px; }
.menu-open .burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background:
    radial-gradient(60% 70% at 72% 52%, rgba(193, 154, 91, .22), transparent 62%),
    radial-gradient(50% 60% at 10% 100%, rgba(91, 107, 44, .35), transparent 70%),
    linear-gradient(160deg, #262d1b 0%, var(--ink) 58%, #120f0a 100%);
  color: var(--cream);
  overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 70px;
}
.hero::before { /* fine grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.hero-leaf { position: absolute; color: rgba(138, 149, 96, .16); pointer-events: none; }
.hero-leaf.l1 { width: 420px; left: -120px; top: -60px; transform: rotate(-24deg); }
.hero-leaf.l2 { width: 260px; right: -60px; bottom: -40px; transform: rotate(150deg); }

.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(48px, 5.6vw, 92px); margin: 26px 0 28px; }
.hero h1 em { display: inline-block; }
.hero .lead { color: rgba(247, 239, 226, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 56px; border-top: 1px solid rgba(220, 192, 141, .18); }
.fact { padding: 22px 26px 0 0; margin-right: 26px; border-right: 1px solid rgba(220, 192, 141, .18); }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--gold-light); }
.fact strong small { font-size: 22px; }
.fact span { font-size: 13px; color: rgba(247, 239, 226, .6); letter-spacing: .02em; }

/* 3D stage */
.mug-stage { position: relative; height: min(76vh, 700px); min-height: 480px; margin-right: -40px; }
.mug-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.mug-glow { position: absolute; left: 50%; top: 56%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(220, 192, 141, .28), transparent 65%); filter: blur(10px); pointer-events: none; }
.mug-ring { position: absolute; left: 50%; top: 58%; width: 78%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(220, 192, 141, .16); pointer-events: none; }
.mug-ring::after { content: ""; position: absolute; inset: 7%; border-radius: 50%; border: 1px dashed rgba(220, 192, 141, .12); animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mug-ui {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(23, 25, 15, .55); border: 1px solid rgba(220, 192, 141, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap; font-size: 14px; color: rgba(247, 239, 226, .85);
  transition: opacity .5s;
}
.mug-ui .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 0 rgba(220, 192, 141, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(220, 192, 141, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 192, 141, 0); } }
.mug-progress { width: 90px; height: 3px; border-radius: 3px; background: rgba(247, 239, 226, .15); overflow: hidden; flex: none; }
.mug-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--raspberry-soft)); transition: width .2s; }
.mug-again { display: none; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--gold-light); color: var(--ink); font-weight: 600; font-size: 13px; }
.mug-ui.done .mug-again { display: inline-block; }
.mug-ui.done .mug-progress { display: none; }
.mug-ui.done .dot { background: var(--raspberry-soft); }
.mug-stage.no-webgl .mug-ui { display: none; }
.mug-fallback { display: none; position: absolute; inset: 0; place-items: center; text-align: center; color: var(--sage); font-family: var(--serif); font-size: 28px; }
.mug-stage.no-webgl .mug-fallback { display: grid; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 24px; height: 40px; border-radius: 14px; border: 1px solid rgba(220, 192, 141, .4); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--gold-light); animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--olive); color: var(--cream); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(220, 192, 141, .3); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-size: 26px; font-style: italic; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--gold-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-head h2 { margin-top: 20px; }

/* About */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-photos { position: relative; aspect-ratio: 1 / 1.05; }
.about-photos figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(43, 36, 28, .45); background: var(--sand); }
.about-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photos figure:hover img { transform: scale(1.05); }
.about-photos .p1 { left: 0; top: 0; width: 64%; height: 74%; }
.about-photos .p2 { right: 0; bottom: 0; width: 52%; height: 56%; border: 8px solid var(--paper); }
.about-badge {
  position: absolute; left: 50%; top: 66%; z-index: 2; transform: translate(-80%, -50%);
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--forest); color: var(--cream); border: 1px solid var(--gold);
  box-shadow: 0 20px 40px -14px rgba(23, 25, 15, .6);
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 46px; line-height: .9; color: var(--gold-light); font-weight: 500; }
.about-badge span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; display: block; margin-top: 6px; }
.about-text h2 { margin: 20px 0 28px; }
.about-text p { color: var(--text-muted); margin: 0 0 18px; }
.signature-quote { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.35; color: var(--coffee); border-left: 2px solid var(--gold); padding-left: 24px; margin: 34px 0 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 100px; }
.feature { background: var(--paper); padding: 38px 34px; transition: background .4s; }
.feature:hover { background: var(--cream); }
.feature-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--olive); margin-bottom: 22px; }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 27px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Signature drink */
.signature {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.signature-card {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  border-radius: 32px; background: var(--forest); color: var(--cream);
  box-shadow: 0 50px 100px -50px rgba(23, 25, 15, .7);
}
.signature-img { position: relative; min-height: 560px; }
.signature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.signature-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 72%, var(--forest)); }
.signature-body { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.signature-body h2 { font-size: clamp(42px, 5vw, 66px); margin: 22px 0 22px; }
.signature-body h2 em { color: var(--raspberry-soft); }
.signature-body p { color: rgba(247, 239, 226, .72); margin: 0 0 30px; }
.price-tag { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.price-tag strong { font-family: var(--serif); font-size: 64px; font-weight: 500; color: var(--gold-light); line-height: 1; }
.price-tag span { font-size: 14px; color: var(--sage); }
.notes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.notes span { padding: 8px 16px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(220, 192, 141, .3); color: var(--gold-light); }
.crumbs { position: absolute; right: 30px; top: 30px; width: 120px; opacity: .9; }

/* Menu */
.menu { background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.tab { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 12px 24px; font-size: 15px; font-weight: 600; color: var(--text-muted); transition: all .35s var(--ease); }
.tab:hover { border-color: var(--olive); color: var(--olive); }
.tab.active { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.menu-panel { display: none; grid-template-columns: 1fr 1fr; gap: 0 80px; animation: fadeUp .6s var(--ease); }
.menu-panel.active { display: grid; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.dish { padding: 26px 0; border-bottom: 1px solid var(--line); }
.dish-top { display: flex; align-items: baseline; gap: 14px; }
.dish h3 { font-size: 27px; font-weight: 600; }
.dish .leader { flex: 1; border-bottom: 1px dotted rgba(61, 44, 32, .3); transform: translateY(-6px); }
.dish .price { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--olive); white-space: nowrap; }
.dish p { margin: 6px 0 0; font-size: 15px; color: var(--text-muted); }
.tag { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; background: rgba(181, 53, 79, .1); color: var(--raspberry); }
.tag.green { background: rgba(91, 107, 44, .12); color: var(--olive); }
.menu-note { margin-top: 44px; font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 10px; }
.menu-note a { color: var(--olive); font-weight: 600; border-bottom: 1px solid currentColor; }

/* Gifts / shop */
.shop { background: var(--forest); color: var(--cream); overflow: hidden; }
.shop .lead { color: rgba(247, 239, 226, .7); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shop-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--forest-2);
  border: 1px solid rgba(220, 192, 141, .14); display: flex; flex-direction: column;
  transition: transform .6s var(--ease), border-color .4s;
}
.shop-card:hover { transform: translateY(-8px); border-color: rgba(220, 192, 141, .45); }
.shop-card .img { aspect-ratio: 4 / 3.4; overflow: hidden; background: #1b2013; }
.shop-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shop-card:hover img { transform: scale(1.06); }
.shop-card .body { padding: 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-card h3 { font-size: 30px; }
.shop-card p { margin: 0; color: rgba(247, 239, 226, .65); font-size: 15px; flex: 1; }
.shop-card .from { font-family: var(--serif); font-size: 26px; color: var(--gold-light); margin-top: 8px; }
.delivery {
  margin-top: 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 34px 40px; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(193, 154, 91, .2), rgba(193, 154, 91, .05));
  border: 1px solid rgba(220, 192, 141, .3);
}
.delivery strong { font-family: var(--serif); font-size: 34px; font-weight: 500; display: block; line-height: 1.1; }
.delivery span { color: rgba(247, 239, 226, .7); font-size: 15px; }

/* Gallery */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
.gallery-grid figure { margin: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--sand); }
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.gallery-grid figure:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery-grid figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(251, 247, 240, .9); font-size: 13px; font-weight: 600; color: var(--coffee); transform: translateY(8px); opacity: 0; transition: all .5s var(--ease); }
.gallery-grid figure:hover figcaption { transform: none; opacity: 1; }

/* Reviews */
.reviews { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.score { position: sticky; top: 120px; }
.score-big { display: flex; align-items: flex-end; gap: 18px; margin: 26px 0 26px; }
.score-big strong { font-family: var(--serif); font-size: 140px; line-height: .8; font-weight: 500; color: var(--forest); }
.stars { color: var(--gold); font-size: 22px; letter-spacing: 4px; }
.score-sub { color: var(--text-muted); font-size: 15px; }
.award { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 12px 20px 12px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.award i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-style: normal; }
.bars { margin-top: 40px; display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: 110px 1fr 46px; gap: 14px; align-items: center; font-size: 14px; }
.bar .track { height: 4px; border-radius: 4px; background: rgba(61, 44, 32, .1); overflow: hidden; }
.bar .track i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--olive), var(--gold)); transition: width 1.6s var(--ease); }
.in .bar .track i { width: var(--v); }
.bar b { text-align: right; font-weight: 600; color: var(--olive); }
.quotes { display: grid; gap: 22px; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 40px 44px; border: 1px solid var(--line); position: relative; }
.quote::before { content: "“"; position: absolute; right: 30px; top: -6px; font-family: var(--serif); font-size: 140px; line-height: 1; color: var(--sand); }
.quote blockquote { margin: 0; padding-right: 56px; font-family: var(--serif); font-size: 30px; line-height: 1.25; color: var(--coffee); position: relative; }
.quote footer { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text-muted); }
.quote footer .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: var(--cream); font-weight: 700; }
.quote footer b { color: var(--text); display: block; }

/* Visit */
.visit { background: var(--ink); color: var(--cream); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; }
.locations { display: grid; gap: 20px; }
.loc { padding: 36px 38px; border-radius: var(--radius); background: var(--forest); border: 1px solid rgba(220, 192, 141, .16); transition: border-color .4s; }
.loc:hover { border-color: rgba(220, 192, 141, .5); }
.loc-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 20px; }
.loc h3 { font-size: 36px; margin: 6px 0 12px; }
.loc p { margin: 0 0 20px; color: rgba(247, 239, 226, .65); font-size: 15px; }
.loc-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; margin-bottom: 24px; }
.loc-meta span { display: inline-flex; align-items: center; gap: 8px; color: rgba(247, 239, 226, .85); }
.loc-meta svg { width: 16px; height: 16px; color: var(--gold-light); }
.loc a.more { color: var(--gold-light); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.loc a.more:hover { text-decoration: underline; text-underline-offset: 4px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 520px; background: var(--forest-2); border: 1px solid rgba(220, 192, 141, .16); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) sepia(.15); }
.contact-strip { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-item { padding: 28px 30px; border-radius: var(--radius); border: 1px solid rgba(220, 192, 141, .16); display: flex; flex-direction: column; gap: 6px; transition: background .4s; }
.contact-item:hover { background: var(--forest); }
.contact-item span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.contact-item strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }

/* Footer */
.footer { background: var(--ink); color: rgba(247, 239, 226, .55); padding: 0 0 40px; font-size: 14px; }
.footer .wrap { border-top: 1px solid rgba(220, 192, 141, .14); padding-top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--gold-light); }

/* Летающие чайные листочки поверх сайта */
.leaf-layer { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.leaf { position: absolute; height: auto; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 6px 6px rgba(23, 25, 15, .18)); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .mug-ring::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .menu-open .nav {
    display: flex; position: fixed; inset: 78px 16px auto; flex-direction: column; gap: 4px; padding: 20px;
    border-radius: 20px; background: rgba(23, 25, 15, .96); border: 1px solid rgba(220, 192, 141, .2);
  }
  .menu-open .nav a { font-size: 20px; padding: 10px 8px; font-family: var(--serif); }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .mug-stage { margin: 10px -16px 0; height: 560px; }
  .hero-facts { margin-top: 40px; }
  .section-head, .about-grid, .reviews-grid, .visit-grid { grid-template-columns: 1fr; }
  .signature-card { grid-template-columns: 1fr; }
  .signature-img { min-height: 380px; }
  .signature-img::after { background: linear-gradient(180deg, transparent 55%, var(--forest)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .score { position: static; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .phone { display: none; }
  .header .btn { display: none; }
  .logo-text { font-size: 26px; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 50px; }
  .lead { font-size: 17px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
  .fact { padding: 18px 10px 0 0; margin: 0 12px 0 0; }
  .fact strong { font-size: 30px; }
  .fact strong small { font-size: 18px; }
  .fact span { font-size: 11.5px; display: block; line-height: 1.35; margin-top: 4px; }
  .mug-stage { height: 460px; min-height: 0; }
  .mug-ui { font-size: 12px; padding: 8px 10px 8px 14px; gap: 10px; white-space: normal; width: max-content; max-width: calc(100% - 24px); }
  .mug-progress { width: 50px; }
  .scroll-cue { display: none; }
  .features, .shop-grid, .menu-panel, .contact-strip { grid-template-columns: 1fr; }
  .menu-panel { gap: 0; }
  .dish h3 { font-size: 23px; }
  .gallery-grid { grid-auto-rows: 180px; gap: 10px; }
  .about-badge { width: 120px; height: 120px; }
  .about-badge strong { font-size: 36px; }
  .quote { padding: 30px 26px; }
  .quote blockquote { font-size: 24px; }
  .score-big strong { font-size: 110px; }
  .loc { padding: 28px 24px; }
  .map { min-height: 380px; }
  .delivery { padding: 28px 24px; }
  .bar { grid-template-columns: 90px 1fr 40px; }
}
