/* ===========================================================
   Pavla Nails & Beauty — sdílené styly
   =========================================================== */

:root {
  --bg:        #FBF8F2;
  --bg-soft:   #F5EFE3;
  --bg-deep:   #EFE6D2;
  --paper:     #FFFFFF;
  --ink:       #1F0F14;
  --ink-soft:  #5A4047;
  --ink-mute:  #8C7479;
  --wine:      #6E1029;
  --wine-2:    #8B1538;
  --wine-3:    #4A0E1F;
  --gold:      #B89260;
  --gold-soft: #D4B07E;
  --gold-pale: #EFE0C5;
  --line:      rgba(184, 146, 96, 0.28);
  --line-deep: rgba(31, 15, 20, 0.10);
  --green:     #2F8F4E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: -0.005em; }
.text-balance { text-wrap: balance; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, border-color .25s, box-shadow .25s;
  cursor: pointer; border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--wine);
  color: var(--bg);
  box-shadow: 0 12px 26px -10px rgba(110, 16, 41, 0.45);
}
.btn-primary:hover { background: var(--wine-2); transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, #C9A472 0%, #E2C68F 50%, #B89260 100%);
  color: var(--ink);
  border-color: rgba(184, 146, 96, 0.6);
  box-shadow: 0 12px 26px -10px rgba(184, 146, 96, 0.5);
}
.btn-gold:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(31, 15, 20, 0.25);
}
.btn-outline:hover {
  background: var(--ink); color: var(--bg); transform: translateY(-2px);
}

.btn-ghost-light {
  background: transparent;
  color: var(--bg);
  border: 1px solid rgba(251, 248, 242, 0.4);
}
.btn-ghost-light:hover {
  background: var(--bg); color: var(--ink); transform: translateY(-2px);
}

/* === Eyebrow === */
.eyebrow {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* === Pulse dot (live status) === */
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--green); flex-shrink: 0; }
.pulse-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px; background: var(--green);
  animation: pulse 1.8s ease-out infinite;
}
.pulse-dot.closed { background: #B0A39C; }
.pulse-dot.closed::after { display: none; }
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* === Header === */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 40;
}
.nav-bar {
  background: rgba(251, 248, 242, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled .nav-bar {
  box-shadow: 0 8px 24px -16px rgba(31,15,20,.18);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 16px;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 32px; height: 88px; } }

/* Logo (Pavla / Patková stacked) */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-stack {
  display: flex; flex-direction: column; line-height: 0.95;
}
.logo-stack .first {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: 22px; color: var(--wine); letter-spacing: -0.01em;
}
.logo-stack .second {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500;
  font-size: 22px; color: var(--wine); letter-spacing: -0.01em;
  margin-top: 2px;
}
@media (min-width: 1024px) {
  .logo-stack .first, .logo-stack .second { font-size: 24px; }
}
.logo-divider { width: 1px; height: 38px; background: var(--gold); opacity: 0.6; }
@media (min-width: 1024px) { .logo-divider { height: 44px; } }
.logo-tag {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; line-height: 1.6;
  display: none;
}
@media (min-width: 640px) { .logo-tag { display: inline-block; max-width: 100px; } }

/* Live status (header) */
.live-status {
  display: none; align-items: center; gap: 8px; font-size: 12px;
  color: var(--ink-soft); white-space: nowrap;
}
@media (min-width: 768px) { .live-status { display: flex; } }

/* Nav */
.main-nav { display: none; align-items: center; gap: 30px; font-size: 14px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.nav-link {
  position: relative; color: var(--ink); text-decoration: none;
  padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--wine); }

/* Right side */
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger {
  display: inline-flex; padding: 11px;
  background: transparent; color: var(--ink);
  border: 1px solid rgba(31, 15, 20, 0.25); border-radius: 999px;
  cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }

.mob-menu {
  display: none; border-top: 1px solid var(--line); background: rgba(251, 248, 242, 0.95);
  backdrop-filter: blur(14px);
}
.mob-menu.open { display: block; }
@media (min-width: 1024px) { .mob-menu { display: none !important; } }
.mob-menu-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 20px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.mob-menu a { color: var(--ink); padding: 8px 0; text-decoration: none; font-size: 16px; }
.mob-menu .mob-status { color: var(--ink-soft); font-size: 12px; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }

main.page { padding-top: 76px; }
@media (min-width: 1024px) { main.page { padding-top: 88px; } }

/* === Footer === */
footer.site-footer {
  background: var(--ink); color: var(--bg);
  padding: 60px 0 36px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: grid; gap: 40px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr 1fr 1fr; padding: 0 32px; }
}
.site-footer .logo-stack .first,
.site-footer .logo-stack .second { color: var(--gold-soft); }
.site-footer .logo-divider { background: var(--gold); }
.site-footer .logo-tag { color: var(--gold-soft); }
.footer-block .eyebrow { color: var(--gold-soft); margin-bottom: 14px; display: block; }
.footer-block ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-block ul a { color: var(--bg); opacity: 0.78; text-decoration: none; transition: opacity .25s, color .25s; }
.footer-block ul a:hover { opacity: 1; color: var(--gold-soft); }

