/* =====================================================================
   DUBLIN — ирландский паб, Солнечногорск
   Дизайн-система: дуб (текстура) · матовая бронза · старая листва · кирпич
   ===================================================================== */

/* ---------- 1. ТОКЕНЫ (всё, что захочешь крутить — здесь) ---------- */
:root {
  /* базовые */
  --bg:        #0c0f0d;           /* почти чёрный с зелёным подтоном */
  --bg-2:      #121613;
  --ink:       #efe8d8;           /* основной текст — тёплый кремовый */
  --muted:     #a69d8c;           /* второстепенный текст */
  --line:      rgba(196, 162, 110, .18);  /* тонкие бронзовые линии */

  /* дуб */
  --oak-900: #2a1a0e;
  --oak-700: #4b2f1a;
  --oak-500: #7a5230;
  --oak-300: #b8865a;
  --oak-100: #ead0a3;

  /* матовая бронза */
  --bronze-900: #4e3a22;
  --bronze-700: #6e5230;
  --bronze-500: #9c7a4a;
  --bronze-300: #c4a26e;
  --bronze-100: #e6d3a8;
  --bronze-grad: linear-gradient(135deg, #6e5230 0%, #9c7a4a 35%, #c4a26e 55%, #8a683d 80%, #6e5230 100%);
  --bronze-text: linear-gradient(100deg, #8a683d 0%, #c4a26e 40%, #e6d3a8 52%, #c4a26e 64%, #8a683d 100%);

  /* старая листва */
  --green-900: #0f1f17;
  --green-700: #1a3024;
  --green-500: #2c4d38;
  --green-300: #5e7f63;
  --green-100: #b8cdb6;

  /* кирпич */
  --brick-900: #121416;
  --brick-700: #262a2e;
  --brick-red: #7d3f2c;

  /* LED-обводка (как подсветка окон на фасаде) */
  --led:       #d6ffe6;
  --led-soft:  rgba(214, 255, 230, .45);
  --led-glow:  0 0 0 1px rgba(214,255,230,.22), 0 0 18px rgba(214,255,230,.35), 0 0 48px rgba(120,255,180,.15), inset 0 0 22px rgba(214,255,230,.06);

  /* текстуры: листва / кора дуба / кирпич */
  --tex-oak:       url("../img/textures/oak.webp");
  --tex-brick:     url("../img/textures/brick.webp");
  --tex-brick-red: url("../img/textures/brick.webp");
  --tex-leaves:    url("../img/textures/leaves.webp");

  /* типографика */
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;  /* заголовки, хай-тек */
  --font-body:    "Manrope", system-ui, -apple-system, sans-serif;
  --font-black:   "UnifrakturMaguntia", "Old English Text MT", serif; /* готика — как в логотипе */

  /* сетка */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 76px;

  /* анимации */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: .45s;
}

/* ---------- 2. СБРОС / БАЗА ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--bronze-500); color: #111; }

/* фоновый шум по всей странице — убирает «пластиковость» */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- 3. ТИПОГРАФИКА ---------- */
.h1 { font-size: clamp(40px, 7vw, 96px); font-weight: 700; line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -.02em; }
.h3 { font-size: clamp(20px, 2.2vw, 28px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-300);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--bronze-grad); }

/* матовый бронзовый текст */
.bronze {
  background: var(--bronze-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* готическое начертание — как в логотипе */
.blackletter { font-family: var(--font-black); font-weight: 400; letter-spacing: 0; }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .section-head .lead { justify-self: end; text-align: right; margin: 0; }
}

/* ---------- 4. ТЕКСТУРНЫЕ МОДУЛИ (фото: листва / дуб / кирпич) ---------- */
.tex { position: relative; isolation: isolate; overflow: hidden; }
.tex::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.68));
  border-radius: inherit;
}
.tex > * { position: relative; z-index: 1; }
/* Дуб: тёмный тон без яркой коры — текст читается */
.tex-oak {
  background:
    linear-gradient(165deg, rgba(28, 20, 14, .94) 0%, rgba(18, 13, 9, .97) 100%),
    var(--oak-900);
  color: var(--oak-100);
}
.tex-oak::after {
  background: linear-gradient(180deg, rgba(10, 8, 6, .35), rgba(8, 6, 4, .55));
}
.tex-brick,
.tex-brick-red {
  background: #2a1c16 var(--tex-brick) center / cover no-repeat;
}
.tex-leaves {
  background: var(--green-700) var(--tex-leaves) center / cover no-repeat;
}
.tex-bronze    { background: var(--bronze-grad); color: #1a140c; }
.tex-bronze::after { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.18)); }

