/* ============================================================
   Termál Étterem – Cserkeszőlő | demo stylesheet
   ============================================================ */

:root {
  --color-bg: #1F1810;
  --color-bg-alt: #1F1810;
  --color-bg-alt-2: #2A2318;
  --color-text: #F5EFE6;
  --color-text-muted: #C9C0AE;
  --color-accent: #A3CD4F;
  --color-accent-light: #C3E085;
  --color-brown: #B36B47;
  --color-brown-deep: #724332;
  --color-line: rgba(245, 239, 230, 0.14);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-accent-light);
}

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #16120F;
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 0.9em;
}
.eyebrow.center { text-align: center; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--accent {
  background: var(--color-accent);
  color: #17130F;
}
.btn--accent:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(245, 239, 230, 0.5);
  color: var(--color-text);
}
.btn--ghost:hover {
  border-color: var(--color-brown);
  color: var(--color-brown);
}
.btn--outline {
  background: transparent;
  border-color: var(--color-brown);
  color: var(--color-brown);
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn--outline:hover {
  background: var(--color-brown-deep);
  border-color: var(--color-brown-deep);
  color: var(--color-text);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(245, 239, 230, 0.4);
  color: var(--color-text);
}
.btn--outline-light:hover {
  background: var(--color-brown-deep);
  border-color: var(--color-brown-deep);
  color: var(--color-text);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(31, 24, 16, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-serif);
}
.nav__brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text);
}
.nav__brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav__links a:not(.nav__social)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}
.nav__links a:not(.nav__social):hover::after { width: 100%; }
.nav__links a:hover { color: var(--color-accent-light); }
.nav__social { display: flex; align-items: center; color: var(--color-text); }
.nav__social:hover { color: var(--color-accent); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 3px;
}
.lang-switch--mobile { display: none; }
.lang-switch__btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch__btn:hover { color: var(--color-text); }
.lang-switch__btn.is-active {
  background: var(--color-accent);
  color: #17130F;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__directions {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  opacity: 0;
  animation: heroBgFade 18s ease-in-out infinite;
}
.hero__bg--1 { animation-delay: 0s; }
.hero__bg--2 { animation-delay: 6s; }
.hero__bg--3 { animation-delay: 12s; }

@keyframes heroBgFade {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  28%  { opacity: 1; }
  36%  { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; opacity: 1; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,24,16,0.55) 0%, rgba(31,24,16,0.72) 55%, rgba(31,24,16,0.94) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: var(--color-text);
  margin-bottom: 0.3em;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 2.2em;
  font-weight: 300;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(245,239,230,0.5);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
  position: relative;
}
.section--dark { background: var(--color-bg-alt); }
.section--menu { background: var(--color-bg); text-align: center; }

.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: center;
}
.about h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.about__text p { color: var(--color-text-muted); font-size: 1.02rem; }
.about__image img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

/* Napi menü */
.menu {
  max-width: 640px;
  margin: 0 auto;
}
.menu h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.menu p { color: var(--color-text-muted); margin-bottom: 2em; font-size: 1.05rem; }
.menu__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Events */
.events {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.events h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.events__text p { color: var(--color-text-muted); font-size: 1.02rem; margin-bottom: 1.8em; }
.events__image img {
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* Gallery */
#galeria h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0; }

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
}
.divider span { width: 46px; height: 1px; background: var(--color-line); }
.divider i {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  transform: rotate(45deg);
  display: block;
  flex-shrink: 0;
}

.gallery-carousel {
  overflow: hidden;
  margin-top: 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.gallery-carousel__track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: galleryScroll 42s linear infinite;
}
.gallery-carousel:hover .gallery-carousel__track,
.gallery-carousel__track:focus-within {
  animation-play-state: paused;
}
.gallery-carousel__item {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-carousel__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.8) 100%);
}
.gallery-carousel__item:hover img { transform: scale(1.08); }
.gallery-carousel__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 34px 16px 14px;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
}

@keyframes galleryScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .gallery-carousel__item { width: 220px; }
  .gallery-carousel__track { animation-duration: 32s; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-carousel__track { animation: none; }
}

.placeholder {
  color: var(--color-text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* ---------- Étlap page ---------- */
.nav__links a.is-current { color: var(--color-accent-light); }
.nav__links a.is-current::after { width: 100% !important; }

.etlap-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}
.etlap-hero__bg {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center 35%;
  filter: blur(7px) brightness(0.6) saturate(1.05);
  transform: scale(1.08);
}
.etlap-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,24,16,0.5) 0%, rgba(31,24,16,0.78) 70%, var(--color-bg) 100%);
}
.etlap-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 128px 24px 44px;
}
.etlap-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); color: var(--color-text); margin-bottom: 0.35em; }

.section.etlap-intro { padding-top: 36px; padding-bottom: 28px; }

.etlap-header__subtitle {
  max-width: 560px;
  margin: 0 auto 0;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}
