/* ═══════════════════════════════════════════════════════
   SILVIA MAKEUP — MAISON DESIGN SYSTEM
   Dark mode default. CSS custom properties throughout.
   ═══════════════════════════════════════════════════════ */

/* ─── GOOGLE FONTS (loaded in <head>) ─────────────────── */
/* Bebas Neue 400 | Cormorant Garamond 400i | Space Grotesk 300-700 | JetBrains Mono 400-500 */

/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --bg:        #0e0d0c;
  --surface:   #1a1816;
  --surface2:  #1f1c19;
  --text:      #ece5d8;
  --muted:     #8a8275;
  --line:      rgba(236, 229, 216, 0.16);
  --accent:    rgb(243, 177, 186);
  --on-accent: #0e0d0c;
  --radius:    2px;

  --f-display: "Bebas Neue", "Archivo Narrow", "Oswald", sans-serif;
  --f-serif:   "Cormorant Garamond", Georgia, serif;
  --f-sans:    "Space Grotesk", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", "Courier New", monospace;

  --pad-x: 48px;
  --section-py: 120px;
}

/* ─── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── BACKGROUND IMAGE ─────────────────────────────────── */
.img-bg {
  background-size: cover;
  background-position: center;
  width: 100%;
}

/* ─── PLACEHOLDER IMAGE ─────────────────────────────────── */
.img-placeholder {
  background: repeating-linear-gradient(
    90deg,
    #1f1c19 0px, #1f1c19 1px,
    #14120f 1px, #14120f 12px
  );
  position: relative;
  width: 100%;
}
.img-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ─── MASTHEAD / NAV ────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.masthead-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  overflow: visible;
}
.masthead-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background-image: url('/photos/Silvia-Logo-Edited-Portrait.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 6px;
  z-index: 10;
  transition: width 0.35s ease, height 0.35s ease;
}
.masthead.scrolled .masthead-logo {
  width: 100px;
  height: 100px;
}
.masthead-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.masthead-nav a {
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.15s;
}
.masthead-nav a:hover { color: var(--accent); }

.btn-book {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  padding: 10px 20px;
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  display: inline-block;
}
.btn-book:hover,
.masthead-nav a.btn-book:hover { opacity: 0.85; color: var(--on-accent); }

/* Hamburger (mobile) */
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  padding: 4px;
  margin-left: auto;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px var(--pad-x);
}
.nav-mobile a {
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--text);
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  padding: 48px var(--pad-x) 64px;
  border-bottom: 1px solid var(--line);
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  flex: 1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.hero-kicker-line {
  width: 56px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-kicker-text {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.hero-h1 .accent { color: var(--accent); }
.hero-quote {
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--muted);
  font-style: italic;
  max-width: 480px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: none;
  padding: 22px 36px;
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius) 0 0 var(--radius);
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  border-left: none;
  padding: 22px 36px;
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-secondary-outline:hover { background: var(--text); color: var(--bg); }
.hero-stats {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--text);
}
.hero-stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}
.hero-image {
  min-height: 400px;
}
.hero-image .img-placeholder { height: 100%; }

