:root {
  --bg: #0b0d10;
  --bg-soft: #14171c;
  --card: #1a1e24;
  --border: #2a2f37;
  --text: #f3ede2;
  --text-dim: #b7b1a6;
  --accent: #ff7a30;
  --accent-dark: #d9601e;
  --success: #4caf50;
  --danger: #e05353;
  --radius: 14px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .3px;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #16110a;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.small { padding: 9px 18px; font-size: 13px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11,13,16,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--text-dim);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* Hero */
.hero { padding: 24px 0 60px; }
.hero-card {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,.35) 0%, rgba(11,13,16,.55) 55%, rgba(11,13,16,.96) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 44px; }
.ribbon {
  display: inline-block;
  background: var(--accent);
  color: #16110a;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 4px;
  transform: rotate(-3deg);
  margin-bottom: 22px;
}
.hero-inner h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  max-width: 15ch;
  line-height: 1.05;
}
.hero-inner p.lead {
  color: var(--text-dim);
  max-width: 46ch;
  font-size: 17px;
  margin-bottom: 28px;
}
@media (max-width: 700px) {
  .hero-card { min-height: 62vh; }
  .hero-inner { padding: 26px; }
}

/* Stats bar */
.stats {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 28px 24px;
  margin-bottom: 8px;
  max-width: 100%;
}
.stat {
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  opacity: .82;
  filter: saturate(.85);
  transition: opacity .25s ease, filter .25s ease, border-color .25s ease;
  min-width: 0;
  overflow-wrap: break-word;
}
.stat:hover {
  opacity: 1;
  filter: saturate(1.15) brightness(1.08);
  border-color: var(--accent);
}
.stat .num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--accent); overflow-wrap: break-word; }
.stat .label { font-size: 12.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 20px 16px; }
  .stat .num { font-size: 22px; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 20px; }
}

/* Section generic */
section { padding: 56px 0; }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head .kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  font-weight: 700;
}
.section-head p { color: var(--text-dim); }

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .advantages-grid { grid-template-columns: 1fr; } }

.adv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  min-width: 0;
  opacity: .82;
  filter: saturate(.85) brightness(.95);
  transition: opacity .25s ease, filter .25s ease, border-color .25s ease, transform .2s ease;
}
.adv-card:hover {
  opacity: 1;
  filter: saturate(1.15) brightness(1.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.adv-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,122,48,.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.adv-card h3 { font-size: 18px; margin-bottom: 8px; }
.adv-card p { color: var(--text-dim); font-size: 14.5px; margin: 0; }

/* Gallery */
.gallery-band {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px 40px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery-band { padding: 30px 20px; } }
.gallery-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: border-color .25s ease;
}
.gallery-card:hover { border-color: var(--accent); }
.gallery-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  opacity: .8;
  filter: saturate(.85) brightness(.92);
  transition: opacity .25s ease, filter .25s ease;
}
.gallery-card:hover img {
  opacity: 1;
  filter: saturate(1.15) brightness(1.1);
  animation: vezdehodMove 2.4s ease-in-out infinite;
}
@keyframes vezdehodMove {
  0%   { transform: scale(1.04) translate(0, 0) rotate(0deg); }
  20%  { transform: scale(1.05) translate(-3px, 1px) rotate(-0.4deg); }
  40%  { transform: scale(1.06) translate(3px, -1px) rotate(0.4deg); }
  60%  { transform: scale(1.05) translate(-2px, 1.5px) rotate(-0.3deg); }
  80%  { transform: scale(1.06) translate(2px, -1px) rotate(0.3deg); }
  100% { transform: scale(1.04) translate(0, 0) rotate(0deg); }
}
.gallery-card .cap { padding: 14px 16px; font-size: 14px; color: var(--text-dim); }

/* Pricing */
.pricing-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.price-cards { display: flex; gap: 20px; flex-wrap: wrap; }
.price-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 28px;
  min-width: 190px;
  text-align: center;
}
.price-card .amount { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--accent); }
.price-card .who { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.pricing-note { color: var(--text-dim); font-size: 14px; max-width: 30ch; }

/* CTA band */
#book { padding: 0 0 56px; }
.cta-band {
  background: linear-gradient(120deg, #1c130b, #0b0d10 70%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); }
.cta-band p { color: var(--text-dim); margin-bottom: 28px; }

/* Footer */
footer.site-footer {
  padding: 50px 0 30px;
  color: var(--text-dim);
  font-size: 14px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
  margin-bottom: 20px;
}
footer .fnote { text-align: center; font-size: 12.5px; opacity: .7; }
.phone-link {
  display: inline-block;
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  text-decoration: none;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: .5px;
  margin-top: 8px;
  transition: color .2s ease;
}
.phone-link:hover { color: var(--accent-dark); }
#contacts .section-head h2 { font-size: clamp(24px, 3.2vw, 34px); }
#contacts { padding-top: 70px; padding-bottom: 100px; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
}
.modal h2 { font-size: 22px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--accent); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email],
.field input[type=password], .field input[type=month], .field input[type=date] {
  width: 100%;
  padding: 13px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  color-scheme: dark;
}
.field input:focus { outline: none; border-color: var(--accent); }

.calendar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
}
.calendar-head button {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.calendar-head button:hover { border-color: var(--accent); color: var(--accent); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 13px;
}
.calendar-grid .dow { color: var(--text-dim); padding: 6px 0; font-size: 11.5px; text-transform: uppercase; }
.calendar-grid button.day {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 13.5px;
}
.calendar-grid button.day:hover:not(:disabled) { border-color: var(--accent); }
.calendar-grid button.day.selected { background: var(--accent); color: #16110a; font-weight: 700; }
.calendar-grid button.day:disabled { color: #4a4f57; cursor: not-allowed; text-decoration: line-through; }
.calendar-grid span.pad {}

.time-slots, .people-select {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pill-btn {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 14px;
}
.pill-btn:hover:not(:disabled) { border-color: var(--accent); }
.pill-btn.selected { background: var(--accent); color: #16110a; border-color: var(--accent); font-weight: 700; }
.pill-btn:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.step-title { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .5px; margin: 20px 0 8px; }

.price-preview {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15px;
  margin: 18px 0;
}
.price-preview b { color: var(--accent); }

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.consent-row input { margin-top: 3px; }
.consent-row a { color: var(--accent); text-decoration: underline; }

.form-msg { font-size: 14px; margin-top: 14px; }
.form-msg.error { color: var(--danger); }
.form-msg.success { color: var(--success); }

/* Admin */
.admin-shell { max-width: 720px; margin: 60px auto; padding: 0 20px; }
.admin-shell.wide { max-width: 1100px; margin-top: 0; }
.login-box { max-width: 480px; margin: 60px auto; }
.login-box, .admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 24px;
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.table-scroll { overflow-x: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.admin-table th, table.admin-table td {
  text-align: left;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.admin-table th { color: var(--text-dim); font-weight: 600; }
.scope-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.scope-tabs .btn.active { background: var(--accent); color: #16110a; }
.scope-tabs .btn.ghost:not(.active) { opacity: .75; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); margin-top: 10px; flex-wrap: wrap; }
.legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.dot.blocked { background: var(--danger); }
.dot.booked { background: var(--accent); }
.dot.partial { background: #b06fe0; }
.dot.free { background: #3b4048; }

.image-slot {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.image-slot-label { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.image-slot-preview {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--card);
  margin-bottom: 10px;
}
.image-slot input[type=file] {
  width: 100%;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
