/* =====================================================================
   RESTORAN
   ===================================================================== */
.rest-root {
  --bg: #fafaf7;
  --bg-soft: #f2f1ec;
  --ink: #18181a;
  --ink-soft: #53504d;
  --line: #e2e0da;
  background: var(--bg); color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  position: relative; overflow-x: hidden;
}
.rest-root.dark {
  --bg: #17171a; --bg-soft: #1f1f22;
  --ink: #f2f0eb; --ink-soft: #9d9a94; --line: #2a2a2c;
}
.rest-root h1, .rest-root h2, .rest-root h3, .rest-root h4 {
  font-family: 'Instrument Serif', serif; font-weight: 400; letter-spacing: -0.01em;
}
.rest-root em { font-style: italic; color: var(--ink); }

.rest-nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 18px 40px;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.rest-back {
  justify-self: start; background: transparent; border: none;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--ink); font-weight: 500;
}
.rest-brand { display: flex; align-items: baseline; gap: 10px; }
.rest-brand-main { font-family: 'Instrument Serif', serif; font-size: 26px; letter-spacing: 0.02em; }
.rest-brand-div { color: var(--ink-soft); font-size: 14px; }
.rest-brand-sub { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 18px; color: var(--ink-soft); }
.rest-nav-links { justify-self: end; display: flex; align-items: center; gap: 22px; }
.rest-nav-links a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.rest-nav-links a:hover { color: var(--ink-soft); }
.rest-lang {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  font-size: 10px; letter-spacing: 0.2em; font-weight: 600;
  padding: 5px 9px; border-radius: 999px; cursor: pointer;
}
.rest-cta {
  background: var(--ink) !important; color: var(--bg) !important;
  padding: 10px 18px; border-radius: 999px;
  letter-spacing: 0.15em !important; font-size: 10px !important;
}

.rest-hero {
  display: grid; grid-template-columns: 1.05fr 1fr;
  min-height: calc(100vh - 76px); padding: 60px 40px; gap: 60px;
  max-width: 1500px; margin: 0 auto; align-items: center;
}
.rest-hero-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.25em; color: var(--ink-soft);
  margin-bottom: 40px; text-transform: uppercase; font-weight: 500;
}
.rest-hero-meta .num { color: var(--ink); font-weight: 600; }
.rest-hero-meta .bar { width: 30px; height: 1px; background: var(--ink-soft); }
.rest-hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(52px, 7vw, 110px); line-height: 0.95;
  letter-spacing: -0.02em; display: flex; flex-direction: column;
  gap: 4px; margin-bottom: 32px; text-wrap: balance;
}
.rest-hero-title em { font-style: italic; color: var(--ink-soft); }
.rest-hero-title span:nth-child(2) { padding-left: 1.5em; }
.rest-hero-title span:nth-child(3) { padding-left: 0.5em; }
.rest-hero-sub { font-size: 17px; line-height: 1.55; max-width: 500px; color: var(--ink-soft); margin-bottom: 40px; }
.rest-hero-ctas { display: flex; gap: 12px; margin-bottom: 60px; flex-wrap: wrap; }

.rest-btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  text-decoration: none; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; font-family: inherit; transition: all 0.25s;
}
.rest-btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rest-btn.primary:hover { background: transparent; color: var(--ink); }
.rest-btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.rest-btn.ghost:hover { background: var(--ink); color: var(--bg); }
.rest-btn.full { width: 100%; }

.rest-hero-stats { display: flex; gap: 48px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 520px; }
.rest-hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.rest-hero-stats b { font-family: 'Instrument Serif', serif; font-size: 34px; font-weight: 400; line-height: 1; }
.rest-hero-stats span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }

.rest-hero-right { position: relative; height: 100%; min-height: 520px; }
.rest-hero-img-frame { position: relative; height: 100%; width: 100%; overflow: hidden; border-radius: 2px; }
.rest-hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.rest-hero-img-cap {
  position: absolute; bottom: 28px; left: 28px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px); padding: 14px 18px;
  display: flex; flex-direction: column; line-height: 1.3;
  font-family: 'Instrument Serif', serif; font-size: 16px;
}
.rest-hero-img-cap span:first-child { font-style: italic; color: var(--ink-soft); }
.rest-hero-cat {
  position: absolute; bottom: 0; right: 0;
  width: 260px; height: 160px; opacity: 0.9; pointer-events: none; z-index: 2;
  animation: restHeroCatSway 6s ease-in-out infinite;
}
.rest-hero-cat svg, .rest-hero-cat img { width: 100%; height: 100%; object-position: bottom; }
.rest-root.dark .rest-hero-cat img { filter: invert(1); }
@keyframes restHeroCatSway {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-14px); }
}