/* матовость бронзы — зернистость поверх градиента */
.tex-bronze::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* LED-рамка: тонкая светящаяся обводка как на окнах паба */
.led { border: 1px solid var(--led-soft); box-shadow: var(--led-glow); border-radius: var(--radius); }
.led--bronze {
  border-color: rgba(196,162,110,.5);
  box-shadow: 0 0 0 1px rgba(196,162,110,.15), 0 0 20px rgba(196,162,110,.28), inset 0 0 20px rgba(196,162,110,.06);
}

/* стекло */
.glass {
  background: rgba(12, 15, 13, .55);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- 5. КНОПКИ ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn--bronze { background: var(--bronze-grad); color: #171108; box-shadow: 0 10px 30px -10px rgba(196,162,110,.55); }
.btn--bronze:hover { box-shadow: 0 16px 36px -10px rgba(196,162,110,.7); }

.btn--ghost { border: 1px solid rgba(196,162,110,.5); color: var(--bronze-100); }
.btn--ghost:hover { background: rgba(196,162,110,.1); border-color: var(--bronze-300); }

.btn--led { border: 1px solid var(--led-soft); color: var(--led); box-shadow: 0 0 14px rgba(214,255,230,.25); }
.btn--led:hover { box-shadow: 0 0 22px rgba(214,255,230,.45), inset 0 0 12px rgba(214,255,230,.08); }

/* ---------- 6. ШАПКА ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(12,15,13,.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__mobile { display: none; }

/* ---------- мини-кружка в шапке ---------- */
.tree-mini, .mug-mini {
  --fill: 0;
  position: relative;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(196,162,110,.4);
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(47,90,58,.35), transparent 70%),
    linear-gradient(180deg, #121813 0%, #0c0f0d 100%);
  box-shadow: inset 0 0 12px rgba(214,255,230,.06), 0 0 16px rgba(196,162,110,.12);
  transition: border-color var(--t), box-shadow var(--t);
}
.tree-mini:hover, .mug-mini:hover {
  border-color: rgba(196,162,110,.7);
  box-shadow: inset 0 0 14px rgba(214,255,230,.1), 0 0 22px rgba(196,162,110,.22);
}
.mug-mini.is-full {
  box-shadow: inset 0 0 14px rgba(240,196,90,.12), 0 0 20px rgba(196,162,110,.28);
}
.mug-mini__svg { width: 100%; height: 100%; display: block; padding: 4px; box-sizing: border-box; }
/* пиво поднимается снизу: пусто → полный бокал */
.mug-mini__fill {
  transform: translateY(calc((1 - var(--fill, 0)) * 36px));
  transition: transform .05s linear;
}
.mug-mini__foam {
  opacity: 0;
  transition: opacity .35s ease;
}
.mug-mini.is-foamy .mug-mini__foam { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .mug-mini__fill { transition: none; }
}

.logo { display: flex; align-items: baseline; gap: 12px; line-height: 1; }
.logo__word { font-family: var(--font-black); font-size: 40px; color: var(--ink); text-shadow: 0 0 18px rgba(214,255,230,.25); }
.logo__word .bronze { font-family: inherit; }
.logo__tag { font-family: var(--font-display); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze-300); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__links { display: contents; }
.nav__link {
  position: relative; font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: color var(--t);
}
.nav__link i { display: none; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px;
  background: var(--bronze-grad); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header .btn { min-height: 44px; padding: 0 20px; }

.burger {
  display: none; width: 44px; height: 44px; place-items: center; gap: 5px;
  border-radius: 10px; border: 1px solid rgba(196,162,110,.4);
  background: rgba(12,15,13,.55); padding: 0;
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--bronze-300);
  border-radius: 1px; transition: transform .35s var(--ease), opacity .25s, width .25s;
  transform-origin: center;
}
.burger:hover { border-color: rgba(196,162,110,.7); }

@media (max-width: 980px) {
  :root { --header-h: 64px; }

  .header { border-bottom-color: var(--line); background: rgba(12,15,13,.82);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
  .header.is-menu-open { background: rgba(12,15,13,.96); }

  .header__inner { gap: 12px; }
  .logo__word { font-size: 32px; }
  .logo__tag { display: none; }

  .header__right { gap: 8px; }
  .header__cta { display: none; }
  .tree-mini, .mug-mini { width: 42px; height: 42px; border-radius: 10px; }

  .burger { display: grid; place-content: center; width: 42px; height: 42px; }
  .burger.is-open { border-color: var(--bronze-300); background: rgba(196,162,110,.1);
    box-shadow: 0 0 16px rgba(196,162,110,.2); }
  .burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* выезжающая панель под шапкой */
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100svh - var(--header-h));
    padding: 8px 16px 28px;
    background:
      linear-gradient(180deg, rgba(12,15,13,.98) 0%, rgba(18,22,18,.97) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    border-bottom: 1px solid rgba(196,162,110,.28);
    box-shadow: 0 28px 60px -20px rgba(0,0,0,.75);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: opacity .35s var(--ease), transform .4s var(--ease), visibility .4s;
    z-index: 49;
  }
  .nav.is-open {
    opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  }
  .nav::before {
    content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--bronze-300), transparent);
    opacity: .55;
  }

  .nav__links { display: grid; gap: 4px; padding: 12px 0 8px; }
  .nav__link {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 14px; border-radius: 12px;
    font-size: 17px; letter-spacing: .08em;
    border: 1px solid transparent;
    color: var(--ink);
  }
  .nav__link::after { display: none; }
  .nav__link i {
    display: inline-block; font-style: normal; font-family: var(--font-display); font-size: 11px;
    letter-spacing: .16em; color: var(--bronze-300); min-width: 1.8em;
  }
  .nav__link:hover, .nav__link.is-active {
    background: rgba(196,162,110,.08);
    border-color: rgba(196,162,110,.28);
    color: var(--ink);
  }
  .nav__link.is-active { box-shadow: inset 3px 0 0 var(--bronze-300); }

  .nav__mobile {
    display: grid; gap: 14px;
    margin-top: 10px; padding-top: 18px;
    border-top: 1px solid rgba(196,162,110,.18);
  }
  .nav__mobile .btn { width: 100%; min-height: 50px; border-radius: 12px; }
  .nav__meta {
    display: grid; gap: 4px; padding: 4px 4px 0;
    font-size: 13px; color: var(--muted); line-height: 1.45;
  }
  .nav__meta b {
    font-family: var(--font-display); font-size: 10px; font-weight: 500;
    letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-300);
  }
  .nav__meta a { color: var(--ink); }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 70% 30%, rgba(12,15,13,0) 0%, rgba(12,15,13,.55) 70%),
    linear-gradient(180deg, rgba(12,15,13,.55) 0%, rgba(12,15,13,.25) 40%, rgba(12,15,13,.96) 100%),
    linear-gradient(90deg, rgba(12,15,13,.75) 0%, rgba(12,15,13,0) 60%);
}
/* огромный готический водяной знак */
.hero__mark {
  position: absolute; z-index: -1; right: -2vw; top: 14vh; pointer-events: none; user-select: none;
  font-family: var(--font-black); font-size: clamp(160px, 28vw, 420px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(196,162,110,.35);
  opacity: .9; mask-image: linear-gradient(180deg, #000 20%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.hero__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.4fr .8fr; } }

.hero__title { margin: 8px 0 22px; }
.hero__title em { font-style: normal; display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* инфо-карточка справа */
.hero__card { padding: 26px; display: grid; gap: 18px; }
.hero__card .row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.hero__card .row svg { width: 20px; height: 20px; color: var(--bronze-300); margin-top: 3px; }
.hero__card .row b { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-300); font-weight: 500; margin-bottom: 4px; }
.hero__card .row span { color: var(--ink); }
.hero__card .row small { display: block; color: var(--muted); font-size: 14px; }
.hero__status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green-100); }
.hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #7cffb2; box-shadow: 0 0 10px #7cffb2; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4; } }

.scroll-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; width: 1px; height: 56px; background: linear-gradient(180deg, var(--bronze-300), transparent); }
@media (min-width: 1000px) { .scroll-hint { display: block; } }
.scroll-hint::before { content: ""; position: absolute; top: 0; left: -1.5px; width: 4px; height: 12px; border-radius: 2px; background: var(--led); animation: drop 1.8s infinite; }
@keyframes drop { to { transform: translateY(56px); opacity: 0; } }