.etlap-notice {
  max-width: 640px;
  margin: 0 auto 1.4em;
  padding: 16px 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-bg-alt-2);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.btn--pdf {
  background: var(--color-bg-alt-2);
  border: 1px solid var(--color-line);
  color: var(--color-accent-light);
}
.btn--pdf:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-accent);
  color: var(--color-accent-light);
}

.menu-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.menu-tab {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 10px 26px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu-tab:hover { color: var(--color-text); }
.menu-tab.is-active { background: var(--color-accent); color: #17130F; }

.section.etlap-body { padding-top: 20px; }
.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

.menu-category { margin-bottom: 56px; }
.menu-category:last-child { margin-bottom: 0; }
.menu-category__title {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-accent-light);
  margin-bottom: 26px;
}
.menu-category__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--color-line), transparent);
}

.menu-category__items { display: flex; flex-direction: column; gap: 16px; counter-reset: menuitem; }

.menu-item { display: flex; align-items: baseline; gap: 10px; position: relative; }
.menu-item:not(.menu-item--sub):not(.menu-item--group) { padding-left: 30px; counter-increment: menuitem; }
.menu-item:not(.menu-item--sub):not(.menu-item--group)::before {
  content: counter(menuitem);
  position: absolute;
  left: 0;
  top: 0.15em;
  font-family: var(--font-serif);
  font-size: 0.78rem;
  color: var(--color-accent);
  opacity: 0.7;
}
.menu-item__name { color: var(--color-text); font-family: var(--font-serif); font-size: 1.06rem; letter-spacing: 0.01em; }
.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted var(--color-line);
  margin-bottom: 4px;
}
.menu-item__price {
  color: var(--color-accent-light);
  font-weight: 600;
  font-family: var(--font-serif);
  white-space: nowrap;
}

.menu-item--group {
  margin-top: 6px;
  font-weight: 700;
  color: var(--color-text);
}
.menu-item--group .menu-item__name { font-family: var(--font-serif); font-size: 1.1rem; }

.menu-item--sub { padding-left: 22px; }
.menu-item--sub .menu-item__name { color: var(--color-text-muted); font-size: 0.98rem; font-weight: 400; }

.menu-item--platter { flex-direction: column; align-items: stretch; gap: 6px; }
.menu-item--platter .menu-item__head { display: flex; align-items: baseline; gap: 10px; }
.menu-item--platter .menu-item__name em { color: var(--color-text-muted); font-style: italic; font-size: 0.82em; font-family: var(--font-sans); }
.menu-item__desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.6;
}

.menu-table-wrap { overflow-x: auto; }
.menu-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.menu-table th, .menu-table td { padding: 9px 12px; text-align: right; white-space: nowrap; }
.menu-table th:first-child, .menu-table td:first-child { text-align: left; white-space: normal; color: var(--color-text); }
.menu-table th {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--color-line);
}
.menu-table td { color: var(--color-text-muted); border-bottom: 1px solid rgba(245,239,230,0.06); }
.menu-table td:not(:first-child) { color: var(--color-accent-light); font-family: var(--font-serif); font-weight: 600; }
.menu-table tr:last-child td { border-bottom: none; }

.etlap-allergen {
  margin: 60px 0 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Footer */
.site-footer {
  background: var(--color-bg-alt-2);
  border-top: 1px solid var(--color-line);
  padding: 72px 0 0;
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}
.footer-brand__name { font-size: 1.4rem; font-weight: 700; color: var(--color-text); }
.footer-brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 4px;
}
.footer-col__text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-text);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--color-accent); color: var(--color-accent-light); }

.footer-col__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 20px;
}
.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-col__list a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-col__list a:hover { color: var(--color-accent-light); }

.footer-field { margin-bottom: 16px; }
.footer-field:last-child { margin-bottom: 0; }
.footer-field__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}
.footer-field__value {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.footer-field__value a:hover { color: var(--color-accent-light); }
.footer-field__value--stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  aspect-ratio: 16/10;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.footer-bottom {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 24px 28px;
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer__demo { opacity: 0.6; font-style: italic; }

@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
}
@media (max-width: 560px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Fade-in on scroll ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.96);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 10px;
  transition: color 0.2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { color: var(--color-accent); }
.lightbox__close { top: 18px; right: 24px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg-alt-2);
  border: 1px solid var(--color-line);
  color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); color: #17130F; border-color: var(--color-accent); }

@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s ease; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about, .events {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .events__image { order: -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1080px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: #1F1810;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-size: 1.1rem;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; }
  .nav__actions { display: none; }
  .nav__social { order: 10; margin-top: 10px; }
  .nav__links .lang-switch { display: none; }

  .lang-switch--mobile {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
  }
  .lang-switch--mobile .lang-switch__btn {
    padding: 4px 6px;
    font-size: 0.66rem;
  }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}
