/* ============================================================
   Riemunsilta — Nordic restaurant + poker evenings
   ============================================================ */

:root {
  --forest: #17221F;
  --moss: #2F403A;
  --sage: #68766C;
  --linen: #E9E3D7;
  --cream: #F7F4ED;
  --brass: #B38A52;
  --brass-d: #9A7442;
  --white: #FFFFFF;
  --ink: #1D2624;
  --ink-soft: #3C4744;
  --line: rgba(23, 34, 31, .12);
  --line-light: rgba(255, 255, 255, .16);
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Manrope", -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px -18px rgba(23, 34, 31, .28);
  --shadow-s: 0 8px 30px -14px rgba(23, 34, 31, .22);
  --radius: 4px;
  --radius-l: 14px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- layout helpers ---------- */
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--forest { background: var(--forest); color: var(--linen); }
.section--moss { background: var(--moss); color: var(--linen); }
.section--linen { background: var(--linen); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4,
.section--moss h1, .section--moss h2, .section--moss h3, .section--moss h4 { color: var(--cream); }
.section--forest p, .section--moss p { color: rgba(233, 227, 215, .86); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide-l { grid-template-columns: 1.15fr .85fr; }
.split--wide-r { grid-template-columns: .85fr 1.15fr; }

.center { text-align: center; }
.measure { max-width: 640px; }
.measure--l { max-width: 780px; }
.center .measure, .center .measure--l { margin-inline: auto; }

/* ---------- typography ---------- */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 12px;
}
.center .kicker::after {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-left: 12px;
}

.title {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -.01em;
  margin-bottom: .55em;
}
.title--s { font-size: clamp(26px, 3.2vw, 38px); }
.lead { font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.section--forest .lead, .section--moss .lead { color: rgba(233,227,215,.85); }

.eyebrow-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--brass);
  letter-spacing: .1em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease), box-shadow .28s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--moss); box-shadow: var(--shadow-s); }
.btn--brass { background: var(--brass); color: var(--white); }
.btn--brass:hover { background: var(--brass-d); box-shadow: var(--shadow-s); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--white); box-shadow: var(--shadow-s); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: var(--cream); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); text-decoration: none;
}
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow:hover { color: var(--brass-d); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header .header-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px;
}
.site-header.is-scrolled {
  background: rgba(247, 244, 237, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 14px 40px -20px rgba(23,34,31,.25);
}
.site-header.on-dark:not(.is-scrolled) .nav-link,
.site-header.on-dark:not(.is-scrolled) .header-phone,
.site-header.on-dark:not(.is-scrolled) .brand-name,
.site-header.on-dark:not(.is-scrolled) .brand-sub,
.site-header.on-dark:not(.is-scrolled) .burger span { color: var(--cream); }
.site-header.on-dark:not(.is-scrolled) .burger span { background: var(--cream); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo {
  width: 52px; height: 52px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
}
.brand-text { line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--forest); letter-spacing: .01em; }
.brand-sub { display: block; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--sage); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-list { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--brass);
  transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { width: 100%; }
.nav-link[aria-current="page"] { color: var(--brass); }
.site-header.on-dark:not(.is-scrolled) .nav-link[aria-current="page"] { color: var(--brass); }

.header-right { display: flex; align-items: center; gap: 22px; }
.header-phone { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--ink); text-decoration: none; }
.header-phone:hover { color: var(--brass); }
.header-cta { padding: 12px 24px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { display: block; width: 26px; height: 2px; background: var(--forest); transition: transform .3s var(--ease), opacity .3s; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 120;
  background: var(--forest);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-close {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-light);
  color: var(--cream); font-size: 22px; cursor: pointer; line-height: 1;
}
.mobile-close:hover { background: rgba(255,255,255,.16); }
.mobile-nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mobile-nav a {
  font-family: var(--serif); font-size: 34px; color: var(--cream);
  text-decoration: none; padding: 8px 0;
  opacity: 0; transform: translateX(28px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
}
.mobile-nav a:hover { color: var(--brass); }
.mobile-menu.is-open .mobile-nav a { opacity: 1; transform: translateX(0); }
.mobile-nav a:nth-child(1){transition-delay:.08s} .mobile-nav a:nth-child(2){transition-delay:.14s}
.mobile-nav a:nth-child(3){transition-delay:.2s} .mobile-nav a:nth-child(4){transition-delay:.26s}
.mobile-nav a:nth-child(5){transition-delay:.32s}
.mobile-menu__foot { border-top: 1px solid var(--line-light); padding-top: 22px; color: rgba(233,227,215,.8); font-size: 14px; }
.mobile-menu__foot a { color: var(--brass); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex; align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -12% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,22,20,.55) 0%, rgba(15,22,20,.35) 40%, rgba(15,22,20,.72) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 160px 0 120px; }
.hero .kicker { color: var(--brass); }
.hero h1 { color: var(--cream); font-size: clamp(38px, 6vw, 72px); max-width: 16ch; margin-bottom: .4em; }
.hero .lead { color: rgba(247,244,237,.88); max-width: 54ch; font-size: 18px; margin-bottom: 2em; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 34px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(247,244,237,.8); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none;
}
.scroll-hint .chev {
  width: 1px; height: 44px; background: rgba(247,244,237,.5); position: relative; overflow: hidden;
}
.scroll-hint .chev::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--brass);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 110%; } }