/* ---------- 8. БЕГУЩАЯ СТРОКА (бронзовая лента) ---------- */
.ticker { overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(0,0,0,.35); }
.ticker__track { display: flex; width: max-content; gap: 0; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ticker__item::after { content: "✦"; font-size: 12px; opacity: .7; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 9. BENTO-СЕТКА МОДУЛЕЙ ---------- */
/* Bento: ПК = сложная сетка; телефон = аккуратная колонка (см. блок 20) */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
}
@media (max-width: 1099px) and (min-width: 760px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
}

.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; padding: 26px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  min-width: 0; isolation: isolate;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(196,162,110,.45); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
/* картинка и оверлей внутри плитки — без отрицательных z-index (ломалось на мобилке) */
.tile > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform 1.2s var(--ease);
}
.tile:hover > img { transform: scale(1.06); }
.tile--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 10%, rgba(12,15,13,.92) 100%);
}
.tile__kicker,
.tile__title,
.tile__text,
.tile__num,
.tile__corner { position: relative; z-index: 2; }
.tile__kicker { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); margin-bottom: 10px; }
.tile__title { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.15; }
.tile__text { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 34ch; }
.tile--bronze .tile__kicker, .tile--bronze .tile__text { color: rgba(23,17,8,.7); }
.tile--bronze .tile__title { color: #171108; }
.tile__num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.tile__corner { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--bronze-300); transition: background var(--t), color var(--t), transform var(--t) var(--ease); z-index: 3; }
.tile:hover .tile__corner { background: var(--bronze-300); color: #171108; transform: rotate(45deg); }
.tile__corner svg { width: 16px; height: 16px; }

/* размеры плиток — только от планшета вверх */
@media (min-width: 760px) {
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .row-2 { grid-row: span 2; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .span-3 { grid-column: span 2; }
  .span-4 { grid-column: span 4; }
}

/* ---------- 10. ПРЕВЬЮ МЕНЮ ---------- */
.menu-preview { display: grid; gap: 40px; }
@media (min-width: 1000px) { .menu-preview { grid-template-columns: 420px 1fr; } }
.menu-preview__side {
  position: relative; border-radius: var(--radius); padding: 36px; min-height: 420px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--oak-100); text-decoration: none;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
  border: 1px solid rgba(0,0,0,.25);
}
.menu-preview__side:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 50px -28px rgba(0,0,0,.75);
}
.menu-preview__side .big {
  font-family: var(--font-black);
  font-size: clamp(72px, 9vw, 120px); line-height: .9;
  color: var(--oak-100); text-shadow: 0 2px 0 rgba(0,0,0,.4);
}
.menu-preview__side--full {
  width: 100%;
  min-height: clamp(280px, 36vw, 420px);
  padding: clamp(28px, 4vw, 48px);
  flex-direction: row; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between; gap: 28px;
}
.menu-preview__side--full .big { font-size: clamp(80px, 12vw, 140px); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: all var(--t); }
.tab:hover { color: var(--ink); border-color: rgba(196,162,110,.5); }
.tab.is-active { background: var(--bronze-grad); color: #171108; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

/* строка позиции меню (используется и на menu.html) */
.menu-list { display: grid; gap: 6px; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; column-gap: 18px; align-items: baseline;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.menu-item:hover { background: rgba(196,162,110,.05); border-color: var(--line); }
.menu-item__name { font-family: var(--font-display); font-size: 16px; font-weight: 500; display: flex; align-items: baseline; gap: 10px; }
.menu-item__name::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(196,162,110,.35); transform: translateY(-4px); min-width: 24px; }
.menu-item__desc { grid-column: 1 / -1; color: var(--muted); font-size: 14px; margin-top: 4px; }
.menu-item__price { font-family: var(--font-display); font-weight: 600; color: var(--bronze-300); white-space: nowrap; }
.menu-item__meta { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .04em; }
.badge { display: inline-block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--bronze-300); vertical-align: middle; }
.badge--green { border-color: rgba(124,255,178,.35); color: #9cf5c2; }

/* ---------- 11. ГАЛЕРЕЯ ---------- */
.gallery { display: grid; gap: 6px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 8px; } }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
@media (min-width: 900px) { .gallery__item { aspect-ratio: auto; } .gallery__item--tall { grid-row: span 2; } .gallery__item--wide { grid-column: span 2; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter var(--t); filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery__item figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateY(6px); transition: all var(--t) var(--ease); text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.gallery__item:hover figcaption { opacity: 1; transform: none; }

/* ---------- 12. КОНТАКТЫ / КАРТА ---------- */
.contacts { display: grid; gap: 20px; }
@media (min-width: 1000px) { .contacts { grid-template-columns: 1fr 1.3fr; } }
.contacts__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); display: grid; gap: 26px; align-content: start; }
.contacts__card .h2 { font-size: clamp(28px, 3vw, 40px); }
.c-row { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.c-row b { font-family: var(--font-display); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); font-weight: 500; }
.c-row a:hover { color: var(--bronze-100); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: all var(--t); }
.social:hover { background: rgba(196,162,110,.1); border-color: var(--bronze-300); }
.social svg { width: 18px; height: 18px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) hue-rotate(160deg) brightness(.9) contrast(.95); }
.map__badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