.rest-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; overflow: hidden; background: var(--bg); }
.rest-marquee-track {
  display: flex; gap: 32px; white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--ink);
}
.rest-marquee-track span { display: flex; align-items: center; gap: 32px; }
.rest-marquee-track em { font-style: italic; }
.rest-marquee-track .sep { color: var(--ink-soft); font-size: 14px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rest-feature { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.rest-feature-label {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft);
  margin-bottom: 24px; text-transform: uppercase; font-weight: 500;
}
.rest-feature-label .num { color: var(--ink); font-weight: 600; }
.rest-feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.rest-feature-text h2 { font-size: clamp(42px, 5vw, 76px); line-height: 1.02; margin-bottom: 28px; text-wrap: balance; }
.rest-feature-text p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 440px; margin-bottom: 40px; }
.rest-feature-points { display: flex; flex-direction: column; gap: 18px; }
.rest-feature-points > div { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.rest-feature-points > div:last-child { border-bottom: 1px solid var(--line); }
.rest-feature-points b { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 20px; color: var(--ink-soft); min-width: 36px; }
.rest-feature-points span { font-size: 15px; color: var(--ink); }
.rest-feature-img { aspect-ratio: 4/5; overflow: hidden; }
.rest-feature-img img { width: 100%; height: 100%; object-fit: cover; }

.rest-menu { padding: 140px 40px; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rest-menu-head { max-width: 1100px; margin: 0 auto 80px; }
.rest-menu-head h2 { font-size: clamp(46px, 6vw, 88px); line-height: 1.0; margin-bottom: 24px; text-wrap: balance; }
.rest-menu-head p { font-size: 16px; color: var(--ink-soft); max-width: 500px; }
.rest-menu-list { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; }
.rest-dish {
  display: grid; grid-template-columns: 60px 140px 1fr;
  gap: 32px; align-items: center; padding: 28px 0;
  border-top: 1px solid var(--line); transition: background 0.3s;
}
.rest-dish:last-child { border-bottom: 1px solid var(--line); }
.rest-dish:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); padding-left: 12px; padding-right: 12px; }
.rest-dish-num { font-family: 'Instrument Serif', serif; font-size: 18px; color: var(--ink-soft); font-style: italic; }
.rest-dish-img { aspect-ratio: 4/3; overflow: hidden; border-radius: 2px; }
.rest-dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.rest-dish:hover .rest-dish-img img { transform: scale(1.04); }
.rest-dish-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 6px; }
.rest-dish-title h3 { font-size: 28px; line-height: 1.1; }
.rest-dish-price { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--ink); white-space: nowrap; }
.rest-dish-info p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.rest-space { padding: 140px 40px; }
.rest-space-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 24px; }
.rest-space-img { overflow: hidden; aspect-ratio: 4/3; }
.rest-space-img.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.rest-space-img img { width: 100%; height: 100%; object-fit: cover; }
.rest-space-text { padding: 0 16px; display: flex; flex-direction: column; justify-content: center; grid-column: span 1; }
.rest-space-text h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.02; margin-bottom: 20px; text-wrap: balance; }
.rest-space-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