/* ─── PRESS TICKER ──────────────────────────────────────── */
.press-ticker {
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
}
.press-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow-x: hidden;
}
.press-star {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.press-name {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── GALLERY ───────────────────────────────────────────── */
.gallery {
  padding: 96px var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.gallery-header-left {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.gallery-link {
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.gallery-link:hover { color: var(--accent); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.gallery-feature {
  aspect-ratio: 1 / 1;
}
.gallery-feature .img-placeholder { height: 100%; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.gallery-thumb {
  aspect-ratio: 1 / 1;
}
.gallery-thumb .img-placeholder { height: 100%; }
.gallery-feature .img-bg,
.gallery-thumb .img-bg { height: 100%; }

/* ─── GALLERY CAROUSEL ──────────────────────────────── */
.gallery-carousel {
  overflow: hidden;
  position: relative;
}
.gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.gallery-carousel.is-dragging .gallery-track {
  cursor: grabbing;
}
.gallery-page {
  min-width: 100%;
  flex-shrink: 0;
}
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 72px;
  background: rgba(14, 13, 12, 0.55);
  border: 1px solid rgba(236, 229, 216, 0.18);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  backdrop-filter: blur(6px);
}
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-nav-btn:hover {
  background: rgba(243, 177, 186, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}
.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ─── PORTFOLIO MODAL ───────────────────────────────────── */
.pf-modal {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.pf-modal.open {
  opacity: 1;
  pointer-events: all;
}
.pf-modal-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  flex-shrink: 0;
}
.pf-modal-title {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pf-modal-close {
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.15s;
}
.pf-modal-close:hover { color: var(--accent); }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 3px;
  padding: 3px;
  overflow-y: auto;
  flex: 1;
}
@media (max-width: 600px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  /* Stack the legend below the month nav so it isn't crammed against the
     → button on narrow screens. */
  .cal-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.pf-grid-item {
  aspect-ratio: 1 / 1;
  cursor: pointer;
  overflow: hidden;
}
.pf-grid-item .img-bg {
  height: 100%;
  transition: transform 0.35s ease;
}
.pf-grid-item:hover .img-bg { transform: scale(1.05); }

/* ─── LIGHTBOX ───────────────────────────────────────────── */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(14, 13, 12, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.pf-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.pf-lb-stage {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.pf-lb-btn {
  position: absolute;
  background: none;
  border: 1px solid rgba(236, 229, 216, 0.18);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  z-index: 10;
  line-height: 1;
}
.pf-lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.pf-lb-close {
  top: 20px;
  right: 24px;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: var(--radius);
}
.pf-lb-prev, .pf-lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-lb-prev { left: 24px; }
.pf-lb-next { right: 24px; }
.pf-lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── SERVICES ──────────────────────────────────────────── */
.services {
  padding: var(--section-py) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  gap: 48px;
}
.section-header-left .section-eyebrow { margin-bottom: 24px; }
.section-h2-large {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Seamless rotating word in the reservation heading: deň → službu → čas.
   A vertical track of words slides up; the first word is duplicated at the
   end so the wrap back to the start is invisible. em units scale with the
   responsive heading size. Width tracks the widest word, so no reflow. */
.h2-rotator {
  display: inline-block;
  overflow: hidden;
  /* Slot taller than the glyph (1.3em) gives the caron room above and the
     period room below so nothing clips. Negative margins reclaim the extra
     0.45em so the line still sits tight under "Vyberte" (~0.85em rhythm). */
  height: 1.3em;
  line-height: 1.3;
  margin-top: -0.16em;
  margin-bottom: -0.16em;
  vertical-align: bottom;
}
.h2-rotator-track {
  display: flex;
  flex-direction: column;
  animation: h2-word-cycle 9s infinite;
}
.h2-rotator-track > span {
  display: block;
  height: 1.3em;
  line-height: 1.3;
  white-space: nowrap;
}
@keyframes h2-word-cycle {
  0%, 28%   { transform: translateY(0); }         /* deň — ~2.5s dwell */
  33%, 61%  { transform: translateY(-1.3em); }    /* službu */
  66%, 94%  { transform: translateY(-2.6em); }    /* čas */
  100%      { transform: translateY(-3.9em); }    /* dup deň → loops seamlessly to start */
}
@media (prefers-reduced-motion: reduce) {
  .h2-rotator-track { animation: none; } /* static first word for reduced-motion users */
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.section-sub {
  font-family: var(--f-serif);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--muted);
  max-width: 380px;
  font-style: italic;
  flex-shrink: 0;
}
.service-row {
  display: grid;
  grid-template-columns: 100px 360px 1fr 200px;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-num {
  font-family: var(--f-display);
  font-size: clamp(56px, 5vw, 96px);
  color: var(--accent);
  line-height: 1;
}
.service-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 3vw, 54px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.service-duration {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.service-desc {
  font-family: var(--f-serif);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 14px;
}
.service-details {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-details span + span::before { content: '/ '; }
.service-action { text-align: right; }
.service-price {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  margin-bottom: 14px;
}
.btn-select {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 10px 20px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.btn-select:hover { background: var(--text); color: var(--bg); }

/* ─── ABOUT ─────────────────────────────────────────────── */
.about {
  padding: var(--section-py) var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.about-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.about-name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.about-name .accent { color: var(--accent); }
.about-role {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-bio-lead {
  font-family: var(--f-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 24px;
}
.about-bio-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.about-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-portrait { aspect-ratio: 1 / 1; }
.about-portrait .img-bg { height: 100%; }
.about-portrait .img-placeholder { height: 100%; }
.about-creds {
  aspect-ratio: 1 / 1;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.about-creds-label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 24px 0 16px;
}
.cred-row {
  display: grid;
  grid-template-columns: 90px 1fr 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 16px;
}
.cred-year {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.5vw, 38px);
  color: var(--accent);
  line-height: 1;
}
.cred-text { font-size: 15px; line-height: 1.45; }
.cred-mark { color: var(--accent); font-size: 10px; }

/* ─── COURSES ───────────────────────────────────────────── */
.courses {
  padding: var(--section-py) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.course-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  align-items: center;
}
.filter-group {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-right: 4px;
  font-family: var(--f-mono);
}
.filter-pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--f-sans);
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.filter-pill:hover { border-color: var(--accent); color: var(--accent); }
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.filter-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--f-mono);
}
.course-list { display: flex; flex-direction: column; }
.course-row {
  display: grid;
  grid-template-columns: 100px 320px 1fr 200px;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.course-row:first-child { border-top: 1px solid var(--line); }
.course-num {
  font-family: var(--f-display);
  font-size: clamp(56px, 5vw, 96px);
  color: var(--accent);
  line-height: 1;
}
.course-title-lg {
  font-family: var(--f-display);
  font-size: clamp(28px, 2.5vw, 44px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.course-status-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.course-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.course-pill {
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
.btn-enroll {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  padding: 11px 18px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn-enroll:hover { opacity: 0.85; }

/* ─── TESTIMONIALS ──────────────────────────────────────── */
.testimonials {
  padding: 140px var(--pad-x);
  border-bottom: 1px solid var(--line);
  background: var(--surface2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  align-items: start;
}
.testimonials-heading {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.carousel-body {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.carousel-slide {
  animation: fadeIn 0.5s ease-out;
}
.carousel-quote {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.3;
  font-style: italic;
  margin-bottom: 28px;
}
.carousel-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.carousel-line { width: 36px; height: 1px; background: var(--accent); flex-shrink: 0; }
.carousel-who { font-size: 14px; margin-bottom: 2px; }
.carousel-role { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot {
  height: 4px;
  border: none;
  border-radius: 999px;
  background: var(--line);
  padding: 0;
  transition: width 0.25s, background 0.25s;
  cursor: pointer;
}
.carousel-dot.active { background: var(--accent); }
.carousel-buttons { display: flex; gap: 4px; }
.carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── BOOKING ───────────────────────────────────────────── */
.booking {
  padding: var(--section-py) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.cal-nav {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  transition: border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-month-label {
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--f-display);
}
.cal-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.cal-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-right: 4px;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.cal-weekday {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  padding: 4px 0;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* Gate the calendar until a service/course is chosen */
.cal-col { position: relative; }
.cal-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: rgba(14, 13, 12, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cal-col.ready .cal-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cal-overlay-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.cal-overlay-title {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  color: var(--text);
}
.cal-overlay-hint {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 18px;
}
.cal-day {
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
}
.cal-day:hover:not(:disabled):not(.selected) { border-color: var(--accent); }
.cal-day:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-day.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.cal-day-dot {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.cal-day.limited .cal-day-dot { opacity: 0.4; }
.cal-day.selected .cal-day-dot { display: none; }
.cal-empty { aspect-ratio: 1 / 1; }

/* Booking right panel */
.booking-detail {
  border-left: 1px solid var(--line);
  padding-left: 56px;
}
.booking-detail-label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  font-family: var(--f-mono);
}
.booking-type-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.booking-tab {
  flex: 1;
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 10px;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.booking-tab.active { background: var(--accent); color: var(--on-accent); }
.booking-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.booking-item-btn {
  text-align: left;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.15s;
  width: 100%;
}
.booking-item-btn:hover { border-color: var(--accent); }
.booking-item-btn.selected { border-color: var(--accent); background: rgba(243,177,186,0.06); }
.booking-item-name { font-size: 14px; }
.booking-item-price { font-size: 12px; color: var(--muted); }
.time-slots-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--f-mono);
  margin-bottom: 10px;
}
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.time-slots-hint {
  grid-column: 1 / -1;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px 0;
}
.time-slot-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 10px 0;
  font-size: 13px;
  font-family: var(--f-sans);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.time-slot-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.time-slot-btn.booked { text-decoration: line-through; opacity: 0.3; }
.time-slot-btn:hover:not(:disabled) { border-color: var(--accent); }
.time-slot-btn.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* Pending-step cue: when a day is chosen but no time yet (.awaiting toggled
   in updateSubmit), the ČAS label turns accent — a quiet nudge that pairs
   with the "Vyberte čas" button label. */
.time-slots-label { transition: color 0.2s ease; }
.booking-times.awaiting .time-slots-label { color: var(--accent); }

/* Booking form fields */
.booking-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.booking-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 14px;
  border-radius: var(--radius);
  transition: border-color 0.15s;
  outline: none;
}
.booking-input::placeholder { color: var(--muted); }
.booking-input:focus { border-color: var(--accent); }
.booking-input.invalid { border-color: #e57373; }

.btn-submit {
  width: 100%;
  padding: 18px 24px;
  border: none;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: opacity 0.2s, background 0.2s;
}
/* Disabled = "not ready yet": clearly inactive (no pink CTA fill) but the
   label stays legible because it now tells the user which step is missing. */
.btn-submit:disabled { background: var(--surface2); color: rgba(236, 229, 216, 0.72); cursor: not-allowed; }
.btn-submit:not(:disabled):hover { opacity: 0.85; }
.booking-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.booking-error {
  margin-top: 12px;
  font-size: 13px;
  color: #e57373;
  line-height: 1.5;
  display: none;
}
.booking-consent {
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.booking-consent a { color: inherit; text-decoration: underline; }
.booking-consent a:hover { color: var(--accent); }

/* ─── BOOKING OVERLAY ──────────────────────────────────── */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(14, 13, 12, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.booking-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.booking-overlay-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px 60px;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 48px);
}
.booking-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(243, 177, 186, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: bk-spin 0.75s linear infinite;
  margin: 0 auto 28px;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }
.overlay-loading-label {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.overlay-check-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #6abf7b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 22px;
  color: #0e0d0c;
  line-height: 1;
}
.overlay-success-title {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.overlay-success-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding: 64px var(--pad-x) 32px;
  background: var(--text);
  color: var(--bg);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
  gap: 32px;
}
.footer-logo {
  font-family: var(--f-display);
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.footer-logo .accent { color: var(--accent); }
.footer-cols {
  display: flex;
  gap: 56px;
  flex-shrink: 0;
  padding-top: 8px;
}
.footer-col-label {
  font-family: var(--f-mono);
  font-size: 10px;
  opacity: 0.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col p {
  font-size: 14px;
  line-height: 1.75;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(14, 13, 12, 0.18);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { opacity: 1; text-decoration: underline; }

/* ─── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --pad-x: 36px; --section-py: 96px; }
  .service-row { grid-template-columns: 80px 280px 1fr 180px; gap: 28px; }
  .course-row  { grid-template-columns: 80px 260px 1fr 180px; gap: 28px; }
}

@media (max-width: 1024px) {
  :root { --pad-x: 28px; --section-py: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero {
    background-image: var(--hero-img, none);
    background-size: cover;
    background-position: center top;
    position: relative;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(14,13,12,0.52) 0%,
      rgba(14,13,12,0.78) 60%,
      rgba(14,13,12,0.97) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .hero-grid { position: relative; z-index: 1; }
  .hero-quote { color: rgba(236, 229, 216, 0.88); }
  .about-top, .about-bottom { grid-template-columns: 1fr; }
  .about-portrait { display: none; }
  .about-creds { aspect-ratio: unset; overflow-y: visible; }
  .about {
    background-image: var(--about-img, none);
    background-size: cover;
    background-position: center top;
    position: relative;
  }
  .about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
      rgba(14,13,12,0.60) 0%,
      rgba(14,13,12,0.82) 40%,
      rgba(14,13,12,0.97) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .about-top, .about-bottom { position: relative; z-index: 1; }
  .about-bio-body { color: rgba(236, 229, 216, 0.75); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 48px; }
  .booking-grid { grid-template-columns: 1fr; gap: 40px; }
  .booking-detail { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 40px; }

  /* Mobile booking flow: Service -> Calendar -> Times -> Form.
     `display: contents` dissolves the .booking-detail wrapper so its three
     inner blocks become siblings of .cal-col and can be interleaved with order.
     Desktop is unaffected (this only applies at this breakpoint). */
  .booking-grid     { display: flex; flex-direction: column; align-items: stretch; }
  .booking-detail   { display: contents; }
  .booking-services { order: 1; }
  .cal-col          { order: 2; }
  .booking-times    { order: 3; }
  .booking-formwrap { order: 4; }
  .service-row { grid-template-columns: 64px 1fr; gap: 20px; }
  .service-desc-col { grid-column: 1 / -1; }
  .service-action { grid-column: 1 / -1; text-align: left; }
  .course-row { grid-template-columns: 64px 1fr; gap: 20px; }
  .course-row .service-desc-col { grid-column: 1 / -1; }
  .course-row .service-action   { grid-column: 1 / -1; text-align: left; }
  .service-num, .course-num { font-size: clamp(36px, 4vw, 56px); }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; --section-py: 56px; }

  .masthead-top { display: none; }
  .masthead-main { padding: 14px var(--pad-x); }
  .masthead-nav { display: none; }
  /* Smaller logo so it doesn't overflow the slim mobile bar */
  .masthead-logo,
  .masthead.scrolled .masthead-logo { width: 64px; height: 64px; }
  .nav-burger { display: block; }
  .studio-badge-mobile { display: inline-flex; }

  .hero-h1 { font-size: clamp(88px, 32vw, 160px); }
  .hero-ctas { flex-direction: column; gap: 0; }
  .btn-primary {
    border-radius: var(--radius) var(--radius) 0 0;
    width: 100%;
    text-align: center;
  }
  .btn-secondary-outline {
    border-radius: 0 0 var(--radius) var(--radius);
    border-left: 1px solid var(--text);
    border-top: none;
    width: 100%;
    text-align: center;
  }

  .press-inner { gap: 20px; overflow-x: auto; }
  .press-name { font-size: 16px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: 1fr 1fr; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery-header-left { flex-direction: column; align-items: flex-start; gap: 8px; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section-h2-large { font-size: clamp(48px, 14vw, 80px); }

  .service-row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .service-num { font-size: 48px; }
  .service-action { text-align: left; }

  .about-name { font-size: clamp(56px, 16vw, 96px); }

  .course-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .course-num { font-size: 48px; }

  .testimonials { padding: 72px var(--pad-x); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 32px; }

  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-logo { font-size: clamp(56px, 16vw, 96px); }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

  .studio-splash-footer { display: none; }
}

/* Short-viewport fix — laptops where height < 820px */
@media (max-height: 820px) and (min-width: 1025px) {
  .hero-content  { padding-top: 16px; }
  .hero-kicker   { margin-bottom: 16px; }
  .hero-h1       { font-size: clamp(72px, 9vw, 140px); margin-bottom: 16px; }
  .hero-quote    { font-size: clamp(15px, 1.3vw, 19px); margin-bottom: 16px; }
  .hero-ctas     { margin-bottom: 12px; }
}

/* ════════════════════════════════════════════════════════
   ADMIN — existing styles preserved
   ════════════════════════════════════════════════════════ */
.admin-layout { display: flex; min-height: 100vh; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.admin-sidebar { width: 220px; background: #2a2a2a; color: #fff; flex-shrink: 0; display: flex; flex-direction: column; }
/* Top bar: brand + logout on the same row */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-brand { color: #fff; margin: 0; font-size: 1.125rem; font-weight: 600; }
/* Nav links: vertical list on desktop */
.admin-nav-links { display: flex; flex-direction: column; padding: 0.75rem 1.5rem 1.5rem; flex: 1; }
.admin-nav-links a { color: #ccc; display: block; padding: 0.45rem 0; text-decoration: none; font-size: 0.9rem; }
.admin-nav-links a:hover { color: #fff; }
.admin-nav-links a.active { color: rgb(243,177,186); font-weight: 600; }
.admin-nav-links .nav-sub { padding-left: 1.5rem; font-size: 0.82rem; }
/* Logout inside topbar */
.admin-logout-form { margin: 0; }
.admin-logout-btn { background: none; border: 0; color: rgba(255,255,255,0.45); font: inherit; font-size: 0.78rem; cursor: pointer; padding: 0; white-space: nowrap; }
.admin-logout-btn:hover { color: #fff; }
.admin-content { flex: 1; padding: 2rem; background: #fdfaf7; color: #2a2a2a; }
.admin-content h1 { margin-top: 0; font-size: 1.5rem; }
.admin-content h2 { font-size: 1.125rem; margin-top: 2rem; }
.admin-content a { color: #b8456b; }

.page { background: #fff; border-radius: 10px; padding: 2rem; margin: 2rem 0; border: 1px solid #efe6dc; }
.page h1 { margin-top: 0; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group input[type=password],
.form-group input[type=date],
.form-group input[type=datetime-local],
.form-group input[type=number],
.form-group input[type=time],
.form-group input[type=file],
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.65rem 0.75rem; font-size: 0.9rem;
  border: 1px solid #d4c8bc; border-radius: 6px; font-family: inherit;
  background: #fff; box-sizing: border-box; color: #2a2a2a;
}
.form-group input[type=file] {
  padding: 0; cursor: pointer; overflow: hidden;
}
.form-group input[type=file]::file-selector-button {
  padding: 0.55rem 1rem; margin-right: 0.75rem;
  background: #2a2a2a; color: #fff; border: none;
  border-right: 1px solid #d4c8bc; font-family: inherit;
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: background 0.15s;
}
.form-group input[type=file]::file-selector-button:hover { background: #444; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: rgb(243,177,186); box-shadow: 0 0 0 3px rgba(243,177,186,0.2);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.admin-fieldset {
  border: 1px solid #d4c8bc; border-radius: 6px;
  padding: 20px 24px; margin-bottom: 24px; background: #fff;
}
.admin-fieldset legend {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: #b8456b; font-weight: 600; padding: 0 8px;
}

.btn { display: inline-block; padding: 0.65rem 1.25rem; background: #2a2a2a; color: #fff; border: none; border-radius: 6px; font-size: 0.875rem; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn:hover { background: #444; color: #fff; text-decoration: none; }
.btn-danger { background: #8a1d1d; }
.btn-danger:hover { background: #6e1616; }
.btn-small { padding: 0.35rem 0.75rem; font-size: 0.8rem; }
.btn-success { background: #2c6b1d; }
.btn-success:hover { background: #225416; }

table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; font-size: 0.875rem; }
table.data th, table.data td { padding: 0.75rem 0.875rem; text-align: left; border-bottom: 1px solid #efe6dc; }
table.data th { background: #f8f3ed; font-weight: 600; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fdf5f0; }

.status-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 0.75rem; font-weight: 500; }
.status-pending   { background: #fde9d8; color: #a04d00; }
.status-confirmed { background: #ebf5e6; color: #2c6b1d; }
.status-reserved  { background: #e7f1fb; color: #1e4b80; }
.status-paid      { background: #ebf5e6; color: #2c6b1d; }
.status-cancelled, .status-failed, .status-no_show { background: #fbe1e1; color: #8a1d1d; }
.status-refunded  { background: #f0f0f0; color: #555; }

.alert { padding: 0.875rem 1rem; border-radius: 6px; margin: 1rem 0; font-size: 0.875rem; }
.alert-error   { background: #fbe1e1; color: #8a1d1d; border: 1px solid #f0c0c0; }
.alert-success { background: #ebf5e6; color: #2c6b1d; border: 1px solid #c8e3b8; }
.alert-info    { background: #e7f1fb; color: #1e4b80; border: 1px solid #b8d4f0; }

/* Admin availability calendar */
.avail-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.avail-weekday { text-align: center; font-size: 0.75rem; font-weight: 600; color: #888; padding: 4px; }
.avail-cell { aspect-ratio: 1/1; border-radius: 6px; border: 2px solid #ddd; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 500; transition: all 0.1s; }
.avail-cell:hover { border-color: #aaa; }
.avail-cell.state-0 { background: #fbe1e1; border-color: #f0c0c0; color: #8a1d1d; }
.avail-cell.state-1 { background: #fde9d8; border-color: #f0c0c0; color: #a04d00; }
.avail-cell.state-2 { background: #ebf5e6; border-color: #c8e3b8; color: #2c6b1d; }
.avail-cell.empty   { background: transparent; border-color: transparent; cursor: default; }

@media (max-width: 900px) {
  /* ── Sidebar: column layout (topbar row + nav row) ── */
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; flex-direction: column; }

  /* Top bar: brand left, logout right — fixed height, never scrolls */
  .admin-topbar { padding: 8px 14px; }
  .admin-brand  { font-size: 0.88rem; letter-spacing: 0.04em; }
  .admin-logout-btn { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

  /* Nav links: horizontally scrollable pill strip */
  .admin-nav-links {
    flex-direction: row;
    flex: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 10px 8px;
    gap: 3px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .admin-nav-links::-webkit-scrollbar { display: none; }
  .admin-nav-links a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 5px 12px;
    font-size: 0.76rem;
    border-radius: 20px;
    color: rgba(255,255,255,0.5);
    background: transparent;
    transition: background 0.15s, color 0.15s;
  }
  .admin-nav-links a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .admin-nav-links a.active { background: rgba(243,177,186,0.2); color: #f3b1ba; font-weight: 600; }
  .admin-nav-links .nav-sub { padding: 4px 10px; font-size: 0.7rem; padding-left: 10px; opacity: 0.85; }

  /* ── Content area ── */
  .admin-content { padding: 1rem; }

  /* ── Tables: horizontal scroll ── */
  table.data { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  table.data td, table.data th { white-space: nowrap; }

  /* ── 2-column form grids → single column ── */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* ── Availability calendar: smaller cells ── */
  .avail-cell { font-size: 0.7rem; }
}

/* ════════════════════════════════════════════════════════
   STUDIO SPLASH SCREEN
   ════════════════════════════════════════════════════════ */
/* Lock background scroll while the studio splash is on screen */
html.studio-locked, body.studio-locked { overflow: hidden; }

.studio-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  background: var(--bg);
  transition: opacity 0.55s ease;
}
.studio-splash.fade-out {
  opacity: 0;
  pointer-events: none;
}
.studio-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2rem;
  border-right: 1px solid var(--line);
  transition: opacity 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.studio-panel:last-child { border-right: none; }
.studio-splash:has(.studio-panel:hover) .studio-panel { opacity: 0.28; }
.studio-splash:has(.studio-panel:hover) .studio-panel:hover { opacity: 1; }
.studio-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(243,177,186,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.studio-panel:hover::before { opacity: 1; }
.studio-eyebrow {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.studio-name {
  font-family: var(--f-display);
  font-size: clamp(54px, 9vw, 120px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.92;
}
.studio-city {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 24px);
  color: var(--muted);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}
.studio-divider {
  width: 32px;
  height: 1px;
  background: var(--line);
  margin: 1.5rem auto;
}
.studio-desc {
  font-family: var(--f-sans);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}
.studio-cta {
  margin-top: 2rem;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.studio-panel:hover .studio-cta {
  transform: translateY(0);
}
.studio-splash-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .studio-splash { flex-direction: column; }
  .studio-panel { border-right: none; border-bottom: 1px solid var(--line); }
  .studio-panel:last-child { border-bottom: none; }
  .studio-splash:has(.studio-panel:hover) .studio-panel { opacity: 1; }
  .studio-name { font-size: clamp(52px, 18vw, 80px); }
}

/* Studio indicator badge in masthead */
.studio-badge {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(243,177,186,0.12);
  color: var(--accent);
  border: 1px solid rgba(243,177,186,0.3);
  border-radius: 2px;
  padding: 3px 8px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.studio-badge:hover { background: rgba(243,177,186,0.2); }
@media (min-width: 769px) { .studio-badge-mobile { display: none; } }