/* page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 190px 0 110px;
  color: var(--cream);
  overflow: hidden;
  background: var(--forest);
}
.page-hero .hero__bg { inset: 0; }
.page-hero .hero__overlay { background: linear-gradient(180deg, rgba(15,22,20,.6), rgba(15,22,20,.75)); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); font-size: clamp(36px, 5vw, 60px); max-width: 18ch; }
.page-hero .lead { color: rgba(247,244,237,.85); max-width: 58ch; }

.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(247,244,237,.6); margin-bottom: 26px; }
.crumbs a { color: rgba(247,244,237,.75); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs .sep { color: var(--brass); }
.crumbs [aria-current] { color: var(--brass); }

/* ---------- cards / menu items ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}
.card__media { aspect-ratio: 4/3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px; }

.dish {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 20px 0; border-bottom: 1px dashed var(--line);
}
.dish:last-child { border-bottom: 0; }
.dish__info { max-width: 70%; }
.dish__name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--forest); }
.dish__desc { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.dish__price { font-family: var(--serif); font-size: 19px; color: var(--brass); white-space: nowrap; }
.section--forest .dish { border-color: var(--line-light); }
.section--forest .dish__name { color: var(--cream); }
.section--forest .dish__desc { color: rgba(233,227,215,.7); }
/* світлі картки всередині темних секцій лишаються контрастними */
.section--forest .card .dish { border-color: var(--line); }
.section--forest .card .dish__name { color: var(--forest); }
.section--forest .card .dish__desc { color: var(--ink-soft); }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px 30px; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  display: grid; place-items: center; margin-bottom: 20px; color: var(--brass);
}
.feature h3 { font-size: 21px; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1/1; position: relative; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }

/* testimonials */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px; height: 100%; display: flex; flex-direction: column; gap: 18px;
}
.quote__mark { font-family: var(--serif); font-size: 52px; line-height: .6; color: var(--brass); }
.quote p { font-size: 15.5px; font-style: italic; color: var(--ink-soft); flex: 1; }
.quote__who { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); font-weight: 600; }
.quote__who span { display: block; color: var(--sage); font-weight: 400; letter-spacing: .05em; text-transform: none; margin-top: 2px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band .hero__bg { inset: -15% 0; }
.cta-band .hero__overlay { background: linear-gradient(120deg, rgba(15,22,20,.86), rgba(23,34,31,.7)); }
.cta-band__inner { position: relative; z-index: 2; padding: 110px 0; }

/* disclaimer */
.disclaimer {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(179,138,82,.1);
  border: 1px solid rgba(179,138,82,.4);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 14.5px; line-height: 1.65;
}
.disclaimer svg { flex: none; margin-top: 2px; color: var(--brass); }
.section--forest .disclaimer { background: rgba(179,138,82,.12); }

/* info list */
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.info-list .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); margin-top: 9px; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  position: relative; padding: 26px 0 26px 84px;
  border-bottom: 1px solid var(--line-light);
}
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 22px;
  font-family: var(--serif); font-size: 30px; color: var(--brass);
}
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15px; }

/* detail grid */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: var(--radius-l); overflow: hidden; }
.detail-cell { background: var(--moss); padding: 28px 26px; }
.detail-cell .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.detail-cell .val { font-family: var(--serif); font-size: 20px; color: var(--cream); line-height: 1.35; }

/* ---------- forms ---------- */
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(179,138,82,.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B4552D; box-shadow: 0 0 0 3px rgba(180,85,45,.15); }
.field .error-msg { display: none; font-size: 13px; color: #B4552D; }
.field.has-error .error-msg { display: block; }
.form-note { font-size: 13.5px; color: var(--sage); }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 44px; box-shadow: var(--shadow-s);
}
.form-card--dark { background: var(--moss); border-color: var(--line-light); }
.form-card--dark .field label { color: var(--linen); }
.form-card--dark .field input, .form-card--dark .field select, .form-card--dark .field textarea {
  background: rgba(255,255,255,.06); border-color: var(--line-light); color: var(--cream);
}
.form-card--dark .field input::placeholder, .form-card--dark .field textarea::placeholder { color: rgba(233,227,215,.45); }
.form-card--dark .field select option { color: var(--ink); }
.form-card--dark .form-note { color: rgba(233,227,215,.6); }

/* contact cards */
.contact-card { display: flex; gap: 18px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); height: 100%; }
.contact-card__icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--brass); }
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--ink-soft); }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: var(--brass); }