.rest-reserve { padding: 140px 40px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.rest-reserve-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.rest-reserve-left h2 { font-size: clamp(46px, 6vw, 88px); line-height: 1.0; margin-bottom: 24px; }
.rest-reserve-left p { font-size: 16px; color: var(--ink-soft); max-width: 400px; }

.rest-reserve-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 36px; background: var(--bg); border: 1px solid var(--line);
}
.rest-reserve-form label { display: flex; flex-direction: column; gap: 6px; }
.rest-reserve-form label.full { grid-column: span 2; }
.rest-reserve-form label span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.rest-reserve-form input, .rest-reserve-form select {
  border: none; border-bottom: 1px solid var(--line);
  background: transparent; padding: 10px 0;
  font-family: 'Instrument Serif', serif; font-size: 22px;
  color: var(--ink); outline: none; transition: border-color 0.2s;
}
.rest-reserve-form input:focus, .rest-reserve-form select:focus { border-bottom-color: var(--ink); }
.rest-reserve-form .rest-btn { grid-column: span 2; margin-top: 8px; }
.rest-reserve-row { display: contents; }
.guests-label { grid-column: span 2; }
.guests-stepper { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 6px 0; }
.guests-stepper span { font-family: 'Instrument Serif', serif; font-size: 28px; color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 400; }
.guests-stepper button {
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); font-size: 18px; cursor: pointer; line-height: 1;
}
.guests-stepper button:hover { background: var(--ink); color: var(--bg); }
.rest-reserve-success { grid-column: span 2; text-align: center; padding: 40px 20px; }
.rest-reserve-check { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.rest-reserve-success h3 { font-size: 32px; margin-bottom: 10px; }
.rest-reserve-success p { font-size: 15px; color: var(--ink-soft); }

.rest-map-section { width: 100%; height: 420px; background: var(--bg); }
.rest-map { width: 100%; height: 100%; border: 0; display: block; filter: contrast(0.95) saturate(0.85); }
.rest-root.dark .rest-map { filter: contrast(0.9) saturate(0.8) invert(0.92) hue-rotate(180deg); }

.rest-footer { padding: 80px 40px 40px; background: var(--ink); color: var(--bg); }
.rest-root.dark .rest-footer { background: #0d0d0e; }
.rest-footer-grid { max-width: 1400px; margin: 0 auto 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.rest-footer-col h4 { font-size: 11px; letter-spacing: 0.3em; color: color-mix(in srgb, var(--bg) 60%, transparent); margin-bottom: 16px; font-weight: 500; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
.rest-footer-col p { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1.5; }
.rest-footer-col a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); }
.rest-footer-col a:hover { border-color: var(--bg); }
.rest-footer-brand-row { max-width: 1400px; margin: 0 auto; padding-top: 30px; border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rest-footer-brand { display: flex; align-items: center; gap: 14px; font-family: 'Instrument Serif', serif; font-size: 18px; }
.rest-footer-brand img { width: 40px; height: 40px; filter: invert(1) brightness(0.95); }
.rest-footer-meta { font-size: 11px; letter-spacing: 0.2em; opacity: 0.6; text-transform: uppercase; }

.rest-corner-cat {
  position: fixed; right: 60px; bottom: 0;
  width: 165px; height: 105px;
  opacity: 0; z-index: 30; pointer-events: none;
  transition: opacity 0.4s ease;
}
.rest-corner-cat.visible {
  opacity: 0.55;
  animation: restCatPeek 7s ease-in-out infinite;
}
.rest-corner-cat svg, .rest-corner-cat img { width: 100%; height: 100%; transform: scaleX(-1); object-position: bottom; }
.rest-root.dark .rest-corner-cat img { filter: invert(1); }
@keyframes restCatPeek {
  0%, 90%, 100% { transform: translateX(20px); }
  45%, 55%      { transform: translateX(0); }
}

@media (max-width: 1000px) {
  .rest-hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
  .rest-hero-right { min-height: 400px; }
  .rest-feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .rest-reserve-inner { grid-template-columns: 1fr; gap: 40px; }
  .rest-dish { grid-template-columns: 40px 100px 1fr; gap: 16px; }
  .rest-dish-title h3 { font-size: 20px; }
  .rest-space-grid { grid-template-columns: 1fr 1fr; }
  .rest-space-img.big { grid-column: span 2; grid-row: auto; aspect-ratio: 16/9; }
  .rest-space-text { grid-column: span 2; padding: 20px 0; }
  .rest-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .rest-nav { grid-template-columns: auto 1fr auto; padding: 14px 16px; }
  .rest-nav-links { gap: 12px; }
  .rest-nav-links a:not(.rest-cta) { display: none; }
  .rest-feature, .rest-menu, .rest-space, .rest-reserve { padding: 60px 20px; }
}
