/* Themes: every colour, corner and font on the site comes from these variables. */
:root {
  --ink: #16181d; --muted: #5f6673; --bg: #ffffff; --surface: #ffffff; --soft: #f4f5f7; --line: #e6e8ec;
  --accent: #d7262f; --accent-dark: #b51c25; --accent-soft: #fdeced; --accent-text: #b51c25; --on-accent: #ffffff;
  --glow: #fff4d6; --radius: 18px; --pill: 99px;
  --shadow: 0 1px 2px #1018280a, 0 12px 32px #10182814;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; --head: var(--font);
}
:root[data-theme="midnight"] {
  --ink: #eef1f6; --muted: #a2abbd; --bg: #10141c; --surface: #19202c; --soft: #151a24; --line: #2a3344;
  --accent: #f2b138; --accent-dark: #d99a22; --accent-soft: #33291a; --accent-text: #f7c565; --on-accent: #171208;
  --glow: #1b2a4a; --shadow: 0 16px 40px #00000055;
}
:root[data-theme="classic"] {
  --ink: #2b211c; --muted: #75665a; --bg: #f8f2e7; --surface: #fffcf5; --soft: #f0e7d6; --line: #ddcfb8;
  --accent: #7b1e2b; --accent-dark: #5e141f; --accent-soft: #f1dcd6; --accent-text: #7b1e2b; --on-accent: #fff8ee;
  --glow: #ecdcb8; --radius: 4px; --pill: 4px; --head: "Playfair Display", Georgia, serif;
}
:root[data-theme="mono"] {
  --ink: #0a0a0a; --muted: #555555; --bg: #ffffff; --surface: #ffffff; --soft: #f2f2f2; --line: #d6d6d6;
  --accent: #0a0a0a; --accent-dark: #333333; --accent-soft: #ececec; --accent-text: #0a0a0a; --on-accent: #ffffff;
  --glow: #f2f2f2; --radius: 0px; --pill: 0px; --shadow: 6px 6px 0 #0a0a0a14;
}
:root[data-theme="fresh"] {
  --ink: #10302c; --muted: #52706b; --bg: #f6fbfa; --surface: #ffffff; --soft: #e8f5f2; --line: #cfe5e0;
  --accent: #0f7c70; --accent-dark: #0a6157; --accent-soft: #daf1ec; --accent-text: #0a6157; --on-accent: #ffffff;
  --glow: #fdf1dc; --radius: 22px;
}
:root[data-theme="royal"] {
  --ink: #f5efe0; --muted: #b6ac96; --bg: #0d0c0a; --surface: #181612; --soft: #131210; --line: #332e22;
  --accent: #cfa64a; --accent-dark: #b58d33; --accent-soft: #2b2415; --accent-text: #e2bd66; --on-accent: #171207;
  --glow: #2a2210; --radius: 6px; --pill: 6px; --shadow: 0 16px 40px #00000066; --head: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); }
[hidden] { display: none !important; }
.loading body { visibility: hidden; }
.login { display: grid; gap: 14px; max-width: 360px; margin: 0 auto; }
.login label { display: grid; gap: 6px; font-weight: 700; }
.login input { width: 100%; padding: 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 0; text-align: center; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.demo-bar { margin: 0; padding: 6px 16px; background: #fff6da; color: #6b5200; font-size: .78rem; text-align: center; }
.announce { margin: 0; padding: 9px 16px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .9rem; text-align: center; }

.top { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px max(20px, calc((100% - 1120px) / 2)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--head); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.logo span, .hero h1 span:not(.plain) { color: var(--accent); }
.top nav { display: flex; align-items: center; gap: 24px; }
.top nav a { text-decoration: none; font-size: .95rem; font-weight: 600; }
.top nav a:not(.btn):hover { color: var(--accent-text); }
.top nav a.btn { color: var(--on-accent); }
.langs { display: inline-flex; gap: 2px; }
.langs:empty { display: none; }
.langs button { padding: 4px 9px; border: 1px solid var(--line); border-radius: var(--pill); background: transparent; color: var(--muted); font: 700 .75rem var(--font); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.btn { display: inline-block; padding: 14px 28px; background: var(--accent); color: var(--on-accent); border: 1.5px solid var(--accent); border-radius: var(--pill); font: 700 1rem var(--font); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn.small { padding: 8px 20px; font-size: .9rem; }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { background: var(--soft); border-color: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: clamp(48px, 8vw, 104px) max(20px, calc((100% - 1120px) / 2)); background: radial-gradient(circle at 90% 0, var(--accent-soft), transparent 45%), radial-gradient(circle at 0 100%, var(--glow), transparent 40%); }
.hero.single { grid-template-columns: minmax(0, 1fr); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); margin: 20px 0; }
.hero h1 span { display: block; }
.lead { font-size: 1.15rem; max-width: 46ch; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); font-size: .85rem; font-weight: 600; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d7262f; }
.status.open::before { background: #1fa855; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; text-decoration: none; font-size: .95rem; font-weight: 600; }
.stars { color: #e8a915; letter-spacing: 2px; font-size: 1.1rem; }

.next { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); box-shadow: var(--shadow); }
.next h2 { font-size: 1.35rem; text-align: left; }
.next > p { margin: 4px 0 20px; color: var(--muted); font-size: .92rem; }
.next-times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.next-times .chip { min-width: 0; }
.next .btn { width: 100%; }

.section { padding: 88px max(20px, calc((100% - 1040px) / 2)); }
.section.alt { background: var(--soft); }
.section > h2 { margin-bottom: 40px; }
.section > h2:has(+ .sub) { margin-bottom: 0; }
.sub { text-align: center; color: var(--muted); margin: 10px 0 44px; }
.center { text-align: center; margin: 36px 0 0; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.services button { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; width: 100%; height: 100%; align-content: start; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow .15s, transform .15s, border-color .15s; }
.services button:disabled { cursor: default; }
.services button:hover:enabled { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.s-name { font-size: 1.12rem; font-weight: 700; }
.s-price { justify-self: end; align-self: start; padding: 2px 12px; background: var(--accent-soft); color: var(--accent-text); border-radius: var(--pill); font-weight: 800; }
.s-desc { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); }

#booking, .done { max-width: 760px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.4); box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 22px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; }
select, input { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .65); background: var(--soft); color: var(--ink); font: 500 1rem var(--font); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 700; font-size: .88rem; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.days { flex-wrap: nowrap; overflow-x: auto; padding: 3px 3px 10px; scrollbar-width: thin; }
.times { max-height: 196px; overflow-y: auto; padding: 3px; color: var(--muted); }
.chip { flex: none; min-width: 76px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .65); background: var(--surface); color: var(--ink); font: 600 .92rem var(--font); font-variant-numeric: tabular-nums; cursor: pointer; }
.chip:hover:enabled { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.summary { padding: 14px 18px; background: var(--soft); border-radius: calc(var(--radius) * .65); font-weight: 600; }
.error { color: var(--accent-text); min-height: 1.6em; margin: 0 0 8px; font-weight: 600; }
#booking > .btn { width: 100%; }
.fine { margin-bottom: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.done { text-align: center; }
.done h3 { font-size: 1.9rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cards article { background: var(--surface); padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.cards article::before { content: ""; display: block; width: 36px; height: 5px; margin-bottom: 18px; border-radius: var(--pill); background: var(--accent); }
.cards h3 { margin: 0 0 8px; font-size: 1.15rem; }
.cards p { margin: 0; color: var(--muted); font-size: .95rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--soft); }

.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; }
.address { font-size: 1.12rem; margin-top: 0; }
.phone { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; color: var(--accent-text); text-decoration: none; }
table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
caption { text-align: left; font-weight: 800; font-size: 1.1rem; padding-bottom: 6px; }
th, td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
td { text-align: right; font-variant-numeric: tabular-nums; }
tr.today th, tr.today td { font-weight: 800; background: var(--accent-soft); }
iframe { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: var(--radius); background: var(--line); }

footer { padding: 32px 20px; background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .85rem; }
.mobile-bar { display: none; }

.panel h1 { margin-top: 0; font-size: 2.2rem; }
.daynav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.daynav input { width: auto; padding: 8px 12px; background: var(--surface); }
.totals { font-weight: 700; }
.columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.columns section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.columns h2 { font-size: 1.15rem; text-align: left; margin-bottom: 12px; }
.columns ul { list-style: none; margin: 0; padding: 0; }
.columns li { display: grid; justify-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.link { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; text-decoration: underline; cursor: pointer; }
.empty { color: var(--muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .top nav a:not(.btn):not(.keep) { display: none; }
  .top nav { gap: 12px; }
}

@media (max-width: 640px) {
  .logo { font-size: 1rem; line-height: 1.25; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  body:has(.mobile-bar:not([hidden])) { padding-bottom: 76px; }
  .mobile-bar { display: flex; gap: 10px; position: fixed; inset: auto 0 0 0; z-index: 20; padding: 12px; background: var(--bg); border-top: 1px solid var(--line); }
  .mobile-bar a { flex: 1; padding: 13px 8px; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--surface); text-align: center; font-weight: 700; text-decoration: none; }
  .mobile-bar a.primary { flex: 2; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .services button { transition: none; }
}
