.jpc-logo,
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.jpc-logo img,
.logo-mark img,
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  position: relative;
  top: 0;
  left: 0;
  animation: none;
  filter: none;
}

.logo-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jpc-logo__text,
.logo-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.jpc-logo__jpc,
.logo-title-jpc {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink);
}

.jpc-logo__sub,
.logo-title-sub {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.7;
  margin-top: 0.2rem;
  color: var(--ink);
}

.section,
.about,
.gallery,
.location,
.booking {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.2rem, 4vw, 3rem);
}

.about-grid,
.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.about-text p,
.about-content .about-text p {
  margin-bottom: 1rem;
  max-width: 54ch;
  opacity: 0.85;
  font-size: 1.02rem;
  color: var(--ink);
}

.services,
.services-box {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--panel);
}

.services h3,
.services-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.services ul,
.services-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services li,
.services-box li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.services-box .price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  white-space: nowrap;
}

.premium,
.saturday-promo {
  margin-top: 2rem;
  padding: 1.5rem clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--accent);
  display: grid;
  gap: 0.4rem;
  background: var(--premium-bg);
}

.premium__title,
.promo-title {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.premium__text,
.promo-text {
  opacity: 0.85;
  max-width: 50ch;
  color: var(--ink);
}

.premium__price,
.promo-price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.35rem;
}

.gallery-carousel {
  position: relative;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery-slide,
.gallery-slide.gallery-grid {
  min-width: 100%;
  width: 100%;
  flex: 0 0 100%;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-slide .gallery-item {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}

.gallery-slide video,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: inherit;
  font-size: 1.2rem;
}

.gallery-arrow-prev {
  left: 0.5rem;
}

.gallery-arrow-next {
  right: 0.5rem;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.gallery-dots button,
.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  padding: 0;
}

.gallery-dots button.is-active,
.gallery-dot.is-active {
  background: var(--accent);
}

.location-grid,
.location-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.location-info h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.location-info p {
  margin-bottom: 0.65rem;
  opacity: 0.85;
  color: var(--ink);
}

.location-info a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: var(--map-filter);
}

.booking-info {
  max-width: 60ch;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.booking-mock,
.booking-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.booking-panel,
.calendar-section,
.time-section,
.form-section {
  border: 1px solid var(--line);
  padding: 1.25rem;
  background: var(--panel);
}

.booking-panel h3,
.calendar-section h3,
.time-section h3,
.form-section h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.85;
  color: var(--ink);
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.calendar-nav .nav-btn,
.calendar-nav button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  color: inherit;
  background: transparent;
}

#currentMonth {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-day {
  text-align: center;
  font-size: 0.75rem;
  padding: 0.45rem 0;
  border: 1px solid transparent;
  color: inherit;
  cursor: default;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day:not(.disabled):not(.blocked):not(.selected) {
  cursor: pointer;
  opacity: 0.85;
  border-color: var(--line);
}

.calendar-day.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.calendar-day.blocked {
  opacity: 0.35;
  text-decoration: line-through;
  pointer-events: none;
}

.calendar-day.selected {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
  font-weight: 600;
}

.calendar-day.premium-day:not(.disabled):not(.blocked) {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.calendar-day.today:not(.selected) {
  border-color: rgba(255, 255, 255, 0.45);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.time-slots p {
  grid-column: 1 / -1;
  opacity: 0.65;
  font-size: 0.9rem;
}

.time-slot {
  border: 1px solid var(--line);
  padding: 0.65rem 0.4rem;
  color: inherit;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.time-slot:hover:not(.disabled):not(.booked):not(.blocked) {
  border-color: var(--accent);
}

.time-slot.selected {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}

.time-slot.disabled,
.time-slot.booked,
.time-slot.blocked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

#bookingForm,
.booking-form {
  display: grid;
  gap: 0.75rem;
}

#bookingForm input,
#bookingForm select,
.booking-form input,
.booking-form select {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
}

#bookingForm option,
.booking-form option {
  color: #111;
}

.selected-datetime {
  min-height: 1.4rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--accent);
}

.submit-btn {
  margin-top: 0.35rem;
  padding: 0.95rem 1rem;
  background: var(--accent);
  color: #111;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  width: 100%;
}

.submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.site-footer,
footer {
  padding: 2.5rem clamp(1.2rem, 4vw, 3rem) 2rem;
  border-top: 1px solid var(--line);
  background: #050505;
}

.site-footer__inner,
.footer-content {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.site-footer__top,
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer__links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

.site-footer__social,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__social a,
.footer-social a,
.social-icons a {
  color: var(--accent);
  font-size: 0.9rem;
}

.site-footer__copy,
.footer-bottom p {
  font-size: 0.78rem;
  opacity: 0.55;
  color: var(--ink);
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: var(--accent);
}

.footer-rights {
  font-size: 0.82rem;
  opacity: 0.72;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.footer-credits {
  font-size: 0.72rem;
  opacity: 0.45;
  color: var(--ink);
}

.admin-footer-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 25px;
  height: 25px;
  padding: 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-bottom: none;
  border-left: none;
  border-radius: 3px;
  cursor: default;
  transition: none;
}

@media (max-width: 900px) {
  .about-grid,
  .about-content,
  .location-grid,
  .location-content,
  .booking-mock,
  .booking-container {
    grid-template-columns: 1fr;
  }

  .gallery-slide,
  .gallery-slide.gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery-slide,
  .gallery-slide.gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slide .gallery-item,
  .gallery-slide video {
    aspect-ratio: 16 / 10;
  }
}