.footer-tel {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px; color: var(--bg); text-decoration: none; line-height: 1;
  display: inline-block;
}
.footer-tel:hover { color: var(--gold-soft); }

.footer-bottom {
  max-width: 1280px; margin: 56px auto 0; padding: 0 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 11px; opacity: 0.5;
}
@media (min-width: 768px) { .footer-bottom { padding: 0 32px; } }

/* === Floating mobile call === */
.floating-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  background: var(--wine); color: var(--bg);
  padding: 14px 20px; border-radius: 999px; font-size: 13px; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(184, 146, 96, 0.5);
  box-shadow: 0 18px 36px -10px rgba(110, 16, 41, 0.6);
  transition: transform .25s;
}
.floating-call:hover { transform: translateY(-2px); }
@media (min-width: 1024px) { .floating-call { display: none; } }

/* === Hero === */
.hero {
  position: relative;
}
.hero-photo {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,15,20,.25));
}
.hero-photo .inner-frame { position: absolute; inset: 14px; border: 1px solid rgba(245, 239, 227, 0.5); pointer-events: none; }

/* === Service cards === */
.service-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(31,15,20,.18); border-color: var(--gold); }
.service-card .photo { aspect-ratio: 4/3; overflow: hidden; }
.service-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.service-card:hover .photo img { transform: scale(1.05); }
.service-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .gold-line {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-soft) 100%);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.service-card:hover .gold-line { width: 100%; }

.service-card.no-photo {
  background: linear-gradient(135deg, var(--paper) 0%, var(--gold-pale) 100%);
  border-color: var(--gold);
}
.service-card.no-photo .body { padding-top: 36px; }

/* === Gallery === */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.gal-item {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line);
  aspect-ratio: 1;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,15,20,.45));
  opacity: 0; transition: opacity .35s;
}
.gal-item:hover::after { opacity: 1; }
.gal-item .zoom-icon {
  position: absolute; right: 12px; bottom: 12px;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
  z-index: 1;
}
.gal-item:hover .zoom-icon { opacity: 1; transform: translateY(0); }

/* === Lightbox === */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(11, 6, 9, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; box-shadow: 0 40px 90px -20px rgba(0,0,0,.6); }
.lightbox button {
  position: absolute; top: 22px; right: 24px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.08); color: var(--bg); border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; transition: background .25s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255,255,255,.15); }
.lightbox .nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.06); color: var(--bg); border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox .nav.prev { left: 22px; }
.lightbox .nav.next { right: 22px; }
.lightbox .lb-meta {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--bg); opacity: 0.7; font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
}
body.lock { overflow: hidden; }

