/* =========================================================
   Farina & Fuoco — styles.css
   Palette: crema, rosso mattone, antracite
   ========================================================= */

:root {
  --cream: #f6efe3;
  --cream-2: #ede2cf;
  --cream-3: #e3d4ba;
  --anthracite: #1f1d1a;
  --anthracite-soft: #2c2a26;
  --brick: #a6341b;
  --brick-dark: #862713;
  --brick-soft: #c24528;
  --gold: #c39a4b;
  --text: #2a2724;
  --text-muted: #6b6560;
  --white: #ffffff;

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(31,29,26,.06);
  --shadow-md: 0 8px 24px rgba(31,29,26,.10);
  --shadow-lg: 0 20px 60px rgba(31,29,26,.18);

  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);

  --header-h: 72px;
  --banner-h: 34px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

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

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--brick);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.demo-banner {
  background: var(--anthracite);
  color: var(--cream-2);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .06em;
  padding: 8px 16px;
  max-height: var(--banner-h);
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition), opacity var(--transition);
}
.site-header.scrolled .demo-banner {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: .01em;
  color: var(--cream);
  transition: color var(--transition);
}
.site-header.scrolled .brand { color: var(--anthracite); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--brick);
  color: var(--cream);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-name em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
  padding: 0 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: .92rem;
  font-weight: 500;
}
.nav-menu a {
  color: var(--cream);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.site-header.scrolled .nav-menu a { color: var(--anthracite); }
.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }

.nav-cta {
  background: var(--brick);
  color: var(--cream) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--brick-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.site-header.scrolled .nav-toggle span { background: var(--anthracite); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + var(--banner-h) + 40px) 24px 80px;
  overflow: hidden;
  color: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  animation: heroZoom 24s ease-in-out infinite alternate;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(31,29,26,.35) 0%, rgba(31,29,26,.7) 100%),
    linear-gradient(180deg, rgba(31,29,26,.35) 0%, rgba(31,29,26,.55) 60%, rgba(31,29,26,.85) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  animation: fadeUp .9s ease both;
}
.hero-eyebrow {
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(2.6rem, 7.5vw, 5.6rem);
  font-weight: 500;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--cream-2);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(246,239,227,.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-hint span {
  width: 4px;
  height: 8px;
  background: rgba(246,239,227,.8);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: .4; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brick);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(166,52,27,.35);
}
.btn-primary:hover { background: var(--brick-dark); }

.btn-ghost {
  color: var(--cream);
  border-color: rgba(246,239,227,.55);
  backdrop-filter: blur(6px);
  background: rgba(246,239,227,.05);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(246,239,227,.15);
}

.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--anthracite);
}
.btn-outline:hover {
  background: var(--anthracite);
  color: var(--cream);
}

/* ---------- Sections & helpers ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--brick);
  margin-bottom: 20px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 24px;
  line-height: 1.05;
}
.section-title em {
  font-style: italic;
  color: var(--brick);
  font-weight: 400;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 60ch;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.section-intro .lead { margin: 0 auto; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about-badge {
  position: absolute;
  bottom: -28px;
  right: -20px;
  background: var(--brick);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}
.about-badge-txt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-top: 4px;
}

.about-text p { color: var(--text-muted); }
.about-text .lead { color: var(--text); margin-bottom: 1.5em; }

.pillars {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.pillars li {
  padding-left: 22px;
  position: relative;
}
.pillars li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brick);
  font-size: 1rem;
}
.pillars strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  font-size: .98rem;
}
.pillars span {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Menu ---------- */
.menu-section { background: var(--anthracite); color: var(--cream-2); }
.menu-section .section-title { color: var(--cream); }
.menu-section .section-title em { color: var(--gold); }
.menu-section .lead { color: rgba(246,239,227,.72); }
.menu-section .eyebrow { color: var(--gold); }

.menu-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.menu-filters button {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--cream-2);
  border: 1px solid rgba(246,239,227,.2);
  transition: all var(--transition);
  min-height: 44px;
}
.menu-filters button:hover { border-color: var(--gold); color: var(--gold); }
.menu-filters button.active {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--cream);
}

.menu-body { max-width: 1000px; margin: 0 auto; }
.menu-category { margin-bottom: 64px; animation: fadeIn .5s ease both; }
.menu-category:last-child { margin-bottom: 0; }
.menu-category-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--gold);
  font-style: italic;
  margin-bottom: 8px;
}
.menu-category-subtitle {
  font-size: .9rem;
  color: rgba(246,239,227,.55);
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.menu-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-item-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: .01em;
  flex-shrink: 0;
}
.menu-item-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(246,239,227,.28);
  margin-bottom: 6px;
}
.menu-item-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}
.menu-item-desc {
  font-size: .92rem;
  color: rgba(246,239,227,.6);
  line-height: 1.55;
  margin: 0;
}
.menu-item-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.tag {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(195,154,75,.35);
  color: var(--gold);
  font-weight: 600;
}
.tag.spicy { border-color: rgba(194,69,40,.4); color: #e37a5d; }

.featured-badge {
  display: inline-block;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brick);
  font-weight: 700;
  margin-left: 8px;
  vertical-align: middle;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(166,52,27,.2);
}
.menu-section .featured-badge {
  background: rgba(195,154,75,.15);
  color: var(--gold);
}