/* ---------- 13. ФУТЕР ---------- */
.footer { position: relative; padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze-300); font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.footer a:hover { color: var(--ink); }
.footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 13px; }
.footer__bigword { font-family: var(--font-black); font-size: clamp(90px, 16vw, 240px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(196,162,110,.25); text-align: center; margin-top: 40px; user-select: none; }

/* ---------- 14. СТРАНИЦА «О НАС» ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 10vw, 120px)); padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.1fr .9fr; } }
.page-hero__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(214,255,230,.3), inset 0 0 40px rgba(214,255,230,.08); border-radius: inherit; pointer-events: none; }

.story { display: grid; gap: 28px; }
@media (min-width: 1000px) { .story { grid-template-columns: 1fr 1fr; gap: 64px; } }
.story__quote { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; font-weight: 500; }
.story__quote::before { content: "“"; display: block; font-family: var(--font-black); font-size: 80px; line-height: .6; color: var(--bronze-300); margin-bottom: 14px; }
.story__text { color: var(--muted); display: grid; gap: 16px; }

.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.stat__num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat__label { color: var(--muted); font-size: 14px; margin-top: 10px; }

.values { display: grid; gap: 16px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 32px 28px; min-height: 340px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); }
.value__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); color: var(--bronze-100); }
.value__icon svg { width: 24px; height: 24px; }
.value .h3 { margin: 18px 0 10px; }
.value p { color: rgba(239,232,216,.75); font-size: 15px; margin: 0; }

.team { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, 1fr); } }
.person { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.person__photo { aspect-ratio: 1; display: grid; place-items: center; color: var(--muted); font-size: 13px; background: linear-gradient(160deg, rgba(196,162,110,.08), transparent); overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person__body { padding: 16px 18px 20px; }
.person__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.person__role { color: var(--muted); font-size: 13px; margin-top: 4px; }

.cta-band { padding: clamp(48px, 7vw, 96px) 0; text-align: center; }
.cta-band .h2 { max-width: 20ch; margin-inline: auto; }
.cta-band .btn { margin-top: 28px; }

/* ---------- 15. СТРАНИЦА МЕНЮ ---------- */
.menu-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .menu-layout { grid-template-columns: 260px 1fr; gap: 64px; } }
.menu-nav { position: sticky; top: calc(var(--header-h) + 24px); display: none; flex-direction: column; gap: 4px; }
@media (min-width: 1000px) { .menu-nav { display: flex; } }
.menu-nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-family: var(--font-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-left: 1px solid transparent; transition: all var(--t); }
.menu-nav a:hover, .menu-nav a.is-active { color: var(--ink); border-left-color: var(--bronze-300); background: rgba(196,162,110,.05); }
.menu-nav__mobile { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 8px; scrollbar-width: none; }
.menu-nav__mobile::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .menu-nav__mobile { display: none; } }