/* === Tabs === */
.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.tab-btn {
  padding: 10px 18px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  font-size: 13px; cursor: pointer; transition: all .25s;
}
.tab-btn:hover { border-color: var(--gold); }
.tab-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* === Pricing === */
.price-row {
  display: flex; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-deep);
  gap: 8px;
}
.price-row:first-child { border-top: 1px solid var(--line-deep); }
.price-dots {
  flex: 1; height: 1px; min-width: 24px; align-self: end; margin-bottom: 8px;
  background-image: radial-gradient(circle, rgba(184,146,96,0.5) 1px, transparent 1px);
  background-size: 6px 6px; background-repeat: repeat-x;
}
.price-row .row-title { font-weight: 500; }
.price-row .row-meta { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.price-row .price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; color: var(--wine); white-space: nowrap; font-weight: 500;
}

/* === Reservation form === */
.calendar {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
  user-select: none;
}
.calendar .day-label {
  text-align: center; font-size: 11px; color: var(--ink-mute);
  letter-spacing: .18em; text-transform: uppercase; padding: 4px 0;
}
.calendar .day {
  position: relative;
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--paper); cursor: pointer;
  font-size: 14px; transition: all .2s;
}
.calendar .day:hover:not(.disabled):not(.selected) { border-color: var(--gold); transform: translateY(-1px); }
.calendar .day.disabled { color: var(--ink-mute); background: var(--bg-soft); cursor: not-allowed; opacity: 0.55; }
.calendar .day.today { font-weight: 700; color: var(--wine); }
.calendar .day.today::after {
  content: ''; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 999px; background: var(--wine);
}
.calendar .day.selected {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.calendar .empty { background: transparent; border: none; cursor: default; }

.month-controls {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.month-controls h4 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin: 0; font-weight: 500; }
.month-controls button {
  padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; transition: all .2s;
}
.month-controls button:hover:not(:disabled) { border-color: var(--gold); }
.month-controls button:disabled { opacity: 0.4; cursor: not-allowed; }

.time-slots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (min-width: 768px) { .time-slots { grid-template-columns: repeat(4, 1fr); } }
.time-slot {
  padding: 10px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper);
  cursor: pointer; font-size: 14px; text-align: center;
  transition: all .2s;
}
.time-slot:hover:not(.disabled):not(.selected) { border-color: var(--gold); }
.time-slot.disabled { color: var(--ink-mute); background: var(--bg-soft); cursor: not-allowed; opacity: 0.55; text-decoration: line-through; }
.time-slot.selected {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

.svc-pick {
  position: relative; padding: 14px 18px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  transition: all .25s;
}
.svc-pick:hover:not(.selected) { border-color: var(--gold); }
.svc-pick.selected {
  background: linear-gradient(135deg, var(--paper), var(--gold-pale));
  border-color: var(--gold);
  box-shadow: 0 6px 18px -8px rgba(184,146,96,.4);
}
.svc-pick .check {
  position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px; border-radius: 999px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.svc-pick.selected .check { background: var(--wine); color: var(--bg); border-color: var(--wine); }

.form-input, .form-textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  font-size: 15px; font-family: 'Inter', sans-serif;
  transition: border-color .25s, box-shadow .25s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 96, 0.15);
}
.form-textarea { resize: vertical; min-height: 90px; }
.form-label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; font-weight: 500; }
.form-label .req { color: var(--wine); }

.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--wine); color: var(--bg); font-size: 13px; font-weight: 600;
}
.step-no.done { background: var(--green); }
.step-no.pending { background: var(--bg-soft); color: var(--ink-mute); border: 1px solid var(--line); }

/* Card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
}

/* Modal */
.modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(11, 6, 9, 0.6); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--paper); border: 1px solid var(--line);
  max-width: 540px; width: 100%; padding: 32px; border-radius: 4px;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.5);
}

/* Selection */
::selection { background: var(--wine); color: var(--bg); }

/* Animated underline for "active" page */
.is-active {
  font-weight: 600; color: var(--wine);
}

/* Day row in opening hours */
.day-row { padding: 4px 0; }
.day-row.is-today { color: var(--wine); font-weight: 600; }
.day-row .label { font-size: 12px; color: var(--ink-mute); display: block; }