.menu-note {
  max-width: 1000px;
  margin: 48px auto 0;
  text-align: center;
  font-size: .85rem;
  color: rgba(246,239,227,.5);
  padding-top: 28px;
  border-top: 1px solid rgba(246,239,227,.12);
}
.menu-note span { color: var(--gold); margin-right: 6px; }

.menu-loading {
  text-align: center;
  color: rgba(246,239,227,.6);
  padding: 40px 0;
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery-section { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 0;
  background: var(--cream-2);
  cursor: zoom-in;
  transition: transform var(--transition);
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,29,26,.25));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15,14,12,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(246,239,227,.1);
  color: var(--cream);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(246,239,227,.2); }
.lightbox-close { top: 24px; right: 24px; font-size: 2.2rem; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-section { background: var(--cream-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--cream);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-row {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-3);
}
.contact-row:last-of-type { border-bottom: 0; }
.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-2);
  border-radius: 50%;
}
.contact-row h3 {
  font-family: var(--font-body);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brick);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-row p { margin: 0; font-size: .98rem; color: var(--text); line-height: 1.4; }
.contact-row small { color: var(--text-muted); font-size: .8rem; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-actions .btn { flex: 1 1 auto; padding: 12px 18px; font-size: .88rem; min-height: 44px; }

.hours-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.demo-tag {
  display: inline-block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brick);
  background: rgba(166,52,27,.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  font-weight: 600;
}
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .95rem;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--cream-3);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:first-child { font-weight: 500; }
.hours-list li span:last-child { color: var(--text-muted); }
.hours-list li.closed span:last-child { color: var(--brick); font-weight: 600; }

.map-placeholder {
  background: var(--cream-2);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  border: 2px dashed var(--cream-3);
  color: var(--text-muted);
}
.map-placeholder span { font-size: 2rem; display: block; margin-bottom: 8px; }
.map-placeholder small { font-size: .82rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--anthracite);
  color: rgba(246,239,227,.7);
  padding: clamp(56px, 8vw, 88px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 56px;
}
.footer-brand .brand-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--cream);
  display: block;
  margin-bottom: 14px;
}
.footer-brand em { color: var(--gold); font-style: italic; font-weight: 400; }
.footer-brand p { font-size: .9rem; line-height: 1.6; max-width: 32ch; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul li {
  font-size: .9rem;
  padding: 6px 0;
  line-height: 1.5;
}
.footer-col ul li a { transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(246,239,227,.1);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: .8rem;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  color: rgba(246,239,227,.5);
  line-height: 1.6;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brick);
  color: var(--cream);
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), background var(--transition);
  z-index: 90;
}
.back-to-top:hover { background: var(--brick-dark); transform: translateY(-2px); }
.back-to-top[hidden] { display: none; }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 420px;
}
.toast {
  background: var(--anthracite);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  border-left: 4px solid var(--brick);
  pointer-events: auto;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 500px; margin: 0 auto; }
  .about-badge { right: -10px; }
  .menu-items { grid-template-columns: 1fr; gap: 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { grid-column: span 1; }
}

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

  .nav { padding: 0 20px; }
  .brand-name { font-size: 1.1rem; }
  .brand-mark { width: 34px; height: 34px; font-size: .78rem; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--banner-h) 0 auto 0;
    top: calc(var(--header-h) + var(--banner-h));
    flex-direction: column;
    background: var(--cream);
    padding: 28px 24px 40px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--cream-3);
  }
  .site-header.scrolled .nav-menu { top: var(--header-h); }
  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: block;
    padding: 14px 4px;
    color: var(--anthracite);
    font-size: 1rem;
    border-bottom: 1px solid var(--cream-3);
    width: 100%;
  }
  .nav-menu li:last-child a { border-bottom: 0; }
  .nav-cta {
    text-align: center;
    margin-top: 12px;
    padding: 14px 20px !important;
  }

  .hero { padding-top: calc(var(--header-h) + var(--banner-h) + 20px); }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }

  .scroll-hint { display: none; }

  .menu-filters { gap: 8px; }
  .menu-filters button { padding: 8px 16px; font-size: .82rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .lightbox-close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; width: 44px; height: 44px; }
  .lightbox-next { right: 8px; width: 44px; height: 44px; }
  .lightbox { padding: 60px 8px 20px; }

  .back-to-top { bottom: 16px; right: 16px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .contact-actions .btn { flex: 1 1 100%; }
  .gallery-grid { grid-auto-rows: 120px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}