.menu-section { scroll-margin-top: calc(var(--header-h) + 24px); padding-bottom: clamp(40px, 6vw, 72px); }
.menu-section__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.menu-section__head .h2 { font-size: clamp(26px, 3vw, 40px); }
.menu-section__head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--bronze-500), transparent); }
.menu-section__note { color: var(--muted); font-size: 15px; margin: 0 0 20px; max-width: 60ch; }
.menu-band { padding: 30px 32px; border-radius: var(--radius); margin: 8px 0 28px; display: grid; gap: 6px; }
.menu-band__title { font-family: var(--font-black); font-size: 40px; line-height: 1; }
.menu-band__sub { font-size: 14px; opacity: .8; }

/* ---------- 15b. Банкеты (посадочная) ---------- */
.banquet-points {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; gap: 10px;
}
@media (min-width: 800px) {
  .banquet-points { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
}
.banquet-points li {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(196,162,110,.16);
  background: rgba(255,255,255,.02);
  font-size: 15px; line-height: 1.45;
}
.banquet-points li::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 10px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--bronze-300);
  vertical-align: middle;
}

.banquet-cta {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  align-items: center; justify-content: space-between;
  margin: 0 0 36px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
  border: 1px solid rgba(196,162,110,.35);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 6, 4, .88) 0%, rgba(12, 10, 8, .82) 55%, rgba(8, 6, 4, .9) 100%),
    url("../img/textures/oak.webp");
  background-size: auto, 380px;
}
.banquet-cta .eyebrow { color: var(--bronze-300); }
.banquet-cta__name {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.banquet-cta__hint {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 15px;
  max-width: 42ch;
  line-height: 1.45;
}

/* ---------- 16. REVEAL-АНИМАЦИИ ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track, .hero__bg img { animation: none; }
}

/* ---------- 17. УТИЛИТЫ ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--bronze-500), transparent); opacity: .5; }
.placeholder { outline: 1px dashed rgba(196,162,110,.4); outline-offset: -1px; }

/* ---------- 18. Hero: ровно 2 строки на ПК ---------- */
.hero__title {
  display: flex; flex-direction: column; align-items: flex-start; gap: .06em;
  max-width: 16ch;
}
.hero__title .hero__line {
  display: block; white-space: nowrap;
  font-style: normal;
}
@media (max-width: 720px) {
  .hero__title { max-width: none; }
  .hero__title .hero__line { white-space: normal; }
}

/* звёзды отзывов */
.stars {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  margin-bottom: 4px;
}
.stars__i { color: rgba(196,162,110,.25); font-size: 16px; line-height: 1; }
.stars__i.is-on { color: var(--bronze-300); text-shadow: 0 0 10px rgba(196,162,110,.35); }
.stars small { margin-left: 8px; color: var(--muted); font-size: 12px; }

/* футер: SEO + реквизиты */
.footer__seo h4, .footer__company h4 {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze-300); font-weight: 500; margin: 0 0 12px;
}
.footer__seo-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; color: var(--muted);
}
.footer__company { padding-top: 8px; }