.map-frame { border: 0; width: 100%; height: 440px; border-radius: var(--radius-l); display: block; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--forest); }
.hours-table .closed td:last-child { color: var(--sage); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--forest); color: rgba(233,227,215,.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 84px 0 56px; }
.footer-brand .brand-name { color: var(--cream); font-size: 24px; }
.footer-brand .brand-sub { color: var(--sage); }
.footer-brand p { font-size: 14.5px; margin-top: 18px; max-width: 34ch; }
.footer-title { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-bottom: 20px; font-family: var(--sans); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links a { font-size: 14.5px; color: rgba(233,227,215,.78); text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--brass); }
.footer-contact { font-size: 14.5px; display: grid; gap: 10px; }
.footer-contact a { color: rgba(233,227,215,.85); text-decoration: none; }
.footer-contact a:hover { color: var(--brass); }
.footer-legal { border-top: 1px solid var(--line-light); padding: 26px 0; font-size: 13px; color: rgba(233,227,215,.5); display: grid; gap: 8px; }
.footer-disclaimer { color: rgba(233,227,215,.62); font-size: 13px; max-width: 80ch; display: flex; align-items: center; gap: 14px; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: rgba(233,227,215,.45); }

/* ---------- popup ---------- */
.restaurant-popup {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility .3s;
}
.restaurant-popup.is-open { visibility: visible; opacity: 1; }
.restaurant-popup__overlay { position: absolute; inset: 0; background: rgba(15,22,20,.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.restaurant-popup__box {
  position: relative; z-index: 2;
  background: var(--cream); border-radius: var(--radius-l);
  max-width: 460px; width: 100%; padding: 46px 40px; text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(18px) scale(.97); transition: transform .35s var(--ease);
}
.restaurant-popup.is-open .restaurant-popup__box { transform: translateY(0) scale(1); }
.restaurant-popup__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--moss); color: var(--brass); display: grid; place-items: center; margin: 0 auto 22px; }
.restaurant-popup__box h2 { font-size: 26px; }
.restaurant-popup__box p { font-size: 15px; color: var(--ink-soft); }
.restaurant-popup__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: none; border: 1px solid var(--line); cursor: pointer;
  font-size: 18px; color: var(--ink-soft); line-height: 1;
}
.restaurant-popup__close:hover { background: var(--linen); }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 150;
  max-width: 400px; width: calc(100% - 48px);
  background: var(--forest); color: var(--linen);
  border: 1px solid var(--line-light); border-radius: var(--radius-l);
  padding: 26px; box-shadow: var(--shadow);
  transform: translateY(140%); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h2 { color: var(--cream); font-size: 19px; margin-bottom: 8px; }
.cookie-banner p { font-size: 13.5px; color: rgba(233,227,215,.75); margin-bottom: 18px; }
.cookie-banner a { color: var(--brass); }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__actions .btn { flex: 1; padding: 12px 14px; font-size: 12px; }
.cookie-banner__note { display: none; font-size: 13px; color: var(--brass); margin-top: 12px; }
.cookie-banner.is-done .cookie-banner__actions { display: none; }
.cookie-banner.is-done .cookie-banner__note { display: block; }

/* ---------- reveal ---------- */
.reveal, .reveal--left, .reveal--right, .reveal--zoom {
  opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal { transform: translateY(34px); }
.reveal--left { transform: translateX(-46px); }
.reveal--right { transform: translateX(46px); }
.reveal--zoom { transform: scale(.92); }
.is-revealed { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 0;
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--sans); font-size: 22px; color: var(--brass);
  transition: transform .3s var(--ease); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .faq__a { padding: 0 24px 22px; font-size: 15px; color: var(--ink-soft); }
.section--forest .faq details { background: var(--moss); border-color: var(--line-light); }
.section--forest .faq summary { color: var(--cream); }
.section--forest .faq details .faq__a { color: rgba(233,227,215,.8); }

/* ---------- contacts extras ---------- */
.age-badge {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--brass); color: var(--brass);
  font-weight: 700; font-size: 14px; flex: none;
}
.messenger-row { display: flex; gap: 10px; flex-wrap: wrap; }
.messenger-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass); text-decoration: none; padding: 8px 14px;
  border: 1px solid rgba(179,138,82,.45); border-radius: 30px;
  transition: background .25s, color .25s;
}
.messenger-link:hover { background: var(--brass); color: var(--white); }
.footer-contact a.addr-link { color: rgba(233,227,215,.85); }

/* ---------- prose ---------- */
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 1.6em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; margin: 0 0 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--brass-d); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .main-nav .nav-list { gap: 20px; }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .section { padding: 72px 0; }
  .main-nav .nav-list, .header-cta { display: none; }
  .burger { display: flex; }
  .split, .split--wide-l, .split--wide-r { grid-template-columns: 1fr; gap: 40px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 32px; }
  .hero__inner { padding: 140px 0 110px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .detail-grid { grid-template-columns: 1fr; }
  .dish__info { max-width: none; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 44px; }
  .footer-bottom { flex-direction: column; }
  .mobile-nav a { font-size: 28px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, .reveal--left, .reveal--right, .reveal--zoom { opacity: 1; transform: none; }
  .hero__bg { transform: none !important; }
}