/* ---------- 19. Меню на телефоне ---------- */
@media (max-width: 999px) {
  body { overflow-x: hidden; }
  :root { --gutter: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)); }
  .menu-layout { gap: 16px; width: 100%; max-width: 100%; }
  .menu-layout > div { min-width: 0; width: 100%; max-width: 100%; }
  .menu-nav__mobile {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 10px 0 14px; margin: 0 0 12px;
    position: sticky; top: calc(var(--header-h) + 2px); z-index: 5;
    background: rgba(12,15,13,.94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .menu-nav__mobile .tab {
    flex: 0 0 auto; white-space: nowrap;
    padding: 10px 14px; font-size: 11px; border-radius: 10px;
  }
  .menu-section { padding-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 56px); }
  .menu-section__head { flex-wrap: wrap; gap: 10px; margin-inline: 0; }
  .menu-section__head .h2 { font-size: clamp(22px, 6vw, 32px); width: 100%; padding-inline: 2px; }
  .menu-section__head::after { display: none; }
  .menu-section__note { padding-inline: 2px; }
  .menu-band {
    padding: 18px 16px; margin: 6px 0 16px; border-radius: 14px;
    min-height: 0; overflow: hidden; width: 100%;
    background-size: cover !important; background-position: center !important;
  }
  .menu-band__title {
    font-size: clamp(28px, 9vw, 40px);
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .menu-band__sub { font-size: 13px; line-height: 1.4; }
  .menu-list { gap: 8px; }
  .menu-item {
    grid-template-columns: 1fr; gap: 6px;
    padding: 16px 14px;
    border: 1px solid rgba(196,162,110,.12);
    background: rgba(255,255,255,.02);
  }
  .menu-item__name {
    flex-wrap: wrap; font-size: 15px;
    padding-right: 0;
  }
  .menu-item__name::after { display: none; }
  .menu-item__price { justify-self: start; font-size: 15px; }
  .menu-item__desc {
    font-size: 13px; line-height: 1.45;
    overflow-wrap: anywhere; word-break: break-word;
  }
  .page-hero .h1 { font-size: clamp(32px, 9vw, 48px); }
  .page-hero { overflow: hidden; }
  .page-hero .lead { padding-inline: 2px; }
}

/* ---------- 20. МОБИЛЬНАЯ АДАПТАЦИЯ (чистая сетка) ---------- */
@media (max-width: 899px) {
  .menu-preview__side--full {
    flex-direction: column; align-items: flex-start;
    min-height: 300px;
  }
  .banquet-cta { flex-direction: column; align-items: stretch; }
  .banquet-cta .btn { width: 100%; }
}

@media (max-width: 759px) {
  :root {
    --gutter: max(18px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --header-h: 64px;
  }

  .section { padding-block: 48px; }
  .section--tight { padding-block: 36px; }
  .section-head { margin-bottom: 24px; gap: 12px; border-bottom: 0; padding-bottom: 0; }
  .section-head .lead { text-align: left !important; justify-self: start !important; max-width: none; }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 28px;
    align-content: start;
  }
  .hero__mark { font-size: 28vw; top: 10vh; right: -8vw; opacity: .45; }
  .hero__grid { gap: 20px; }
  .hero__title { gap: .08em; margin: 6px 0 16px; }
  .hero__title .hero__line { white-space: normal; }
  .h1 { font-size: clamp(34px, 10vw, 48px); letter-spacing: -.03em; }
  .lead { font-size: 16px; }
  .hero__actions { gap: 10px; margin-top: 22px; }
  .hero__actions .btn { width: 100%; }
  .hero__card { padding: 18px; gap: 14px; border-radius: 14px; }
  .btn { min-height: 48px; padding: 0 18px; font-size: 11px; }

  /* Bento → вертикальный стек */
  .bento {
    display: flex; flex-direction: column;
    gap: 12px;
  }
  .bento > .tile {
    width: 100%;
    grid-column: unset !important;
    grid-row: unset !important;
  }
  .tile {
    min-height: 200px;
    padding: 20px;
    border-radius: 14px;
    display: flex;
  }
  .tile.tile--photo { min-height: 240px; }
  .tile.row-2,
  .tile.span-3 { min-height: 240px; }
  .tile.span-1 { min-height: 160px; }
  .tile.tile--bronze { min-height: 150px; }
  .tile > img { z-index: 0; }
  .tile__title { font-size: 18px; }
  .tile__text { font-size: 14px; max-width: none; }
  .tile__num { font-size: 48px; }
  .tile__corner { width: 34px; height: 34px; top: 14px; right: 14px; }

  /* Превью меню */
  .menu-preview { gap: 12px; }
  .menu-preview__side {
    min-height: 0 !important;
    padding: 24px 20px !important;
    border-radius: 14px;
  }
  .menu-preview__side .big { font-size: 64px; }
  .tabs { gap: 6px; margin-bottom: 16px; }
  .tab { padding: 10px 14px; font-size: 11px; }

  /* Галерея — ровная 2-колонка */
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    grid-auto-rows: unset;
  }
  .gallery__item,
  .gallery__item--tall,
  .gallery__item--wide {
    grid-column: auto !important;
    grid-row: auto !important;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }
  .gallery__item:first-child { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .gallery__item figcaption { opacity: 1; transform: none; left: 10px; bottom: 10px; font-size: 10px; }

  /* Контакты */
  .contacts { gap: 12px; }
  .contacts__card { padding: 22px 18px !important; border-radius: 14px; }
  .map { min-height: 280px; border-radius: 14px; }
  .map__badge { left: 10px; right: 10px; bottom: 10px; width: auto; justify-content: center; }

  /* О нас */
  .page-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; }
  .page-hero__grid { gap: 20px; }
  .page-hero__img { border-radius: 14px !important; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 18px 14px; border-radius: 12px; min-height: 120px; }
  .stat__num { font-size: 32px; }
  .values { gap: 12px; }
  .value { min-height: 220px; padding: 22px 18px; border-radius: 14px; }
  .team { grid-template-columns: 1fr 1fr; gap: 10px; }
  .story { gap: 20px; }
  .story__quote { font-size: 22px; }
  .cta-band { padding: 40px 0; }
  .cta-band .h2 { font-size: clamp(24px, 7vw, 34px); }

  /* Футер */
  .footer { padding: 40px 0 20px; }
  .footer__grid { gap: 24px; }
  .footer__bigword { font-size: 72px; margin-top: 24px; }
  .footer__seo-list { flex-direction: column; gap: 8px; }
  .footer__bottom { flex-direction: column; gap: 8px; font-size: 12px; }

  .ticker__item { font-size: 12px; gap: 18px; padding-right: 18px; }
}

/* узкие телефоны */
@media (max-width: 380px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item:first-child { aspect-ratio: 4 / 3; }
  .stats, .team { grid-template-columns: 1fr; }
  .hero__actions .btn { font-size: 10px; }
}
